2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for edje 1.7.7.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
572 PACKAGE_TARNAME='edje'
573 PACKAGE_VERSION='1.7.7'
574 PACKAGE_STRING='edje 1.7.7'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
622 EFL_ENABLE_COVERAGE_FALSE
623 EFL_ENABLE_COVERAGE_TRUE
627 EFL_ENABLE_TESTS_FALSE
628 EFL_ENABLE_TESTS_TRUE
632 lt_enable_auto_import
635 EDJE_EXTERNAL_INSPECTOR_LIBS
636 EDJE_EXTERNAL_INSPECTOR_CFLAGS
638 EDJE_INSPECTOR_CFLAGS
661 HAVE_LIBSNDFILE_FALSE
665 ENABLE_MULTISENSE_FALSE
666 ENABLE_MULTISENSE_TRUE
681 pkgconfig_requires_private
703 EDJE_CALC_CACHE_FALSE
705 EDJE_PROGRAM_CACHE_FALSE
706 EDJE_PROGRAM_CACHE_TRUE
707 BUILD_EDJE_WATCH_FALSE
708 BUILD_EDJE_WATCH_TRUE
710 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE
711 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE
712 EDJE_EXTERNAL_INSPECTOR_PRG
713 BUILD_EDJE_INSPECTOR_FALSE
714 BUILD_EDJE_INSPECTOR_TRUE
716 BUILD_EDJE_PLAYER_FALSE
717 BUILD_EDJE_PLAYER_TRUE
719 BUILD_EDJE_RECC_FALSE
722 BUILD_EDJE_DECC_FALSE
729 EDJE_AMALGAMATION_FALSE
730 EDJE_AMALGAMATION_TRUE
795 INSTALL_STRIP_PROGRAM
837 program_transform_name
850 enable_option_checking
856 enable_dependency_tracking
866 enable_edje_inspector
867 enable_edje_external_inspector
869 enable_edje_program_cache
870 enable_edje_calc_cache
882 enable_build_examples
884 ac_precious_vars='build_alias
925 EDJE_INSPECTOR_CFLAGS
927 EDJE_EXTERNAL_INSPECTOR_CFLAGS
928 EDJE_EXTERNAL_INSPECTOR_LIBS
935 # Initialize some variables set by options.
937 ac_init_version=false
938 ac_unrecognized_opts=
940 # The variables have the same names as the options, with
941 # dashes changed to underlines.
949 program_transform_name=s,x,x,
957 # Installation directory options.
958 # These are left unexpanded so users can "make install exec_prefix=/foo"
959 # and all the variables that are supposed to be based on exec_prefix
960 # by default will actually change.
961 # Use braces instead of parens because sh, perl, etc. also accept them.
962 # (The list follows the same order as the GNU Coding Standards.)
963 bindir='${exec_prefix}/bin'
964 sbindir='${exec_prefix}/sbin'
965 libexecdir='${exec_prefix}/libexec'
966 datarootdir='${prefix}/share'
967 datadir='${datarootdir}'
968 sysconfdir='${prefix}/etc'
969 sharedstatedir='${prefix}/com'
970 localstatedir='${prefix}/var'
971 includedir='${prefix}/include'
972 oldincludedir='/usr/include'
973 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
974 infodir='${datarootdir}/info'
979 libdir='${exec_prefix}/lib'
980 localedir='${datarootdir}/locale'
981 mandir='${datarootdir}/man'
987 # If the previous option needs an argument, assign it.
988 if test -n "$ac_prev"; then
989 eval $ac_prev=\$ac_option
995 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1008 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009 bindir=$ac_optarg ;;
1011 -build | --build | --buil | --bui | --bu)
1012 ac_prev=build_alias ;;
1013 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014 build_alias=$ac_optarg ;;
1016 -cache-file | --cache-file | --cache-fil | --cache-fi \
1017 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018 ac_prev=cache_file ;;
1019 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021 cache_file=$ac_optarg ;;
1023 --config-cache | -C)
1024 cache_file=config.cache ;;
1026 -datadir | --datadir | --datadi | --datad)
1028 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1029 datadir=$ac_optarg ;;
1031 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032 | --dataroo | --dataro | --datar)
1033 ac_prev=datarootdir ;;
1034 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036 datarootdir=$ac_optarg ;;
1038 -disable-* | --disable-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error $? "invalid feature name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "enable_$ac_useropt"
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1052 eval enable_$ac_useropt=no ;;
1054 -docdir | --docdir | --docdi | --doc | --do)
1056 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057 docdir=$ac_optarg ;;
1059 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1061 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062 dvidir=$ac_optarg ;;
1064 -enable-* | --enable-*)
1065 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid feature name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1073 "enable_$ac_useropt"
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1078 eval enable_$ac_useropt=\$ac_optarg ;;
1080 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082 | --exec | --exe | --ex)
1083 ac_prev=exec_prefix ;;
1084 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086 | --exec=* | --exe=* | --ex=*)
1087 exec_prefix=$ac_optarg ;;
1089 -gas | --gas | --ga | --g)
1090 # Obsolete; use --with-gas.
1093 -help | --help | --hel | --he | -h)
1094 ac_init_help=long ;;
1095 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096 ac_init_help=recursive ;;
1097 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098 ac_init_help=short ;;
1100 -host | --host | --hos | --ho)
1101 ac_prev=host_alias ;;
1102 -host=* | --host=* | --hos=* | --ho=*)
1103 host_alias=$ac_optarg ;;
1105 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1107 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1109 htmldir=$ac_optarg ;;
1111 -includedir | --includedir | --includedi | --included | --include \
1112 | --includ | --inclu | --incl | --inc)
1113 ac_prev=includedir ;;
1114 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115 | --includ=* | --inclu=* | --incl=* | --inc=*)
1116 includedir=$ac_optarg ;;
1118 -infodir | --infodir | --infodi | --infod | --info | --inf)
1120 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121 infodir=$ac_optarg ;;
1123 -libdir | --libdir | --libdi | --libd)
1125 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1126 libdir=$ac_optarg ;;
1128 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129 | --libexe | --libex | --libe)
1130 ac_prev=libexecdir ;;
1131 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132 | --libexe=* | --libex=* | --libe=*)
1133 libexecdir=$ac_optarg ;;
1135 -localedir | --localedir | --localedi | --localed | --locale)
1136 ac_prev=localedir ;;
1137 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138 localedir=$ac_optarg ;;
1140 -localstatedir | --localstatedir | --localstatedi | --localstated \
1141 | --localstate | --localstat | --localsta | --localst | --locals)
1142 ac_prev=localstatedir ;;
1143 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145 localstatedir=$ac_optarg ;;
1147 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1149 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150 mandir=$ac_optarg ;;
1152 -nfp | --nfp | --nf)
1153 # Obsolete; use --without-fp.
1156 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157 | --no-cr | --no-c | -n)
1160 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1164 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166 | --oldin | --oldi | --old | --ol | --o)
1167 ac_prev=oldincludedir ;;
1168 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171 oldincludedir=$ac_optarg ;;
1173 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1175 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176 prefix=$ac_optarg ;;
1178 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1179 | --program-pre | --program-pr | --program-p)
1180 ac_prev=program_prefix ;;
1181 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1182 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183 program_prefix=$ac_optarg ;;
1185 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1186 | --program-suf | --program-su | --program-s)
1187 ac_prev=program_suffix ;;
1188 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1189 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190 program_suffix=$ac_optarg ;;
1192 -program-transform-name | --program-transform-name \
1193 | --program-transform-nam | --program-transform-na \
1194 | --program-transform-n | --program-transform- \
1195 | --program-transform | --program-transfor \
1196 | --program-transfo | --program-transf \
1197 | --program-trans | --program-tran \
1198 | --progr-tra | --program-tr | --program-t)
1199 ac_prev=program_transform_name ;;
1200 -program-transform-name=* | --program-transform-name=* \
1201 | --program-transform-nam=* | --program-transform-na=* \
1202 | --program-transform-n=* | --program-transform-=* \
1203 | --program-transform=* | --program-transfor=* \
1204 | --program-transfo=* | --program-transf=* \
1205 | --program-trans=* | --program-tran=* \
1206 | --progr-tra=* | --program-tr=* | --program-t=*)
1207 program_transform_name=$ac_optarg ;;
1209 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1211 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212 pdfdir=$ac_optarg ;;
1214 -psdir | --psdir | --psdi | --psd | --ps)
1216 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220 | -silent | --silent | --silen | --sile | --sil)
1223 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1225 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1227 sbindir=$ac_optarg ;;
1229 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1230 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231 | --sharedst | --shareds | --shared | --share | --shar \
1233 ac_prev=sharedstatedir ;;
1234 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1238 sharedstatedir=$ac_optarg ;;
1240 -site | --site | --sit)
1242 -site=* | --site=* | --sit=*)
1245 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1247 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248 srcdir=$ac_optarg ;;
1250 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251 | --syscon | --sysco | --sysc | --sys | --sy)
1252 ac_prev=sysconfdir ;;
1253 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255 sysconfdir=$ac_optarg ;;
1257 -target | --target | --targe | --targ | --tar | --ta | --t)
1258 ac_prev=target_alias ;;
1259 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260 target_alias=$ac_optarg ;;
1262 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1265 -version | --version | --versio | --versi | --vers | -V)
1266 ac_init_version=: ;;
1269 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270 # Reject names that are not valid shell variable names.
1271 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272 as_fn_error $? "invalid package name: $ac_useropt"
1273 ac_useropt_orig=$ac_useropt
1274 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280 ac_unrecognized_sep=', ';;
1282 eval with_$ac_useropt=\$ac_optarg ;;
1284 -without-* | --without-*)
1285 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1288 as_fn_error $? "invalid package name: $ac_useropt"
1289 ac_useropt_orig=$ac_useropt
1290 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1295 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1296 ac_unrecognized_sep=', ';;
1298 eval with_$ac_useropt=no ;;
1301 # Obsolete; use --with-x.
1304 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1305 | --x-incl | --x-inc | --x-in | --x-i)
1306 ac_prev=x_includes ;;
1307 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1308 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1309 x_includes=$ac_optarg ;;
1311 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1312 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1313 ac_prev=x_libraries ;;
1314 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1315 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1316 x_libraries=$ac_optarg ;;
1318 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1319 Try \`$0 --help' for more information"
1323 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1324 # Reject names that are not valid shell variable names.
1325 case $ac_envvar in #(
1326 '' | [0-9]* | *[!_$as_cr_alnum]* )
1327 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1329 eval $ac_envvar=\$ac_optarg
1330 export $ac_envvar ;;
1333 # FIXME: should be removed in autoconf 3.0.
1334 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1335 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1336 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1337 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1343 if test -n "$ac_prev"; then
1344 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1345 as_fn_error $? "missing argument to $ac_option"
1348 if test -n "$ac_unrecognized_opts"; then
1349 case $enable_option_checking in
1351 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1352 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1356 # Check all directory arguments for consistency.
1357 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358 datadir sysconfdir sharedstatedir localstatedir includedir \
1359 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360 libdir localedir mandir
1362 eval ac_val=\$$ac_var
1363 # Remove trailing slashes.
1366 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367 eval $ac_var=\$ac_val;;
1369 # Be sure to have absolute directory names.
1371 [\\/$]* | ?:[\\/]* ) continue;;
1372 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1374 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1377 # There might be people who depend on the old broken behavior: `$host'
1378 # used to hold the argument of --host etc.
1379 # FIXME: To remove some day.
1382 target=$target_alias
1384 # FIXME: To remove some day.
1385 if test "x$host_alias" != x; then
1386 if test "x$build_alias" = x; then
1387 cross_compiling=maybe
1388 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1389 If a cross compiler is detected then cross compile mode will be used" >&2
1390 elif test "x$build_alias" != "x$host_alias"; then
1396 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1398 test "$silent" = yes && exec 6>/dev/null
1401 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1402 ac_ls_di=`ls -di .` &&
1403 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404 as_fn_error $? "working directory cannot be determined"
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 as_fn_error $? "pwd does not report name of working directory"
1409 # Find the source files, if location was not specified.
1410 if test -z "$srcdir"; then
1411 ac_srcdir_defaulted=yes
1412 # Try the directory containing this script, then the parent directory.
1413 ac_confdir=`$as_dirname -- "$as_myself" ||
1414 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415 X"$as_myself" : 'X\(//\)[^/]' \| \
1416 X"$as_myself" : 'X\(//\)$' \| \
1417 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418 $as_echo X"$as_myself" |
1419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1441 ac_srcdir_defaulted=no
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1445 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1447 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1449 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1451 # When building in place, set srcdir=.
1452 if test "$ac_abs_confdir" = "$ac_pwd"; then
1455 # Remove unnecessary trailing slashes from srcdir.
1456 # Double slashes in file names in object file debugging info
1457 # mess up M-x gdb in Emacs.
1459 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1461 for ac_var in $ac_precious_vars; do
1462 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1463 eval ac_env_${ac_var}_value=\$${ac_var}
1464 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1465 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1469 # Report the --help message.
1471 if test "$ac_init_help" = "long"; then
1472 # Omit some internal or obsolete options to make the list less imposing.
1473 # This message is too long to be a string in the A/UX 3.1 sh.
1475 \`configure' configures edje 1.7.7 to adapt to many kinds of systems.
1477 Usage: $0 [OPTION]... [VAR=VALUE]...
1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480 VAR=VALUE. See below for descriptions of some of the useful variables.
1482 Defaults for the options are specified in brackets.
1485 -h, --help display this help and exit
1486 --help=short display options specific to this package
1487 --help=recursive display the short help of all the included packages
1488 -V, --version display version information and exit
1489 -q, --quiet, --silent do not print \`checking ...' messages
1490 --cache-file=FILE cache test results in FILE [disabled]
1491 -C, --config-cache alias for \`--cache-file=config.cache'
1492 -n, --no-create do not create output files
1493 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1495 Installation directories:
1496 --prefix=PREFIX install architecture-independent files in PREFIX
1497 [$ac_default_prefix]
1498 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1501 By default, \`make install' will install all the files in
1502 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1503 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504 for instance \`--prefix=\$HOME'.
1506 For better control, use the options below.
1508 Fine tuning of the installation directories:
1509 --bindir=DIR user executables [EPREFIX/bin]
1510 --sbindir=DIR system admin executables [EPREFIX/sbin]
1511 --libexecdir=DIR program executables [EPREFIX/libexec]
1512 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1513 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1514 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1515 --libdir=DIR object code libraries [EPREFIX/lib]
1516 --includedir=DIR C header files [PREFIX/include]
1517 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1518 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1519 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1520 --infodir=DIR info documentation [DATAROOTDIR/info]
1521 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1522 --mandir=DIR man documentation [DATAROOTDIR/man]
1523 --docdir=DIR documentation root [DATAROOTDIR/doc/edje]
1524 --htmldir=DIR html documentation [DOCDIR]
1525 --dvidir=DIR dvi documentation [DOCDIR]
1526 --pdfdir=DIR pdf documentation [DOCDIR]
1527 --psdir=DIR ps documentation [DOCDIR]
1533 --program-prefix=PREFIX prepend PREFIX to installed program names
1534 --program-suffix=SUFFIX append SUFFIX to installed program names
1535 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1538 --build=BUILD configure for building on BUILD [guessed]
1539 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1543 if test -n "$ac_init_help"; then
1544 case $ac_init_help in
1545 short | recursive ) echo "Configuration of edje 1.7.7:";;
1550 --disable-option-checking ignore unrecognized --enable/--with options
1551 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1552 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1553 --enable-silent-rules less verbose build output (undo: `make V=1')
1554 --disable-silent-rules verbose build output (undo: `make V=0')
1555 --enable-shared[=PKGS] build shared libraries [default=yes]
1556 --enable-static[=PKGS] build static libraries [default=yes]
1557 --enable-fast-install[=PKGS]
1558 optimize for fast installation [default=yes]
1559 --disable-dependency-tracking speeds up one-time build
1560 --enable-dependency-tracking do not reject slow dependency extractors
1561 --disable-libtool-lock avoid locking (might break parallel builds)
1562 --enable-amalgamation enable generation of one single file with all source
1563 code in it, helps compiler optimizations.
1564 --disable-edje-cc disable building of edje_cc
1565 --disable-edje-decc disable building of edje_decc
1566 --disable-edje-recc disable building of edje_recc
1567 --disable-edje-player disable building of edje_player
1568 --disable-edje-inspector
1569 disable building of edje_inspector
1570 --disable-edje-external-inspector
1571 disable building of edje_external_inspector
1572 --disable-edje-watch disable building of edje_watch
1573 --enable-edje-program-cache
1574 enable EDJE_PROGRAM_CACHE support.
1575 [[default=disabled]]
1576 --enable-edje-calc-cache
1577 enable EDJE_CALC_CACHE support. [[default=disabled]]
1578 --enable-fixed-point reduce use of FPU by using Fixed Point provided by
1579 Eina and Eet, [[default=disabled]]
1580 --disable-doc Disable documentation build [default=enabled]
1581 --disable-sndfile disable sndfile support. [default=detect]
1582 --disable-remix disable remix support. [default=detect]
1583 --disable-vorbis disable ogg-vorbis support. [default=detect]
1584 --disable-alsa disable alsa support. [default=detect]
1585 --disable-flac disable flac support. [default=detect]
1586 --enable-tests enable tests [default=disabled]
1587 --enable-coverage enable coverage profiling instrumentation
1589 --enable-build-examples Enable building examples. This requires extra
1590 dependencies. If you don't have them installed yet,
1591 don't build with this option or it will fail. Build
1592 again when you have it, overriding the previous
1593 installation). [default==disabled]
1596 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1597 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1598 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1600 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1601 --with-sysroot=DIR Search for dependent libraries within DIR
1602 (or the compiler's sysroot if not specified).
1603 --with-edje-cc=PATH specify a specific path to edje_cc [default=edje_cc]
1604 --with-vim=DIR Location of Vim data files [[autodetect]]
1605 --with-doxygen=FILE doxygen program to use [default=doxygen]
1607 Some influential environment variables:
1608 CC C compiler command
1609 CFLAGS C compiler flags
1610 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1611 nonstandard directory <lib dir>
1612 LIBS libraries to pass to the linker, e.g. -l<library>
1613 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1614 you have headers in a nonstandard directory <include dir>
1616 PYTHON the Python interpreter
1617 PKG_CONFIG path to pkg-config utility
1619 directories to add to pkg-config's search path
1621 path overriding pkg-config's built-in search path
1622 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1623 EVIL_LIBS linker flags for EVIL, overriding pkg-config
1624 LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
1625 LUA_LIBS linker flags for LUA, overriding pkg-config
1627 C compiler flags for MINIMAL, overriding pkg-config
1629 linker flags for MINIMAL, overriding pkg-config
1630 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
1631 EDJE_LIBS linker flags for EDJE, overriding pkg-config
1633 C compiler flags for ECORE_IMF, overriding pkg-config
1635 linker flags for ECORE_IMF, overriding pkg-config
1636 EIO_CFLAGS C compiler flags for EIO, overriding pkg-config
1637 EIO_LIBS linker flags for EIO, overriding pkg-config
1639 C compiler flags for SNDFILE, overriding pkg-config
1641 linker flags for SNDFILE, overriding pkg-config
1643 C compiler flags for REMIX, overriding pkg-config
1644 REMIX_LIBS linker flags for REMIX, overriding pkg-config
1646 C compiler flags for VORBISENC, overriding pkg-config
1648 linker flags for VORBISENC, overriding pkg-config
1649 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1650 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1651 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
1652 FLAC_LIBS linker flags for FLAC, overriding pkg-config
1654 C compiler flags for EDJE_CC, overriding pkg-config
1656 linker flags for EDJE_CC, overriding pkg-config
1658 C compiler flags for EDJE_DECC, overriding pkg-config
1660 linker flags for EDJE_DECC, overriding pkg-config
1662 C compiler flags for EDJE_PLAYER, overriding pkg-config
1664 linker flags for EDJE_PLAYER, overriding pkg-config
1665 EDJE_INSPECTOR_CFLAGS
1666 C compiler flags for EDJE_INSPECTOR, overriding pkg-config
1668 linker flags for EDJE_INSPECTOR, overriding pkg-config
1669 EDJE_EXTERNAL_INSPECTOR_CFLAGS
1670 C compiler flags for EDJE_EXTERNAL_INSPECTOR, overriding
1672 EDJE_EXTERNAL_INSPECTOR_LIBS
1673 linker flags for EDJE_EXTERNAL_INSPECTOR, overriding pkg-config
1675 C compiler flags for EDJE_WATCH, overriding pkg-config
1677 linker flags for EDJE_WATCH, overriding pkg-config
1679 C compiler flags for CHECK, overriding pkg-config
1680 CHECK_LIBS linker flags for CHECK, overriding pkg-config
1682 Use these variables to override the choices made by `configure' or to help
1683 it to find libraries and programs with nonstandard names/locations.
1685 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1690 if test "$ac_init_help" = "recursive"; then
1691 # If there are subdirs, report their specific --help.
1692 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1693 test -d "$ac_dir" ||
1694 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1699 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1701 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1702 # A ".." for each directory in $ac_dir_suffix.
1703 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1704 case $ac_top_builddir_sub in
1705 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1706 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1709 ac_abs_top_builddir=$ac_pwd
1710 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1711 # for backward compatibility:
1712 ac_top_builddir=$ac_top_build_prefix
1715 .) # We are building in place.
1717 ac_top_srcdir=$ac_top_builddir_sub
1718 ac_abs_top_srcdir=$ac_pwd ;;
1719 [\\/]* | ?:[\\/]* ) # Absolute name.
1720 ac_srcdir=$srcdir$ac_dir_suffix;
1721 ac_top_srcdir=$srcdir
1722 ac_abs_top_srcdir=$srcdir ;;
1724 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1725 ac_top_srcdir=$ac_top_build_prefix$srcdir
1726 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1728 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1730 cd "$ac_dir" || { ac_status=$?; continue; }
1731 # Check for guested configure.
1732 if test -f "$ac_srcdir/configure.gnu"; then
1734 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1735 elif test -f "$ac_srcdir/configure"; then
1737 $SHELL "$ac_srcdir/configure" --help=recursive
1739 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1741 cd "$ac_pwd" || { ac_status=$?; break; }
1745 test -n "$ac_init_help" && exit $ac_status
1746 if $ac_init_version; then
1748 edje configure 1.7.7
1749 generated by GNU Autoconf 2.68
1751 Copyright (C) 2010 Free Software Foundation, Inc.
1752 This configure script is free software; the Free Software Foundation
1753 gives unlimited permission to copy, distribute and modify it.
1758 ## ------------------------ ##
1759 ## Autoconf initialization. ##
1760 ## ------------------------ ##
1762 # ac_fn_c_try_compile LINENO
1763 # --------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_compile ()
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext
1769 if { { ac_try="$ac_compile"
1771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_compile") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest.$ac_objext; then :
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status $ac_retval
1798 } # ac_fn_c_try_compile
1800 # ac_fn_c_try_link LINENO
1801 # -----------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext conftest$ac_exeext
1807 if { { ac_try="$ac_link"
1809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810 *) ac_try_echo=$ac_try;;
1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1816 if test -s conftest.err; then
1817 grep -v '^ *+' conftest.err >conftest.er1
1818 cat conftest.er1 >&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_c_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 $as_test_x conftest$ac_exeext
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842 as_fn_set_status $ac_retval
1844 } # ac_fn_c_try_link
1846 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847 # -------------------------------------------------------
1848 # Tests whether HEADER exists and can be compiled using the include files in
1849 # INCLUDES, setting the cache variable VAR accordingly.
1850 ac_fn_c_check_header_compile ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if eval \${$3+:} false; then :
1856 $as_echo_n "(cached) " >&6
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1863 if ac_fn_c_try_compile "$LINENO"; then :
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 } # ac_fn_c_check_header_compile
1877 # ac_fn_c_try_cpp LINENO
1878 # ----------------------
1879 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if { { ac_try="$ac_cpp conftest.$ac_ext"
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1894 cat conftest.er1 >&5
1895 mv -f conftest.er1 conftest.err
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } > conftest.i && {
1899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1900 test ! -s conftest.err
1904 $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1914 # ac_fn_c_try_run LINENO
1915 # ----------------------
1916 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1917 # that executables *can* be run.
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 if { { ac_try="$ac_link"
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_link") 2>&5
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1932 { { case "(($ac_try" in
1933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1934 *) ac_try_echo=$ac_try;;
1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1937 $as_echo "$ac_try_echo"; } >&5
1938 (eval "$ac_try") 2>&5
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; }; }; then :
1944 $as_echo "$as_me: program exited with status $ac_status" >&5
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.$ac_ext >&5
1948 ac_retval=$ac_status
1950 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 as_fn_set_status $ac_retval
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func ()
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if eval \${$3+:} false; then :
1965 $as_echo_n "(cached) " >&6
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1969 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1971 #define $2 innocuous_$2
1973 /* System header to define __stub macros and hopefully few prototypes,
1974 which can conflict with char $2 (); below.
1975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1976 <limits.h> exists even on freestanding compilers. */
1979 # include <limits.h>
1981 # include <assert.h>
1986 /* Override any GCC internal prototype to avoid an error.
1987 Use char because int might match the return type of a GCC
1988 builtin and then its argument prototype would still apply. */
1993 /* The GNU C library defines this for functions which it implements
1994 to always fail with ENOSYS. Some functions are actually named
1995 something starting with __ and the normal name is an alias. */
1996 #if defined __stub_$2 || defined __stub___$2
2008 if ac_fn_c_try_link "$LINENO"; then :
2013 rm -f core conftest.err conftest.$ac_objext \
2014 conftest$ac_exeext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_func
2023 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2024 # -------------------------------------------------------
2025 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2026 # the include files in INCLUDES and setting the cache variable VAR
2028 ac_fn_c_check_header_mongrel ()
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 if eval \${$3+:} false; then :
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if eval \${$3+:} false; then :
2035 $as_echo_n "(cached) " >&6
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2039 $as_echo "$ac_res" >&6; }
2041 # Is the header compilable?
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2043 $as_echo_n "checking $2 usability... " >&6; }
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2049 if ac_fn_c_try_compile "$LINENO"; then :
2050 ac_header_compiler=yes
2052 ac_header_compiler=no
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2056 $as_echo "$ac_header_compiler" >&6; }
2058 # Is the header present?
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2060 $as_echo_n "checking $2 presence... " >&6; }
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2065 if ac_fn_c_try_cpp "$LINENO"; then :
2066 ac_header_preproc=yes
2068 ac_header_preproc=no
2070 rm -f conftest.err conftest.i conftest.$ac_ext
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2072 $as_echo "$ac_header_preproc" >&6; }
2074 # So? What about this header?
2075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2078 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2080 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2084 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2086 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2088 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2090 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2092 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2093 ( $as_echo "## -------------------------------------------------------- ##
2094 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2095 ## -------------------------------------------------------- ##"
2096 ) | sed "s/^/$as_me: WARNING: /" >&2
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100 $as_echo_n "checking for $2... " >&6; }
2101 if eval \${$3+:} false; then :
2102 $as_echo_n "(cached) " >&6
2104 eval "$3=\$ac_header_compiler"
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2108 $as_echo "$ac_res" >&6; }
2110 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112 } # ac_fn_c_check_header_mongrel
2114 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2115 # -------------------------------------------
2116 # Tests whether TYPE exists after having included INCLUDES, setting cache
2117 # variable VAR accordingly.
2118 ac_fn_c_check_type ()
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124 $as_echo_n "(cached) " >&6
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2139 if ac_fn_c_try_compile "$LINENO"; then :
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2152 if ac_fn_c_try_compile "$LINENO"; then :
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 } # ac_fn_c_check_type
2167 cat >config.log <<_ACEOF
2168 This file contains any messages produced by compilers while
2169 running configure, to aid debugging if configure makes a mistake.
2171 It was created by edje $as_me 1.7.7, which was
2172 generated by GNU Autoconf 2.68. Invocation command line was
2184 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2185 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2186 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2187 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2188 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2190 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2191 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2193 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2194 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2195 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2196 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2197 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2198 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2199 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 $as_echo "PATH: $as_dir"
2224 # Keep a trace of the command line.
2225 # Strip out --no-create and --no-recursion so they do not pile up.
2226 # Strip out --silent because we don't want to record it for future runs.
2227 # Also quote any args containing shell meta-characters.
2228 # Make two passes to allow for proper duplicate-argument suppression.
2232 ac_must_keep_next=false
2238 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2240 | -silent | --silent | --silen | --sile | --sil)
2243 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2246 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2248 as_fn_append ac_configure_args1 " '$ac_arg'"
2249 if test $ac_must_keep_next = true; then
2250 ac_must_keep_next=false # Got value, back to normal.
2253 *=* | --config-cache | -C | -disable-* | --disable-* \
2254 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2255 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2256 | -with-* | --with-* | -without-* | --without-* | --x)
2257 case "$ac_configure_args0 " in
2258 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2261 -* ) ac_must_keep_next=true ;;
2264 as_fn_append ac_configure_args " '$ac_arg'"
2269 { ac_configure_args0=; unset ac_configure_args0;}
2270 { ac_configure_args1=; unset ac_configure_args1;}
2272 # When interrupted or exit'd, cleanup temporary files, and complete
2273 # config.log. We remove comments because anyway the quotes in there
2274 # would cause problems or look ugly.
2275 # WARNING: Use '\'' to represent an apostrophe within the trap.
2276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2277 trap 'exit_status=$?
2278 # Save into config.log some information that might help in debugging.
2282 $as_echo "## ---------------- ##
2283 ## Cache variables. ##
2284 ## ---------------- ##"
2286 # The following way of writing the cache mishandles newlines in values,
2288 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2289 eval ac_val=\$$ac_var
2293 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2297 _ | IFS | as_nl) ;; #(
2298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2299 *) { eval $ac_var=; unset $ac_var;} ;;
2304 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2305 *${as_nl}ac_space=\ *)
2307 "s/'\''/'\''\\\\'\'''\''/g;
2308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2318 $as_echo "## ----------------- ##
2319 ## Output variables. ##
2320 ## ----------------- ##"
2322 for ac_var in $ac_subst_vars
2324 eval ac_val=\$$ac_var
2326 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2328 $as_echo "$ac_var='\''$ac_val'\''"
2332 if test -n "$ac_subst_files"; then
2333 $as_echo "## ------------------- ##
2334 ## File substitutions. ##
2335 ## ------------------- ##"
2337 for ac_var in $ac_subst_files
2339 eval ac_val=\$$ac_var
2341 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2343 $as_echo "$ac_var='\''$ac_val'\''"
2348 if test -s confdefs.h; then
2349 $as_echo "## ----------- ##
2356 test "$ac_signal" != 0 &&
2357 $as_echo "$as_me: caught signal $ac_signal"
2358 $as_echo "$as_me: exit $exit_status"
2360 rm -f core *.core core.conftest.* &&
2361 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2364 for ac_signal in 1 2 13 15; do
2365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2370 rm -f -r conftest* confdefs.h
2372 $as_echo "/* confdefs.h */" > confdefs.h
2374 # Predefined preprocessor variables.
2376 cat >>confdefs.h <<_ACEOF
2377 #define PACKAGE_NAME "$PACKAGE_NAME"
2380 cat >>confdefs.h <<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2384 cat >>confdefs.h <<_ACEOF
2385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2392 cat >>confdefs.h <<_ACEOF
2393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_URL "$PACKAGE_URL"
2401 # Let the site file select an alternate cache file if it wants to.
2402 # Prefer an explicitly selected file to automatically selected ones.
2405 if test -n "$CONFIG_SITE"; then
2406 # We do not want a PATH search for config.site.
2407 case $CONFIG_SITE in #((
2408 -*) ac_site_file1=./$CONFIG_SITE;;
2409 */*) ac_site_file1=$CONFIG_SITE;;
2410 *) ac_site_file1=./$CONFIG_SITE;;
2412 elif test "x$prefix" != xNONE; then
2413 ac_site_file1=$prefix/share/config.site
2414 ac_site_file2=$prefix/etc/config.site
2416 ac_site_file1=$ac_default_prefix/share/config.site
2417 ac_site_file2=$ac_default_prefix/etc/config.site
2419 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2421 test "x$ac_site_file" = xNONE && continue
2422 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2424 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2425 sed 's/^/| /' "$ac_site_file" >&5
2427 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 as_fn_error $? "failed to load site script $ac_site_file
2430 See \`config.log' for more details" "$LINENO" 5; }
2434 if test -r "$cache_file"; then
2435 # Some versions of bash will fail to source /dev/null (special files
2436 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2437 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2439 $as_echo "$as_me: loading cache $cache_file" >&6;}
2441 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2442 *) . "./$cache_file";;
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2447 $as_echo "$as_me: creating cache $cache_file" >&6;}
2451 # Check that the precious variables saved in the cache have kept the same
2453 ac_cache_corrupted=false
2454 for ac_var in $ac_precious_vars; do
2455 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2456 eval ac_new_set=\$ac_env_${ac_var}_set
2457 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2458 eval ac_new_val=\$ac_env_${ac_var}_value
2459 case $ac_old_set,$ac_new_set in
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2462 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2463 ac_cache_corrupted=: ;;
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2466 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2467 ac_cache_corrupted=: ;;
2470 if test "x$ac_old_val" != "x$ac_new_val"; then
2471 # differences in whitespace do not lead to failure.
2472 ac_old_val_w=`echo x $ac_old_val`
2473 ac_new_val_w=`echo x $ac_new_val`
2474 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2476 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2477 ac_cache_corrupted=:
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2480 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2481 eval $ac_var=\$ac_old_val
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2484 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2486 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2489 # Pass precious variables to config.status.
2490 if test "$ac_new_set" = set; then
2492 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2493 *) ac_arg=$ac_var=$ac_new_val ;;
2495 case " $ac_configure_args " in
2496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2497 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2501 if $ac_cache_corrupted; then
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2508 ## -------------------- ##
2509 ## Main body of script. ##
2510 ## -------------------- ##
2513 ac_cpp='$CPP $CPPFLAGS'
2514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2523 ac_config_headers="$ac_config_headers config.h"
2528 am__api_version='1.11'
2531 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2532 if test -f "$ac_dir/install-sh"; then
2534 ac_install_sh="$ac_aux_dir/install-sh -c"
2536 elif test -f "$ac_dir/install.sh"; then
2538 ac_install_sh="$ac_aux_dir/install.sh -c"
2540 elif test -f "$ac_dir/shtool"; then
2542 ac_install_sh="$ac_aux_dir/shtool install -c"
2546 if test -z "$ac_aux_dir"; then
2547 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2550 # These three variables are undocumented and unsupported,
2551 # and are intended to be withdrawn in a future Autoconf release.
2552 # They can cause serious problems if a builder's source tree is in a directory
2553 # whose full name contains unusual characters.
2554 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2555 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2556 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2559 # Find a good install program. We prefer a C program (faster),
2560 # so one script is as good as another. But avoid the broken or
2561 # incompatible versions:
2562 # SysV /etc/install, /usr/sbin/install
2563 # SunOS /usr/etc/install
2564 # IRIX /sbin/install
2566 # AmigaOS /C/install, which installs bootblocks on floppy discs
2567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2570 # OS/2's system install, which has a completely different semantic
2571 # ./install, which can be erroneously created by make from ./install.sh.
2572 # Reject install programs that cannot install multiple files.
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2574 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2575 if test -z "$INSTALL"; then
2576 if ${ac_cv_path_install+:} false; then :
2577 $as_echo_n "(cached) " >&6
2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir=.
2584 # Account for people who put trailing slashes in PATH elements.
2585 case $as_dir/ in #((
2586 ./ | .// | /[cC]/* | \
2587 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2588 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2591 # OSF1 and SCO ODT 3.0 have their own names for install.
2592 # Don't use installbsd from OSF since it installs stuff as root
2594 for ac_prog in ginstall scoinst install; do
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2597 if test $ac_prog = install &&
2598 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2599 # AIX install. It has an incompatible calling convention.
2601 elif test $ac_prog = install &&
2602 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2603 # program-specific install script used by HP pwplus--don't use.
2606 rm -rf conftest.one conftest.two conftest.dir
2607 echo one > conftest.one
2608 echo two > conftest.two
2610 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2611 test -s conftest.one && test -s conftest.two &&
2612 test -s conftest.dir/conftest.one &&
2613 test -s conftest.dir/conftest.two
2615 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2628 rm -rf conftest.one conftest.two conftest.dir
2631 if test "${ac_cv_path_install+set}" = set; then
2632 INSTALL=$ac_cv_path_install
2634 # As a last resort, use the slow shell script. Don't cache a
2635 # value for INSTALL within a source directory, because that will
2636 # break other packages using the cache if that directory is
2637 # removed, or if the value is a relative name.
2638 INSTALL=$ac_install_sh
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2642 $as_echo "$INSTALL" >&6; }
2644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2645 # It thinks the first close brace ends the variable substitution.
2646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2650 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2653 $as_echo_n "checking whether build environment is sane... " >&6; }
2656 echo timestamp > conftest.file
2657 # Reject unsafe characters in $srcdir or the absolute working directory
2658 # name. Accept space and tab only in the latter.
2662 *[\\\"\#\$\&\'\`$am_lf]*)
2663 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2666 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2667 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2670 # Do `set' in a subshell so we don't clobber the current shell's
2671 # arguments. Must try -L first in case configure is actually a
2672 # symlink; some systems play weird games with the mod time of symlinks
2673 # (eg FreeBSD returns the mod time of the symlink's containing
2676 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2677 if test "$*" = "X"; then
2679 set X `ls -t "$srcdir/configure" conftest.file`
2682 if test "$*" != "X $srcdir/configure conftest.file" \
2683 && test "$*" != "X conftest.file $srcdir/configure"; then
2685 # If neither matched, then we have a broken ls. This can happen
2686 # if, for instance, CONFIG_SHELL is bash and it inherits a
2687 # broken ls alias from the environment. This has actually
2688 # happened. Such a system could not be considered "sane".
2689 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2690 alias in your environment" "$LINENO" 5
2693 test "$2" = conftest.file
2699 as_fn_error $? "newly created file is older than distributed files!
2700 Check your system clock" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2703 $as_echo "yes" >&6; }
2704 test "$program_prefix" != NONE &&
2705 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2706 # Use a double $ so make ignores it.
2707 test "$program_suffix" != NONE &&
2708 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2709 # Double any \ or $.
2710 # By default was `s,x,x', remove it if useless.
2711 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2712 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2714 # expand $ac_aux_dir to an absolute path
2715 am_aux_dir=`cd $ac_aux_dir && pwd`
2717 if test x"${MISSING+set}" != xset; then
2720 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2722 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2725 # Use eval to expand $SHELL
2726 if eval "$MISSING --run true"; then
2727 am_missing_run="$MISSING --run "
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2731 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2734 if test x"${install_sh}" != xset; then
2737 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2739 install_sh="\${SHELL} $am_aux_dir/install-sh"
2743 # Installed binaries are usually stripped using `strip' when the user
2744 # run `make install-strip'. However `strip' might not be the right
2745 # tool to use in cross-compilation environments, therefore Automake
2746 # will honor the `STRIP' environment variable to overrule this program.
2747 if test "$cross_compiling" != no; then
2748 if test -n "$ac_tool_prefix"; then
2749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2750 set dummy ${ac_tool_prefix}strip; ac_word=$2
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2752 $as_echo_n "checking for $ac_word... " >&6; }
2753 if ${ac_cv_prog_STRIP+:} false; then :
2754 $as_echo_n "(cached) " >&6
2756 if test -n "$STRIP"; then
2757 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir=.
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 STRIP=$ac_cv_prog_STRIP
2777 if test -n "$STRIP"; then
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2779 $as_echo "$STRIP" >&6; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2782 $as_echo "no" >&6; }
2787 if test -z "$ac_cv_prog_STRIP"; then
2789 # Extract the first word of "strip", so it can be a program name with args.
2790 set dummy strip; ac_word=$2
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2794 $as_echo_n "(cached) " >&6
2796 if test -n "$ac_ct_STRIP"; then
2797 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir=.
2804 for ac_exec_ext in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806 ac_cv_prog_ac_ct_STRIP="strip"
2807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2816 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2817 if test -n "$ac_ct_STRIP"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2819 $as_echo "$ac_ct_STRIP" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2825 if test "x$ac_ct_STRIP" = x; then
2828 case $cross_compiling:$ac_tool_warned in
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2832 ac_tool_warned=yes ;;
2837 STRIP="$ac_cv_prog_STRIP"
2841 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2844 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2845 if test -z "$MKDIR_P"; then
2846 if ${ac_cv_path_mkdir+:} false; then :
2847 $as_echo_n "(cached) " >&6
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2850 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2853 test -z "$as_dir" && as_dir=.
2854 for ac_prog in mkdir gmkdir; do
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2857 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2858 'mkdir (GNU coreutils) '* | \
2859 'mkdir (coreutils) '* | \
2860 'mkdir (fileutils) '4.1*)
2861 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2871 test -d ./--version && rmdir ./--version
2872 if test "${ac_cv_path_mkdir+set}" = set; then
2873 MKDIR_P="$ac_cv_path_mkdir -p"
2875 # As a last resort, use the slow shell script. Don't cache a
2876 # value for MKDIR_P within a source directory, because that will
2877 # break other packages using the cache if that directory is
2878 # removed, or if the value is a relative name.
2879 MKDIR_P="$ac_install_sh -d"
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2883 $as_echo "$MKDIR_P" >&6; }
2887 [\\/$]* | ?:[\\/]*) ;;
2888 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2891 for ac_prog in gawk mawk nawk awk
2893 # Extract the first word of "$ac_prog", so it can be a program name with args.
2894 set dummy $ac_prog; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_AWK+:} false; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$AWK"; then
2901 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910 ac_cv_prog_AWK="$ac_prog"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$AWK"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2923 $as_echo "$AWK" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2930 test -n "$AWK" && break
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2934 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2936 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2937 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2938 $as_echo_n "(cached) " >&6
2940 cat >conftest.make <<\_ACEOF
2943 @echo '@@@%%%=$(MAKE)=@@@%%%'
2945 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2946 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2948 eval ac_cv_prog_make_${ac_make}_set=yes;;
2950 eval ac_cv_prog_make_${ac_make}_set=no;;
2954 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2956 $as_echo "yes" >&6; }
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2961 SET_MAKE="MAKE=${MAKE-make}"
2964 rm -rf .tst 2>/dev/null
2965 mkdir .tst 2>/dev/null
2966 if test -d .tst; then
2971 rmdir .tst 2>/dev/null
2973 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2974 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2975 # is not polluted with repeated "-I."
2976 am__isrc=' -I$(srcdir)'
2977 # test to see if srcdir already configured
2978 if test -f $srcdir/config.status; then
2979 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2983 # test whether we have cygpath
2984 if test -z "$CYGPATH_W"; then
2985 if (cygpath --version) >/dev/null 2>/dev/null; then
2986 CYGPATH_W='cygpath -w'
2993 # Define the identity of the package.
2998 cat >>confdefs.h <<_ACEOF
2999 #define PACKAGE "$PACKAGE"
3003 cat >>confdefs.h <<_ACEOF
3004 #define VERSION "$VERSION"
3007 # Some tools Automake needs.
3009 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3012 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3015 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3018 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3021 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3023 # We need awk for the "check" target. The system "awk" is bad on
3025 # Always define AMTAR for backward compatibility. Yes, it's still used
3026 # in the wild :-( We should find a proper way to deprecate it ...
3029 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3035 # Check whether --enable-silent-rules was given.
3036 if test "${enable_silent_rules+set}" = set; then :
3037 enableval=$enable_silent_rules;
3040 case $enable_silent_rules in
3041 yes) AM_DEFAULT_VERBOSITY=0;;
3042 no) AM_DEFAULT_VERBOSITY=1;;
3043 *) AM_DEFAULT_VERBOSITY=0;;
3045 am_make=${MAKE-make}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3047 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3048 if ${am_cv_make_support_nested_variables+:} false; then :
3049 $as_echo_n "(cached) " >&6
3051 if $as_echo 'TRUE=$(BAR$(V))
3057 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3058 am_cv_make_support_nested_variables=yes
3060 am_cv_make_support_nested_variables=no
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3064 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3065 if test $am_cv_make_support_nested_variables = yes; then
3067 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3069 AM_V=$AM_DEFAULT_VERBOSITY
3070 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3075 # Make sure we can run config.sub.
3076 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3077 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3080 $as_echo_n "checking build system type... " >&6; }
3081 if ${ac_cv_build+:} false; then :
3082 $as_echo_n "(cached) " >&6
3084 ac_build_alias=$build_alias
3085 test "x$ac_build_alias" = x &&
3086 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3087 test "x$ac_build_alias" = x &&
3088 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3089 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3090 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3094 $as_echo "$ac_cv_build" >&6; }
3095 case $ac_cv_build in
3097 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3100 ac_save_IFS=$IFS; IFS='-'
3106 # Remember, the first character of IFS is used to create $*,
3107 # except with old shells:
3110 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3114 $as_echo_n "checking host system type... " >&6; }
3115 if ${ac_cv_host+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 if test "x$host_alias" = x; then
3119 ac_cv_host=$ac_cv_build
3121 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3122 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3127 $as_echo "$ac_cv_host" >&6; }
3130 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3133 ac_save_IFS=$IFS; IFS='-'
3139 # Remember, the first character of IFS is used to create $*,
3140 # except with old shells:
3143 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3146 enable_win32_dll=yes
3149 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3150 if test -n "$ac_tool_prefix"; then
3151 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3152 set dummy ${ac_tool_prefix}as; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_AS+:} false; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -n "$AS"; then
3159 ac_cv_prog_AS="$AS" # Let the user override the test.
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 test -z "$as_dir" && as_dir=.
3166 for ac_exec_ext in '' $ac_executable_extensions; do
3167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168 ac_cv_prog_AS="${ac_tool_prefix}as"
3169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 if test -n "$AS"; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3181 $as_echo "$AS" >&6; }
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3189 if test -z "$ac_cv_prog_AS"; then
3191 # Extract the first word of "as", so it can be a program name with args.
3192 set dummy as; ac_word=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3196 $as_echo_n "(cached) " >&6
3198 if test -n "$ac_ct_AS"; then
3199 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir=.
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208 ac_cv_prog_ac_ct_AS="as"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3219 if test -n "$ac_ct_AS"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3221 $as_echo "$ac_ct_AS" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3227 if test "x$ac_ct_AS" = x; then
3230 case $cross_compiling:$ac_tool_warned in
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned=yes ;;
3242 if test -n "$ac_tool_prefix"; then
3243 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3244 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3246 $as_echo_n "checking for $ac_word... " >&6; }
3247 if ${ac_cv_prog_DLLTOOL+:} false; then :
3248 $as_echo_n "(cached) " >&6
3250 if test -n "$DLLTOOL"; then
3251 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 test -z "$as_dir" && as_dir=.
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3260 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 DLLTOOL=$ac_cv_prog_DLLTOOL
3271 if test -n "$DLLTOOL"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3273 $as_echo "$DLLTOOL" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 $as_echo "no" >&6; }
3281 if test -z "$ac_cv_prog_DLLTOOL"; then
3282 ac_ct_DLLTOOL=$DLLTOOL
3283 # Extract the first word of "dlltool", so it can be a program name with args.
3284 set dummy dlltool; ac_word=$2
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3286 $as_echo_n "checking for $ac_word... " >&6; }
3287 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 if test -n "$ac_ct_DLLTOOL"; then
3291 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 test -z "$as_dir" && as_dir=.
3298 for ac_exec_ext in '' $ac_executable_extensions; do
3299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3300 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3311 if test -n "$ac_ct_DLLTOOL"; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3313 $as_echo "$ac_ct_DLLTOOL" >&6; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3316 $as_echo "no" >&6; }
3319 if test "x$ac_ct_DLLTOOL" = x; then
3322 case $cross_compiling:$ac_tool_warned in
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3326 ac_tool_warned=yes ;;
3328 DLLTOOL=$ac_ct_DLLTOOL
3331 DLLTOOL="$ac_cv_prog_DLLTOOL"
3334 if test -n "$ac_tool_prefix"; then
3335 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3336 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_OBJDUMP+:} false; then :
3340 $as_echo_n "(cached) " >&6
3342 if test -n "$OBJDUMP"; then
3343 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir=.
3350 for ac_exec_ext in '' $ac_executable_extensions; do
3351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 OBJDUMP=$ac_cv_prog_OBJDUMP
3363 if test -n "$OBJDUMP"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3365 $as_echo "$OBJDUMP" >&6; }
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3373 if test -z "$ac_cv_prog_OBJDUMP"; then
3374 ac_ct_OBJDUMP=$OBJDUMP
3375 # Extract the first word of "objdump", so it can be a program name with args.
3376 set dummy objdump; ac_word=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3380 $as_echo_n "(cached) " >&6
3382 if test -n "$ac_ct_OBJDUMP"; then
3383 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir=.
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3392 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3403 if test -n "$ac_ct_OBJDUMP"; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3405 $as_echo "$ac_ct_OBJDUMP" >&6; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408 $as_echo "no" >&6; }
3411 if test "x$ac_ct_OBJDUMP" = x; then
3414 case $cross_compiling:$ac_tool_warned in
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3418 ac_tool_warned=yes ;;
3420 OBJDUMP=$ac_ct_OBJDUMP
3423 OBJDUMP="$ac_cv_prog_OBJDUMP"
3429 test -z "$AS" && AS=as
3435 test -z "$DLLTOOL" && DLLTOOL=dlltool
3441 test -z "$OBJDUMP" && OBJDUMP=objdump
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3452 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3457 macro_version='2.4.2'
3458 macro_revision='1.3337'
3472 ltmain="$ac_aux_dir/ltmain.sh"
3474 # Backslashify metacharacters that are still active within
3475 # double-quoted strings.
3476 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3478 # Same as above, but do not quote variable references.
3479 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3481 # Sed substitution to delay expansion of an escaped shell variable in a
3482 # double_quote_subst'ed string.
3483 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3485 # Sed substitution to delay expansion of an escaped single quote.
3486 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3488 # Sed substitution to avoid accidental globbing in evaled expressions
3489 no_glob_subst='s/\*/\\\*/g'
3491 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3492 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3493 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3496 $as_echo_n "checking how to print strings... " >&6; }
3497 # Test print first, because it will be a builtin if present.
3498 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3499 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3501 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3504 # Use this function as a fallback that always works.
3505 func_fallback_echo ()
3507 eval 'cat <<_LTECHO_EOF
3511 ECHO='func_fallback_echo'
3514 # func_echo_all arg...
3515 # Invoke $ECHO with all args, space-separated.
3522 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3523 $as_echo "printf" >&6; } ;;
3524 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3525 $as_echo "print -r" >&6; } ;;
3526 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3527 $as_echo "cat" >&6; } ;;
3543 DEPDIR="${am__leading_dot}deps"
3545 ac_config_commands="$ac_config_commands depfiles"
3548 am_make=${MAKE-make}
3549 cat > confinc << 'END'
3551 @echo this is the am__doit target
3554 # If we don't find an include directive, just comment out the code.
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3556 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3560 # First try GNU make style include.
3561 echo "include confinc" > confmf
3562 # Ignore all kinds of additional output from `make'.
3563 case `$am_make -s -f confmf 2> /dev/null` in #(
3564 *the\ am__doit\ target*)
3570 # Now try BSD make style include.
3571 if test "$am__include" = "#"; then
3572 echo '.include "confinc"' > confmf
3573 case `$am_make -s -f confmf 2> /dev/null` in #(
3574 *the\ am__doit\ target*)
3575 am__include=.include
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3584 $as_echo "$_am_result" >&6; }
3585 rm -f confinc confmf
3587 # Check whether --enable-dependency-tracking was given.
3588 if test "${enable_dependency_tracking+set}" = set; then :
3589 enableval=$enable_dependency_tracking;
3592 if test "x$enable_dependency_tracking" != xno; then
3593 am_depcomp="$ac_aux_dir/depcomp"
3597 if test "x$enable_dependency_tracking" != xno; then
3607 ac_cpp='$CPP $CPPFLAGS'
3608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3611 if test -n "$ac_tool_prefix"; then
3612 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3613 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if ${ac_cv_prog_CC+:} false; then :
3617 $as_echo_n "(cached) " >&6
3619 if test -n "$CC"; then
3620 ac_cv_prog_CC="$CC" # Let the user override the test.
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 test -z "$as_dir" && as_dir=.
3627 for ac_exec_ext in '' $ac_executable_extensions; do
3628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 if test -n "$CC"; then
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3650 if test -z "$ac_cv_prog_CC"; then
3652 # Extract the first word of "gcc", so it can be a program name with args.
3653 set dummy gcc; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3657 $as_echo_n "(cached) " >&6
3659 if test -n "$ac_ct_CC"; then
3660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666 test -z "$as_dir" && as_dir=.
3667 for ac_exec_ext in '' $ac_executable_extensions; do
3668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669 ac_cv_prog_ac_ct_CC="gcc"
3670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3680 if test -n "$ac_ct_CC"; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3682 $as_echo "$ac_ct_CC" >&6; }
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3688 if test "x$ac_ct_CC" = x; then
3691 case $cross_compiling:$ac_tool_warned in
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3695 ac_tool_warned=yes ;;
3703 if test -z "$CC"; then
3704 if test -n "$ac_tool_prefix"; then
3705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3706 set dummy ${ac_tool_prefix}cc; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_CC+:} false; then :
3710 $as_echo_n "(cached) " >&6
3712 if test -n "$CC"; then
3713 ac_cv_prog_CC="$CC" # Let the user override the test.
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3722 ac_cv_prog_CC="${ac_tool_prefix}cc"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3744 if test -z "$CC"; then
3745 # Extract the first word of "cc", so it can be a program name with args.
3746 set dummy cc; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC="$CC" # Let the user override the test.
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3764 ac_prog_rejected=yes
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 if test $ac_prog_rejected = yes; then
3776 # We found a bogon in the path, so make sure we never use it.
3777 set dummy $ac_cv_prog_CC
3779 if test $# != 0; then
3780 # We chose a different compiler from the bogus one.
3781 # However, it has the same basename, so the bogon will be chosen
3782 # first if we set CC to just the basename; use the full file name.
3784 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3790 if test -n "$CC"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3792 $as_echo "$CC" >&6; }
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 $as_echo "no" >&6; }
3800 if test -z "$CC"; then
3801 if test -n "$ac_tool_prefix"; then
3802 for ac_prog in cl.exe
3804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_CC+:} false; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -n "$CC"; then
3812 ac_cv_prog_CC="$CC" # Let the user override the test.
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir=.
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 if test -n "$CC"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3834 $as_echo "$CC" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3841 test -n "$CC" && break
3844 if test -z "$CC"; then
3846 for ac_prog in cl.exe
3848 # Extract the first word of "$ac_prog", so it can be a program name with args.
3849 set dummy $ac_prog; ac_word=$2
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 $as_echo_n "checking for $ac_word... " >&6; }
3852 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3853 $as_echo_n "(cached) " >&6
3855 if test -n "$ac_ct_CC"; then
3856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir=.
3863 for ac_exec_ext in '' $ac_executable_extensions; do
3864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3865 ac_cv_prog_ac_ct_CC="$ac_prog"
3866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3876 if test -n "$ac_ct_CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3878 $as_echo "$ac_ct_CC" >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3885 test -n "$ac_ct_CC" && break
3888 if test "x$ac_ct_CC" = x; then
3891 case $cross_compiling:$ac_tool_warned in
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3895 ac_tool_warned=yes ;;
3904 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3906 as_fn_error $? "no acceptable C compiler found in \$PATH
3907 See \`config.log' for more details" "$LINENO" 5; }
3909 # Provide some information about the compiler.
3910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3913 for ac_option in --version -v -V -qversion; do
3914 { { ac_try="$ac_compiler $ac_option >&5"
3916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917 *) ac_try_echo=$ac_try;;
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3923 if test -s conftest.err; then
3925 ... rest of stderr output deleted ...
3926 10q' conftest.err >conftest.er1
3927 cat conftest.er1 >&5
3929 rm -f conftest.er1 conftest.err
3930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931 test $ac_status = 0; }
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 ac_clean_files_save=$ac_clean_files
3946 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3947 # Try to create an executable without -o first, disregard a.out.
3948 # It will help us diagnose broken compilers, and finding out an intuition
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3951 $as_echo_n "checking whether the C compiler works... " >&6; }
3952 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3954 # The possible output files:
3955 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3958 for ac_file in $ac_files
3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3962 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3967 if { { ac_try="$ac_link_default"
3969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3970 *) ac_try_echo=$ac_try;;
3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3973 $as_echo "$ac_try_echo"; } >&5
3974 (eval "$ac_link_default") 2>&5
3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977 test $ac_status = 0; }; then :
3978 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3979 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3980 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3981 # so that the user can short-circuit this test for compilers unknown to
3983 for ac_file in $ac_files ''
3985 test -f "$ac_file" || continue
3987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3990 # We found the default executable, but exeext='' is most
3994 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3996 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3998 # We set ac_cv_exeext here because the later test for it is not
3999 # safe: cross compilers may not add the suffix if given an `-o'
4000 # argument, so we may need to know it at that point already.
4001 # Even if this section looks crufty: it has the advantage of
4008 test "$ac_cv_exeext" = no && ac_cv_exeext=
4013 if test -z "$ac_file"; then :
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4016 $as_echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.$ac_ext >&5
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error 77 "C compiler cannot create executables
4022 See \`config.log' for more details" "$LINENO" 5; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4025 $as_echo "yes" >&6; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4028 $as_echo_n "checking for C compiler default output file name... " >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4030 $as_echo "$ac_file" >&6; }
4031 ac_exeext=$ac_cv_exeext
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4034 ac_clean_files=$ac_clean_files_save
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4052 for ac_file in conftest.exe conftest conftest.*; do
4053 test -f "$ac_file" || continue
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details" "$LINENO" 5; }
4067 rm -f conftest conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4080 FILE *f = fopen ("conftest.out", "w");
4081 return ferror (f) || fclose (f) != 0;
4087 ac_clean_files="$ac_clean_files conftest.out"
4088 # Check that the compiler produces executables we can run. If not, either
4089 # the compiler is broken, or we cross compile.
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4091 $as_echo_n "checking whether we are cross compiling... " >&6; }
4092 if test "$cross_compiling" != yes; then
4093 { { ac_try="$ac_link"
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_link") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }
4104 if { ac_try='./conftest$ac_cv_exeext'
4105 { { case "(($ac_try" in
4106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_try") 2>&5
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }; }; then
4117 if test "$cross_compiling" = maybe; then
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error $? "cannot run C compiled programs.
4123 If you meant to cross compile, use \`--host'.
4124 See \`config.log' for more details" "$LINENO" 5; }
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4129 $as_echo "$cross_compiling" >&6; }
4131 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4132 ac_clean_files=$ac_clean_files_save
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4134 $as_echo_n "checking for suffix of object files... " >&6; }
4135 if ${ac_cv_objext+:} false; then :
4136 $as_echo_n "(cached) " >&6
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4149 rm -f conftest.o conftest.obj
4150 if { { ac_try="$ac_compile"
4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_compile") 2>&5
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 for ac_file in conftest.o conftest.obj conftest.*; do
4162 test -f "$ac_file" || continue;
4164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4165 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4170 $as_echo "$as_me: failed program was:" >&5
4171 sed 's/^/| /' conftest.$ac_ext >&5
4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4175 as_fn_error $? "cannot compute suffix of object files: cannot compile
4176 See \`config.log' for more details" "$LINENO" 5; }
4178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4181 $as_echo "$ac_cv_objext" >&6; }
4182 OBJEXT=$ac_cv_objext
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4185 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4186 if ${ac_cv_c_compiler_gnu+:} false; then :
4187 $as_echo_n "(cached) " >&6
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4213 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4214 if test $ac_compiler_gnu = yes; then
4219 ac_test_CFLAGS=${CFLAGS+set}
4220 ac_save_CFLAGS=$CFLAGS
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4222 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4223 if ${ac_cv_prog_cc_g+:} false; then :
4224 $as_echo_n "(cached) " >&6
4226 ac_save_c_werror_flag=$ac_c_werror_flag
4227 ac_c_werror_flag=yes
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h. */
4241 if ac_fn_c_try_compile "$LINENO"; then :
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4256 if ac_fn_c_try_compile "$LINENO"; then :
4259 ac_c_werror_flag=$ac_save_c_werror_flag
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4272 if ac_fn_c_try_compile "$LINENO"; then :
4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_save_c_werror_flag
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4283 $as_echo "$ac_cv_prog_cc_g" >&6; }
4284 if test "$ac_test_CFLAGS" = set; then
4285 CFLAGS=$ac_save_CFLAGS
4286 elif test $ac_cv_prog_cc_g = yes; then
4287 if test "$GCC" = yes; then
4293 if test "$GCC" = yes; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4300 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4301 if ${ac_cv_prog_cc_c89+:} false; then :
4302 $as_echo_n "(cached) " >&6
4304 ac_cv_prog_cc_c89=no
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4307 /* end confdefs.h. */
4310 #include <sys/types.h>
4311 #include <sys/stat.h>
4312 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4313 struct buf { int x; };
4314 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4315 static char *e (p, i)
4321 static char *f (char * (*g) (char **, int), char **p, ...)
4326 s = g (p, va_arg (v,int));
4331 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4332 function prototypes and stuff, but not '\xHH' hex character constants.
4333 These don't provoke an error unfortunately, instead are silently treated
4334 as 'x'. The following induces an error, until -std is added to get
4335 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4336 array size at least. It's necessary to write '\x00'==0 to get something
4337 that's true only with -std. */
4338 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4340 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4341 inside strings and character constants. */
4343 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4345 int test (int i, double x);
4346 struct s1 {int (*f) (int a);};
4347 struct s2 {int (*f) (double a);};
4348 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4354 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4359 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4360 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4362 CC="$ac_save_CC $ac_arg"
4363 if ac_fn_c_try_compile "$LINENO"; then :
4364 ac_cv_prog_cc_c89=$ac_arg
4366 rm -f core conftest.err conftest.$ac_objext
4367 test "x$ac_cv_prog_cc_c89" != "xno" && break
4369 rm -f conftest.$ac_ext
4374 case "x$ac_cv_prog_cc_c89" in
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4377 $as_echo "none needed" >&6; } ;;
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4380 $as_echo "unsupported" >&6; } ;;
4382 CC="$CC $ac_cv_prog_cc_c89"
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4384 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4386 if test "x$ac_cv_prog_cc_c89" != xno; then :
4391 ac_cpp='$CPP $CPPFLAGS'
4392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4396 depcc="$CC" am_compiler_list=
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4399 $as_echo_n "checking dependency style of $depcc... " >&6; }
4400 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4404 # We make a subdir and do the tests there. Otherwise we can end up
4405 # making bogus files that we don't know about and never remove. For
4406 # instance it was reported that on HP-UX the gcc test will end up
4407 # making a dummy file named `D' -- because `-MD' means `put the output
4411 # Copy depcomp to subdir because otherwise we won't find it if we're
4412 # using a relative directory.
4413 cp "$am_depcomp" conftest.dir
4415 # We will build objects and dependencies in a subdirectory because
4416 # it helps to detect inapplicable dependency modes. For instance
4417 # both Tru64's cc and ICC support -MD to output dependencies as a
4418 # side effect of compilation, but ICC will put the dependencies in
4419 # the current directory while Tru64 will put them in the object
4423 am_cv_CC_dependencies_compiler_type=none
4424 if test "$am_compiler_list" = ""; then
4425 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4428 case " $depcc " in #(
4429 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4432 for depmode in $am_compiler_list; do
4433 # Setup a source with many dependencies, because some compilers
4434 # like to wrap large dependency lists on column 80 (with \), and
4435 # we should not choose a depcomp mode which is confused by this.
4437 # We need to recreate these files for each test, as the compiler may
4438 # overwrite some of them when testing with obscure command lines.
4439 # This happens at least with the AIX C compiler.
4441 for i in 1 2 3 4 5 6; do
4442 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4443 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4444 # Solaris 8's {/usr,}/bin/sh.
4445 touch sub/conftst$i.h
4447 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4449 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4450 # mode. It turns out that the SunPro C++ compiler does not properly
4451 # handle `-M -o', and we need to detect this. Also, some Intel
4452 # versions had trouble with output in subdirs
4453 am__obj=sub/conftest.${OBJEXT-o}
4454 am__minus_obj="-o $am__obj"
4457 # This depmode causes a compiler race in universal mode.
4458 test "$am__universal" = false || continue
4461 # after this tag, mechanisms are not by side-effect, so they'll
4462 # only be used when explicitly requested
4463 if test "x$enable_dependency_tracking" = xyes; then
4469 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4470 # This compiler won't grok `-c -o', but also, the minuso test has
4471 # not run yet. These depmodes are late enough in the game, and
4472 # so weak that their functioning should not be impacted.
4473 am__obj=conftest.${OBJEXT-o}
4478 if depmode=$depmode \
4479 source=sub/conftest.c object=$am__obj \
4480 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4481 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4482 >/dev/null 2>conftest.err &&
4483 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4484 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4485 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4486 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4487 # icc doesn't choke on unknown options, it will just issue warnings
4488 # or remarks (even with -Werror). So we grep stderr for any message
4489 # that says an option was ignored or not supported.
4490 # When given -MP, icc 7.0 and 7.1 complain thusly:
4491 # icc: Command line warning: ignoring option '-M'; no argument required
4492 # The diagnosis changed in icc 8.0:
4493 # icc: Command line remark: option '-MP' not supported
4494 if (grep 'ignoring option' conftest.err ||
4495 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4496 am_cv_CC_dependencies_compiler_type=$depmode
4505 am_cv_CC_dependencies_compiler_type=none
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4510 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4511 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4514 test "x$enable_dependency_tracking" != xno \
4515 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4517 am__fastdepCC_FALSE='#'
4519 am__fastdepCC_TRUE='#'
4520 am__fastdepCC_FALSE=
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4525 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4526 if ${ac_cv_path_SED+:} false; then :
4527 $as_echo_n "(cached) " >&6
4529 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4530 for ac_i in 1 2 3 4 5 6 7; do
4531 ac_script="$ac_script$as_nl$ac_script"
4533 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4534 { ac_script=; unset ac_script;}
4535 if test -z "$SED"; then
4536 ac_path_SED_found=false
4537 # Loop through the user's path and test for each of PROGNAME-LIST
4538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 test -z "$as_dir" && as_dir=.
4543 for ac_prog in sed gsed; do
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4546 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4547 # Check for GNU ac_path_SED and select it if it is found.
4548 # Check for GNU $ac_path_SED
4549 case `"$ac_path_SED" --version 2>&1` in
4551 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4554 $as_echo_n 0123456789 >"conftest.in"
4557 cat "conftest.in" "conftest.in" >"conftest.tmp"
4558 mv "conftest.tmp" "conftest.in"
4559 cp "conftest.in" "conftest.nl"
4560 $as_echo '' >> "conftest.nl"
4561 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4562 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4563 as_fn_arith $ac_count + 1 && ac_count=$as_val
4564 if test $ac_count -gt ${ac_path_SED_max-0}; then
4565 # Best one so far, save it but keep looking for a better one
4566 ac_cv_path_SED="$ac_path_SED"
4567 ac_path_SED_max=$ac_count
4569 # 10*(2^10) chars as input seems more than enough
4570 test $ac_count -gt 10 && break
4572 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4575 $ac_path_SED_found && break 3
4580 if test -z "$ac_cv_path_SED"; then
4581 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4589 $as_echo "$ac_cv_path_SED" >&6; }
4590 SED="$ac_cv_path_SED"
4593 test -z "$SED" && SED=sed
4594 Xsed="$SED -e 1s/^X//"
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4607 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4608 if ${ac_cv_path_GREP+:} false; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -z "$GREP"; then
4612 ac_path_GREP_found=false
4613 # Loop through the user's path and test for each of PROGNAME-LIST
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4618 test -z "$as_dir" && as_dir=.
4619 for ac_prog in grep ggrep; do
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4622 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4623 # Check for GNU ac_path_GREP and select it if it is found.
4624 # Check for GNU $ac_path_GREP
4625 case `"$ac_path_GREP" --version 2>&1` in
4627 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4630 $as_echo_n 0123456789 >"conftest.in"
4633 cat "conftest.in" "conftest.in" >"conftest.tmp"
4634 mv "conftest.tmp" "conftest.in"
4635 cp "conftest.in" "conftest.nl"
4636 $as_echo 'GREP' >> "conftest.nl"
4637 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639 as_fn_arith $ac_count + 1 && ac_count=$as_val
4640 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4641 # Best one so far, save it but keep looking for a better one
4642 ac_cv_path_GREP="$ac_path_GREP"
4643 ac_path_GREP_max=$ac_count
4645 # 10*(2^10) chars as input seems more than enough
4646 test $ac_count -gt 10 && break
4648 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4651 $ac_path_GREP_found && break 3
4656 if test -z "$ac_cv_path_GREP"; then
4657 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4660 ac_cv_path_GREP=$GREP
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4665 $as_echo "$ac_cv_path_GREP" >&6; }
4666 GREP="$ac_cv_path_GREP"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4670 $as_echo_n "checking for egrep... " >&6; }
4671 if ${ac_cv_path_EGREP+:} false; then :
4672 $as_echo_n "(cached) " >&6
4674 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4675 then ac_cv_path_EGREP="$GREP -E"
4677 if test -z "$EGREP"; then
4678 ac_path_EGREP_found=false
4679 # Loop through the user's path and test for each of PROGNAME-LIST
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4684 test -z "$as_dir" && as_dir=.
4685 for ac_prog in egrep; do
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4688 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4689 # Check for GNU ac_path_EGREP and select it if it is found.
4690 # Check for GNU $ac_path_EGREP
4691 case `"$ac_path_EGREP" --version 2>&1` in
4693 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4696 $as_echo_n 0123456789 >"conftest.in"
4699 cat "conftest.in" "conftest.in" >"conftest.tmp"
4700 mv "conftest.tmp" "conftest.in"
4701 cp "conftest.in" "conftest.nl"
4702 $as_echo 'EGREP' >> "conftest.nl"
4703 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4705 as_fn_arith $ac_count + 1 && ac_count=$as_val
4706 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4707 # Best one so far, save it but keep looking for a better one
4708 ac_cv_path_EGREP="$ac_path_EGREP"
4709 ac_path_EGREP_max=$ac_count
4711 # 10*(2^10) chars as input seems more than enough
4712 test $ac_count -gt 10 && break
4714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4717 $ac_path_EGREP_found && break 3
4722 if test -z "$ac_cv_path_EGREP"; then
4723 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726 ac_cv_path_EGREP=$EGREP
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4732 $as_echo "$ac_cv_path_EGREP" >&6; }
4733 EGREP="$ac_cv_path_EGREP"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4737 $as_echo_n "checking for fgrep... " >&6; }
4738 if ${ac_cv_path_FGREP+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4742 then ac_cv_path_FGREP="$GREP -F"
4744 if test -z "$FGREP"; then
4745 ac_path_FGREP_found=false
4746 # Loop through the user's path and test for each of PROGNAME-LIST
4747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4748 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4751 test -z "$as_dir" && as_dir=.
4752 for ac_prog in fgrep; do
4753 for ac_exec_ext in '' $ac_executable_extensions; do
4754 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4755 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4756 # Check for GNU ac_path_FGREP and select it if it is found.
4757 # Check for GNU $ac_path_FGREP
4758 case `"$ac_path_FGREP" --version 2>&1` in
4760 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4763 $as_echo_n 0123456789 >"conftest.in"
4766 cat "conftest.in" "conftest.in" >"conftest.tmp"
4767 mv "conftest.tmp" "conftest.in"
4768 cp "conftest.in" "conftest.nl"
4769 $as_echo 'FGREP' >> "conftest.nl"
4770 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4771 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4772 as_fn_arith $ac_count + 1 && ac_count=$as_val
4773 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4774 # Best one so far, save it but keep looking for a better one
4775 ac_cv_path_FGREP="$ac_path_FGREP"
4776 ac_path_FGREP_max=$ac_count
4778 # 10*(2^10) chars as input seems more than enough
4779 test $ac_count -gt 10 && break
4781 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4784 $ac_path_FGREP_found && break 3
4789 if test -z "$ac_cv_path_FGREP"; then
4790 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4793 ac_cv_path_FGREP=$FGREP
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4799 $as_echo "$ac_cv_path_FGREP" >&6; }
4800 FGREP="$ac_cv_path_FGREP"
4803 test -z "$GREP" && GREP=grep
4823 # Check whether --with-gnu-ld was given.
4824 if test "${with_gnu_ld+set}" = set; then :
4825 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4831 if test "$GCC" = yes; then
4832 # Check if gcc -print-prog-name=ld gives a path.
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4834 $as_echo_n "checking for ld used by $CC... " >&6; }
4837 # gcc leaves a trailing carriage return which upsets mingw
4838 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4840 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4843 # Accept absolute paths.
4845 re_direlt='/[^/][^/]*/\.\./'
4846 # Canonicalize the pathname of ld
4847 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4848 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4849 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4851 test -z "$LD" && LD="$ac_prog"
4854 # If it fails, then pretend we aren't using GCC.
4858 # If it is relative, then search for the first ld in PATH.
4862 elif test "$with_gnu_ld" = yes; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4864 $as_echo_n "checking for GNU ld... " >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4867 $as_echo_n "checking for non-GNU ld... " >&6; }
4869 if ${lt_cv_path_LD+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -z "$LD"; then
4873 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4874 for ac_dir in $PATH; do
4876 test -z "$ac_dir" && ac_dir=.
4877 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4878 lt_cv_path_LD="$ac_dir/$ac_prog"
4879 # Check to see if the program is GNU ld. I'd rather use --version,
4880 # but apparently some variants of GNU ld only accept -v.
4881 # Break only if it was the GNU/non-GNU ld that we prefer.
4882 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4883 *GNU* | *'with BFD'*)
4884 test "$with_gnu_ld" != no && break
4887 test "$with_gnu_ld" != yes && break
4894 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4899 if test -n "$LD"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4901 $as_echo "$LD" >&6; }
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4906 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4908 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4909 if ${lt_cv_prog_gnu_ld+:} false; then :
4910 $as_echo_n "(cached) " >&6
4912 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4913 case `$LD -v 2>&1 </dev/null` in
4914 *GNU* | *'with BFD'*)
4915 lt_cv_prog_gnu_ld=yes
4918 lt_cv_prog_gnu_ld=no
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4923 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4924 with_gnu_ld=$lt_cv_prog_gnu_ld
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4935 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4936 if ${lt_cv_path_NM+:} false; then :
4937 $as_echo_n "(cached) " >&6
4939 if test -n "$NM"; then
4940 # Let the user override the test.
4943 lt_nm_to_check="${ac_tool_prefix}nm"
4944 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4945 lt_nm_to_check="$lt_nm_to_check nm"
4947 for lt_tmp_nm in $lt_nm_to_check; do
4948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4949 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4951 test -z "$ac_dir" && ac_dir=.
4952 tmp_nm="$ac_dir/$lt_tmp_nm"
4953 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4954 # Check to see if the nm accepts a BSD-compat flag.
4955 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4956 # nm: unknown option "B" ignored
4957 # Tru64's nm complains that /dev/null is an invalid object file
4958 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4959 */dev/null* | *'Invalid file or object type'*)
4960 lt_cv_path_NM="$tmp_nm -B"
4964 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4966 lt_cv_path_NM="$tmp_nm -p"
4970 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4971 continue # so that we can try to find one that supports BSD flags
4980 : ${lt_cv_path_NM=no}
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4984 $as_echo "$lt_cv_path_NM" >&6; }
4985 if test "$lt_cv_path_NM" != "no"; then
4988 # Didn't find any BSD compatible name lister, look for dumpbin.
4989 if test -n "$DUMPBIN"; then :
4990 # Let the user override the test.
4992 if test -n "$ac_tool_prefix"; then
4993 for ac_prog in dumpbin "link -dump"
4995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4996 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_DUMPBIN+:} false; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$DUMPBIN"; then
5003 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 DUMPBIN=$ac_cv_prog_DUMPBIN
5023 if test -n "$DUMPBIN"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5025 $as_echo "$DUMPBIN" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 test -n "$DUMPBIN" && break
5035 if test -z "$DUMPBIN"; then
5036 ac_ct_DUMPBIN=$DUMPBIN
5037 for ac_prog in dumpbin "link -dump"
5039 # Extract the first word of "$ac_prog", so it can be a program name with args.
5040 set dummy $ac_prog; ac_word=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$ac_ct_DUMPBIN"; then
5047 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir=.
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5056 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5067 if test -n "$ac_ct_DUMPBIN"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5069 $as_echo "$ac_ct_DUMPBIN" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5076 test -n "$ac_ct_DUMPBIN" && break
5079 if test "x$ac_ct_DUMPBIN" = x; then
5082 case $cross_compiling:$ac_tool_warned in
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5086 ac_tool_warned=yes ;;
5088 DUMPBIN=$ac_ct_DUMPBIN
5092 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5094 DUMPBIN="$DUMPBIN -symbols"
5102 if test "$DUMPBIN" != ":"; then
5106 test -z "$NM" && NM=nm
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5114 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5115 if ${lt_cv_nm_interface+:} false; then :
5116 $as_echo_n "(cached) " >&6
5118 lt_cv_nm_interface="BSD nm"
5119 echo "int some_variable = 0;" > conftest.$ac_ext
5120 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5121 (eval "$ac_compile" 2>conftest.err)
5122 cat conftest.err >&5
5123 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5124 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5125 cat conftest.err >&5
5126 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5127 cat conftest.out >&5
5128 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5129 lt_cv_nm_interface="MS dumpbin"
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5134 $as_echo "$lt_cv_nm_interface" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5137 $as_echo_n "checking whether ln -s works... " >&6; }
5139 if test "$LN_S" = "ln -s"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5141 $as_echo "yes" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5144 $as_echo "no, using $LN_S" >&6; }
5147 # find the maximum length of command line arguments
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5149 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5150 if ${lt_cv_sys_max_cmd_len+:} false; then :
5151 $as_echo_n "(cached) " >&6
5158 # On DJGPP, this test can blow up pretty badly due to problems in libc
5159 # (any single argument exceeding 2000 bytes causes a buffer overrun
5160 # during glob expansion). Even if it were fixed, the result of this
5161 # check would be larger than it should be.
5162 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5166 # Under GNU Hurd, this test is not required because there is
5167 # no limit to the length of command line arguments.
5168 # Libtool will interpret -1 as no limit whatsoever
5169 lt_cv_sys_max_cmd_len=-1;
5172 cygwin* | mingw* | cegcc*)
5173 # On Win9x/ME, this test blows up -- it succeeds, but takes
5174 # about 5 minutes as the teststring grows exponentially.
5175 # Worse, since 9x/ME are not pre-emptively multitasking,
5176 # you end up with a "frozen" computer, even though with patience
5177 # the test eventually succeeds (with a max line length of 256k).
5178 # Instead, let's just punt: use the minimum linelength reported by
5179 # all of the supported platforms: 8192 (on NT/2K/XP).
5180 lt_cv_sys_max_cmd_len=8192;
5184 # On MiNT this can take a long time and run out of memory.
5185 lt_cv_sys_max_cmd_len=8192;
5189 # On AmigaOS with pdksh, this test takes hours, literally.
5190 # So we just punt and use a minimum line length of 8192.
5191 lt_cv_sys_max_cmd_len=8192;
5194 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5195 # This has been around since 386BSD, at least. Likely further.
5196 if test -x /sbin/sysctl; then
5197 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5198 elif test -x /usr/sbin/sysctl; then
5199 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5201 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5203 # And add a safety zone
5204 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5205 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5209 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5210 lt_cv_sys_max_cmd_len=196608
5214 # The test takes a long time on OS/2.
5215 lt_cv_sys_max_cmd_len=8192
5219 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5220 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5221 # nice to cause kernel panics so lets avoid the loop below.
5222 # First set a reasonable default.
5223 lt_cv_sys_max_cmd_len=16384
5225 if test -x /sbin/sysconfig; then
5226 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5227 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5232 lt_cv_sys_max_cmd_len=102400
5234 sysv5* | sco5v6* | sysv4.2uw2*)
5235 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5236 if test -n "$kargmax"; then
5237 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5239 lt_cv_sys_max_cmd_len=32768
5243 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5244 if test -n "$lt_cv_sys_max_cmd_len"; then
5245 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5246 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5248 # Make teststring a little bigger before we do anything with it.
5249 # a 1K string should be a reasonable start.
5250 for i in 1 2 3 4 5 6 7 8 ; do
5251 teststring=$teststring$teststring
5253 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5254 # If test is not a shell built-in, we'll probably end up computing a
5255 # maximum length that is only half of the actual maximum length, but
5257 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5258 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5259 test $i != 17 # 1/2 MB should be enough
5262 teststring=$teststring$teststring
5264 # Only check the string length outside the loop.
5265 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5267 # Add a significant safety factor because C++ compilers can tack on
5268 # massive amounts of additional arguments before passing them to the
5269 # linker. It appears as though 1/2 is a usable value.
5270 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5277 if test -n $lt_cv_sys_max_cmd_len ; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5279 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5282 $as_echo "none" >&6; }
5284 max_cmd_len=$lt_cv_sys_max_cmd_len
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5296 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5297 # Try some XSI features
5300 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5302 && eval 'test $(( 1 + 1 )) -eq 2 \
5303 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5306 $as_echo "$xsi_shell" >&6; }
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5310 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5312 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5314 && lt_shell_append=yes
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5316 $as_echo "$lt_shell_append" >&6; }
5319 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5329 # test EBCDIC or ASCII
5330 case `echo X|tr X '\101'` in
5331 A) # ASCII based system
5332 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5333 lt_SP2NL='tr \040 \012'
5334 lt_NL2SP='tr \015\012 \040\040'
5336 *) # EBCDIC based system
5337 lt_SP2NL='tr \100 \n'
5338 lt_NL2SP='tr \r\n \100\100'
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5351 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5352 if ${lt_cv_to_host_file_cmd+:} false; then :
5353 $as_echo_n "(cached) " >&6
5358 *-*-mingw* ) # actually msys
5359 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5362 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5364 * ) # otherwise, assume *nix
5365 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5371 *-*-mingw* ) # actually msys
5372 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5375 lt_cv_to_host_file_cmd=func_convert_file_noop
5377 * ) # otherwise, assume *nix
5378 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5382 * ) # unhandled hosts (and "normal" native builds)
5383 lt_cv_to_host_file_cmd=func_convert_file_noop
5389 to_host_file_cmd=$lt_cv_to_host_file_cmd
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5391 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5398 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5399 if ${lt_cv_to_tool_file_cmd+:} false; then :
5400 $as_echo_n "(cached) " >&6
5402 #assume ordinary cross tools, or native build.
5403 lt_cv_to_tool_file_cmd=func_convert_file_noop
5407 *-*-mingw* ) # actually msys
5408 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5416 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5418 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5425 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5426 if ${lt_cv_ld_reload_flag+:} false; then :
5427 $as_echo_n "(cached) " >&6
5429 lt_cv_ld_reload_flag='-r'
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5432 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5433 reload_flag=$lt_cv_ld_reload_flag
5434 case $reload_flag in
5436 *) reload_flag=" $reload_flag" ;;
5438 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5440 cygwin* | mingw* | pw32* | cegcc*)
5441 if test "$GCC" != yes; then
5446 if test "$GCC" = yes; then
5447 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5449 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5462 if test -n "$ac_tool_prefix"; then
5463 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5464 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if ${ac_cv_prog_OBJDUMP+:} false; then :
5468 $as_echo_n "(cached) " >&6
5470 if test -n "$OBJDUMP"; then
5471 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 test -z "$as_dir" && as_dir=.
5478 for ac_exec_ext in '' $ac_executable_extensions; do
5479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5480 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 OBJDUMP=$ac_cv_prog_OBJDUMP
5491 if test -n "$OBJDUMP"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5493 $as_echo "$OBJDUMP" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5501 if test -z "$ac_cv_prog_OBJDUMP"; then
5502 ac_ct_OBJDUMP=$OBJDUMP
5503 # Extract the first word of "objdump", so it can be a program name with args.
5504 set dummy objdump; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$ac_ct_OBJDUMP"; then
5511 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5520 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5531 if test -n "$ac_ct_OBJDUMP"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5533 $as_echo "$ac_ct_OBJDUMP" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5539 if test "x$ac_ct_OBJDUMP" = x; then
5542 case $cross_compiling:$ac_tool_warned in
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5546 ac_tool_warned=yes ;;
5548 OBJDUMP=$ac_ct_OBJDUMP
5551 OBJDUMP="$ac_cv_prog_OBJDUMP"
5554 test -z "$OBJDUMP" && OBJDUMP=objdump
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5562 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5563 if ${lt_cv_deplibs_check_method+:} false; then :
5564 $as_echo_n "(cached) " >&6
5566 lt_cv_file_magic_cmd='$MAGIC_CMD'
5567 lt_cv_file_magic_test_file=
5568 lt_cv_deplibs_check_method='unknown'
5569 # Need to set the preceding variable on all platforms that support
5570 # interlibrary dependencies.
5571 # 'none' -- dependencies not supported.
5572 # `unknown' -- same as none, but documents that we really don't know.
5573 # 'pass_all' -- all dependencies passed with no checks.
5574 # 'test_compile' -- check by making test program.
5575 # 'file_magic [[regex]]' -- check by looking for files in library path
5576 # which responds to the $file_magic_cmd with a given extended regex.
5577 # If you have `file' or equivalent on your system and you're not sure
5578 # whether `pass_all' will *always* work, you probably want this one.
5582 lt_cv_deplibs_check_method=pass_all
5586 lt_cv_deplibs_check_method=pass_all
5590 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5591 lt_cv_file_magic_cmd='/usr/bin/file -L'
5592 lt_cv_file_magic_test_file=/shlib/libc.so
5596 # func_win32_libid is a shell function defined in ltmain.sh
5597 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5598 lt_cv_file_magic_cmd='func_win32_libid'
5602 # Base MSYS/MinGW do not provide the 'file' command needed by
5603 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5604 # unless we find 'file', for example because we are cross-compiling.
5605 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5606 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5607 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5608 lt_cv_file_magic_cmd='func_win32_libid'
5610 # Keep this pattern in sync with the one in func_win32_libid.
5611 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5612 lt_cv_file_magic_cmd='$OBJDUMP -f'
5617 # use the weaker test based on 'objdump'. See mingw*.
5618 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5619 lt_cv_file_magic_cmd='$OBJDUMP -f'
5622 darwin* | rhapsody*)
5623 lt_cv_deplibs_check_method=pass_all
5626 freebsd* | dragonfly*)
5627 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5630 # Not sure whether the presence of OpenBSD here was a mistake.
5631 # Let's accept both of them until this is cleared up.
5632 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5633 lt_cv_file_magic_cmd=/usr/bin/file
5634 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5638 lt_cv_deplibs_check_method=pass_all
5643 lt_cv_deplibs_check_method=pass_all
5647 lt_cv_deplibs_check_method=pass_all
5650 hpux10.20* | hpux11*)
5651 lt_cv_file_magic_cmd=/usr/bin/file
5654 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5655 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5658 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5659 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5662 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5663 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5669 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5670 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5673 irix5* | irix6* | nonstopux*)
5675 *-32|*"-32 ") libmagic=32-bit;;
5676 *-n32|*"-n32 ") libmagic=N32;;
5677 *-64|*"-64 ") libmagic=64-bit;;
5678 *) libmagic=never-match;;
5680 lt_cv_deplibs_check_method=pass_all
5683 # This must be glibc/ELF.
5684 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5685 lt_cv_deplibs_check_method=pass_all
5689 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5690 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5692 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5697 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5698 lt_cv_file_magic_cmd=/usr/bin/file
5699 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5703 lt_cv_deplibs_check_method=pass_all
5707 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5708 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5710 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5714 osf3* | osf4* | osf5*)
5715 lt_cv_deplibs_check_method=pass_all
5719 lt_cv_deplibs_check_method=pass_all
5723 lt_cv_deplibs_check_method=pass_all
5726 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5727 lt_cv_deplibs_check_method=pass_all
5731 case $host_vendor in
5733 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]'
5734 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5737 lt_cv_deplibs_check_method=pass_all
5740 lt_cv_file_magic_cmd='/bin/file'
5741 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5744 lt_cv_file_magic_cmd='/bin/file'
5745 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5746 lt_cv_file_magic_test_file=/lib/libc.so
5749 lt_cv_deplibs_check_method=pass_all
5752 lt_cv_deplibs_check_method=pass_all
5758 lt_cv_deplibs_check_method=pass_all
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5764 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5768 if test "$build" = "$host"; then
5771 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5774 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5780 file_magic_cmd=$lt_cv_file_magic_cmd
5781 deplibs_check_method=$lt_cv_deplibs_check_method
5782 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5805 if test -n "$ac_tool_prefix"; then
5806 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5807 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_DLLTOOL+:} false; then :
5811 $as_echo_n "(cached) " >&6
5813 if test -n "$DLLTOOL"; then
5814 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 DLLTOOL=$ac_cv_prog_DLLTOOL
5834 if test -n "$DLLTOOL"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5836 $as_echo "$DLLTOOL" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5844 if test -z "$ac_cv_prog_DLLTOOL"; then
5845 ac_ct_DLLTOOL=$DLLTOOL
5846 # Extract the first word of "dlltool", so it can be a program name with args.
5847 set dummy dlltool; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5851 $as_echo_n "(cached) " >&6
5853 if test -n "$ac_ct_DLLTOOL"; then
5854 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5874 if test -n "$ac_ct_DLLTOOL"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5876 $as_echo "$ac_ct_DLLTOOL" >&6; }
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5882 if test "x$ac_ct_DLLTOOL" = x; then
5885 case $cross_compiling:$ac_tool_warned in
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5889 ac_tool_warned=yes ;;
5891 DLLTOOL=$ac_ct_DLLTOOL
5894 DLLTOOL="$ac_cv_prog_DLLTOOL"
5897 test -z "$DLLTOOL" && DLLTOOL=dlltool
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5906 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5907 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5908 $as_echo_n "(cached) " >&6
5910 lt_cv_sharedlib_from_linklib_cmd='unknown'
5913 cygwin* | mingw* | pw32* | cegcc*)
5914 # two different shell functions defined in ltmain.sh
5915 # decide which to use based on capabilities of $DLLTOOL
5916 case `$DLLTOOL --help 2>&1` in
5917 *--identify-strict*)
5918 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5921 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5926 # fallback: assume linklib IS sharedlib
5927 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5933 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5934 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5935 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5944 if test -n "$ac_tool_prefix"; then
5947 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5948 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5950 $as_echo_n "checking for $ac_word... " >&6; }
5951 if ${ac_cv_prog_AR+:} false; then :
5952 $as_echo_n "(cached) " >&6
5954 if test -n "$AR"; then
5955 ac_cv_prog_AR="$AR" # Let the user override the test.
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 test -z "$as_dir" && as_dir=.
5962 for ac_exec_ext in '' $ac_executable_extensions; do
5963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5964 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 if test -n "$AR"; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5977 $as_echo "$AR" >&6; }
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5984 test -n "$AR" && break
5987 if test -z "$AR"; then
5991 # Extract the first word of "$ac_prog", so it can be a program name with args.
5992 set dummy $ac_prog; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5996 $as_echo_n "(cached) " >&6
5998 if test -n "$ac_ct_AR"; then
5999 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_ac_ct_AR="$ac_prog"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6019 if test -n "$ac_ct_AR"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6021 $as_echo "$ac_ct_AR" >&6; }
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6028 test -n "$ac_ct_AR" && break
6031 if test "x$ac_ct_AR" = x; then
6034 case $cross_compiling:$ac_tool_warned in
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6038 ac_tool_warned=yes ;;
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6058 $as_echo_n "checking for archiver @FILE support... " >&6; }
6059 if ${lt_cv_ar_at_file+:} false; then :
6060 $as_echo_n "(cached) " >&6
6063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6074 if ac_fn_c_try_compile "$LINENO"; then :
6075 echo conftest.$ac_objext > conftest.lst
6076 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6077 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6078 (eval $lt_ar_try) 2>&5
6080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6081 test $ac_status = 0; }
6082 if test "$ac_status" -eq 0; then
6083 # Ensure the archiver fails upon bogus file names.
6084 rm -f conftest.$ac_objext libconftest.a
6085 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6086 (eval $lt_ar_try) 2>&5
6088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 test $ac_status = 0; }
6090 if test "$ac_status" -ne 0; then
6094 rm -f conftest.* libconftest.a
6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6101 $as_echo "$lt_cv_ar_at_file" >&6; }
6103 if test "x$lt_cv_ar_at_file" = xno; then
6106 archiver_list_spec=$lt_cv_ar_at_file
6115 if test -n "$ac_tool_prefix"; then
6116 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6117 set dummy ${ac_tool_prefix}strip; ac_word=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6119 $as_echo_n "checking for $ac_word... " >&6; }
6120 if ${ac_cv_prog_STRIP+:} false; then :
6121 $as_echo_n "(cached) " >&6
6123 if test -n "$STRIP"; then
6124 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 test -z "$as_dir" && as_dir=.
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6133 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 STRIP=$ac_cv_prog_STRIP
6144 if test -n "$STRIP"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6146 $as_echo "$STRIP" >&6; }
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 $as_echo "no" >&6; }
6154 if test -z "$ac_cv_prog_STRIP"; then
6156 # Extract the first word of "strip", so it can be a program name with args.
6157 set dummy strip; ac_word=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6161 $as_echo_n "(cached) " >&6
6163 if test -n "$ac_ct_STRIP"; then
6164 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_prog_ac_ct_STRIP="strip"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6184 if test -n "$ac_ct_STRIP"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6186 $as_echo "$ac_ct_STRIP" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6192 if test "x$ac_ct_STRIP" = x; then
6195 case $cross_compiling:$ac_tool_warned in
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6199 ac_tool_warned=yes ;;
6204 STRIP="$ac_cv_prog_STRIP"
6207 test -z "$STRIP" && STRIP=:
6214 if test -n "$ac_tool_prefix"; then
6215 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6216 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6218 $as_echo_n "checking for $ac_word... " >&6; }
6219 if ${ac_cv_prog_RANLIB+:} false; then :
6220 $as_echo_n "(cached) " >&6
6222 if test -n "$RANLIB"; then
6223 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6229 test -z "$as_dir" && as_dir=.
6230 for ac_exec_ext in '' $ac_executable_extensions; do
6231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6232 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 RANLIB=$ac_cv_prog_RANLIB
6243 if test -n "$RANLIB"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6245 $as_echo "$RANLIB" >&6; }
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6248 $as_echo "no" >&6; }
6253 if test -z "$ac_cv_prog_RANLIB"; then
6254 ac_ct_RANLIB=$RANLIB
6255 # Extract the first word of "ranlib", so it can be a program name with args.
6256 set dummy ranlib; ac_word=$2
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6258 $as_echo_n "checking for $ac_word... " >&6; }
6259 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6260 $as_echo_n "(cached) " >&6
6262 if test -n "$ac_ct_RANLIB"; then
6263 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272 ac_cv_prog_ac_ct_RANLIB="ranlib"
6273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6283 if test -n "$ac_ct_RANLIB"; then
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6285 $as_echo "$ac_ct_RANLIB" >&6; }
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6288 $as_echo "no" >&6; }
6291 if test "x$ac_ct_RANLIB" = x; then
6294 case $cross_compiling:$ac_tool_warned in
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6298 ac_tool_warned=yes ;;
6300 RANLIB=$ac_ct_RANLIB
6303 RANLIB="$ac_cv_prog_RANLIB"
6306 test -z "$RANLIB" && RANLIB=:
6313 # Determine commands to create old-style static archives.
6314 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6315 old_postinstall_cmds='chmod 644 $oldlib'
6316 old_postuninstall_cmds=
6318 if test -n "$RANLIB"; then
6321 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6324 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6327 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6332 lock_old_archive_extraction=yes ;;
6334 lock_old_archive_extraction=no ;;
6375 # If no C compiler was specified, use CC.
6378 # If no C compiler flags were specified, use CFLAGS.
6379 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6381 # Allow CC to be a program name with arguments.
6385 # Check for command to grab the raw symbol name followed by C symbol from nm.
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6387 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6388 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6389 $as_echo_n "(cached) " >&6
6392 # These are sane defaults that work on at least a few old systems.
6393 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6395 # Character class describing NM global symbol codes.
6396 symcode='[BCDEGRST]'
6398 # Regexp to match symbols that can be accessed directly from C.
6399 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6401 # Define system-specific variables.
6406 cygwin* | mingw* | pw32* | cegcc*)
6407 symcode='[ABCDGISTW]'
6410 if test "$host_cpu" = ia64; then
6411 symcode='[ABCDEGRST]'
6415 symcode='[BCDEGRST]'
6418 symcode='[BCDEGQRST]'
6429 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6437 # If we're using GNU nm, then use its standard symbol codes.
6438 case `$NM -V 2>&1` in
6439 *GNU* | *'with BFD'*)
6440 symcode='[ABCDGIRSTW]' ;;
6443 # Transform an extracted symbol line into a proper C declaration.
6444 # Some systems (esp. on ia64) link data and code symbols differently,
6445 # so use this general approach.
6446 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6448 # Transform an extracted symbol line into symbol name and symbol address
6449 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6450 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'"
6452 # Handle CRLF in mingw tool chain
6456 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6460 # Try without a prefix underscore, then with it.
6461 for ac_symprfx in "" "_"; do
6463 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6464 symxfrm="\\1 $ac_symprfx\\2 \\2"
6466 # Write the raw and C identifiers.
6467 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6468 # Fake it for dumpbin and say T for any non-static function
6469 # and D for any global variable.
6470 # Also find C++ and __fastcall symbols from MSVC++,
6471 # which start with @ or ?.
6472 lt_cv_sys_global_symbol_pipe="$AWK '"\
6473 " {last_section=section; section=\$ 3};"\
6474 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6475 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6476 " \$ 0!~/External *\|/{next};"\
6477 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6478 " {if(hide[section]) next};"\
6479 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6480 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6481 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6482 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6483 " ' prfx=^$ac_symprfx"
6485 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6487 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6489 # Check to see that the pipe works correctly.
6493 cat > conftest.$ac_ext <<_LT_EOF
6498 void nm_test_func(void);
6499 void nm_test_func(void){}
6503 int main(){nm_test_var='a';nm_test_func();return(0);}
6506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6507 (eval $ac_compile) 2>&5
6509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6510 test $ac_status = 0; }; then
6511 # Now try to grab the symbols.
6513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6514 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6517 test $ac_status = 0; } && test -s "$nlist"; then
6518 # Try sorting and uniquifying the output.
6519 if sort "$nlist" | uniq > "$nlist"T; then
6520 mv -f "$nlist"T "$nlist"
6525 # Make sure that we snagged all the symbols we need.
6526 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6527 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6528 cat <<_LT_EOF > conftest.$ac_ext
6529 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6530 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6531 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6532 relocations are performed -- see ld's documentation on pseudo-relocs. */
6533 # define LT_DLSYM_CONST
6534 #elif defined(__osf__)
6535 /* This system does not cope well with relocations in const data. */
6536 # define LT_DLSYM_CONST
6538 # define LT_DLSYM_CONST const
6546 # Now generate the symbol file.
6547 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6549 cat <<_LT_EOF >> conftest.$ac_ext
6551 /* The mapping between symbol names and symbols. */
6552 LT_DLSYM_CONST struct {
6556 lt__PROGRAM__LTX_preloaded_symbols[] =
6558 { "@PROGRAM@", (void *) 0 },
6560 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6561 cat <<\_LT_EOF >> conftest.$ac_ext
6565 /* This works around a problem in FreeBSD linker */
6566 #ifdef FREEBSD_WORKAROUND
6567 static const void *lt_preloaded_setup() {
6568 return lt__PROGRAM__LTX_preloaded_symbols;
6576 # Now try linking the two files.
6577 mv conftest.$ac_objext conftstm.$ac_objext
6578 lt_globsym_save_LIBS=$LIBS
6579 lt_globsym_save_CFLAGS=$CFLAGS
6580 LIBS="conftstm.$ac_objext"
6581 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6583 (eval $ac_link) 2>&5
6585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6589 LIBS=$lt_globsym_save_LIBS
6590 CFLAGS=$lt_globsym_save_CFLAGS
6592 echo "cannot find nm_test_func in $nlist" >&5
6595 echo "cannot find nm_test_var in $nlist" >&5
6598 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6601 echo "$progname: failed program was:" >&5
6602 cat conftest.$ac_ext >&5
6604 rm -rf conftest* conftst*
6606 # Do not use the global_symbol_pipe unless it works.
6607 if test "$pipe_works" = yes; then
6610 lt_cv_sys_global_symbol_pipe=
6616 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6617 lt_cv_sys_global_symbol_to_cdecl=
6619 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6621 $as_echo "failed" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6624 $as_echo "ok" >&6; }
6627 # Response file support.
6628 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6629 nm_file_list_spec='@'
6630 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6631 nm_file_list_spec='@'
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6661 $as_echo_n "checking for sysroot... " >&6; }
6663 # Check whether --with-sysroot was given.
6664 if test "${with_sysroot+set}" = set; then :
6665 withval=$with_sysroot;
6672 case ${with_sysroot} in #(
6674 if test "$GCC" = yes; then
6675 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6679 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6685 $as_echo "${with_sysroot}" >&6; }
6686 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6691 $as_echo "${lt_sysroot:-no}" >&6; }
6697 # Check whether --enable-libtool-lock was given.
6698 if test "${enable_libtool_lock+set}" = set; then :
6699 enableval=$enable_libtool_lock;
6702 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6704 # Some flags need to be propagated to the compiler or linker for good
6708 # Find out which ABI we are using.
6709 echo 'int i;' > conftest.$ac_ext
6710 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6711 (eval $ac_compile) 2>&5
6713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6714 test $ac_status = 0; }; then
6715 case `/usr/bin/file conftest.$ac_objext` in
6727 # Find out which ABI we are using.
6728 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6730 (eval $ac_compile) 2>&5
6732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6733 test $ac_status = 0; }; then
6734 if test "$lt_cv_prog_gnu_ld" = yes; then
6735 case `/usr/bin/file conftest.$ac_objext` in
6737 LD="${LD-ld} -melf32bsmip"
6740 LD="${LD-ld} -melf32bmipn32"
6743 LD="${LD-ld} -melf64bmip"
6747 case `/usr/bin/file conftest.$ac_objext` in
6763 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6764 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6765 # Find out which ABI we are using.
6766 echo 'int i;' > conftest.$ac_ext
6767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6768 (eval $ac_compile) 2>&5
6770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6771 test $ac_status = 0; }; then
6772 case `/usr/bin/file conftest.o` in
6775 x86_64-*kfreebsd*-gnu)
6776 LD="${LD-ld} -m elf_i386_fbsd"
6779 LD="${LD-ld} -m elf_i386"
6781 ppc64-*linux*|powerpc64-*linux*)
6782 LD="${LD-ld} -m elf32ppclinux"
6785 LD="${LD-ld} -m elf_s390"
6788 LD="${LD-ld} -m elf32_sparc"
6794 x86_64-*kfreebsd*-gnu)
6795 LD="${LD-ld} -m elf_x86_64_fbsd"
6798 LD="${LD-ld} -m elf_x86_64"
6800 ppc*-*linux*|powerpc*-*linux*)
6801 LD="${LD-ld} -m elf64ppc"
6803 s390*-*linux*|s390*-*tpf*)
6804 LD="${LD-ld} -m elf64_s390"
6807 LD="${LD-ld} -m elf64_sparc"
6817 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6818 SAVE_CFLAGS="$CFLAGS"
6819 CFLAGS="$CFLAGS -belf"
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6821 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6822 if ${lt_cv_cc_needs_belf+:} false; then :
6823 $as_echo_n "(cached) " >&6
6826 ac_cpp='$CPP $CPPFLAGS'
6827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6842 if ac_fn_c_try_link "$LINENO"; then :
6843 lt_cv_cc_needs_belf=yes
6845 lt_cv_cc_needs_belf=no
6847 rm -f core conftest.err conftest.$ac_objext \
6848 conftest$ac_exeext conftest.$ac_ext
6850 ac_cpp='$CPP $CPPFLAGS'
6851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6857 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6858 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6859 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6860 CFLAGS="$SAVE_CFLAGS"
6864 # Find out which ABI we are using.
6865 echo 'int i;' > conftest.$ac_ext
6866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6867 (eval $ac_compile) 2>&5
6869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870 test $ac_status = 0; }; then
6871 case `/usr/bin/file conftest.o` in
6873 case $lt_cv_prog_gnu_ld in
6877 LD="${LD-ld} -m elf_x86_64"
6880 LD="${LD-ld} -m elf64_sparc"
6883 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6884 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6889 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6901 need_locks="$enable_libtool_lock"
6903 if test -n "$ac_tool_prefix"; then
6904 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6905 set dummy ${ac_tool_prefix}mt; ac_word=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907 $as_echo_n "checking for $ac_word... " >&6; }
6908 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6909 $as_echo_n "(cached) " >&6
6911 if test -n "$MANIFEST_TOOL"; then
6912 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 test -z "$as_dir" && as_dir=.
6919 for ac_exec_ext in '' $ac_executable_extensions; do
6920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6932 if test -n "$MANIFEST_TOOL"; then
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6934 $as_echo "$MANIFEST_TOOL" >&6; }
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937 $as_echo "no" >&6; }
6942 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6943 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6944 # Extract the first word of "mt", so it can be a program name with args.
6945 set dummy mt; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$ac_ct_MANIFEST_TOOL"; then
6952 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6971 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6972 if test -n "$ac_ct_MANIFEST_TOOL"; then
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6974 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6980 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6983 case $cross_compiling:$ac_tool_warned in
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6987 ac_tool_warned=yes ;;
6989 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6992 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6995 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6997 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6998 if ${lt_cv_path_mainfest_tool+:} false; then :
6999 $as_echo_n "(cached) " >&6
7001 lt_cv_path_mainfest_tool=no
7002 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7003 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7004 cat conftest.err >&5
7005 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7006 lt_cv_path_mainfest_tool=yes
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7011 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7012 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7022 rhapsody* | darwin*)
7023 if test -n "$ac_tool_prefix"; then
7024 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7025 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7029 $as_echo_n "(cached) " >&6
7031 if test -n "$DSYMUTIL"; then
7032 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7038 test -z "$as_dir" && as_dir=.
7039 for ac_exec_ext in '' $ac_executable_extensions; do
7040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7051 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7052 if test -n "$DSYMUTIL"; then
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7054 $as_echo "$DSYMUTIL" >&6; }
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7062 if test -z "$ac_cv_prog_DSYMUTIL"; then
7063 ac_ct_DSYMUTIL=$DSYMUTIL
7064 # Extract the first word of "dsymutil", so it can be a program name with args.
7065 set dummy dsymutil; ac_word=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7069 $as_echo_n "(cached) " >&6
7071 if test -n "$ac_ct_DSYMUTIL"; then
7072 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir=.
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7092 if test -n "$ac_ct_DSYMUTIL"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7094 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7097 $as_echo "no" >&6; }
7100 if test "x$ac_ct_DSYMUTIL" = x; then
7103 case $cross_compiling:$ac_tool_warned in
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7107 ac_tool_warned=yes ;;
7109 DSYMUTIL=$ac_ct_DSYMUTIL
7112 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7115 if test -n "$ac_tool_prefix"; then
7116 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7117 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 $as_echo_n "checking for $ac_word... " >&6; }
7120 if ${ac_cv_prog_NMEDIT+:} false; then :
7121 $as_echo_n "(cached) " >&6
7123 if test -n "$NMEDIT"; then
7124 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 test -z "$as_dir" && as_dir=.
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7143 NMEDIT=$ac_cv_prog_NMEDIT
7144 if test -n "$NMEDIT"; then
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7146 $as_echo "$NMEDIT" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 $as_echo "no" >&6; }
7154 if test -z "$ac_cv_prog_NMEDIT"; then
7155 ac_ct_NMEDIT=$NMEDIT
7156 # Extract the first word of "nmedit", so it can be a program name with args.
7157 set dummy nmedit; ac_word=$2
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7159 $as_echo_n "checking for $ac_word... " >&6; }
7160 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7161 $as_echo_n "(cached) " >&6
7163 if test -n "$ac_ct_NMEDIT"; then
7164 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170 test -z "$as_dir" && as_dir=.
7171 for ac_exec_ext in '' $ac_executable_extensions; do
7172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7173 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7184 if test -n "$ac_ct_NMEDIT"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7186 $as_echo "$ac_ct_NMEDIT" >&6; }
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7189 $as_echo "no" >&6; }
7192 if test "x$ac_ct_NMEDIT" = x; then
7195 case $cross_compiling:$ac_tool_warned in
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7199 ac_tool_warned=yes ;;
7201 NMEDIT=$ac_ct_NMEDIT
7204 NMEDIT="$ac_cv_prog_NMEDIT"
7207 if test -n "$ac_tool_prefix"; then
7208 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7209 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if ${ac_cv_prog_LIPO+:} false; then :
7213 $as_echo_n "(cached) " >&6
7215 if test -n "$LIPO"; then
7216 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 test -z "$as_dir" && as_dir=.
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235 LIPO=$ac_cv_prog_LIPO
7236 if test -n "$LIPO"; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7238 $as_echo "$LIPO" >&6; }
7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7246 if test -z "$ac_cv_prog_LIPO"; then
7248 # Extract the first word of "lipo", so it can be a program name with args.
7249 set dummy lipo; ac_word=$2
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251 $as_echo_n "checking for $ac_word... " >&6; }
7252 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7253 $as_echo_n "(cached) " >&6
7255 if test -n "$ac_ct_LIPO"; then
7256 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7265 ac_cv_prog_ac_ct_LIPO="lipo"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7276 if test -n "$ac_ct_LIPO"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7278 $as_echo "$ac_ct_LIPO" >&6; }
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7284 if test "x$ac_ct_LIPO" = x; then
7287 case $cross_compiling:$ac_tool_warned in
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7291 ac_tool_warned=yes ;;
7296 LIPO="$ac_cv_prog_LIPO"
7299 if test -n "$ac_tool_prefix"; then
7300 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7301 set dummy ${ac_tool_prefix}otool; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_OTOOL+:} false; then :
7305 $as_echo_n "(cached) " >&6
7307 if test -n "$OTOOL"; then
7308 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7317 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 OTOOL=$ac_cv_prog_OTOOL
7328 if test -n "$OTOOL"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7330 $as_echo "$OTOOL" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7338 if test -z "$ac_cv_prog_OTOOL"; then
7340 # Extract the first word of "otool", so it can be a program name with args.
7341 set dummy otool; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7345 $as_echo_n "(cached) " >&6
7347 if test -n "$ac_ct_OTOOL"; then
7348 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 test -z "$as_dir" && as_dir=.
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7357 ac_cv_prog_ac_ct_OTOOL="otool"
7358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7368 if test -n "$ac_ct_OTOOL"; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7370 $as_echo "$ac_ct_OTOOL" >&6; }
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7376 if test "x$ac_ct_OTOOL" = x; then
7379 case $cross_compiling:$ac_tool_warned in
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7383 ac_tool_warned=yes ;;
7388 OTOOL="$ac_cv_prog_OTOOL"
7391 if test -n "$ac_tool_prefix"; then
7392 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7393 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395 $as_echo_n "checking for $ac_word... " >&6; }
7396 if ${ac_cv_prog_OTOOL64+:} false; then :
7397 $as_echo_n "(cached) " >&6
7399 if test -n "$OTOOL64"; then
7400 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7409 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 OTOOL64=$ac_cv_prog_OTOOL64
7420 if test -n "$OTOOL64"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7422 $as_echo "$OTOOL64" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 $as_echo "no" >&6; }
7430 if test -z "$ac_cv_prog_OTOOL64"; then
7431 ac_ct_OTOOL64=$OTOOL64
7432 # Extract the first word of "otool64", so it can be a program name with args.
7433 set dummy otool64; ac_word=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7437 $as_echo_n "(cached) " >&6
7439 if test -n "$ac_ct_OTOOL64"; then
7440 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7449 ac_cv_prog_ac_ct_OTOOL64="otool64"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7460 if test -n "$ac_ct_OTOOL64"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7462 $as_echo "$ac_ct_OTOOL64" >&6; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7468 if test "x$ac_ct_OTOOL64" = x; then
7471 case $cross_compiling:$ac_tool_warned in
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7475 ac_tool_warned=yes ;;
7477 OTOOL64=$ac_ct_OTOOL64
7480 OTOOL64="$ac_cv_prog_OTOOL64"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7510 $as_echo_n "checking for -single_module linker flag... " >&6; }
7511 if ${lt_cv_apple_cc_single_mod+:} false; then :
7512 $as_echo_n "(cached) " >&6
7514 lt_cv_apple_cc_single_mod=no
7515 if test -z "${LT_MULTI_MODULE}"; then
7516 # By default we will add the -single_module flag. You can override
7517 # by either setting the environment variable LT_MULTI_MODULE
7518 # non-empty at configure time, or by adding -multi_module to the
7520 rm -rf libconftest.dylib*
7521 echo "int foo(void){return 1;}" > conftest.c
7522 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7523 -dynamiclib -Wl,-single_module conftest.c" >&5
7524 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7525 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7527 # If there is a non-empty error log, and "single_module"
7528 # appears in it, assume the flag caused a linker warning
7529 if test -s conftest.err && $GREP single_module conftest.err; then
7530 cat conftest.err >&5
7531 # Otherwise, if the output was created with a 0 exit code from
7532 # the compiler, it worked.
7533 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7534 lt_cv_apple_cc_single_mod=yes
7536 cat conftest.err >&5
7538 rm -rf libconftest.dylib*
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7543 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7546 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7547 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7548 $as_echo_n "(cached) " >&6
7550 lt_cv_ld_exported_symbols_list=no
7551 save_LDFLAGS=$LDFLAGS
7552 echo "_main" > conftest.sym
7553 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7565 if ac_fn_c_try_link "$LINENO"; then :
7566 lt_cv_ld_exported_symbols_list=yes
7568 lt_cv_ld_exported_symbols_list=no
7570 rm -f core conftest.err conftest.$ac_objext \
7571 conftest$ac_exeext conftest.$ac_ext
7572 LDFLAGS="$save_LDFLAGS"
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7576 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7579 $as_echo_n "checking for -force_load linker flag... " >&6; }
7580 if ${lt_cv_ld_force_load+:} false; then :
7581 $as_echo_n "(cached) " >&6
7583 lt_cv_ld_force_load=no
7584 cat > conftest.c << _LT_EOF
7585 int forced_loaded() { return 2;}
7587 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7588 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7589 echo "$AR cru libconftest.a conftest.o" >&5
7590 $AR cru libconftest.a conftest.o 2>&5
7591 echo "$RANLIB libconftest.a" >&5
7592 $RANLIB libconftest.a 2>&5
7593 cat > conftest.c << _LT_EOF
7594 int main() { return 0;}
7596 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7597 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7599 if test -s conftest.err && $GREP force_load conftest.err; then
7600 cat conftest.err >&5
7601 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7602 lt_cv_ld_force_load=yes
7604 cat conftest.err >&5
7606 rm -f conftest.err libconftest.a conftest conftest.c
7607 rm -rf conftest.dSYM
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7611 $as_echo "$lt_cv_ld_force_load" >&6; }
7613 rhapsody* | darwin1.[012])
7614 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7616 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7617 darwin*) # darwin 5.x on
7618 # if running on 10.5 or later, the deployment target defaults
7619 # to the OS version, if on x86, and 10.4, the deployment
7620 # target defaults to 10.4. Don't you love it?
7621 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7622 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7623 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7625 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7627 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7631 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7632 _lt_dar_single_mod='$single_module'
7634 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7635 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7637 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7639 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7640 _lt_dsymutil='~$DSYMUTIL $lib || :'
7648 ac_cpp='$CPP $CPPFLAGS'
7649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7653 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7654 # On Suns, sometimes $CPP names a directory.
7655 if test -n "$CPP" && test -d "$CPP"; then
7658 if test -z "$CPP"; then
7659 if ${ac_cv_prog_CPP+:} false; then :
7660 $as_echo_n "(cached) " >&6
7662 # Double quotes because CPP needs to be expanded
7663 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7666 for ac_c_preproc_warn_flag in '' yes
7668 # Use a header file that comes with gcc, so configuring glibc
7669 # with a fresh cross-compiler works.
7670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7671 # <limits.h> exists even on freestanding compilers.
7672 # On the NeXT, cc -E runs the code through the compiler's parser,
7673 # not just through cpp. "Syntax error" is here to catch this case.
7674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7677 # include <limits.h>
7679 # include <assert.h>
7683 if ac_fn_c_try_cpp "$LINENO"; then :
7686 # Broken: fails on valid input.
7689 rm -f conftest.err conftest.i conftest.$ac_ext
7691 # OK, works on sane cases. Now check whether nonexistent headers
7692 # can be detected and how.
7693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7694 /* end confdefs.h. */
7695 #include <ac_nonexistent.h>
7697 if ac_fn_c_try_cpp "$LINENO"; then :
7698 # Broken: success on invalid input.
7701 # Passes both tests.
7705 rm -f conftest.err conftest.i conftest.$ac_ext
7708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7709 rm -f conftest.i conftest.err conftest.$ac_ext
7710 if $ac_preproc_ok; then :
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7723 $as_echo "$CPP" >&6; }
7725 for ac_c_preproc_warn_flag in '' yes
7727 # Use a header file that comes with gcc, so configuring glibc
7728 # with a fresh cross-compiler works.
7729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7730 # <limits.h> exists even on freestanding compilers.
7731 # On the NeXT, cc -E runs the code through the compiler's parser,
7732 # not just through cpp. "Syntax error" is here to catch this case.
7733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h. */
7736 # include <limits.h>
7738 # include <assert.h>
7742 if ac_fn_c_try_cpp "$LINENO"; then :
7745 # Broken: fails on valid input.
7748 rm -f conftest.err conftest.i conftest.$ac_ext
7750 # OK, works on sane cases. Now check whether nonexistent headers
7751 # can be detected and how.
7752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7754 #include <ac_nonexistent.h>
7756 if ac_fn_c_try_cpp "$LINENO"; then :
7757 # Broken: success on invalid input.
7760 # Passes both tests.
7764 rm -f conftest.err conftest.i conftest.$ac_ext
7767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7768 rm -f conftest.i conftest.err conftest.$ac_ext
7769 if $ac_preproc_ok; then :
7772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7774 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7775 See \`config.log' for more details" "$LINENO" 5; }
7779 ac_cpp='$CPP $CPPFLAGS'
7780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7786 $as_echo_n "checking for ANSI C header files... " >&6; }
7787 if ${ac_cv_header_stdc+:} false; then :
7788 $as_echo_n "(cached) " >&6
7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h. */
7805 if ac_fn_c_try_compile "$LINENO"; then :
7806 ac_cv_header_stdc=yes
7808 ac_cv_header_stdc=no
7810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7812 if test $ac_cv_header_stdc = yes; then
7813 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815 /* end confdefs.h. */
7819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7820 $EGREP "memchr" >/dev/null 2>&1; then :
7823 ac_cv_header_stdc=no
7829 if test $ac_cv_header_stdc = yes; then
7830 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h. */
7836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7837 $EGREP "free" >/dev/null 2>&1; then :
7840 ac_cv_header_stdc=no
7846 if test $ac_cv_header_stdc = yes; then
7847 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7848 if test "$cross_compiling" = yes; then :
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7855 #if ((' ' & 0x0FF) == 0x020)
7856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7859 # define ISLOWER(c) \
7860 (('a' <= (c) && (c) <= 'i') \
7861 || ('j' <= (c) && (c) <= 'r') \
7862 || ('s' <= (c) && (c) <= 'z'))
7863 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7866 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7871 for (i = 0; i < 256; i++)
7872 if (XOR (islower (i), ISLOWER (i))
7873 || toupper (i) != TOUPPER (i))
7878 if ac_fn_c_try_run "$LINENO"; then :
7881 ac_cv_header_stdc=no
7883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7884 conftest.$ac_objext conftest.beam conftest.$ac_ext
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7890 $as_echo "$ac_cv_header_stdc" >&6; }
7891 if test $ac_cv_header_stdc = yes; then
7893 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7897 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7898 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7899 inttypes.h stdint.h unistd.h
7901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7902 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7904 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7905 cat >>confdefs.h <<_ACEOF
7906 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7914 for ac_header in dlfcn.h
7916 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7918 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7919 cat >>confdefs.h <<_ACEOF
7920 #define HAVE_DLFCN_H 1
7939 # Check whether --enable-shared was given.
7940 if test "${enable_shared+set}" = set; then :
7941 enableval=$enable_shared; p=${PACKAGE-default}
7943 yes) enable_shared=yes ;;
7944 no) enable_shared=no ;;
7947 # Look at the argument we got. We use all the common list separators.
7948 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7949 for pkg in $enableval; do
7951 if test "X$pkg" = "X$p"; then
7970 # Check whether --enable-static was given.
7971 if test "${enable_static+set}" = set; then :
7972 enableval=$enable_static; p=${PACKAGE-default}
7974 yes) enable_static=yes ;;
7975 no) enable_static=no ;;
7978 # Look at the argument we got. We use all the common list separators.
7979 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7980 for pkg in $enableval; do
7982 if test "X$pkg" = "X$p"; then
8002 # Check whether --with-pic was given.
8003 if test "${with_pic+set}" = set; then :
8004 withval=$with_pic; lt_p=${PACKAGE-default}
8006 yes|no) pic_mode=$withval ;;
8009 # Look at the argument we got. We use all the common list separators.
8010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011 for lt_pkg in $withval; do
8013 if test "X$lt_pkg" = "X$lt_p"; then
8025 test -z "$pic_mode" && pic_mode=default
8033 # Check whether --enable-fast-install was given.
8034 if test "${enable_fast_install+set}" = set; then :
8035 enableval=$enable_fast_install; p=${PACKAGE-default}
8037 yes) enable_fast_install=yes ;;
8038 no) enable_fast_install=no ;;
8040 enable_fast_install=no
8041 # Look at the argument we got. We use all the common list separators.
8042 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8043 for pkg in $enableval; do
8045 if test "X$pkg" = "X$p"; then
8046 enable_fast_install=yes
8053 enable_fast_install=yes
8066 # This can be used to rebuild libtool when needed
8067 LIBTOOL_DEPS="$ltmain"
8069 # Always use our own libtool.
8070 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8101 test -z "$LN_S" && LN_S="ln -s"
8116 if test -n "${ZSH_VERSION+set}" ; then
8117 setopt NO_GLOB_SUBST
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8121 $as_echo_n "checking for objdir... " >&6; }
8122 if ${lt_cv_objdir+:} false; then :
8123 $as_echo_n "(cached) " >&6
8125 rm -f .libs 2>/dev/null
8126 mkdir .libs 2>/dev/null
8127 if test -d .libs; then
8130 # MS-DOS does not allow filenames that begin with a dot.
8133 rmdir .libs 2>/dev/null
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8136 $as_echo "$lt_cv_objdir" >&6; }
8137 objdir=$lt_cv_objdir
8143 cat >>confdefs.h <<_ACEOF
8144 #define LT_OBJDIR "$lt_cv_objdir/"
8152 # AIX sometimes has problems with the GCC collect2 program. For some
8153 # reason, if we set the COLLECT_NAMES environment variable, the problems
8154 # vanish in a puff of smoke.
8155 if test "X${COLLECT_NAMES+set}" != Xset; then
8157 export COLLECT_NAMES
8164 can_build_shared=yes
8166 # All known linkers require a `.a' archive for static linking (except MSVC,
8167 # which needs '.lib').
8170 with_gnu_ld="$lt_cv_prog_gnu_ld"
8173 old_CFLAGS="$CFLAGS"
8175 # Set sane defaults for various variables
8176 test -z "$CC" && CC=cc
8177 test -z "$LTCC" && LTCC=$CC
8178 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8179 test -z "$LD" && LD=ld
8180 test -z "$ac_objext" && ac_objext=o
8182 for cc_temp in $compiler""; do
8184 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8185 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8190 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8193 # Only perform the check for file, if the check method requires it
8194 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8195 case $deplibs_check_method in
8197 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8199 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8200 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8201 $as_echo_n "(cached) " >&6
8205 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8208 lt_save_MAGIC_CMD="$MAGIC_CMD"
8209 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8210 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8211 for ac_dir in $ac_dummy; do
8213 test -z "$ac_dir" && ac_dir=.
8214 if test -f $ac_dir/${ac_tool_prefix}file; then
8215 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8216 if test -n "$file_magic_test_file"; then
8217 case $deplibs_check_method in
8219 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8220 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8221 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8222 $EGREP "$file_magic_regex" > /dev/null; then
8227 *** Warning: the command libtool uses to detect shared libraries,
8228 *** $file_magic_cmd, produces output that libtool cannot recognize.
8229 *** The result is that libtool may fail to recognize shared libraries
8230 *** as such. This will affect the creation of libtool libraries that
8231 *** depend on shared libraries, but programs linked with such libtool
8232 *** libraries will work regardless of this problem. Nevertheless, you
8233 *** may want to report the problem to your system manager and/or to
8234 *** bug-libtool@gnu.org
8244 MAGIC_CMD="$lt_save_MAGIC_CMD"
8249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8250 if test -n "$MAGIC_CMD"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8252 $as_echo "$MAGIC_CMD" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8262 if test -z "$lt_cv_path_MAGIC_CMD"; then
8263 if test -n "$ac_tool_prefix"; then
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8265 $as_echo_n "checking for file... " >&6; }
8266 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8267 $as_echo_n "(cached) " >&6
8271 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8274 lt_save_MAGIC_CMD="$MAGIC_CMD"
8275 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8276 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8277 for ac_dir in $ac_dummy; do
8279 test -z "$ac_dir" && ac_dir=.
8280 if test -f $ac_dir/file; then
8281 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8282 if test -n "$file_magic_test_file"; then
8283 case $deplibs_check_method in
8285 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8287 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8288 $EGREP "$file_magic_regex" > /dev/null; then
8293 *** Warning: the command libtool uses to detect shared libraries,
8294 *** $file_magic_cmd, produces output that libtool cannot recognize.
8295 *** The result is that libtool may fail to recognize shared libraries
8296 *** as such. This will affect the creation of libtool libraries that
8297 *** depend on shared libraries, but programs linked with such libtool
8298 *** libraries will work regardless of this problem. Nevertheless, you
8299 *** may want to report the problem to your system manager and/or to
8300 *** bug-libtool@gnu.org
8310 MAGIC_CMD="$lt_save_MAGIC_CMD"
8315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8316 if test -n "$MAGIC_CMD"; then
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8318 $as_echo "$MAGIC_CMD" >&6; }
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8321 $as_echo "no" >&6; }
8334 # Use C for the default configuration in the libtool script
8338 ac_cpp='$CPP $CPPFLAGS'
8339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8344 # Source file extension for C test sources.
8347 # Object file extension for compiled C test sources.
8351 # Code to be used in simple compile tests
8352 lt_simple_compile_test_code="int some_variable = 0;"
8354 # Code to be used in simple link tests
8355 lt_simple_link_test_code='int main(){return(0);}'
8363 # If no C compiler was specified, use CC.
8366 # If no C compiler flags were specified, use CFLAGS.
8367 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8369 # Allow CC to be a program name with arguments.
8372 # Save the default compiler, since it gets overwritten when the other
8373 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8374 compiler_DEFAULT=$CC
8376 # save warnings/boilerplate of simple test code
8377 ac_outfile=conftest.$ac_objext
8378 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8379 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8380 _lt_compiler_boilerplate=`cat conftest.err`
8383 ac_outfile=conftest.$ac_objext
8384 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8385 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8386 _lt_linker_boilerplate=`cat conftest.err`
8391 ## There is no encapsulation within the following macros, do not change
8392 ## the running order or otherwise move them around unless you know exactly
8393 ## what you are doing...
8394 if test -n "$compiler"; then
8396 lt_prog_compiler_no_builtin_flag=
8398 if test "$GCC" = yes; then
8399 case $cc_basename in
8401 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8403 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8407 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8408 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8409 $as_echo_n "(cached) " >&6
8411 lt_cv_prog_compiler_rtti_exceptions=no
8412 ac_outfile=conftest.$ac_objext
8413 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8414 lt_compiler_flag="-fno-rtti -fno-exceptions"
8415 # Insert the option either (1) after the last *FLAGS variable, or
8416 # (2) before a word containing "conftest.", or (3) at the end.
8417 # Note that $ac_compile itself does not contain backslashes and begins
8418 # with a dollar sign (not a hyphen), so the echo should work correctly.
8419 # The option is referenced via a variable to avoid confusing sed.
8420 lt_compile=`echo "$ac_compile" | $SED \
8421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8423 -e 's:$: $lt_compiler_flag:'`
8424 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8425 (eval "$lt_compile" 2>conftest.err)
8427 cat conftest.err >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 if (exit $ac_status) && test -s "$ac_outfile"; then
8430 # The compiler can only warn and ignore the option if not recognized
8431 # So say no if there are warnings other than the usual output.
8432 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8433 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8434 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8435 lt_cv_prog_compiler_rtti_exceptions=yes
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8442 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8444 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8445 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8457 lt_prog_compiler_wl=
8458 lt_prog_compiler_pic=
8459 lt_prog_compiler_static=
8462 if test "$GCC" = yes; then
8463 lt_prog_compiler_wl='-Wl,'
8464 lt_prog_compiler_static='-static'
8468 # All AIX code is PIC.
8469 if test "$host_cpu" = ia64; then
8470 # AIX 5 now supports IA64 processor
8471 lt_prog_compiler_static='-Bstatic'
8478 # see comment about AmigaOS4 .so support
8479 lt_prog_compiler_pic='-fPIC'
8482 # FIXME: we need at least 68020 code to build shared libraries, but
8483 # adding the `-m68020' flag to GCC prevents building anything better,
8485 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8490 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8491 # PIC is the default for these OSes.
8494 mingw* | cygwin* | pw32* | os2* | cegcc*)
8495 # This hack is so that the source file can tell whether it is being
8496 # built for inclusion in a dll (and should export symbols for example).
8497 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8498 # (--disable-auto-import) libraries
8499 lt_prog_compiler_pic='-DDLL_EXPORT'
8502 darwin* | rhapsody*)
8503 # PIC is the default on this platform
8504 # Common symbols not allowed in MH_DYLIB files
8505 lt_prog_compiler_pic='-fno-common'
8509 # PIC is the default for Haiku.
8510 # The "-static" flag exists, but is broken.
8511 lt_prog_compiler_static=
8515 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8516 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8517 # sets the default TLS model and affects inlining.
8523 lt_prog_compiler_pic='-fPIC'
8529 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8530 # Instead, we relocate shared libraries at runtime.
8534 # Just because we use GCC doesn't mean we suddenly get shared libraries
8535 # on systems that don't support them.
8536 lt_prog_compiler_can_build_shared=no
8541 # QNX uses GNU C++, but need to define -shared option too, otherwise
8543 lt_prog_compiler_pic='-fPIC -shared'
8547 if test -d /usr/nec; then
8548 lt_prog_compiler_pic=-Kconform_pic
8553 lt_prog_compiler_pic='-fPIC'
8557 case $cc_basename in
8558 nvcc*) # Cuda Compiler Driver 2.2
8559 lt_prog_compiler_wl='-Xlinker '
8560 if test -n "$lt_prog_compiler_pic"; then
8561 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8566 # PORTME Check for flag to pass linker flags through the system compiler.
8569 lt_prog_compiler_wl='-Wl,'
8570 if test "$host_cpu" = ia64; then
8571 # AIX 5 now supports IA64 processor
8572 lt_prog_compiler_static='-Bstatic'
8574 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8578 mingw* | cygwin* | pw32* | os2* | cegcc*)
8579 # This hack is so that the source file can tell whether it is being
8580 # built for inclusion in a dll (and should export symbols for example).
8581 lt_prog_compiler_pic='-DDLL_EXPORT'
8584 hpux9* | hpux10* | hpux11*)
8585 lt_prog_compiler_wl='-Wl,'
8586 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8593 lt_prog_compiler_pic='+Z'
8596 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8597 lt_prog_compiler_static='${wl}-a ${wl}archive'
8600 irix5* | irix6* | nonstopux*)
8601 lt_prog_compiler_wl='-Wl,'
8602 # PIC (with -KPIC) is the default.
8603 lt_prog_compiler_static='-non_shared'
8606 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8607 case $cc_basename in
8608 # old Intel for x86_64 which still supported -KPIC.
8610 lt_prog_compiler_wl='-Wl,'
8611 lt_prog_compiler_pic='-KPIC'
8612 lt_prog_compiler_static='-static'
8614 # icc used to be incompatible with GCC.
8615 # ICC 10 doesn't accept -KPIC any more.
8617 lt_prog_compiler_wl='-Wl,'
8618 lt_prog_compiler_pic='-fPIC'
8619 lt_prog_compiler_static='-static'
8621 # Lahey Fortran 8.1.
8623 lt_prog_compiler_wl='-Wl,'
8624 lt_prog_compiler_pic='--shared'
8625 lt_prog_compiler_static='--static'
8628 # NAG Fortran compiler
8629 lt_prog_compiler_wl='-Wl,-Wl,,'
8630 lt_prog_compiler_pic='-PIC'
8631 lt_prog_compiler_static='-Bstatic'
8633 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8634 # Portland Group compilers (*not* the Pentium gcc compiler,
8635 # which looks to be a dead project)
8636 lt_prog_compiler_wl='-Wl,'
8637 lt_prog_compiler_pic='-fpic'
8638 lt_prog_compiler_static='-Bstatic'
8641 lt_prog_compiler_wl='-Wl,'
8642 # All Alpha code is PIC.
8643 lt_prog_compiler_static='-non_shared'
8645 xl* | bgxl* | bgf* | mpixl*)
8646 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8647 lt_prog_compiler_wl='-Wl,'
8648 lt_prog_compiler_pic='-qpic'
8649 lt_prog_compiler_static='-qstaticlink'
8652 case `$CC -V 2>&1 | sed 5q` in
8653 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8654 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8655 lt_prog_compiler_pic='-KPIC'
8656 lt_prog_compiler_static='-Bstatic'
8657 lt_prog_compiler_wl=''
8659 *Sun\ F* | *Sun*Fortran*)
8660 lt_prog_compiler_pic='-KPIC'
8661 lt_prog_compiler_static='-Bstatic'
8662 lt_prog_compiler_wl='-Qoption ld '
8666 lt_prog_compiler_pic='-KPIC'
8667 lt_prog_compiler_static='-Bstatic'
8668 lt_prog_compiler_wl='-Wl,'
8670 *Intel*\ [CF]*Compiler*)
8671 lt_prog_compiler_wl='-Wl,'
8672 lt_prog_compiler_pic='-fPIC'
8673 lt_prog_compiler_static='-static'
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_pic='-fpic'
8678 lt_prog_compiler_static='-Bstatic'
8686 lt_prog_compiler_pic='-KPIC'
8687 lt_prog_compiler_static='-Bstatic'
8691 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 lt_prog_compiler_pic='-fPIC -shared'
8696 osf3* | osf4* | osf5*)
8697 lt_prog_compiler_wl='-Wl,'
8698 # All OSF/1 code is PIC.
8699 lt_prog_compiler_static='-non_shared'
8703 lt_prog_compiler_static='-non_shared'
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8709 case $cc_basename in
8710 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8711 lt_prog_compiler_wl='-Qoption ld ';;
8713 lt_prog_compiler_wl='-Wl,';;
8718 lt_prog_compiler_wl='-Qoption ld '
8719 lt_prog_compiler_pic='-PIC'
8720 lt_prog_compiler_static='-Bstatic'
8723 sysv4 | sysv4.2uw2* | sysv4.3*)
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_pic='-KPIC'
8726 lt_prog_compiler_static='-Bstatic'
8730 if test -d /usr/nec ;then
8731 lt_prog_compiler_pic='-Kconform_pic'
8732 lt_prog_compiler_static='-Bstatic'
8736 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8737 lt_prog_compiler_wl='-Wl,'
8738 lt_prog_compiler_pic='-KPIC'
8739 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8744 lt_prog_compiler_can_build_shared=no
8748 lt_prog_compiler_pic='-pic'
8749 lt_prog_compiler_static='-Bstatic'
8753 lt_prog_compiler_can_build_shared=no
8759 # For platforms which do not support PIC, -DPIC is meaningless:
8761 lt_prog_compiler_pic=
8764 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8769 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8770 if ${lt_cv_prog_compiler_pic+:} false; then :
8771 $as_echo_n "(cached) " >&6
8773 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8776 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8777 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8780 # Check to make sure the PIC flag actually works.
8782 if test -n "$lt_prog_compiler_pic"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8784 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8785 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8786 $as_echo_n "(cached) " >&6
8788 lt_cv_prog_compiler_pic_works=no
8789 ac_outfile=conftest.$ac_objext
8790 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8791 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8792 # Insert the option either (1) after the last *FLAGS variable, or
8793 # (2) before a word containing "conftest.", or (3) at the end.
8794 # Note that $ac_compile itself does not contain backslashes and begins
8795 # with a dollar sign (not a hyphen), so the echo should work correctly.
8796 # The option is referenced via a variable to avoid confusing sed.
8797 lt_compile=`echo "$ac_compile" | $SED \
8798 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8799 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8800 -e 's:$: $lt_compiler_flag:'`
8801 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8802 (eval "$lt_compile" 2>conftest.err)
8804 cat conftest.err >&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 if (exit $ac_status) && test -s "$ac_outfile"; then
8807 # The compiler can only warn and ignore the option if not recognized
8808 # So say no if there are warnings other than the usual output.
8809 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8810 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8811 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8812 lt_cv_prog_compiler_pic_works=yes
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8819 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8821 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8822 case $lt_prog_compiler_pic in
8824 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8827 lt_prog_compiler_pic=
8828 lt_prog_compiler_can_build_shared=no
8844 # Check to make sure the static flag actually works.
8846 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8848 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8849 if ${lt_cv_prog_compiler_static_works+:} false; then :
8850 $as_echo_n "(cached) " >&6
8852 lt_cv_prog_compiler_static_works=no
8853 save_LDFLAGS="$LDFLAGS"
8854 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8855 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8856 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8857 # The linker can only warn and ignore the option if not recognized
8858 # So say no if there are warnings
8859 if test -s conftest.err; then
8860 # Append any errors to the config.log.
8861 cat conftest.err 1>&5
8862 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8864 if diff conftest.exp conftest.er2 >/dev/null; then
8865 lt_cv_prog_compiler_static_works=yes
8868 lt_cv_prog_compiler_static_works=yes
8872 LDFLAGS="$save_LDFLAGS"
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8876 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8878 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8881 lt_prog_compiler_static=
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8892 if ${lt_cv_prog_compiler_c_o+:} false; then :
8893 $as_echo_n "(cached) " >&6
8895 lt_cv_prog_compiler_c_o=no
8896 $RM -r conftest 2>/dev/null
8900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8902 lt_compiler_flag="-o out/conftest2.$ac_objext"
8903 # Insert the option either (1) after the last *FLAGS variable, or
8904 # (2) before a word containing "conftest.", or (3) at the end.
8905 # Note that $ac_compile itself does not contain backslashes and begins
8906 # with a dollar sign (not a hyphen), so the echo should work correctly.
8907 lt_compile=`echo "$ac_compile" | $SED \
8908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8910 -e 's:$: $lt_compiler_flag:'`
8911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8912 (eval "$lt_compile" 2>out/conftest.err)
8914 cat out/conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8918 # The compiler can only warn and ignore the option if not recognized
8919 # So say no if there are warnings
8920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8923 lt_cv_prog_compiler_c_o=yes
8928 # SGI C++ compiler will create directory out/ii_files/ for
8929 # template instantiation
8930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8931 $RM out/* && rmdir out
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8938 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8946 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8947 if ${lt_cv_prog_compiler_c_o+:} false; then :
8948 $as_echo_n "(cached) " >&6
8950 lt_cv_prog_compiler_c_o=no
8951 $RM -r conftest 2>/dev/null
8955 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8957 lt_compiler_flag="-o out/conftest2.$ac_objext"
8958 # Insert the option either (1) after the last *FLAGS variable, or
8959 # (2) before a word containing "conftest.", or (3) at the end.
8960 # Note that $ac_compile itself does not contain backslashes and begins
8961 # with a dollar sign (not a hyphen), so the echo should work correctly.
8962 lt_compile=`echo "$ac_compile" | $SED \
8963 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8964 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8965 -e 's:$: $lt_compiler_flag:'`
8966 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8967 (eval "$lt_compile" 2>out/conftest.err)
8969 cat out/conftest.err >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8973 # The compiler can only warn and ignore the option if not recognized
8974 # So say no if there are warnings
8975 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8976 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8977 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8978 lt_cv_prog_compiler_c_o=yes
8983 # SGI C++ compiler will create directory out/ii_files/ for
8984 # template instantiation
8985 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8986 $RM out/* && rmdir out
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8993 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8998 hard_links="nottested"
8999 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9000 # do not overwrite the value of need_locks provided by the user
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9002 $as_echo_n "checking if we can lock with hard links... " >&6; }
9005 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9007 ln conftest.a conftest.b 2>&5 || hard_links=no
9008 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9010 $as_echo "$hard_links" >&6; }
9011 if test "$hard_links" = no; then
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9013 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9026 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9029 allow_undefined_flag=
9030 always_export_symbols=no
9032 archive_expsym_cmds=
9033 compiler_needs_object=no
9034 enable_shared_with_static_runtimes=no
9035 export_dynamic_flag_spec=
9036 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9037 hardcode_automatic=no
9039 hardcode_direct_absolute=no
9040 hardcode_libdir_flag_spec=
9041 hardcode_libdir_separator=
9043 hardcode_shlibpath_var=unsupported
9045 link_all_deplibs=unknown
9048 old_archive_from_new_cmds=
9049 old_archive_from_expsyms_cmds=
9050 thread_safe_flag_spec=
9051 whole_archive_flag_spec=
9052 # include_expsyms should be a list of space-separated symbols to be *always*
9053 # included in the symbol list
9055 # exclude_expsyms can be an extended regexp of symbols to exclude
9056 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9057 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9058 # as well as any symbol that contains `d'.
9059 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9060 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9061 # platforms (ab)use it in PIC code, but their linkers get confused if
9062 # the symbol is explicitly referenced. Since portable code cannot
9063 # rely on this symbol name, it's probably fine to never include it in
9064 # preloaded symbol tables.
9065 # Exclude shared library initialization/finalization symbols.
9066 extract_expsyms_cmds=
9069 cygwin* | mingw* | pw32* | cegcc*)
9070 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9071 # When not using gcc, we currently assume that we are using
9072 # Microsoft Visual C++.
9073 if test "$GCC" != yes; then
9078 # we just hope/assume this is gcc and not c89 (= MSVC++)
9088 # On some targets, GNU ld is compatible enough with the native linker
9089 # that we're better off using the native interface for both.
9090 lt_use_gnu_ld_interface=no
9091 if test "$with_gnu_ld" = yes; then
9094 # The AIX port of GNU ld has always aspired to compatibility
9095 # with the native linker. However, as the warning in the GNU ld
9096 # block says, versions before 2.19.5* couldn't really create working
9097 # shared libraries, regardless of the interface used.
9098 case `$LD -v 2>&1` in
9099 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9100 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9101 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9103 lt_use_gnu_ld_interface=yes
9108 lt_use_gnu_ld_interface=yes
9113 if test "$lt_use_gnu_ld_interface" = yes; then
9114 # If archive_cmds runs LD, not CC, wlarc should be empty
9117 # Set some defaults for GNU ld with shared library support. These
9118 # are reset later if shared libraries are not supported. Putting them
9119 # here allows them to be overridden if necessary.
9120 runpath_var=LD_RUN_PATH
9121 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9122 export_dynamic_flag_spec='${wl}--export-dynamic'
9123 # ancient GNU ld didn't support --whole-archive et. al.
9124 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9125 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9127 whole_archive_flag_spec=
9129 supports_anon_versioning=no
9130 case `$LD -v 2>&1` in
9131 *GNU\ gold*) supports_anon_versioning=yes ;;
9132 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9133 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9134 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9135 *\ 2.11.*) ;; # other 2.11 versions
9136 *) supports_anon_versioning=yes ;;
9139 # See if GNU ld supports shared libraries.
9142 # On AIX/PPC, the GNU linker is very broken
9143 if test "$host_cpu" != ia64; then
9147 *** Warning: the GNU linker, at least up to release 2.19, is reported
9148 *** to be unable to reliably create shared libraries on AIX.
9149 *** Therefore, libtool is disabling shared libraries support. If you
9150 *** really care for shared libraries, you may want to install binutils
9151 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9152 *** You will then need to restart the configuration process.
9161 # see comment about AmigaOS4 .so support
9162 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163 archive_expsym_cmds=''
9166 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)'
9167 hardcode_libdir_flag_spec='-L$libdir'
9168 hardcode_minus_L=yes
9174 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9175 allow_undefined_flag=unsupported
9176 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9177 # support --undefined. This deserves some investigation. FIXME
9178 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 cygwin* | mingw* | pw32* | cegcc*)
9185 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9186 # as there is no search path for DLLs.
9187 hardcode_libdir_flag_spec='-L$libdir'
9188 export_dynamic_flag_spec='${wl}--export-all-symbols'
9189 allow_undefined_flag=unsupported
9190 always_export_symbols=no
9191 enable_shared_with_static_runtimes=yes
9192 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9193 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9195 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9196 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9197 # If the export-symbols file already is a .def file (1st line
9198 # is EXPORTS), use it as is; otherwise, prepend...
9199 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9200 cp $export_symbols $output_objdir/$soname.def;
9202 echo EXPORTS > $output_objdir/$soname.def;
9203 cat $export_symbols >> $output_objdir/$soname.def;
9205 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9212 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9213 link_all_deplibs=yes
9218 hardcode_shlibpath_var=no
9219 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9220 export_dynamic_flag_spec='${wl}-E'
9221 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9222 # Instead, shared libraries are loaded at an image base (0x10000000 by
9223 # default) and relocated if they conflict, which is a slow very memory
9224 # consuming and fragmenting process. To avoid this, we pick a random,
9225 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9226 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9227 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9228 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'
9231 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9233 if test "$host_os" = linux-dietlibc; then
9234 case $cc_basename in
9235 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9238 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9239 && test "$tmp_diet" = no
9241 tmp_addflag=' $pic_flag'
9242 tmp_sharedflag='-shared'
9243 case $cc_basename,$host_cpu in
9244 pgcc*) # Portland Group C compiler
9245 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9246 tmp_addflag=' $pic_flag'
9248 pgf77* | pgf90* | pgf95* | pgfortran*)
9249 # Portland Group f77 and f90 compilers
9250 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9251 tmp_addflag=' $pic_flag -Mnomain' ;;
9252 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9253 tmp_addflag=' -i_dynamic' ;;
9254 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9255 tmp_addflag=' -i_dynamic -nofor_main' ;;
9256 ifc* | ifort*) # Intel Fortran compiler
9257 tmp_addflag=' -nofor_main' ;;
9258 lf95*) # Lahey Fortran 8.1
9259 whole_archive_flag_spec=
9260 tmp_sharedflag='--shared' ;;
9261 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9262 tmp_sharedflag='-qmkshrobj'
9264 nvcc*) # Cuda Compiler Driver 2.2
9265 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9266 compiler_needs_object=yes
9269 case `$CC -V 2>&1 | sed 5q` in
9270 *Sun\ C*) # Sun C 5.9
9271 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9272 compiler_needs_object=yes
9273 tmp_sharedflag='-G' ;;
9274 *Sun\ F*) # Sun Fortran 8.3
9275 tmp_sharedflag='-G' ;;
9277 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9279 if test "x$supports_anon_versioning" = xyes; then
9280 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9281 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9282 echo "local: *; };" >> $output_objdir/$libname.ver~
9283 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9286 case $cc_basename in
9287 xlf* | bgf* | bgxlf* | mpixlf*)
9288 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9289 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9290 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9291 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9292 if test "x$supports_anon_versioning" = xyes; then
9293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295 echo "local: *; };" >> $output_objdir/$libname.ver~
9296 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9306 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9307 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9310 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9311 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9316 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9320 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9321 *** create shared libraries on Solaris systems. Therefore, libtool
9322 *** is disabling shared libraries support. We urge you to upgrade GNU
9323 *** binutils to release 2.9.1 or newer. Another option is to modify
9324 *** your PATH or compiler configuration so that the native linker is
9325 *** used, and then restart.
9328 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9329 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9336 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9337 case `$LD -v 2>&1` in
9338 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9342 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9343 *** reliably create shared libraries on SCO systems. Therefore, libtool
9344 *** is disabling shared libraries support. We urge you to upgrade GNU
9345 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9346 *** your PATH or compiler configuration so that the native linker is
9347 *** used, and then restart.
9352 # For security reasons, it is highly recommended that you always
9353 # use absolute paths for naming shared libraries, and exclude the
9354 # DT_RUNPATH tag from executables and libraries. But doing so
9355 # requires that you compile everything twice, which is a pain.
9356 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9357 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9358 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9368 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9371 hardcode_shlibpath_var=no
9375 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9376 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9377 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9384 if test "$ld_shlibs" = no; then
9386 hardcode_libdir_flag_spec=
9387 export_dynamic_flag_spec=
9388 whole_archive_flag_spec=
9391 # PORTME fill in a description of your system's linker (not GNU ld)
9394 allow_undefined_flag=unsupported
9395 always_export_symbols=yes
9396 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'
9397 # Note: this linker hardcodes the directories in LIBPATH if there
9398 # are no directories specified by -L.
9399 hardcode_minus_L=yes
9400 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9401 # Neither direct hardcoding nor static linking is supported with a
9403 hardcode_direct=unsupported
9408 if test "$host_cpu" = ia64; then
9409 # On IA64, the linker does run time linking by default, so we don't
9410 # have to do anything special.
9411 aix_use_runtimelinking=no
9412 exp_sym_flag='-Bexport'
9415 # If we're using GNU nm, then we don't want the "-C" option.
9416 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9417 # Also, AIX nm treats weak defined symbols like other global
9418 # defined symbols, whereas GNU nm marks them as "W".
9419 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9420 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9422 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'
9424 aix_use_runtimelinking=no
9426 # Test if we are trying to use run time linking or normal
9427 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9428 # need to do runtime linking.
9429 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9430 for ld_flag in $LDFLAGS; do
9431 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9432 aix_use_runtimelinking=yes
9439 exp_sym_flag='-bexport'
9440 no_entry_flag='-bnoentry'
9443 # When large executables or shared objects are built, AIX ld can
9444 # have problems creating the table of contents. If linking a library
9445 # or program results in "error TOC overflow" add -mminimal-toc to
9446 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9447 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9451 hardcode_direct_absolute=yes
9452 hardcode_libdir_separator=':'
9453 link_all_deplibs=yes
9454 file_list_spec='${wl}-f,'
9456 if test "$GCC" = yes; then
9457 case $host_os in aix4.[012]|aix4.[012].*)
9458 # We only want to do this on AIX 4.2 and lower, the check
9459 # below for broken collect2 doesn't work under 4.3+
9460 collect2name=`${CC} -print-prog-name=collect2`
9461 if test -f "$collect2name" &&
9462 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9464 # We have reworked collect2
9467 # We have old collect2
9468 hardcode_direct=unsupported
9469 # It fails to find uninstalled libraries when the uninstalled
9470 # path is not listed in the libpath. Setting hardcode_minus_L
9471 # to unsupported forces relinking
9472 hardcode_minus_L=yes
9473 hardcode_libdir_flag_spec='-L$libdir'
9474 hardcode_libdir_separator=
9478 shared_flag='-shared'
9479 if test "$aix_use_runtimelinking" = yes; then
9480 shared_flag="$shared_flag "'${wl}-G'
9484 if test "$host_cpu" = ia64; then
9485 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9486 # chokes on -Wl,-G. The following line is correct:
9489 if test "$aix_use_runtimelinking" = yes; then
9490 shared_flag='${wl}-G'
9492 shared_flag='${wl}-bM:SRE'
9497 export_dynamic_flag_spec='${wl}-bexpall'
9498 # It seems that -bexpall does not export symbols beginning with
9499 # underscore (_), so it is better to generate a list of symbols to export.
9500 always_export_symbols=yes
9501 if test "$aix_use_runtimelinking" = yes; then
9502 # Warning - without using the other runtime loading flags (-brtl),
9503 # -berok will link without error, but may produce a broken library.
9504 allow_undefined_flag='-berok'
9505 # Determine the default libpath from the value encoded in an
9507 if test "${lt_cv_aix_libpath+set}" = set; then
9508 aix_libpath=$lt_cv_aix_libpath
9510 if ${lt_cv_aix_libpath_+:} false; then :
9511 $as_echo_n "(cached) " >&6
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9524 if ac_fn_c_try_link "$LINENO"; then :
9526 lt_aix_libpath_sed='
9527 /Import File Strings/,/^$/ {
9529 s/^0 *\([^ ]*\) *$/\1/
9533 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9534 # Check for a 64-bit object if we didn't find anything.
9535 if test -z "$lt_cv_aix_libpath_"; then
9536 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 if test -z "$lt_cv_aix_libpath_"; then
9542 lt_cv_aix_libpath_="/usr/lib:/lib"
9547 aix_libpath=$lt_cv_aix_libpath_
9550 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9551 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9553 if test "$host_cpu" = ia64; then
9554 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9555 allow_undefined_flag="-z nodefs"
9556 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"
9558 # Determine the default libpath from the value encoded in an
9560 if test "${lt_cv_aix_libpath+set}" = set; then
9561 aix_libpath=$lt_cv_aix_libpath
9563 if ${lt_cv_aix_libpath_+:} false; then :
9564 $as_echo_n "(cached) " >&6
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9577 if ac_fn_c_try_link "$LINENO"; then :
9579 lt_aix_libpath_sed='
9580 /Import File Strings/,/^$/ {
9582 s/^0 *\([^ ]*\) *$/\1/
9586 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587 # Check for a 64-bit object if we didn't find anything.
9588 if test -z "$lt_cv_aix_libpath_"; then
9589 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 if test -z "$lt_cv_aix_libpath_"; then
9595 lt_cv_aix_libpath_="/usr/lib:/lib"
9600 aix_libpath=$lt_cv_aix_libpath_
9603 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9604 # Warning - without using the other run time loading flags,
9605 # -berok will link without error, but may produce a broken library.
9606 no_undefined_flag=' ${wl}-bernotok'
9607 allow_undefined_flag=' ${wl}-berok'
9608 if test "$with_gnu_ld" = yes; then
9609 # We only use this code for GNU lds that support --whole-archive.
9610 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9612 # Exported symbols can be pulled into shared objects from archives
9613 whole_archive_flag_spec='$convenience'
9615 archive_cmds_need_lc=yes
9616 # This is similar to how AIX traditionally builds its shared libraries.
9617 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'
9625 # see comment about AmigaOS4 .so support
9626 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9627 archive_expsym_cmds=''
9630 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)'
9631 hardcode_libdir_flag_spec='-L$libdir'
9632 hardcode_minus_L=yes
9638 export_dynamic_flag_spec=-rdynamic
9641 cygwin* | mingw* | pw32* | cegcc*)
9642 # When not using gcc, we currently assume that we are using
9643 # Microsoft Visual C++.
9644 # hardcode_libdir_flag_spec is actually meaningless, as there is
9645 # no search path for DLLs.
9646 case $cc_basename in
9649 hardcode_libdir_flag_spec=' '
9650 allow_undefined_flag=unsupported
9651 always_export_symbols=yes
9653 # Tell ltmain to make .lib files, not .a files.
9655 # Tell ltmain to make .dll files, not .so files.
9657 # FIXME: Setting linknames here is a bad hack.
9658 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9659 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9660 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9662 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9664 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9666 # The linker will not automatically build a static lib if we build a DLL.
9667 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9668 enable_shared_with_static_runtimes=yes
9669 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9670 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9672 old_postinstall_cmds='chmod 644 $oldlib'
9673 postlink_cmds='lt_outputfile="@OUTPUT@"~
9674 lt_tool_outputfile="@TOOL_OUTPUT@"~
9675 case $lt_outputfile in
9678 lt_outputfile="$lt_outputfile.exe"
9679 lt_tool_outputfile="$lt_tool_outputfile.exe"
9682 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9683 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9684 $RM "$lt_outputfile.manifest";
9688 # Assume MSVC wrapper
9689 hardcode_libdir_flag_spec=' '
9690 allow_undefined_flag=unsupported
9691 # Tell ltmain to make .lib files, not .a files.
9693 # Tell ltmain to make .dll files, not .so files.
9695 # FIXME: Setting linknames here is a bad hack.
9696 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9697 # The linker will automatically build a .lib file if we build a DLL.
9698 old_archive_from_new_cmds='true'
9699 # FIXME: Should let the user specify the lib program.
9700 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9701 enable_shared_with_static_runtimes=yes
9706 darwin* | rhapsody*)
9709 archive_cmds_need_lc=no
9711 hardcode_automatic=yes
9712 hardcode_shlibpath_var=unsupported
9713 if test "$lt_cv_ld_force_load" = "yes"; then
9714 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9717 whole_archive_flag_spec=''
9719 link_all_deplibs=yes
9720 allow_undefined_flag="$_lt_dar_allow_undefined"
9721 case $cc_basename in
9722 ifort*) _lt_dar_can_shared=yes ;;
9723 *) _lt_dar_can_shared=$GCC ;;
9725 if test "$_lt_dar_can_shared" = "yes"; then
9726 output_verbose_link_cmd=func_echo_all
9727 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9728 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9729 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}"
9730 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}"
9739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_libdir_flag_spec='-L$libdir'
9741 hardcode_shlibpath_var=no
9744 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9745 # support. Future versions do this automatically, but an explicit c++rt0.o
9746 # does not break anything, and helps significantly (at the cost of a little
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9750 hardcode_libdir_flag_spec='-R$libdir'
9752 hardcode_shlibpath_var=no
9755 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9757 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9759 hardcode_minus_L=yes
9760 hardcode_shlibpath_var=no
9763 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9764 freebsd* | dragonfly*)
9765 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9766 hardcode_libdir_flag_spec='-R$libdir'
9768 hardcode_shlibpath_var=no
9772 if test "$GCC" = yes; then
9773 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9775 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'
9777 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9778 hardcode_libdir_separator=:
9781 # hardcode_minus_L: Not really in the search PATH,
9782 # but as the default location of the library.
9783 hardcode_minus_L=yes
9784 export_dynamic_flag_spec='${wl}-E'
9788 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9789 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9793 if test "$with_gnu_ld" = no; then
9794 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9795 hardcode_libdir_separator=:
9797 hardcode_direct_absolute=yes
9798 export_dynamic_flag_spec='${wl}-E'
9799 # hardcode_minus_L: Not really in the search PATH,
9800 # but as the default location of the library.
9801 hardcode_minus_L=yes
9806 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9809 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9812 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9821 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9824 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9828 # Older versions of the 11.00 compiler do not understand -b yet
9829 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9831 $as_echo_n "checking if $CC understands -b... " >&6; }
9832 if ${lt_cv_prog_compiler__b+:} false; then :
9833 $as_echo_n "(cached) " >&6
9835 lt_cv_prog_compiler__b=no
9836 save_LDFLAGS="$LDFLAGS"
9837 LDFLAGS="$LDFLAGS -b"
9838 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9839 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9840 # The linker can only warn and ignore the option if not recognized
9841 # So say no if there are warnings
9842 if test -s conftest.err; then
9843 # Append any errors to the config.log.
9844 cat conftest.err 1>&5
9845 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9846 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9847 if diff conftest.exp conftest.er2 >/dev/null; then
9848 lt_cv_prog_compiler__b=yes
9851 lt_cv_prog_compiler__b=yes
9855 LDFLAGS="$save_LDFLAGS"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9859 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9861 if test x"$lt_cv_prog_compiler__b" = xyes; then
9862 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9864 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9870 if test "$with_gnu_ld" = no; then
9871 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9872 hardcode_libdir_separator=:
9877 hardcode_shlibpath_var=no
9881 hardcode_direct_absolute=yes
9882 export_dynamic_flag_spec='${wl}-E'
9884 # hardcode_minus_L: Not really in the search PATH,
9885 # but as the default location of the library.
9886 hardcode_minus_L=yes
9892 irix5* | irix6* | nonstopux*)
9893 if test "$GCC" = yes; then
9894 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9895 # Try to use the -exported_symbol ld option, if it does not
9896 # work, assume that -exports_file does not work either and
9897 # implicitly export all symbols.
9898 # This should be the same for all languages, so no per-tag cache variable.
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9900 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9901 if ${lt_cv_irix_exported_symbol+:} false; then :
9902 $as_echo_n "(cached) " >&6
9904 save_LDFLAGS="$LDFLAGS"
9905 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int foo (void) { return 0; }
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 lt_cv_irix_exported_symbol=yes
9913 lt_cv_irix_exported_symbol=no
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 LDFLAGS="$save_LDFLAGS"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9920 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9921 if test "$lt_cv_irix_exported_symbol" = yes; then
9922 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9928 archive_cmds_need_lc='no'
9929 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9930 hardcode_libdir_separator=:
9932 link_all_deplibs=yes
9936 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9937 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9939 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9941 hardcode_libdir_flag_spec='-R$libdir'
9943 hardcode_shlibpath_var=no
9947 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950 hardcode_libdir_separator=:
9951 hardcode_shlibpath_var=no
9958 if test -f /usr/libexec/ld.so; then
9960 hardcode_shlibpath_var=no
9961 hardcode_direct_absolute=yes
9962 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9963 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9964 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9965 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9966 export_dynamic_flag_spec='${wl}-E'
9969 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9970 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9971 hardcode_libdir_flag_spec='-R$libdir'
9974 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9975 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9985 hardcode_libdir_flag_spec='-L$libdir'
9986 hardcode_minus_L=yes
9987 allow_undefined_flag=unsupported
9988 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'
9989 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9993 if test "$GCC" = yes; then
9994 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9995 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9997 allow_undefined_flag=' -expect_unresolved \*'
9998 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10000 archive_cmds_need_lc='no'
10001 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10002 hardcode_libdir_separator=:
10005 osf4* | osf5*) # as osf3* with the addition of -msym flag
10006 if test "$GCC" = yes; then
10007 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10008 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10009 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10011 allow_undefined_flag=' -expect_unresolved \*'
10012 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10013 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~
10014 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10016 # Both c and cxx compiler support -rpath directly
10017 hardcode_libdir_flag_spec='-rpath $libdir'
10019 archive_cmds_need_lc='no'
10020 hardcode_libdir_separator=:
10024 no_undefined_flag=' -z defs'
10025 if test "$GCC" = yes; then
10027 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10028 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10029 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10031 case `$CC -V 2>&1` in
10034 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10036 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10040 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10041 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10042 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10046 hardcode_libdir_flag_spec='-R$libdir'
10047 hardcode_shlibpath_var=no
10049 solaris2.[0-5] | solaris2.[0-5].*) ;;
10051 # The compiler driver will combine and reorder linker options,
10052 # but understands `-z linker_flag'. GCC discards it without `$wl',
10053 # but is careful enough not to reorder.
10054 # Supported since Solaris 2.6 (maybe 2.5.1?)
10055 if test "$GCC" = yes; then
10056 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10058 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10062 link_all_deplibs=yes
10066 if test "x$host_vendor" = xsequent; then
10067 # Use $CC to link under sequent, because it throws in some extra .o
10068 # files that make .init and .fini sections work.
10069 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10073 hardcode_libdir_flag_spec='-L$libdir'
10074 hardcode_direct=yes
10075 hardcode_minus_L=yes
10076 hardcode_shlibpath_var=no
10080 case $host_vendor in
10082 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 hardcode_direct=yes # is this really true???
10086 ## LD is ld it makes a PLAMLIB
10087 ## CC just makes a GrossModule.
10088 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10089 reload_cmds='$CC -r -o $output$reload_objs'
10093 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10094 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10097 runpath_var='LD_RUN_PATH'
10098 hardcode_shlibpath_var=no
10102 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10103 hardcode_shlibpath_var=no
10104 export_dynamic_flag_spec='-Bexport'
10108 if test -d /usr/nec; then
10109 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10110 hardcode_shlibpath_var=no
10111 runpath_var=LD_RUN_PATH
10112 hardcode_runpath_var=yes
10117 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10118 no_undefined_flag='${wl}-z,text'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 runpath_var='LD_RUN_PATH'
10123 if test "$GCC" = yes; then
10124 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10127 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10128 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 sysv5* | sco3.2v5* | sco5v6*)
10133 # Note: We can NOT use -z defs as we might desire, because we do not
10134 # link with -lc, and that would cause any symbols used from libc to
10135 # always be unresolved, which means just about no library would
10136 # ever link correctly. If we're not using GNU ld we use -z text
10137 # though, which does catch some bad symbols but isn't as heavy-handed
10139 no_undefined_flag='${wl}-z,text'
10140 allow_undefined_flag='${wl}-z,nodefs'
10141 archive_cmds_need_lc=no
10142 hardcode_shlibpath_var=no
10143 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10144 hardcode_libdir_separator=':'
10145 link_all_deplibs=yes
10146 export_dynamic_flag_spec='${wl}-Bexport'
10147 runpath_var='LD_RUN_PATH'
10149 if test "$GCC" = yes; then
10150 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10151 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10153 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10159 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10160 hardcode_libdir_flag_spec='-L$libdir'
10161 hardcode_shlibpath_var=no
10169 if test x$host_vendor = xsni; then
10171 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10172 export_dynamic_flag_spec='${wl}-Blargedynsym'
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10179 $as_echo "$ld_shlibs" >&6; }
10180 test "$ld_shlibs" = no && can_build_shared=no
10182 with_gnu_ld=$with_gnu_ld
10199 # Do we need to explicitly link libc?
10201 case "x$archive_cmds_need_lc" in
10203 # Assume -lc should be added
10204 archive_cmds_need_lc=yes
10206 if test "$enable_shared" = yes && test "$GCC" = yes; then
10207 case $archive_cmds in
10209 # FIXME: we may have to deal with multi-command sequences.
10212 # Test whether the compiler implicitly links with -lc since on some
10213 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10214 # to ld, don't add -lc before -lgcc.
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10216 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10217 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10218 $as_echo_n "(cached) " >&6
10221 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10224 (eval $ac_compile) 2>&5
10226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10227 test $ac_status = 0; } 2>conftest.err; then
10230 libobjs=conftest.$ac_objext
10232 wl=$lt_prog_compiler_wl
10233 pic_flag=$lt_prog_compiler_pic
10239 lt_save_allow_undefined_flag=$allow_undefined_flag
10240 allow_undefined_flag=
10241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10242 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10245 test $ac_status = 0; }
10247 lt_cv_archive_cmds_need_lc=no
10249 lt_cv_archive_cmds_need_lc=yes
10251 allow_undefined_flag=$lt_save_allow_undefined_flag
10253 cat conftest.err 1>&5
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10259 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10260 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10419 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10421 if test "$GCC" = yes; then
10423 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10424 *) lt_awk_arg="/^libraries:/" ;;
10427 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10428 *) lt_sed_strip_eq="s,=/,/,g" ;;
10430 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10431 case $lt_search_path_spec in
10433 # if the path contains ";" then we assume it to be the separator
10434 # otherwise default to the standard path separator (i.e. ":") - it is
10435 # assumed that no part of a normal pathname contains ";" but that should
10436 # okay in the real world where ";" in dirpaths is itself problematic.
10437 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10440 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10443 # Ok, now we have the path, separated by spaces, we can step through it
10444 # and add multilib dir if necessary.
10445 lt_tmp_lt_search_path_spec=
10446 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10447 for lt_sys_path in $lt_search_path_spec; do
10448 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10449 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10451 test -d "$lt_sys_path" && \
10452 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10455 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10456 BEGIN {RS=" "; FS="/|\n";} {
10459 for (lt_i = NF; lt_i > 0; lt_i--) {
10460 if ($lt_i != "" && $lt_i != ".") {
10461 if ($lt_i == "..") {
10464 if (lt_count == 0) {
10465 lt_foo="/" $lt_i lt_foo;
10472 if (lt_foo != "") { lt_freq[lt_foo]++; }
10473 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10475 # AWK program above erroneously prepends '/' to C:/dos/paths
10478 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10479 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10481 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10483 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10485 library_names_spec=
10486 libname_spec='lib$name'
10490 postuninstall_cmds=
10494 shlibpath_overrides_runpath=unknown
10496 dynamic_linker="$host_os ld.so"
10497 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10498 need_lib_prefix=unknown
10499 hardcode_into_libs=no
10501 # when you set need_version to no, make sure it does not cause -set_version
10502 # flags to be left without arguments
10503 need_version=unknown
10507 version_type=linux # correct to gnu/linux during the next big refactor
10508 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10509 shlibpath_var=LIBPATH
10511 # AIX 3 has no versioning support, so we append a major version to the name.
10512 soname_spec='${libname}${release}${shared_ext}$major'
10516 version_type=linux # correct to gnu/linux during the next big refactor
10519 hardcode_into_libs=yes
10520 if test "$host_cpu" = ia64; then
10521 # AIX 5 supports IA64
10522 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10523 shlibpath_var=LD_LIBRARY_PATH
10525 # With GCC up to 2.95.x, collect2 would create an import file
10526 # for dependence libraries. The import file would start with
10527 # the line `#! .'. This would cause the generated library to
10528 # depend on `.', always an invalid library. This was fixed in
10529 # development snapshots of GCC prior to 3.0.
10531 aix4 | aix4.[01] | aix4.[01].*)
10532 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10534 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10537 can_build_shared=no
10541 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10542 # soname into executable. Probably we can add versioning support to
10543 # collect2, so additional links can be useful in future.
10544 if test "$aix_use_runtimelinking" = yes; then
10545 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10546 # instead of lib<name>.a to let people know that these are not
10547 # typical AIX shared libraries.
10548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550 # We preserve .a as extension for shared libraries through AIX4.2
10551 # and later when we are not doing run time linking.
10552 library_names_spec='${libname}${release}.a $libname.a'
10553 soname_spec='${libname}${release}${shared_ext}$major'
10555 shlibpath_var=LIBPATH
10562 # Since July 2007 AmigaOS4 officially supports .so libraries.
10563 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 library_names_spec='$libname.ixlibrary $libname.a'
10568 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10569 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10575 library_names_spec='${libname}${shared_ext}'
10576 dynamic_linker="$host_os ld.so"
10577 shlibpath_var=LIBRARY_PATH
10581 version_type=linux # correct to gnu/linux during the next big refactor
10583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584 soname_spec='${libname}${release}${shared_ext}$major'
10585 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10586 shlibpath_var=LD_LIBRARY_PATH
10587 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10588 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10589 # the default ld.so.conf also contains /usr/contrib/lib and
10590 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10591 # libtool to hard-code these into programs
10594 cygwin* | mingw* | pw32* | cegcc*)
10595 version_type=windows
10600 case $GCC,$cc_basename in
10603 library_names_spec='$libname.dll.a'
10604 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10605 postinstall_cmds='base_file=`basename \${file}`~
10606 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10607 dldir=$destdir/`dirname \$dlpath`~
10608 test -d \$dldir || mkdir -p \$dldir~
10609 $install_prog $dir/$dlname \$dldir/$dlname~
10610 chmod a+x \$dldir/$dlname~
10611 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10612 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10614 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10615 dlpath=$dir/\$dldll~
10617 shlibpath_overrides_runpath=yes
10621 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10622 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10624 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10627 # MinGW DLLs use traditional 'lib' prefix
10628 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10631 # pw32 DLLs use 'pw' prefix rather than 'lib'
10632 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10635 dynamic_linker='Win32 ld.exe'
10640 libname_spec='$name'
10641 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10642 library_names_spec='${libname}.dll.lib'
10646 sys_lib_search_path_spec=
10649 for lt_path in $LIB
10652 # Let DOS variable expansion print the short 8.3 style file name.
10653 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10654 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10657 # Convert to MSYS style.
10658 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10661 # Convert to unix form, then to dos form, then back to unix form
10662 # but this time dos style (no spaces!) so that the unix form looks
10663 # like /cygdrive/c/PROGRA~1:/cygdr...
10664 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10665 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10666 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10669 sys_lib_search_path_spec="$LIB"
10670 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10671 # It is most probably a Windows format PATH.
10672 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10674 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10676 # FIXME: find the short name or the path components, as spaces are
10677 # common. (e.g. "Program Files" -> "PROGRA~1")
10681 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10682 postinstall_cmds='base_file=`basename \${file}`~
10683 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10684 dldir=$destdir/`dirname \$dlpath`~
10685 test -d \$dldir || mkdir -p \$dldir~
10686 $install_prog $dir/$dlname \$dldir/$dlname'
10687 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10688 dlpath=$dir/\$dldll~
10690 shlibpath_overrides_runpath=yes
10691 dynamic_linker='Win32 link.exe'
10695 # Assume MSVC wrapper
10696 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10697 dynamic_linker='Win32 ld.exe'
10700 # FIXME: first we should search . and the directory the executable is in
10704 darwin* | rhapsody*)
10705 dynamic_linker="$host_os dyld"
10706 version_type=darwin
10709 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10710 soname_spec='${libname}${release}${major}$shared_ext'
10711 shlibpath_overrides_runpath=yes
10712 shlibpath_var=DYLD_LIBRARY_PATH
10713 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10715 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10716 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10720 version_type=linux # correct to gnu/linux during the next big refactor
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 shlibpath_var=LD_LIBRARY_PATH
10728 freebsd* | dragonfly*)
10729 # DragonFly does not have aout. When/if they implement a new
10730 # versioning mechanism, adjust this.
10731 if test -x /usr/bin/objformat; then
10732 objformat=`/usr/bin/objformat`
10735 freebsd[23].*) objformat=aout ;;
10736 *) objformat=elf ;;
10739 version_type=freebsd-$objformat
10740 case $version_type in
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10751 shlibpath_var=LD_LIBRARY_PATH
10754 shlibpath_overrides_runpath=yes
10756 freebsd3.[01]* | freebsdelf3.[01]*)
10757 shlibpath_overrides_runpath=yes
10758 hardcode_into_libs=yes
10760 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10761 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10765 *) # from 4.6 on, and DragonFly
10766 shlibpath_overrides_runpath=yes
10767 hardcode_into_libs=yes
10773 version_type=linux # correct to gnu/linux during the next big refactor
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 shlibpath_var=LD_LIBRARY_PATH
10779 shlibpath_overrides_runpath=no
10780 hardcode_into_libs=yes
10784 version_type=linux # correct to gnu/linux during the next big refactor
10787 dynamic_linker="$host_os runtime_loader"
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 shlibpath_var=LIBRARY_PATH
10791 shlibpath_overrides_runpath=yes
10792 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10793 hardcode_into_libs=yes
10796 hpux9* | hpux10* | hpux11*)
10797 # Give a soname corresponding to the major version so that dld.sl refuses to
10798 # link against other versions.
10805 hardcode_into_libs=yes
10806 dynamic_linker="$host_os dld.so"
10807 shlibpath_var=LD_LIBRARY_PATH
10808 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810 soname_spec='${libname}${release}${shared_ext}$major'
10811 if test "X$HPUX_IA64_MODE" = X32; then
10812 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10814 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10816 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10820 hardcode_into_libs=yes
10821 dynamic_linker="$host_os dld.sl"
10822 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10823 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10824 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825 soname_spec='${libname}${release}${shared_ext}$major'
10826 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10827 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10831 dynamic_linker="$host_os dld.sl"
10832 shlibpath_var=SHLIB_PATH
10833 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835 soname_spec='${libname}${release}${shared_ext}$major'
10838 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10839 postinstall_cmds='chmod 555 $lib'
10840 # or fails outright, so override atomically:
10841 install_override_mode=555
10845 version_type=linux # correct to gnu/linux during the next big refactor
10848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10849 soname_spec='${libname}${release}${shared_ext}$major'
10850 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10851 shlibpath_var=LD_LIBRARY_PATH
10852 shlibpath_overrides_runpath=no
10853 hardcode_into_libs=yes
10856 irix5* | irix6* | nonstopux*)
10858 nonstopux*) version_type=nonstopux ;;
10860 if test "$lt_cv_prog_gnu_ld" = yes; then
10861 version_type=linux # correct to gnu/linux during the next big refactor
10868 soname_spec='${libname}${release}${shared_ext}$major'
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10871 irix5* | nonstopux*)
10872 libsuff= shlibsuff=
10875 case $LD in # libtool.m4 will add one of these switches to LD
10876 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10877 libsuff= shlibsuff= libmagic=32-bit;;
10878 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10879 libsuff=32 shlibsuff=N32 libmagic=N32;;
10880 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10881 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10882 *) libsuff= shlibsuff= libmagic=never-match;;
10886 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10887 shlibpath_overrides_runpath=no
10888 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10889 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10890 hardcode_into_libs=yes
10893 # No shared lib support for Linux oldld, aout, or coff.
10894 linux*oldld* | linux*aout* | linux*coff*)
10898 # This must be glibc/ELF.
10899 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10900 version_type=linux # correct to gnu/linux during the next big refactor
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10906 shlibpath_var=LD_LIBRARY_PATH
10907 shlibpath_overrides_runpath=no
10909 # Some binutils ld are patched to set DT_RUNPATH
10910 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10911 $as_echo_n "(cached) " >&6
10913 lt_cv_shlibpath_overrides_runpath=no
10914 save_LDFLAGS=$LDFLAGS
10915 save_libdir=$libdir
10916 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10917 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10929 if ac_fn_c_try_link "$LINENO"; then :
10930 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10931 lt_cv_shlibpath_overrides_runpath=yes
10934 rm -f core conftest.err conftest.$ac_objext \
10935 conftest$ac_exeext conftest.$ac_ext
10936 LDFLAGS=$save_LDFLAGS
10937 libdir=$save_libdir
10941 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10943 # This implies no fast_install, which is unacceptable.
10944 # Some rework will be needed to allow for fast_install
10945 # before this can be enabled.
10946 hardcode_into_libs=yes
10948 # Add ABI-specific directories to the system library path.
10949 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10951 # Append ld.so.conf contents to the search path
10952 if test -f /etc/ld.so.conf; then
10953 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10954 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10958 # We used to test for /lib/ld.so.1 and disable shared libraries on
10959 # powerpc, because MkLinux only supported shared libraries with the
10960 # GNU dynamic linker. Since this was broken with cross compilers,
10961 # most powerpc-linux boxes support dynamic linking these days and
10962 # people can always --disable-shared, the test was removed, and we
10963 # assume the GNU/Linux dynamic linker is in use.
10964 dynamic_linker='GNU/Linux ld.so'
10971 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10973 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10974 dynamic_linker='NetBSD (a.out) ld.so'
10976 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10977 soname_spec='${libname}${release}${shared_ext}$major'
10978 dynamic_linker='NetBSD ld.elf_so'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 hardcode_into_libs=yes
10986 version_type=linux # correct to gnu/linux during the next big refactor
10987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=yes
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=no
11000 hardcode_into_libs=yes
11001 dynamic_linker='ldqnx.so'
11006 sys_lib_dlsearch_path_spec="/usr/lib"
11008 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11010 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11011 *) need_version=no ;;
11013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11014 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11015 shlibpath_var=LD_LIBRARY_PATH
11016 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11018 openbsd2.[89] | openbsd2.[89].*)
11019 shlibpath_overrides_runpath=no
11022 shlibpath_overrides_runpath=yes
11026 shlibpath_overrides_runpath=yes
11031 libname_spec='$name'
11034 library_names_spec='$libname${shared_ext} $libname.a'
11035 dynamic_linker='OS/2 ld.exe'
11036 shlibpath_var=LIBPATH
11039 osf3* | osf4* | osf5*)
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11045 shlibpath_var=LD_LIBRARY_PATH
11046 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11047 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11055 version_type=linux # correct to gnu/linux during the next big refactor
11058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11059 soname_spec='${libname}${release}${shared_ext}$major'
11060 shlibpath_var=LD_LIBRARY_PATH
11061 shlibpath_overrides_runpath=yes
11062 hardcode_into_libs=yes
11063 # ldd complains unless libraries are executable
11064 postinstall_cmds='chmod +x $lib'
11069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11070 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11071 shlibpath_var=LD_LIBRARY_PATH
11072 shlibpath_overrides_runpath=yes
11073 if test "$with_gnu_ld" = yes; then
11080 version_type=linux # correct to gnu/linux during the next big refactor
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 case $host_vendor in
11086 shlibpath_overrides_runpath=no
11088 runpath_var=LD_RUN_PATH
11096 shlibpath_overrides_runpath=no
11097 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11103 if test -d /usr/nec ;then
11104 version_type=linux # correct to gnu/linux during the next big refactor
11105 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11106 soname_spec='$libname${shared_ext}.$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11111 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11112 version_type=freebsd-elf
11115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11116 soname_spec='${libname}${release}${shared_ext}$major'
11117 shlibpath_var=LD_LIBRARY_PATH
11118 shlibpath_overrides_runpath=yes
11119 hardcode_into_libs=yes
11120 if test "$with_gnu_ld" = yes; then
11121 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11123 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11126 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11130 sys_lib_dlsearch_path_spec='/usr/lib'
11134 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11135 version_type=linux # correct to gnu/linux during the next big refactor
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 shlibpath_var=LD_LIBRARY_PATH
11140 shlibpath_overrides_runpath=no
11141 hardcode_into_libs=yes
11145 version_type=linux # correct to gnu/linux during the next big refactor
11146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11147 soname_spec='${libname}${release}${shared_ext}$major'
11148 shlibpath_var=LD_LIBRARY_PATH
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11156 $as_echo "$dynamic_linker" >&6; }
11157 test "$dynamic_linker" = no && can_build_shared=no
11159 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11160 if test "$GCC" = yes; then
11161 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11164 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11165 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11167 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11168 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11263 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11265 if test -n "$hardcode_libdir_flag_spec" ||
11266 test -n "$runpath_var" ||
11267 test "X$hardcode_automatic" = "Xyes" ; then
11269 # We can hardcode non-existent directories.
11270 if test "$hardcode_direct" != no &&
11271 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11272 # have to relink, otherwise we might link with an installed library
11273 # when we should be linking with a yet-to-be-installed one
11274 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11275 test "$hardcode_minus_L" != no; then
11276 # Linking always hardcodes the temporary library directory.
11277 hardcode_action=relink
11279 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11280 hardcode_action=immediate
11283 # We cannot hardcode anything, or else we can only hardcode existing
11285 hardcode_action=unsupported
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11288 $as_echo "$hardcode_action" >&6; }
11290 if test "$hardcode_action" = relink ||
11291 test "$inherit_rpath" = yes; then
11292 # Fast installation is not supported
11293 enable_fast_install=no
11294 elif test "$shlibpath_overrides_runpath" = yes ||
11295 test "$enable_shared" = no; then
11296 # Fast installation is not necessary
11297 enable_fast_install=needless
11305 if test "x$enable_dlopen" != xyes; then
11306 enable_dlopen=unknown
11307 enable_dlopen_self=unknown
11308 enable_dlopen_self_static=unknown
11315 lt_cv_dlopen="load_add_on"
11317 lt_cv_dlopen_self=yes
11320 mingw* | pw32* | cegcc*)
11321 lt_cv_dlopen="LoadLibrary"
11326 lt_cv_dlopen="dlopen"
11331 # if libdl is installed we need to link against it
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11333 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11334 if ${ac_cv_lib_dl_dlopen+:} false; then :
11335 $as_echo_n "(cached) " >&6
11337 ac_check_lib_save_LIBS=$LIBS
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 ac_cv_lib_dl_dlopen=yes
11360 ac_cv_lib_dl_dlopen=no
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11368 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11369 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11372 lt_cv_dlopen="dyld"
11374 lt_cv_dlopen_self=yes
11381 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11382 if test "x$ac_cv_func_shl_load" = xyes; then :
11383 lt_cv_dlopen="shl_load"
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11386 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11387 if ${ac_cv_lib_dld_shl_load+:} false; then :
11388 $as_echo_n "(cached) " >&6
11390 ac_check_lib_save_LIBS=$LIBS
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11405 return shl_load ();
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 ac_cv_lib_dld_shl_load=yes
11413 ac_cv_lib_dld_shl_load=no
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11420 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11421 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11422 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11424 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11425 if test "x$ac_cv_func_dlopen" = xyes; then :
11426 lt_cv_dlopen="dlopen"
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11429 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11430 if ${ac_cv_lib_dl_dlopen+:} false; then :
11431 $as_echo_n "(cached) " >&6
11433 ac_check_lib_save_LIBS=$LIBS
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11453 if ac_fn_c_try_link "$LINENO"; then :
11454 ac_cv_lib_dl_dlopen=yes
11456 ac_cv_lib_dl_dlopen=no
11458 rm -f core conftest.err conftest.$ac_objext \
11459 conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_lib_save_LIBS
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11463 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11464 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11465 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11468 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11469 if ${ac_cv_lib_svld_dlopen+:} false; then :
11470 $as_echo_n "(cached) " >&6
11472 ac_check_lib_save_LIBS=$LIBS
11473 LIBS="-lsvld $LIBS"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11492 if ac_fn_c_try_link "$LINENO"; then :
11493 ac_cv_lib_svld_dlopen=yes
11495 ac_cv_lib_svld_dlopen=no
11497 rm -f core conftest.err conftest.$ac_objext \
11498 conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_lib_save_LIBS
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11502 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11503 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11504 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11507 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11508 if ${ac_cv_lib_dld_dld_link+:} false; then :
11509 $as_echo_n "(cached) " >&6
11511 ac_check_lib_save_LIBS=$LIBS
11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11514 /* end confdefs.h. */
11516 /* Override any GCC internal prototype to avoid an error.
11517 Use char because int might match the return type of a GCC
11518 builtin and then its argument prototype would still apply. */
11526 return dld_link ();
11531 if ac_fn_c_try_link "$LINENO"; then :
11532 ac_cv_lib_dld_dld_link=yes
11534 ac_cv_lib_dld_dld_link=no
11536 rm -f core conftest.err conftest.$ac_objext \
11537 conftest$ac_exeext conftest.$ac_ext
11538 LIBS=$ac_check_lib_save_LIBS
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11541 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11542 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11543 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11564 if test "x$lt_cv_dlopen" != xno; then
11570 case $lt_cv_dlopen in
11572 save_CPPFLAGS="$CPPFLAGS"
11573 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11575 save_LDFLAGS="$LDFLAGS"
11576 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11579 LIBS="$lt_cv_dlopen_libs $LIBS"
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11582 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11583 if ${lt_cv_dlopen_self+:} false; then :
11584 $as_echo_n "(cached) " >&6
11586 if test "$cross_compiling" = yes; then :
11587 lt_cv_dlopen_self=cross
11589 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11590 lt_status=$lt_dlunknown
11591 cat > conftest.$ac_ext <<_LT_EOF
11592 #line $LINENO "configure"
11593 #include "confdefs.h"
11602 # define LT_DLGLOBAL RTLD_GLOBAL
11605 # define LT_DLGLOBAL DL_GLOBAL
11607 # define LT_DLGLOBAL 0
11611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11612 find out it does not work in some platform. */
11613 #ifndef LT_DLLAZY_OR_NOW
11615 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11618 # define LT_DLLAZY_OR_NOW DL_LAZY
11621 # define LT_DLLAZY_OR_NOW RTLD_NOW
11624 # define LT_DLLAZY_OR_NOW DL_NOW
11626 # define LT_DLLAZY_OR_NOW 0
11633 /* When -fvisbility=hidden is used, assume the code has been annotated
11634 correspondingly for the symbols needed. */
11635 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11636 int fnord () __attribute__((visibility("default")));
11639 int fnord () { return 42; }
11642 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11643 int status = $lt_dlunknown;
11647 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11650 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11651 else puts (dlerror ());
11653 /* dlclose (self); */
11661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11662 (eval $ac_link) 2>&5
11664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11665 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11666 (./conftest; exit; ) >&5 2>/dev/null
11668 case x$lt_status in
11669 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11670 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11671 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11674 # compilation failed
11675 lt_cv_dlopen_self=no
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11683 $as_echo "$lt_cv_dlopen_self" >&6; }
11685 if test "x$lt_cv_dlopen_self" = xyes; then
11686 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11688 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11689 if ${lt_cv_dlopen_self_static+:} false; then :
11690 $as_echo_n "(cached) " >&6
11692 if test "$cross_compiling" = yes; then :
11693 lt_cv_dlopen_self_static=cross
11695 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11696 lt_status=$lt_dlunknown
11697 cat > conftest.$ac_ext <<_LT_EOF
11698 #line $LINENO "configure"
11699 #include "confdefs.h"
11708 # define LT_DLGLOBAL RTLD_GLOBAL
11711 # define LT_DLGLOBAL DL_GLOBAL
11713 # define LT_DLGLOBAL 0
11717 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11718 find out it does not work in some platform. */
11719 #ifndef LT_DLLAZY_OR_NOW
11721 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11724 # define LT_DLLAZY_OR_NOW DL_LAZY
11727 # define LT_DLLAZY_OR_NOW RTLD_NOW
11730 # define LT_DLLAZY_OR_NOW DL_NOW
11732 # define LT_DLLAZY_OR_NOW 0
11739 /* When -fvisbility=hidden is used, assume the code has been annotated
11740 correspondingly for the symbols needed. */
11741 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11742 int fnord () __attribute__((visibility("default")));
11745 int fnord () { return 42; }
11748 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11749 int status = $lt_dlunknown;
11753 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11756 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11757 else puts (dlerror ());
11759 /* dlclose (self); */
11767 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11768 (eval $ac_link) 2>&5
11770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11771 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11772 (./conftest; exit; ) >&5 2>/dev/null
11774 case x$lt_status in
11775 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11776 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11777 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11780 # compilation failed
11781 lt_cv_dlopen_self_static=no
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11789 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11792 CPPFLAGS="$save_CPPFLAGS"
11793 LDFLAGS="$save_LDFLAGS"
11798 case $lt_cv_dlopen_self in
11799 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11800 *) enable_dlopen_self=unknown ;;
11803 case $lt_cv_dlopen_self_static in
11804 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11805 *) enable_dlopen_self_static=unknown ;;
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11828 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11829 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11830 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11831 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11833 $as_echo "yes" >&6; }
11835 # FIXME - insert some real tests, host_os isn't really good enough
11838 if test -n "$STRIP" ; then
11839 striplib="$STRIP -x"
11840 old_striplib="$STRIP -S"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11842 $as_echo "yes" >&6; }
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11845 $as_echo "no" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11866 # Report which library types will actually be built
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11868 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11870 $as_echo "$can_build_shared" >&6; }
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11873 $as_echo_n "checking whether to build shared libraries... " >&6; }
11874 test "$can_build_shared" = "no" && enable_shared=no
11876 # On AIX, shared libraries and static libraries use the same namespace, and
11877 # are all built from PIC.
11880 test "$enable_shared" = yes && enable_static=no
11881 if test -n "$RANLIB"; then
11882 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11883 postinstall_cmds='$RANLIB $lib'
11888 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11889 test "$enable_shared" = yes && enable_static=no
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11894 $as_echo "$enable_shared" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11897 $as_echo_n "checking whether to build static libraries... " >&6; }
11898 # Make sure either enable_shared or enable_static is yes.
11899 test "$enable_shared" = yes || enable_static=yes
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11901 $as_echo "$enable_static" >&6; }
11908 ac_cpp='$CPP $CPPFLAGS'
11909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11929 ac_config_commands="$ac_config_commands libtool"
11934 # Only expand once:
11938 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11939 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11943 cat >>confdefs.h <<_ACEOF
11948 cat >>confdefs.h <<_ACEOF
11953 cat >>confdefs.h <<_ACEOF
11958 cat >>confdefs.h <<_ACEOF
11962 version_info="8:7:7"
11966 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11967 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11972 cat >>confdefs.h <<_ACEOF
11973 #define SHARED_LIB_SUFFIX "$shrext_cmds"
11977 ### Default options with respect to host
11984 MODULE_ARCH="$host_os-$host_cpu"
11989 MODULE_ARCH="$host_os-$host_cpu-1.0.0"
11995 requirement_edje=""
11999 cat >>confdefs.h <<_ACEOF
12000 #define MODULE_ARCH "${MODULE_ARCH}"
12004 ### Additional options to configure
12006 # Check whether --enable-amalgamation was given.
12007 if test "${enable_amalgamation+set}" = set; then :
12008 enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
12009 do_amalgamation="yes"
12011 do_amalgamation="no"
12015 do_amalgamation="no"
12019 if test "x${do_amalgamation}" = "xyes"; then
12020 EDJE_AMALGAMATION_TRUE=
12021 EDJE_AMALGAMATION_FALSE='#'
12023 EDJE_AMALGAMATION_TRUE='#'
12024 EDJE_AMALGAMATION_FALSE=
12033 # Check whether --with-edje-cc was given.
12034 if test "${with_edje_cc+set}" = set; then :
12035 withval=$with_edje_cc; _efl_with_binary=${withval}
12037 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12041 edje_cc=${_efl_with_binary}
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12043 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12045 with_binary_edje_cc=${_efl_with_binary}
12057 # Check whether --enable-edje-cc was given.
12058 if test "${enable_edje_cc+set}" = set; then :
12059 enableval=$enable_edje_cc;
12060 if test "x${enableval}" = "xyes" ; then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
12070 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
12072 $as_echo "$have_edje_cc" >&6; }
12074 if test "x$have_edje_cc" = "xyes"; then
12075 EDJE_CC_PRG=edje_cc${EXEEXT}
12080 if test "x$have_edje_cc" = "xyes"; then
12081 BUILD_EDJE_CC_TRUE=
12082 BUILD_EDJE_CC_FALSE='#'
12084 BUILD_EDJE_CC_TRUE='#'
12085 BUILD_EDJE_CC_FALSE=
12089 if test "x$have_edje_cc" = "xyes"; then :
12097 have_edje_decc="yes"
12100 # Check whether --enable-edje-decc was given.
12101 if test "${enable_edje_decc+set}" = set; then :
12102 enableval=$enable_edje_decc;
12103 if test "x${enableval}" = "xyes" ; then
12104 have_edje_decc="yes"
12106 have_edje_decc="no"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
12113 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
12115 $as_echo "$have_edje_decc" >&6; }
12117 if test "x$have_edje_decc" = "xyes"; then
12118 EDJE_DECC_PRG=edje_decc${EXEEXT}
12123 if test "x$have_edje_decc" = "xyes"; then
12124 BUILD_EDJE_DECC_TRUE=
12125 BUILD_EDJE_DECC_FALSE='#'
12127 BUILD_EDJE_DECC_TRUE='#'
12128 BUILD_EDJE_DECC_FALSE=
12132 if test "x$have_edje_decc" = "xyes"; then :
12140 have_edje_recc="yes"
12143 # Check whether --enable-edje-recc was given.
12144 if test "${enable_edje_recc+set}" = set; then :
12145 enableval=$enable_edje_recc;
12146 if test "x${enableval}" = "xyes" ; then
12147 have_edje_recc="yes"
12149 have_edje_recc="no"
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
12156 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
12158 $as_echo "$have_edje_recc" >&6; }
12160 if test "x$have_edje_recc" = "xyes"; then
12161 EDJE_RECC_PRG=edje_recc${EXEEXT}
12166 if test "x$have_edje_recc" = "xyes"; then
12167 BUILD_EDJE_RECC_TRUE=
12168 BUILD_EDJE_RECC_FALSE='#'
12170 BUILD_EDJE_RECC_TRUE='#'
12171 BUILD_EDJE_RECC_FALSE=
12175 if test "x$have_edje_recc" = "xyes"; then :
12183 have_edje_player="yes"
12186 # Check whether --enable-edje-player was given.
12187 if test "${enable_edje_player+set}" = set; then :
12188 enableval=$enable_edje_player;
12189 if test "x${enableval}" = "xyes" ; then
12190 have_edje_player="yes"
12192 have_edje_player="no"
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
12199 $as_echo_n "checking whether to build edje_player binary... " >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
12201 $as_echo "$have_edje_player" >&6; }
12203 if test "x$have_edje_player" = "xyes"; then
12204 EDJE_PLAYER_PRG=edje_player${EXEEXT}
12209 if test "x$have_edje_player" = "xyes"; then
12210 BUILD_EDJE_PLAYER_TRUE=
12211 BUILD_EDJE_PLAYER_FALSE='#'
12213 BUILD_EDJE_PLAYER_TRUE='#'
12214 BUILD_EDJE_PLAYER_FALSE=
12218 if test "x$have_edje_player" = "xyes"; then :
12226 have_edje_inspector="yes"
12229 # Check whether --enable-edje-inspector was given.
12230 if test "${enable_edje_inspector+set}" = set; then :
12231 enableval=$enable_edje_inspector;
12232 if test "x${enableval}" = "xyes" ; then
12233 have_edje_inspector="yes"
12235 have_edje_inspector="no"
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
12242 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
12244 $as_echo "$have_edje_inspector" >&6; }
12246 if test "x$have_edje_inspector" = "xyes"; then
12247 EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
12252 if test "x$have_edje_inspector" = "xyes"; then
12253 BUILD_EDJE_INSPECTOR_TRUE=
12254 BUILD_EDJE_INSPECTOR_FALSE='#'
12256 BUILD_EDJE_INSPECTOR_TRUE='#'
12257 BUILD_EDJE_INSPECTOR_FALSE=
12261 if test "x$have_edje_inspector" = "xyes"; then :
12269 have_edje_external_inspector="yes"
12272 # Check whether --enable-edje-external-inspector was given.
12273 if test "${enable_edje_external_inspector+set}" = set; then :
12274 enableval=$enable_edje_external_inspector;
12275 if test "x${enableval}" = "xyes" ; then
12276 have_edje_external_inspector="yes"
12278 have_edje_external_inspector="no"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
12285 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
12287 $as_echo "$have_edje_external_inspector" >&6; }
12289 if test "x$have_edje_external_inspector" = "xyes"; then
12290 EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
12295 if test "x$have_edje_external_inspector" = "xyes"; then
12296 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
12297 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
12299 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
12300 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
12304 if test "x$have_edje_external_inspector" = "xyes"; then :
12312 have_edje_watch="yes"
12315 # Check whether --enable-edje-watch was given.
12316 if test "${enable_edje_watch+set}" = set; then :
12317 enableval=$enable_edje_watch;
12318 if test "x${enableval}" = "xyes" ; then
12319 have_edje_watch="yes"
12321 have_edje_watch="no"
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
12328 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
12330 $as_echo "$have_edje_watch" >&6; }
12332 if test "x$have_edje_watch" = "xyes"; then
12333 EDJE_WATCH_PRG=edje_watch${EXEEXT}
12338 if test "x$have_edje_watch" = "xyes"; then
12339 BUILD_EDJE_WATCH_TRUE=
12340 BUILD_EDJE_WATCH_FALSE='#'
12342 BUILD_EDJE_WATCH_TRUE='#'
12343 BUILD_EDJE_WATCH_FALSE=
12347 if test "x$have_edje_watch" = "xyes"; then :
12353 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
12354 want_edje_program_cache="no"
12356 # Check whether --enable-edje-program-cache was given.
12357 if test "${enable_edje_program_cache+set}" = set; then :
12358 enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
12362 if test "x${want_edje_program_cache}" = "xyes"; then
12363 EDJE_PROGRAM_CACHE_TRUE=
12364 EDJE_PROGRAM_CACHE_FALSE='#'
12366 EDJE_PROGRAM_CACHE_TRUE='#'
12367 EDJE_PROGRAM_CACHE_FALSE=
12371 if test "x${want_edje_program_cache}" = "xyes" ; then
12373 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
12377 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
12378 want_edje_calc_cache="yes"
12380 # Check whether --enable-edje-calc-cache was given.
12381 if test "${enable_edje_calc_cache+set}" = set; then :
12382 enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
12386 if test "x${want_edje_calc_cache}" = "xyes"; then
12387 EDJE_CALC_CACHE_TRUE=
12388 EDJE_CALC_CACHE_FALSE='#'
12390 EDJE_CALC_CACHE_TRUE='#'
12391 EDJE_CALC_CACHE_FALSE=
12395 if test "x${want_edje_calc_cache}" = "xyes" ; then
12397 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
12401 # Enable Fixed Point use
12402 want_fixed_point="no"
12404 # Check whether --enable-fixed-point was given.
12405 if test "${enable_fixed_point+set}" = set; then :
12406 enableval=$enable_fixed_point; want_fixed_point=$enableval
12410 if test "x${want_fixed_point}" = "xyes"; then
12411 BUILD_EDJE_FP_TRUE=
12412 BUILD_EDJE_FP_FALSE='#'
12414 BUILD_EDJE_FP_TRUE='#'
12415 BUILD_EDJE_FP_FALSE=
12419 if test "x${want_fixed_point}" = "xyes" ; then
12421 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
12427 # Check whether --with-vim was given.
12428 if test "${with_vim+set}" = set; then :
12430 if test -d "${withval}"; then
12431 vimdir="${withval}"
12438 if test "x${vimdir}" = "x" ; then
12439 if test -d "${prefix}/share/vim"; then
12440 vimdir="${prefix}/share/vim"
12441 elif test -d "/usr/share/vim"; then
12442 vimdir="/usr/share/vim"
12443 elif test -d "/usr/local/share/vim"; then
12444 vimdir="/usr/local/share/vim"
12445 elif test -d "/opt/share/vim"; then
12446 vimdir="/opt/share/vim"
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
12453 $as_echo_n "checking for location of Vim data files... " >&6; }
12455 if test "${install_vim}" = "yes"; then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
12457 $as_echo "$vimdir" >&6; }
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
12460 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
12465 ### Checks for programs
12467 ac_cpp='$CPP $CPPFLAGS'
12468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12471 if test -n "$ac_tool_prefix"; then
12472 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12473 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12475 $as_echo_n "checking for $ac_word... " >&6; }
12476 if ${ac_cv_prog_CC+:} false; then :
12477 $as_echo_n "(cached) " >&6
12479 if test -n "$CC"; then
12480 ac_cv_prog_CC="$CC" # Let the user override the test.
12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12486 test -z "$as_dir" && as_dir=.
12487 for ac_exec_ext in '' $ac_executable_extensions; do
12488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12489 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12500 if test -n "$CC"; then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12502 $as_echo "$CC" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12505 $as_echo "no" >&6; }
12510 if test -z "$ac_cv_prog_CC"; then
12512 # Extract the first word of "gcc", so it can be a program name with args.
12513 set dummy gcc; ac_word=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12517 $as_echo_n "(cached) " >&6
12519 if test -n "$ac_ct_CC"; then
12520 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12523 for as_dir in $PATH
12526 test -z "$as_dir" && as_dir=.
12527 for ac_exec_ext in '' $ac_executable_extensions; do
12528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12529 ac_cv_prog_ac_ct_CC="gcc"
12530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12539 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12540 if test -n "$ac_ct_CC"; then
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12542 $as_echo "$ac_ct_CC" >&6; }
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12545 $as_echo "no" >&6; }
12548 if test "x$ac_ct_CC" = x; then
12551 case $cross_compiling:$ac_tool_warned in
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12555 ac_tool_warned=yes ;;
12560 CC="$ac_cv_prog_CC"
12563 if test -z "$CC"; then
12564 if test -n "$ac_tool_prefix"; then
12565 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12566 set dummy ${ac_tool_prefix}cc; ac_word=$2
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12568 $as_echo_n "checking for $ac_word... " >&6; }
12569 if ${ac_cv_prog_CC+:} false; then :
12570 $as_echo_n "(cached) " >&6
12572 if test -n "$CC"; then
12573 ac_cv_prog_CC="$CC" # Let the user override the test.
12575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12576 for as_dir in $PATH
12579 test -z "$as_dir" && as_dir=.
12580 for ac_exec_ext in '' $ac_executable_extensions; do
12581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12582 ac_cv_prog_CC="${ac_tool_prefix}cc"
12583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12593 if test -n "$CC"; then
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12595 $as_echo "$CC" >&6; }
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12598 $as_echo "no" >&6; }
12604 if test -z "$CC"; then
12605 # Extract the first word of "cc", so it can be a program name with args.
12606 set dummy cc; ac_word=$2
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12608 $as_echo_n "checking for $ac_word... " >&6; }
12609 if ${ac_cv_prog_CC+:} false; then :
12610 $as_echo_n "(cached) " >&6
12612 if test -n "$CC"; then
12613 ac_cv_prog_CC="$CC" # Let the user override the test.
12615 ac_prog_rejected=no
12616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12617 for as_dir in $PATH
12620 test -z "$as_dir" && as_dir=.
12621 for ac_exec_ext in '' $ac_executable_extensions; do
12622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12623 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12624 ac_prog_rejected=yes
12628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12635 if test $ac_prog_rejected = yes; then
12636 # We found a bogon in the path, so make sure we never use it.
12637 set dummy $ac_cv_prog_CC
12639 if test $# != 0; then
12640 # We chose a different compiler from the bogus one.
12641 # However, it has the same basename, so the bogon will be chosen
12642 # first if we set CC to just the basename; use the full file name.
12644 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12650 if test -n "$CC"; then
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12652 $as_echo "$CC" >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12655 $as_echo "no" >&6; }
12660 if test -z "$CC"; then
12661 if test -n "$ac_tool_prefix"; then
12662 for ac_prog in cl.exe
12664 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12667 $as_echo_n "checking for $ac_word... " >&6; }
12668 if ${ac_cv_prog_CC+:} false; then :
12669 $as_echo_n "(cached) " >&6
12671 if test -n "$CC"; then
12672 ac_cv_prog_CC="$CC" # Let the user override the test.
12674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12675 for as_dir in $PATH
12678 test -z "$as_dir" && as_dir=.
12679 for ac_exec_ext in '' $ac_executable_extensions; do
12680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12681 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12692 if test -n "$CC"; then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12694 $as_echo "$CC" >&6; }
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12697 $as_echo "no" >&6; }
12701 test -n "$CC" && break
12704 if test -z "$CC"; then
12706 for ac_prog in cl.exe
12708 # Extract the first word of "$ac_prog", so it can be a program name with args.
12709 set dummy $ac_prog; ac_word=$2
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12711 $as_echo_n "checking for $ac_word... " >&6; }
12712 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12713 $as_echo_n "(cached) " >&6
12715 if test -n "$ac_ct_CC"; then
12716 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12719 for as_dir in $PATH
12722 test -z "$as_dir" && as_dir=.
12723 for ac_exec_ext in '' $ac_executable_extensions; do
12724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12725 ac_cv_prog_ac_ct_CC="$ac_prog"
12726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12736 if test -n "$ac_ct_CC"; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12738 $as_echo "$ac_ct_CC" >&6; }
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12741 $as_echo "no" >&6; }
12745 test -n "$ac_ct_CC" && break
12748 if test "x$ac_ct_CC" = x; then
12751 case $cross_compiling:$ac_tool_warned in
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12755 ac_tool_warned=yes ;;
12764 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12766 as_fn_error $? "no acceptable C compiler found in \$PATH
12767 See \`config.log' for more details" "$LINENO" 5; }
12769 # Provide some information about the compiler.
12770 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12773 for ac_option in --version -v -V -qversion; do
12774 { { ac_try="$ac_compiler $ac_option >&5"
12775 case "(($ac_try" in
12776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12777 *) ac_try_echo=$ac_try;;
12779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12780 $as_echo "$ac_try_echo"; } >&5
12781 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12783 if test -s conftest.err; then
12785 ... rest of stderr output deleted ...
12786 10q' conftest.err >conftest.er1
12787 cat conftest.er1 >&5
12789 rm -f conftest.er1 conftest.err
12790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12791 test $ac_status = 0; }
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12795 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12796 if ${ac_cv_c_compiler_gnu+:} false; then :
12797 $as_echo_n "(cached) " >&6
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12813 if ac_fn_c_try_compile "$LINENO"; then :
12814 ac_compiler_gnu=yes
12818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12819 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12823 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12824 if test $ac_compiler_gnu = yes; then
12829 ac_test_CFLAGS=${CFLAGS+set}
12830 ac_save_CFLAGS=$CFLAGS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12832 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12833 if ${ac_cv_prog_cc_g+:} false; then :
12834 $as_echo_n "(cached) " >&6
12836 ac_save_c_werror_flag=$ac_c_werror_flag
12837 ac_c_werror_flag=yes
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12851 if ac_fn_c_try_compile "$LINENO"; then :
12852 ac_cv_prog_cc_g=yes
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12866 if ac_fn_c_try_compile "$LINENO"; then :
12869 ac_c_werror_flag=$ac_save_c_werror_flag
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12882 if ac_fn_c_try_compile "$LINENO"; then :
12883 ac_cv_prog_cc_g=yes
12885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890 ac_c_werror_flag=$ac_save_c_werror_flag
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12893 $as_echo "$ac_cv_prog_cc_g" >&6; }
12894 if test "$ac_test_CFLAGS" = set; then
12895 CFLAGS=$ac_save_CFLAGS
12896 elif test $ac_cv_prog_cc_g = yes; then
12897 if test "$GCC" = yes; then
12903 if test "$GCC" = yes; then
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12910 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12911 if ${ac_cv_prog_cc_c89+:} false; then :
12912 $as_echo_n "(cached) " >&6
12914 ac_cv_prog_cc_c89=no
12916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12918 #include <stdarg.h>
12920 #include <sys/types.h>
12921 #include <sys/stat.h>
12922 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12923 struct buf { int x; };
12924 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12925 static char *e (p, i)
12931 static char *f (char * (*g) (char **, int), char **p, ...)
12936 s = g (p, va_arg (v,int));
12941 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12942 function prototypes and stuff, but not '\xHH' hex character constants.
12943 These don't provoke an error unfortunately, instead are silently treated
12944 as 'x'. The following induces an error, until -std is added to get
12945 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12946 array size at least. It's necessary to write '\x00'==0 to get something
12947 that's true only with -std. */
12948 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12950 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12951 inside strings and character constants. */
12953 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12955 int test (int i, double x);
12956 struct s1 {int (*f) (int a);};
12957 struct s2 {int (*f) (double a);};
12958 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12964 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12969 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12970 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12972 CC="$ac_save_CC $ac_arg"
12973 if ac_fn_c_try_compile "$LINENO"; then :
12974 ac_cv_prog_cc_c89=$ac_arg
12976 rm -f core conftest.err conftest.$ac_objext
12977 test "x$ac_cv_prog_cc_c89" != "xno" && break
12979 rm -f conftest.$ac_ext
12984 case "x$ac_cv_prog_cc_c89" in
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12987 $as_echo "none needed" >&6; } ;;
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12990 $as_echo "unsupported" >&6; } ;;
12992 CC="$CC $ac_cv_prog_cc_c89"
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12994 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12996 if test "x$ac_cv_prog_cc_c89" != xno; then :
13001 ac_cpp='$CPP $CPPFLAGS'
13002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13006 depcc="$CC" am_compiler_list=
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13009 $as_echo_n "checking dependency style of $depcc... " >&6; }
13010 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13011 $as_echo_n "(cached) " >&6
13013 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13014 # We make a subdir and do the tests there. Otherwise we can end up
13015 # making bogus files that we don't know about and never remove. For
13016 # instance it was reported that on HP-UX the gcc test will end up
13017 # making a dummy file named `D' -- because `-MD' means `put the output
13019 rm -rf conftest.dir
13021 # Copy depcomp to subdir because otherwise we won't find it if we're
13022 # using a relative directory.
13023 cp "$am_depcomp" conftest.dir
13025 # We will build objects and dependencies in a subdirectory because
13026 # it helps to detect inapplicable dependency modes. For instance
13027 # both Tru64's cc and ICC support -MD to output dependencies as a
13028 # side effect of compilation, but ICC will put the dependencies in
13029 # the current directory while Tru64 will put them in the object
13033 am_cv_CC_dependencies_compiler_type=none
13034 if test "$am_compiler_list" = ""; then
13035 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13037 am__universal=false
13038 case " $depcc " in #(
13039 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13042 for depmode in $am_compiler_list; do
13043 # Setup a source with many dependencies, because some compilers
13044 # like to wrap large dependency lists on column 80 (with \), and
13045 # we should not choose a depcomp mode which is confused by this.
13047 # We need to recreate these files for each test, as the compiler may
13048 # overwrite some of them when testing with obscure command lines.
13049 # This happens at least with the AIX C compiler.
13051 for i in 1 2 3 4 5 6; do
13052 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13053 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13054 # Solaris 8's {/usr,}/bin/sh.
13055 touch sub/conftst$i.h
13057 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13059 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13060 # mode. It turns out that the SunPro C++ compiler does not properly
13061 # handle `-M -o', and we need to detect this. Also, some Intel
13062 # versions had trouble with output in subdirs
13063 am__obj=sub/conftest.${OBJEXT-o}
13064 am__minus_obj="-o $am__obj"
13067 # This depmode causes a compiler race in universal mode.
13068 test "$am__universal" = false || continue
13071 # after this tag, mechanisms are not by side-effect, so they'll
13072 # only be used when explicitly requested
13073 if test "x$enable_dependency_tracking" = xyes; then
13079 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13080 # This compiler won't grok `-c -o', but also, the minuso test has
13081 # not run yet. These depmodes are late enough in the game, and
13082 # so weak that their functioning should not be impacted.
13083 am__obj=conftest.${OBJEXT-o}
13088 if depmode=$depmode \
13089 source=sub/conftest.c object=$am__obj \
13090 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13091 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13092 >/dev/null 2>conftest.err &&
13093 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13094 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13095 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13096 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13097 # icc doesn't choke on unknown options, it will just issue warnings
13098 # or remarks (even with -Werror). So we grep stderr for any message
13099 # that says an option was ignored or not supported.
13100 # When given -MP, icc 7.0 and 7.1 complain thusly:
13101 # icc: Command line warning: ignoring option '-M'; no argument required
13102 # The diagnosis changed in icc 8.0:
13103 # icc: Command line remark: option '-MP' not supported
13104 if (grep 'ignoring option' conftest.err ||
13105 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13106 am_cv_CC_dependencies_compiler_type=$depmode
13113 rm -rf conftest.dir
13115 am_cv_CC_dependencies_compiler_type=none
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13120 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13121 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13124 test "x$enable_dependency_tracking" != xno \
13125 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13126 am__fastdepCC_TRUE=
13127 am__fastdepCC_FALSE='#'
13129 am__fastdepCC_TRUE='#'
13130 am__fastdepCC_FALSE=
13135 # doxygen program for documentation building
13139 # Check whether --enable-doc was given.
13140 if test "${enable_doc+set}" = set; then :
13141 enableval=$enable_doc;
13142 if test "x${enableval}" = "xyes" ; then
13143 efl_enable_doc="yes"
13145 efl_enable_doc="no"
13149 efl_enable_doc="yes"
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13154 $as_echo_n "checking whether to build documentation... " >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13156 $as_echo "${efl_enable_doc}" >&6; }
13158 if test "x${efl_enable_doc}" = "xyes" ; then
13161 efl_doxygen="doxygen"
13164 # Check whether --with-doxygen was given.
13165 if test "${with_doxygen+set}" = set; then :
13166 withval=$with_doxygen;
13167 efl_doxygen=${withval}
13168 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13169 set dummy ${efl_doxygen}; ac_word=$2
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13171 $as_echo_n "checking for $ac_word... " >&6; }
13172 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13173 $as_echo_n "(cached) " >&6
13175 if test -n "$efl_have_doxygen"; then
13176 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13179 for as_dir in $PATH
13182 test -z "$as_dir" && as_dir=.
13183 for ac_exec_ext in '' $ac_executable_extensions; do
13184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13185 ac_cv_prog_efl_have_doxygen="yes"
13186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13193 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13196 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13197 if test -n "$efl_have_doxygen"; then
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13199 $as_echo "$efl_have_doxygen" >&6; }
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13202 $as_echo "no" >&6; }
13206 if test "x${efl_have_doxygen}" = "xno" ; then
13208 echo "The doxygen program you specified:"
13209 echo "${efl_doxygen}"
13210 echo "was not found. Please check the path and make sure "
13211 echo "the program exists and is executable."
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13213 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13217 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13218 set dummy ${efl_doxygen}; ac_word=$2
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13220 $as_echo_n "checking for $ac_word... " >&6; }
13221 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13222 $as_echo_n "(cached) " >&6
13224 if test -n "$efl_have_doxygen"; then
13225 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13228 for as_dir in $PATH
13231 test -z "$as_dir" && as_dir=.
13232 for ac_exec_ext in '' $ac_executable_extensions; do
13233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13234 ac_cv_prog_efl_have_doxygen="yes"
13235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13242 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13245 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13246 if test -n "$efl_have_doxygen"; then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13248 $as_echo "$efl_have_doxygen" >&6; }
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13251 $as_echo "no" >&6; }
13255 if test "x${efl_have_doxygen}" = "xno" ; then
13257 echo "The doxygen program was not found in your execute path."
13258 echo "You may have doxygen installed somewhere not covered by your path."
13260 echo "If this is the case make sure you have the packages installed, AND"
13261 echo "that the doxygen program is in your execute path (see your"
13262 echo "shell manual page on setting the \$PATH environment variable), OR"
13263 echo "alternatively, specify the program to use with --with-doxygen."
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13265 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13274 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13275 efl_enable_doc="no"
13278 if test "x${efl_enable_doc}" = "xyes"; then
13279 EFL_BUILD_DOC_TRUE=
13280 EFL_BUILD_DOC_FALSE='#'
13282 EFL_BUILD_DOC_TRUE='#'
13283 EFL_BUILD_DOC_FALSE=
13287 if test "x${efl_enable_doc}" = "xyes" ; then
13303 if test -n "$PYTHON"; then
13304 # If the user set $PYTHON, use it and don't search something else.
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
13306 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
13308 # split strings by '.' and convert to numeric. Append some zeros
13309 # because we need at least 4 digits for the hex conversion.
13310 # map returns an iterator in Python 3.0 and a list in 2.x
13311 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13313 # xrange is not present in Python 3.0 and range returns an iterator
13314 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13315 sys.exit(sys.hexversion < minverhex)"
13316 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13317 ($PYTHON -c "$prog") >&5 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; then :
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13322 $as_echo "yes" >&6; }
13324 as_fn_error $? "too old" "$LINENO" 5
13326 am_display_PYTHON=$PYTHON
13328 # Otherwise, try each interpreter until we find one that satisfies
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
13331 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
13332 if ${am_cv_pathless_PYTHON+:} false; then :
13333 $as_echo_n "(cached) " >&6
13336 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
13337 test "$am_cv_pathless_PYTHON" = none && break
13339 # split strings by '.' and convert to numeric. Append some zeros
13340 # because we need at least 4 digits for the hex conversion.
13341 # map returns an iterator in Python 3.0 and a list in 2.x
13342 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13344 # xrange is not present in Python 3.0 and range returns an iterator
13345 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13346 sys.exit(sys.hexversion < minverhex)"
13347 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13348 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); }; then :
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13357 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13358 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13359 if test "$am_cv_pathless_PYTHON" = none; then
13362 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13363 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13365 $as_echo_n "checking for $ac_word... " >&6; }
13366 if ${ac_cv_path_PYTHON+:} false; then :
13367 $as_echo_n "(cached) " >&6
13371 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13375 for as_dir in $PATH
13378 test -z "$as_dir" && as_dir=.
13379 for ac_exec_ext in '' $ac_executable_extensions; do
13380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13381 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13392 PYTHON=$ac_cv_path_PYTHON
13393 if test -n "$PYTHON"; then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13395 $as_echo "$PYTHON" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13398 $as_echo "no" >&6; }
13403 am_display_PYTHON=$am_cv_pathless_PYTHON
13407 if test "$PYTHON" = :; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13413 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13414 if ${am_cv_python_version+:} false; then :
13415 $as_echo_n "(cached) " >&6
13417 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13420 $as_echo "$am_cv_python_version" >&6; }
13421 PYTHON_VERSION=$am_cv_python_version
13425 PYTHON_PREFIX='${prefix}'
13427 PYTHON_EXEC_PREFIX='${exec_prefix}'
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13432 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13433 if ${am_cv_python_platform+:} false; then :
13434 $as_echo_n "(cached) " >&6
13436 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13439 $as_echo "$am_cv_python_platform" >&6; }
13440 PYTHON_PLATFORM=$am_cv_python_platform
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13446 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13447 if ${am_cv_python_pythondir+:} false; then :
13448 $as_echo_n "(cached) " >&6
13450 if test "x$prefix" = xNONE
13452 am_py_prefix=$ac_default_prefix
13454 am_py_prefix=$prefix
13456 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`
13457 case $am_cv_python_pythondir in
13459 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13460 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13463 case $am_py_prefix in
13466 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13474 $as_echo "$am_cv_python_pythondir" >&6; }
13475 pythondir=$am_cv_python_pythondir
13479 pkgpythondir=\${pythondir}/$PACKAGE
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13483 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13484 if ${am_cv_python_pyexecdir+:} false; then :
13485 $as_echo_n "(cached) " >&6
13487 if test "x$exec_prefix" = xNONE
13489 am_py_exec_prefix=$am_py_prefix
13491 am_py_exec_prefix=$exec_prefix
13493 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`
13494 case $am_cv_python_pyexecdir in
13495 $am_py_exec_prefix*)
13496 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13497 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13500 case $am_py_exec_prefix in
13503 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13511 $as_echo "$am_cv_python_pyexecdir" >&6; }
13512 pyexecdir=$am_cv_python_pyexecdir
13516 pkgpyexecdir=\${pyexecdir}/$PACKAGE
13523 if test "$PYTHON" != : ; then
13525 HAVE_PYTHON_FALSE='#'
13527 HAVE_PYTHON_TRUE='#'
13540 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13541 if test -n "$ac_tool_prefix"; then
13542 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13543 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13545 $as_echo_n "checking for $ac_word... " >&6; }
13546 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13547 $as_echo_n "(cached) " >&6
13549 case $PKG_CONFIG in
13551 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13555 for as_dir in $PATH
13558 test -z "$as_dir" && as_dir=.
13559 for ac_exec_ext in '' $ac_executable_extensions; do
13560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13561 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13572 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13573 if test -n "$PKG_CONFIG"; then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13575 $as_echo "$PKG_CONFIG" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13578 $as_echo "no" >&6; }
13583 if test -z "$ac_cv_path_PKG_CONFIG"; then
13584 ac_pt_PKG_CONFIG=$PKG_CONFIG
13585 # Extract the first word of "pkg-config", so it can be a program name with args.
13586 set dummy pkg-config; ac_word=$2
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13588 $as_echo_n "checking for $ac_word... " >&6; }
13589 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13590 $as_echo_n "(cached) " >&6
13592 case $ac_pt_PKG_CONFIG in
13594 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13598 for as_dir in $PATH
13601 test -z "$as_dir" && as_dir=.
13602 for ac_exec_ext in '' $ac_executable_extensions; do
13603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13604 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13615 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13616 if test -n "$ac_pt_PKG_CONFIG"; then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13618 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13621 $as_echo "no" >&6; }
13624 if test "x$ac_pt_PKG_CONFIG" = x; then
13627 case $cross_compiling:$ac_tool_warned in
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13631 ac_tool_warned=yes ;;
13633 PKG_CONFIG=$ac_pt_PKG_CONFIG
13636 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13640 if test -n "$PKG_CONFIG"; then
13641 _pkg_min_version=0.9.0
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13643 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13644 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13646 $as_echo "yes" >&6; }
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13649 $as_echo "no" >&6; }
13654 # Check whether pkg-config supports Requires.private
13656 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13657 pkgconfig_requires_private="Requires.private"
13659 pkgconfig_requires_private="Requires"
13664 ### Checks for libraries
13666 # Evil library for compilation on Windows
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13674 $as_echo_n "checking for EVIL... " >&6; }
13676 if test -n "$EVIL_CFLAGS"; then
13677 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13678 elif test -n "$PKG_CONFIG"; then
13679 if test -n "$PKG_CONFIG" && \
13680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
13681 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
13683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13684 test $ac_status = 0; }; then
13685 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.7.7" 2>/dev/null`
13692 if test -n "$EVIL_LIBS"; then
13693 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13694 elif test -n "$PKG_CONFIG"; then
13695 if test -n "$PKG_CONFIG" && \
13696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.7.7\""; } >&5
13697 ($PKG_CONFIG --exists --print-errors "evil >= 1.7.7") 2>&5
13699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13700 test $ac_status = 0; }; then
13701 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.7.7" 2>/dev/null`
13711 if test $pkg_failed = yes; then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 $as_echo "no" >&6; }
13715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13716 _pkg_short_errors_supported=yes
13718 _pkg_short_errors_supported=no
13720 if test $_pkg_short_errors_supported = yes; then
13721 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.7.7" 2>&1`
13723 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.7.7" 2>&1`
13725 # Put the nasty error message in config.log where it belongs
13726 echo "$EVIL_PKG_ERRORS" >&5
13728 as_fn_error $? "Package requirements (evil >= 1.7.7) were not met:
13732 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13733 installed software in a non-standard prefix.
13735 Alternatively, you may set the environment variables EVIL_CFLAGS
13736 and EVIL_LIBS to avoid the need to call pkg-config.
13737 See the pkg-config man page for more details." "$LINENO" 5
13739 elif test $pkg_failed = untried; then
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741 $as_echo "no" >&6; }
13742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13744 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13745 is in your PATH or set the PKG_CONFIG environment variable to the full
13746 path to pkg-config.
13748 Alternatively, you may set the environment variables EVIL_CFLAGS
13749 and EVIL_LIBS to avoid the need to call pkg-config.
13750 See the pkg-config man page for more details.
13752 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13753 See \`config.log' for more details" "$LINENO" 5; }
13756 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13757 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13759 $as_echo "yes" >&6; }
13763 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13765 requirement_edje="evil ${requirement_edje}"
13766 EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
13771 # Dependencies for the library
13773 # Lua pkg-config hack for different naming conventions
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13780 $as_echo_n "checking for LUA... " >&6; }
13782 if test -n "$LUA_CFLAGS"; then
13783 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13784 elif test -n "$PKG_CONFIG"; then
13785 if test -n "$PKG_CONFIG" && \
13786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13787 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13790 test $ac_status = 0; }; then
13791 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
13798 if test -n "$LUA_LIBS"; then
13799 pkg_cv_LUA_LIBS="$LUA_LIBS"
13800 elif test -n "$PKG_CONFIG"; then
13801 if test -n "$PKG_CONFIG" && \
13802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13803 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13806 test $ac_status = 0; }; then
13807 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
13817 if test $pkg_failed = yes; then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13819 $as_echo "no" >&6; }
13821 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13822 _pkg_short_errors_supported=yes
13824 _pkg_short_errors_supported=no
13826 if test $_pkg_short_errors_supported = yes; then
13827 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.1.0" 2>&1`
13829 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0" 2>&1`
13831 # Put the nasty error message in config.log where it belongs
13832 echo "$LUA_PKG_ERRORS" >&5
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13837 $as_echo_n "checking for LUA... " >&6; }
13839 if test -n "$LUA_CFLAGS"; then
13840 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13841 elif test -n "$PKG_CONFIG"; then
13842 if test -n "$PKG_CONFIG" && \
13843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13844 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13847 test $ac_status = 0; }; then
13848 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13855 if test -n "$LUA_LIBS"; then
13856 pkg_cv_LUA_LIBS="$LUA_LIBS"
13857 elif test -n "$PKG_CONFIG"; then
13858 if test -n "$PKG_CONFIG" && \
13859 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13860 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13863 test $ac_status = 0; }; then
13864 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13874 if test $pkg_failed = yes; then
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13876 $as_echo "no" >&6; }
13878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13879 _pkg_short_errors_supported=yes
13881 _pkg_short_errors_supported=no
13883 if test $_pkg_short_errors_supported = yes; then
13884 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
13886 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
13888 # Put the nasty error message in config.log where it belongs
13889 echo "$LUA_PKG_ERRORS" >&5
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13894 $as_echo_n "checking for LUA... " >&6; }
13896 if test -n "$LUA_CFLAGS"; then
13897 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13898 elif test -n "$PKG_CONFIG"; then
13899 if test -n "$PKG_CONFIG" && \
13900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13901 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904 test $ac_status = 0; }; then
13905 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13912 if test -n "$LUA_LIBS"; then
13913 pkg_cv_LUA_LIBS="$LUA_LIBS"
13914 elif test -n "$PKG_CONFIG"; then
13915 if test -n "$PKG_CONFIG" && \
13916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13917 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13920 test $ac_status = 0; }; then
13921 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13931 if test $pkg_failed = yes; then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13933 $as_echo "no" >&6; }
13935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13936 _pkg_short_errors_supported=yes
13938 _pkg_short_errors_supported=no
13940 if test $_pkg_short_errors_supported = yes; then
13941 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13943 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
13945 # Put the nasty error message in config.log where it belongs
13946 echo "$LUA_PKG_ERRORS" >&5
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13951 $as_echo_n "checking for LUA... " >&6; }
13953 if test -n "$LUA_CFLAGS"; then
13954 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13955 elif test -n "$PKG_CONFIG"; then
13956 if test -n "$PKG_CONFIG" && \
13957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13958 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13961 test $ac_status = 0; }; then
13962 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13969 if test -n "$LUA_LIBS"; then
13970 pkg_cv_LUA_LIBS="$LUA_LIBS"
13971 elif test -n "$PKG_CONFIG"; then
13972 if test -n "$PKG_CONFIG" && \
13973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13974 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13977 test $ac_status = 0; }; then
13978 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13988 if test $pkg_failed = yes; then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13990 $as_echo "no" >&6; }
13992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13993 _pkg_short_errors_supported=yes
13995 _pkg_short_errors_supported=no
13997 if test $_pkg_short_errors_supported = yes; then
13998 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14000 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14002 # Put the nasty error message in config.log where it belongs
14003 echo "$LUA_PKG_ERRORS" >&5
14006 elif test $pkg_failed = untried; then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14011 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14012 LUA_LIBS=$pkg_cv_LUA_LIBS
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14014 $as_echo "yes" >&6; }
14015 requirement_lua="lua51"
14017 elif test $pkg_failed = untried; then
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14019 $as_echo "no" >&6; }
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14023 $as_echo_n "checking for LUA... " >&6; }
14025 if test -n "$LUA_CFLAGS"; then
14026 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14027 elif test -n "$PKG_CONFIG"; then
14028 if test -n "$PKG_CONFIG" && \
14029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14030 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14033 test $ac_status = 0; }; then
14034 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14041 if test -n "$LUA_LIBS"; then
14042 pkg_cv_LUA_LIBS="$LUA_LIBS"
14043 elif test -n "$PKG_CONFIG"; then
14044 if test -n "$PKG_CONFIG" && \
14045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14046 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14049 test $ac_status = 0; }; then
14050 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14060 if test $pkg_failed = yes; then
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14062 $as_echo "no" >&6; }
14064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14065 _pkg_short_errors_supported=yes
14067 _pkg_short_errors_supported=no
14069 if test $_pkg_short_errors_supported = yes; then
14070 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14072 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14074 # Put the nasty error message in config.log where it belongs
14075 echo "$LUA_PKG_ERRORS" >&5
14078 elif test $pkg_failed = untried; then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14080 $as_echo "no" >&6; }
14083 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14084 LUA_LIBS=$pkg_cv_LUA_LIBS
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14086 $as_echo "yes" >&6; }
14087 requirement_lua="lua51"
14090 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14091 LUA_LIBS=$pkg_cv_LUA_LIBS
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14093 $as_echo "yes" >&6; }
14094 requirement_lua="lua-5.1"
14096 elif test $pkg_failed = untried; then
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14098 $as_echo "no" >&6; }
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14102 $as_echo_n "checking for LUA... " >&6; }
14104 if test -n "$LUA_CFLAGS"; then
14105 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14106 elif test -n "$PKG_CONFIG"; then
14107 if test -n "$PKG_CONFIG" && \
14108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14109 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14112 test $ac_status = 0; }; then
14113 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14120 if test -n "$LUA_LIBS"; then
14121 pkg_cv_LUA_LIBS="$LUA_LIBS"
14122 elif test -n "$PKG_CONFIG"; then
14123 if test -n "$PKG_CONFIG" && \
14124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14125 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14128 test $ac_status = 0; }; then
14129 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14139 if test $pkg_failed = yes; then
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14141 $as_echo "no" >&6; }
14143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14144 _pkg_short_errors_supported=yes
14146 _pkg_short_errors_supported=no
14148 if test $_pkg_short_errors_supported = yes; then
14149 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14151 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14153 # Put the nasty error message in config.log where it belongs
14154 echo "$LUA_PKG_ERRORS" >&5
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14159 $as_echo_n "checking for LUA... " >&6; }
14161 if test -n "$LUA_CFLAGS"; then
14162 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14163 elif test -n "$PKG_CONFIG"; then
14164 if test -n "$PKG_CONFIG" && \
14165 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14166 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14169 test $ac_status = 0; }; then
14170 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14177 if test -n "$LUA_LIBS"; then
14178 pkg_cv_LUA_LIBS="$LUA_LIBS"
14179 elif test -n "$PKG_CONFIG"; then
14180 if test -n "$PKG_CONFIG" && \
14181 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14182 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14185 test $ac_status = 0; }; then
14186 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14196 if test $pkg_failed = yes; then
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14198 $as_echo "no" >&6; }
14200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14201 _pkg_short_errors_supported=yes
14203 _pkg_short_errors_supported=no
14205 if test $_pkg_short_errors_supported = yes; then
14206 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14208 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14210 # Put the nasty error message in config.log where it belongs
14211 echo "$LUA_PKG_ERRORS" >&5
14214 elif test $pkg_failed = untried; then
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14216 $as_echo "no" >&6; }
14219 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14220 LUA_LIBS=$pkg_cv_LUA_LIBS
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14222 $as_echo "yes" >&6; }
14223 requirement_lua="lua51"
14225 elif test $pkg_failed = untried; then
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14227 $as_echo "no" >&6; }
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14231 $as_echo_n "checking for LUA... " >&6; }
14233 if test -n "$LUA_CFLAGS"; then
14234 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14235 elif test -n "$PKG_CONFIG"; then
14236 if test -n "$PKG_CONFIG" && \
14237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14238 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14241 test $ac_status = 0; }; then
14242 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14249 if test -n "$LUA_LIBS"; then
14250 pkg_cv_LUA_LIBS="$LUA_LIBS"
14251 elif test -n "$PKG_CONFIG"; then
14252 if test -n "$PKG_CONFIG" && \
14253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14254 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14257 test $ac_status = 0; }; then
14258 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14268 if test $pkg_failed = yes; then
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14270 $as_echo "no" >&6; }
14272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14273 _pkg_short_errors_supported=yes
14275 _pkg_short_errors_supported=no
14277 if test $_pkg_short_errors_supported = yes; then
14278 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14280 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14282 # Put the nasty error message in config.log where it belongs
14283 echo "$LUA_PKG_ERRORS" >&5
14286 elif test $pkg_failed = untried; then
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14288 $as_echo "no" >&6; }
14291 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14292 LUA_LIBS=$pkg_cv_LUA_LIBS
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14294 $as_echo "yes" >&6; }
14295 requirement_lua="lua51"
14298 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14299 LUA_LIBS=$pkg_cv_LUA_LIBS
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14301 $as_echo "yes" >&6; }
14302 requirement_lua="lua-5.1"
14305 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14306 LUA_LIBS=$pkg_cv_LUA_LIBS
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14308 $as_echo "yes" >&6; }
14309 requirement_lua="lua5.1"
14311 elif test $pkg_failed = untried; then
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14313 $as_echo "no" >&6; }
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14317 $as_echo_n "checking for LUA... " >&6; }
14319 if test -n "$LUA_CFLAGS"; then
14320 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14321 elif test -n "$PKG_CONFIG"; then
14322 if test -n "$PKG_CONFIG" && \
14323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14324 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14327 test $ac_status = 0; }; then
14328 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
14335 if test -n "$LUA_LIBS"; then
14336 pkg_cv_LUA_LIBS="$LUA_LIBS"
14337 elif test -n "$PKG_CONFIG"; then
14338 if test -n "$PKG_CONFIG" && \
14339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14340 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14343 test $ac_status = 0; }; then
14344 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
14354 if test $pkg_failed = yes; then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14356 $as_echo "no" >&6; }
14358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14359 _pkg_short_errors_supported=yes
14361 _pkg_short_errors_supported=no
14363 if test $_pkg_short_errors_supported = yes; then
14364 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >= 5.1.0" 2>&1`
14366 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0" 2>&1`
14368 # Put the nasty error message in config.log where it belongs
14369 echo "$LUA_PKG_ERRORS" >&5
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14374 $as_echo_n "checking for LUA... " >&6; }
14376 if test -n "$LUA_CFLAGS"; then
14377 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14378 elif test -n "$PKG_CONFIG"; then
14379 if test -n "$PKG_CONFIG" && \
14380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14381 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14384 test $ac_status = 0; }; then
14385 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14392 if test -n "$LUA_LIBS"; then
14393 pkg_cv_LUA_LIBS="$LUA_LIBS"
14394 elif test -n "$PKG_CONFIG"; then
14395 if test -n "$PKG_CONFIG" && \
14396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14397 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14400 test $ac_status = 0; }; then
14401 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14411 if test $pkg_failed = yes; then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14413 $as_echo "no" >&6; }
14415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14416 _pkg_short_errors_supported=yes
14418 _pkg_short_errors_supported=no
14420 if test $_pkg_short_errors_supported = yes; then
14421 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14423 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14425 # Put the nasty error message in config.log where it belongs
14426 echo "$LUA_PKG_ERRORS" >&5
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14431 $as_echo_n "checking for LUA... " >&6; }
14433 if test -n "$LUA_CFLAGS"; then
14434 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14435 elif test -n "$PKG_CONFIG"; then
14436 if test -n "$PKG_CONFIG" && \
14437 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14438 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14441 test $ac_status = 0; }; then
14442 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14449 if test -n "$LUA_LIBS"; then
14450 pkg_cv_LUA_LIBS="$LUA_LIBS"
14451 elif test -n "$PKG_CONFIG"; then
14452 if test -n "$PKG_CONFIG" && \
14453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14454 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14457 test $ac_status = 0; }; then
14458 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14468 if test $pkg_failed = yes; then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14473 _pkg_short_errors_supported=yes
14475 _pkg_short_errors_supported=no
14477 if test $_pkg_short_errors_supported = yes; then
14478 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14480 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14482 # Put the nasty error message in config.log where it belongs
14483 echo "$LUA_PKG_ERRORS" >&5
14486 elif test $pkg_failed = untried; then
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14488 $as_echo "no" >&6; }
14491 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14492 LUA_LIBS=$pkg_cv_LUA_LIBS
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14494 $as_echo "yes" >&6; }
14495 requirement_lua="lua51"
14497 elif test $pkg_failed = untried; then
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14499 $as_echo "no" >&6; }
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14503 $as_echo_n "checking for LUA... " >&6; }
14505 if test -n "$LUA_CFLAGS"; then
14506 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14507 elif test -n "$PKG_CONFIG"; then
14508 if test -n "$PKG_CONFIG" && \
14509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14510 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14513 test $ac_status = 0; }; then
14514 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14521 if test -n "$LUA_LIBS"; then
14522 pkg_cv_LUA_LIBS="$LUA_LIBS"
14523 elif test -n "$PKG_CONFIG"; then
14524 if test -n "$PKG_CONFIG" && \
14525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14526 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14529 test $ac_status = 0; }; then
14530 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14540 if test $pkg_failed = yes; then
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14542 $as_echo "no" >&6; }
14544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14545 _pkg_short_errors_supported=yes
14547 _pkg_short_errors_supported=no
14549 if test $_pkg_short_errors_supported = yes; then
14550 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14552 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14554 # Put the nasty error message in config.log where it belongs
14555 echo "$LUA_PKG_ERRORS" >&5
14558 elif test $pkg_failed = untried; then
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14560 $as_echo "no" >&6; }
14563 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14564 LUA_LIBS=$pkg_cv_LUA_LIBS
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14566 $as_echo "yes" >&6; }
14567 requirement_lua="lua51"
14570 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14571 LUA_LIBS=$pkg_cv_LUA_LIBS
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14573 $as_echo "yes" >&6; }
14574 requirement_lua="lua-5.1"
14576 elif test $pkg_failed = untried; then
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14578 $as_echo "no" >&6; }
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14582 $as_echo_n "checking for LUA... " >&6; }
14584 if test -n "$LUA_CFLAGS"; then
14585 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14586 elif test -n "$PKG_CONFIG"; then
14587 if test -n "$PKG_CONFIG" && \
14588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14589 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14592 test $ac_status = 0; }; then
14593 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14600 if test -n "$LUA_LIBS"; then
14601 pkg_cv_LUA_LIBS="$LUA_LIBS"
14602 elif test -n "$PKG_CONFIG"; then
14603 if test -n "$PKG_CONFIG" && \
14604 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14605 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14608 test $ac_status = 0; }; then
14609 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14619 if test $pkg_failed = yes; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14621 $as_echo "no" >&6; }
14623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14624 _pkg_short_errors_supported=yes
14626 _pkg_short_errors_supported=no
14628 if test $_pkg_short_errors_supported = yes; then
14629 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14631 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua-5.1 >= 5.1.0" 2>&1`
14633 # Put the nasty error message in config.log where it belongs
14634 echo "$LUA_PKG_ERRORS" >&5
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14639 $as_echo_n "checking for LUA... " >&6; }
14641 if test -n "$LUA_CFLAGS"; then
14642 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14643 elif test -n "$PKG_CONFIG"; then
14644 if test -n "$PKG_CONFIG" && \
14645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14646 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14649 test $ac_status = 0; }; then
14650 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14657 if test -n "$LUA_LIBS"; then
14658 pkg_cv_LUA_LIBS="$LUA_LIBS"
14659 elif test -n "$PKG_CONFIG"; then
14660 if test -n "$PKG_CONFIG" && \
14661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14662 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14665 test $ac_status = 0; }; then
14666 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14676 if test $pkg_failed = yes; then
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14678 $as_echo "no" >&6; }
14680 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14681 _pkg_short_errors_supported=yes
14683 _pkg_short_errors_supported=no
14685 if test $_pkg_short_errors_supported = yes; then
14686 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14688 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14690 # Put the nasty error message in config.log where it belongs
14691 echo "$LUA_PKG_ERRORS" >&5
14694 elif test $pkg_failed = untried; then
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696 $as_echo "no" >&6; }
14699 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14700 LUA_LIBS=$pkg_cv_LUA_LIBS
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14702 $as_echo "yes" >&6; }
14703 requirement_lua="lua51"
14705 elif test $pkg_failed = untried; then
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14707 $as_echo "no" >&6; }
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14711 $as_echo_n "checking for LUA... " >&6; }
14713 if test -n "$LUA_CFLAGS"; then
14714 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14715 elif test -n "$PKG_CONFIG"; then
14716 if test -n "$PKG_CONFIG" && \
14717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14718 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14721 test $ac_status = 0; }; then
14722 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14729 if test -n "$LUA_LIBS"; then
14730 pkg_cv_LUA_LIBS="$LUA_LIBS"
14731 elif test -n "$PKG_CONFIG"; then
14732 if test -n "$PKG_CONFIG" && \
14733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14734 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14737 test $ac_status = 0; }; then
14738 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14748 if test $pkg_failed = yes; then
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14750 $as_echo "no" >&6; }
14752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14753 _pkg_short_errors_supported=yes
14755 _pkg_short_errors_supported=no
14757 if test $_pkg_short_errors_supported = yes; then
14758 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua51 >= 5.1.0" 2>&1`
14760 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua51 >= 5.1.0" 2>&1`
14762 # Put the nasty error message in config.log where it belongs
14763 echo "$LUA_PKG_ERRORS" >&5
14766 elif test $pkg_failed = untried; then
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14768 $as_echo "no" >&6; }
14771 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14772 LUA_LIBS=$pkg_cv_LUA_LIBS
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14774 $as_echo "yes" >&6; }
14775 requirement_lua="lua51"
14778 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14779 LUA_LIBS=$pkg_cv_LUA_LIBS
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14781 $as_echo "yes" >&6; }
14782 requirement_lua="lua-5.1"
14785 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14786 LUA_LIBS=$pkg_cv_LUA_LIBS
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14788 $as_echo "yes" >&6; }
14789 requirement_lua="lua5.1"
14792 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14793 LUA_LIBS=$pkg_cv_LUA_LIBS
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14796 requirement_lua="lua"
14799 if test "x${have_lua}" = "xno" ; then
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
14801 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
14803 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
14804 if ${ac_cv_lib_lua_lua_newstate+:} false; then :
14805 $as_echo_n "(cached) " >&6
14807 ac_check_lib_save_LIBS=$LIBS
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14818 char lua_newstate ();
14822 return lua_newstate ();
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_lib_lua_lua_newstate=yes
14830 ac_cv_lib_lua_lua_newstate=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_lib_save_LIBS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
14837 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
14838 if test "x$ac_cv_lib_lua_lua_newstate" = xyes; then :
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
14848 $as_echo "${have_lua}" >&6; }
14852 if test "x${have_lua}" = "xno" ; then
14853 as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
14859 $as_echo_n "checking for MINIMAL... " >&6; }
14861 if test -n "$MINIMAL_CFLAGS"; then
14862 pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
14863 elif test -n "$PKG_CONFIG"; then
14864 if test -n "$PKG_CONFIG" && \
14865 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14869 ($PKG_CONFIG --exists --print-errors "
14874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14875 test $ac_status = 0; }; then
14876 pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
14886 if test -n "$MINIMAL_LIBS"; then
14887 pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
14888 elif test -n "$PKG_CONFIG"; then
14889 if test -n "$PKG_CONFIG" && \
14890 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14894 ($PKG_CONFIG --exists --print-errors "
14899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14900 test $ac_status = 0; }; then
14901 pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
14914 if test $pkg_failed = yes; then
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14916 $as_echo "no" >&6; }
14918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14919 _pkg_short_errors_supported=yes
14921 _pkg_short_errors_supported=no
14923 if test $_pkg_short_errors_supported = yes; then
14924 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14929 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14934 # Put the nasty error message in config.log where it belongs
14935 echo "$MINIMAL_PKG_ERRORS" >&5
14937 as_fn_error $? "Package requirements (
14942 $MINIMAL_PKG_ERRORS
14944 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14945 installed software in a non-standard prefix.
14947 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14948 and MINIMAL_LIBS to avoid the need to call pkg-config.
14949 See the pkg-config man page for more details." "$LINENO" 5
14951 elif test $pkg_failed = untried; then
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14953 $as_echo "no" >&6; }
14954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14956 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14957 is in your PATH or set the PKG_CONFIG environment variable to the full
14958 path to pkg-config.
14960 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14961 and MINIMAL_LIBS to avoid the need to call pkg-config.
14962 See the pkg-config man page for more details.
14964 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14965 See \`config.log' for more details" "$LINENO" 5; }
14968 MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
14969 MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14971 $as_echo "yes" >&6; }
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
14978 $as_echo_n "checking for EDJE... " >&6; }
14980 if test -n "$EDJE_CFLAGS"; then
14981 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
14982 elif test -n "$PKG_CONFIG"; then
14983 if test -n "$PKG_CONFIG" && \
14984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14989 ecore-evas >= 1.7.7
14990 ecore-file >= 1.7.7
14991 ecore-input >= 1.7.7
14994 ($PKG_CONFIG --exists --print-errors "
14999 ecore-evas >= 1.7.7
15000 ecore-file >= 1.7.7
15001 ecore-input >= 1.7.7
15005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15006 test $ac_status = 0; }; then
15007 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
15012 ecore-evas >= 1.7.7
15013 ecore-file >= 1.7.7
15014 ecore-input >= 1.7.7
15023 if test -n "$EDJE_LIBS"; then
15024 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
15025 elif test -n "$PKG_CONFIG"; then
15026 if test -n "$PKG_CONFIG" && \
15027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15032 ecore-evas >= 1.7.7
15033 ecore-file >= 1.7.7
15034 ecore-input >= 1.7.7
15037 ($PKG_CONFIG --exists --print-errors "
15042 ecore-evas >= 1.7.7
15043 ecore-file >= 1.7.7
15044 ecore-input >= 1.7.7
15048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15049 test $ac_status = 0; }; then
15050 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
15055 ecore-evas >= 1.7.7
15056 ecore-file >= 1.7.7
15057 ecore-input >= 1.7.7
15069 if test $pkg_failed = yes; then
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15071 $as_echo "no" >&6; }
15073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15074 _pkg_short_errors_supported=yes
15076 _pkg_short_errors_supported=no
15078 if test $_pkg_short_errors_supported = yes; then
15079 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15084 ecore-evas >= 1.7.7
15085 ecore-file >= 1.7.7
15086 ecore-input >= 1.7.7
15090 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15095 ecore-evas >= 1.7.7
15096 ecore-file >= 1.7.7
15097 ecore-input >= 1.7.7
15101 # Put the nasty error message in config.log where it belongs
15102 echo "$EDJE_PKG_ERRORS" >&5
15104 as_fn_error $? "Package requirements (
15109 ecore-evas >= 1.7.7
15110 ecore-file >= 1.7.7
15111 ecore-input >= 1.7.7
15117 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15118 installed software in a non-standard prefix.
15120 Alternatively, you may set the environment variables EDJE_CFLAGS
15121 and EDJE_LIBS to avoid the need to call pkg-config.
15122 See the pkg-config man page for more details." "$LINENO" 5
15124 elif test $pkg_failed = untried; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15126 $as_echo "no" >&6; }
15127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15129 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15130 is in your PATH or set the PKG_CONFIG environment variable to the full
15131 path to pkg-config.
15133 Alternatively, you may set the environment variables EDJE_CFLAGS
15134 and EDJE_LIBS to avoid the need to call pkg-config.
15135 See the pkg-config man page for more details.
15137 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15138 See \`config.log' for more details" "$LINENO" 5; }
15141 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
15142 EDJE_LIBS=$pkg_cv_EDJE_LIBS
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15144 $as_echo "yes" >&6; }
15148 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
15149 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
15151 requirement_edje="embryo >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7 ${requirement_edje}"
15152 requirement_edje="${requirement_lua} ${requirement_edje}"
15154 have_ecore_imf="no"
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
15158 $as_echo_n "checking for ECORE_IMF... " >&6; }
15160 if test -n "$ECORE_IMF_CFLAGS"; then
15161 pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
15162 elif test -n "$PKG_CONFIG"; then
15163 if test -n "$PKG_CONFIG" && \
15164 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15166 ecore-imf-evas >= 1.7.7
15168 ($PKG_CONFIG --exists --print-errors "
15170 ecore-imf-evas >= 1.7.7
15173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174 test $ac_status = 0; }; then
15175 pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
15177 ecore-imf-evas >= 1.7.7
15185 if test -n "$ECORE_IMF_LIBS"; then
15186 pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
15187 elif test -n "$PKG_CONFIG"; then
15188 if test -n "$PKG_CONFIG" && \
15189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15191 ecore-imf-evas >= 1.7.7
15193 ($PKG_CONFIG --exists --print-errors "
15195 ecore-imf-evas >= 1.7.7
15198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 test $ac_status = 0; }; then
15200 pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
15202 ecore-imf-evas >= 1.7.7
15213 if test $pkg_failed = yes; then
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15215 $as_echo "no" >&6; }
15217 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15218 _pkg_short_errors_supported=yes
15220 _pkg_short_errors_supported=no
15222 if test $_pkg_short_errors_supported = yes; then
15223 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15225 ecore-imf-evas >= 1.7.7
15228 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15230 ecore-imf-evas >= 1.7.7
15233 # Put the nasty error message in config.log where it belongs
15234 echo "$ECORE_IMF_PKG_ERRORS" >&5
15236 have_ecore_imf="no"
15237 elif test $pkg_failed = untried; then
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239 $as_echo "no" >&6; }
15240 have_ecore_imf="no"
15242 ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
15243 ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15245 $as_echo "yes" >&6; }
15248 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
15250 have_ecore_imf="yes"
15251 requirement_edje="ecore-imf-evas >= 1.7.7 ecore-imf >= 1.7.7 ${requirement_edje}"
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15258 $as_echo_n "checking for EIO... " >&6; }
15260 if test -n "$EIO_CFLAGS"; then
15261 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15262 elif test -n "$PKG_CONFIG"; then
15263 if test -n "$PKG_CONFIG" && \
15264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.7\""; } >&5
15265 ($PKG_CONFIG --exists --print-errors "eio >= 1.7.7") 2>&5
15267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15268 test $ac_status = 0; }; then
15269 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.7.7" 2>/dev/null`
15276 if test -n "$EIO_LIBS"; then
15277 pkg_cv_EIO_LIBS="$EIO_LIBS"
15278 elif test -n "$PKG_CONFIG"; then
15279 if test -n "$PKG_CONFIG" && \
15280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.7.7\""; } >&5
15281 ($PKG_CONFIG --exists --print-errors "eio >= 1.7.7") 2>&5
15283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15284 test $ac_status = 0; }; then
15285 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.7.7" 2>/dev/null`
15295 if test $pkg_failed = yes; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15297 $as_echo "no" >&6; }
15299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15300 _pkg_short_errors_supported=yes
15302 _pkg_short_errors_supported=no
15304 if test $_pkg_short_errors_supported = yes; then
15305 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio >= 1.7.7" 2>&1`
15307 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio >= 1.7.7" 2>&1`
15309 # Put the nasty error message in config.log where it belongs
15310 echo "$EIO_PKG_ERRORS" >&5
15313 elif test $pkg_failed = untried; then
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15315 $as_echo "no" >&6; }
15318 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15319 EIO_LIBS=$pkg_cv_EIO_LIBS
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15321 $as_echo "yes" >&6; }
15324 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15327 requirement_edje="eio >= 1.7.7 ${requirement_edje}"
15331 # Enable Multisense use
15332 want_multisense="no"
15333 if test "x${want_multisense}" = "xyes"; then
15334 ENABLE_MULTISENSE_TRUE=
15335 ENABLE_MULTISENSE_FALSE='#'
15337 ENABLE_MULTISENSE_TRUE='#'
15338 ENABLE_MULTISENSE_FALSE=
15344 want_sndfile="auto"
15345 # Check whether --enable-sndfile was given.
15346 if test "${enable_sndfile+set}" = set; then :
15347 enableval=$enable_sndfile; want_sndfile=$enableval
15351 if test "x${want_multisense}" = "xyes" -a "x$want_sndfile" != "xno"; then
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15356 $as_echo_n "checking for SNDFILE... " >&6; }
15358 if test -n "$SNDFILE_CFLAGS"; then
15359 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15360 elif test -n "$PKG_CONFIG"; then
15361 if test -n "$PKG_CONFIG" && \
15362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15363 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15366 test $ac_status = 0; }; then
15367 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
15374 if test -n "$SNDFILE_LIBS"; then
15375 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15376 elif test -n "$PKG_CONFIG"; then
15377 if test -n "$PKG_CONFIG" && \
15378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15379 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 test $ac_status = 0; }; then
15383 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
15393 if test $pkg_failed = yes; then
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15395 $as_echo "no" >&6; }
15397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15398 _pkg_short_errors_supported=yes
15400 _pkg_short_errors_supported=no
15402 if test $_pkg_short_errors_supported = yes; then
15403 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sndfile >= 1.0.21" 2>&1`
15405 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "sndfile >= 1.0.21" 2>&1`
15407 # Put the nasty error message in config.log where it belongs
15408 echo "$SNDFILE_PKG_ERRORS" >&5
15410 have_sndfile="no"; want_multisense="no"
15412 elif test $pkg_failed = untried; then
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15414 $as_echo "no" >&6; }
15415 have_sndfile="no"; want_multisense="no"
15418 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15419 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15421 $as_echo "yes" >&6; }
15424 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
15427 requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
15431 if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
15432 as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
15435 if test "x${have_sndfile}" = "xyes"; then
15436 HAVE_LIBSNDFILE_TRUE=
15437 HAVE_LIBSNDFILE_FALSE='#'
15439 HAVE_LIBSNDFILE_TRUE='#'
15440 HAVE_LIBSNDFILE_FALSE=
15446 want_libremix="auto"
15447 # Check whether --enable-remix was given.
15448 if test "${enable_remix+set}" = set; then :
15449 enableval=$enable_remix; want_libremix=$enableval
15453 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
15457 $as_echo_n "checking for REMIX... " >&6; }
15459 if test -n "$REMIX_CFLAGS"; then
15460 pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
15461 elif test -n "$PKG_CONFIG"; then
15462 if test -n "$PKG_CONFIG" && \
15463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15464 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15467 test $ac_status = 0; }; then
15468 pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
15475 if test -n "$REMIX_LIBS"; then
15476 pkg_cv_REMIX_LIBS="$REMIX_LIBS"
15477 elif test -n "$PKG_CONFIG"; then
15478 if test -n "$PKG_CONFIG" && \
15479 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15480 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
15494 if test $pkg_failed = yes; then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15496 $as_echo "no" >&6; }
15498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15499 _pkg_short_errors_supported=yes
15501 _pkg_short_errors_supported=no
15503 if test $_pkg_short_errors_supported = yes; then
15504 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "remix >= 0.2.4" 2>&1`
15506 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "remix >= 0.2.4" 2>&1`
15508 # Put the nasty error message in config.log where it belongs
15509 echo "$REMIX_PKG_ERRORS" >&5
15511 have_libremix="no"; want_multisense="no"
15513 elif test $pkg_failed = untried; then
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15515 $as_echo "no" >&6; }
15516 have_libremix="no"; want_multisense="no"
15519 REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
15520 REMIX_LIBS=$pkg_cv_REMIX_LIBS
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15522 $as_echo "yes" >&6; }
15525 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
15527 have_libremix="yes"
15528 requirement_edje="remix >= 0.2.4 ${requirement_edje}"
15530 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
15532 REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
15535 cat >>confdefs.h <<_ACEOF
15536 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
15542 if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
15543 as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
15546 if test "x${have_libremix}" = "xyes"; then
15547 HAVE_LIBREMIX_TRUE=
15548 HAVE_LIBREMIX_FALSE='#'
15550 HAVE_LIBREMIX_TRUE='#'
15551 HAVE_LIBREMIX_FALSE=
15555 ##vorbis/ogg library
15558 # Check whether --enable-vorbisenc was given.
15559 if test "${enable_vorbisenc+set}" = set; then :
15560 enableval=$enable_vorbisenc; want_vorbis=$enableval
15564 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
15568 $as_echo_n "checking for VORBISENC... " >&6; }
15570 if test -n "$VORBISENC_CFLAGS"; then
15571 pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
15572 elif test -n "$PKG_CONFIG"; then
15573 if test -n "$PKG_CONFIG" && \
15574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15579 ($PKG_CONFIG --exists --print-errors "
15585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15586 test $ac_status = 0; }; then
15587 pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
15598 if test -n "$VORBISENC_LIBS"; then
15599 pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
15600 elif test -n "$PKG_CONFIG"; then
15601 if test -n "$PKG_CONFIG" && \
15602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15607 ($PKG_CONFIG --exists --print-errors "
15613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15614 test $ac_status = 0; }; then
15615 pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
15629 if test $pkg_failed = yes; then
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15631 $as_echo "no" >&6; }
15633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15634 _pkg_short_errors_supported=yes
15636 _pkg_short_errors_supported=no
15638 if test $_pkg_short_errors_supported = yes; then
15639 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15645 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15651 # Put the nasty error message in config.log where it belongs
15652 echo "$VORBISENC_PKG_ERRORS" >&5
15654 have_vorbis="no"; want_multisense="no"
15656 elif test $pkg_failed = untried; then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15658 $as_echo "no" >&6; }
15659 have_vorbis="no"; want_multisense="no"
15662 VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
15663 VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15665 $as_echo "yes" >&6; }
15668 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
15671 requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
15675 if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
15676 as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
15682 want_alsa_lib="auto"
15683 # Check whether --enable-alsa was given.
15684 if test "${enable_alsa+set}" = set; then :
15685 enableval=$enable_alsa; want_alsa_lib=$enableval
15689 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15693 $as_echo_n "checking for ALSA... " >&6; }
15695 if test -n "$ALSA_CFLAGS"; then
15696 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15697 elif test -n "$PKG_CONFIG"; then
15698 if test -n "$PKG_CONFIG" && \
15699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15702 ($PKG_CONFIG --exists --print-errors "
15706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15707 test $ac_status = 0; }; then
15708 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
15717 if test -n "$ALSA_LIBS"; then
15718 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15719 elif test -n "$PKG_CONFIG"; then
15720 if test -n "$PKG_CONFIG" && \
15721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15724 ($PKG_CONFIG --exists --print-errors "
15728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15729 test $ac_status = 0; }; then
15730 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
15742 if test $pkg_failed = yes; then
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15744 $as_echo "no" >&6; }
15746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15747 _pkg_short_errors_supported=yes
15749 _pkg_short_errors_supported=no
15751 if test $_pkg_short_errors_supported = yes; then
15752 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15756 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15760 # Put the nasty error message in config.log where it belongs
15761 echo "$ALSA_PKG_ERRORS" >&5
15763 have_alsa_lib="no"; want_multisense="no"
15765 elif test $pkg_failed = untried; then
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15767 $as_echo "no" >&6; }
15768 have_alsa_lib="no"; want_multisense="no"
15771 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15772 ALSA_LIBS=$pkg_cv_ALSA_LIBS
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15774 $as_echo "yes" >&6; }
15777 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
15779 have_alsa_lib="yes"
15780 requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
15784 if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
15785 as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
15788 if test "x${have_alsa_lib}" = "xyes"; then
15790 HAVE_LIBALSA_FALSE='#'
15792 HAVE_LIBALSA_TRUE='#'
15793 HAVE_LIBALSA_FALSE=
15800 want_flac_lib="auto"
15801 # Check whether --enable-flac was given.
15802 if test "${enable_flac+set}" = set; then :
15803 enableval=$enable_flac; want_flac_lib=$enableval
15807 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
15811 $as_echo_n "checking for FLAC... " >&6; }
15813 if test -n "$FLAC_CFLAGS"; then
15814 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
15815 elif test -n "$PKG_CONFIG"; then
15816 if test -n "$PKG_CONFIG" && \
15817 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15820 ($PKG_CONFIG --exists --print-errors "
15824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15825 test $ac_status = 0; }; then
15826 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
15835 if test -n "$FLAC_LIBS"; then
15836 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
15837 elif test -n "$PKG_CONFIG"; then
15838 if test -n "$PKG_CONFIG" && \
15839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15842 ($PKG_CONFIG --exists --print-errors "
15846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15847 test $ac_status = 0; }; then
15848 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
15860 if test $pkg_failed = yes; then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15862 $as_echo "no" >&6; }
15864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15865 _pkg_short_errors_supported=yes
15867 _pkg_short_errors_supported=no
15869 if test $_pkg_short_errors_supported = yes; then
15870 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15874 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15878 # Put the nasty error message in config.log where it belongs
15879 echo "$FLAC_PKG_ERRORS" >&5
15881 have_flac_lib="no"; want_multisense="no"
15883 elif test $pkg_failed = untried; then
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15885 $as_echo "no" >&6; }
15886 have_flac_lib="no"; want_multisense="no"
15889 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
15890 FLAC_LIBS=$pkg_cv_FLAC_LIBS
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15892 $as_echo "yes" >&6; }
15895 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
15897 have_flac_lib="yes"
15898 # disabled because this adds flac include dirs to cflags... and
15899 # FLAC has an assert.h in its include dirs that ends up
15900 # overriding the system assert.h and thus causes all sorts of
15902 #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
15905 if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
15906 as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
15910 if test "x${want_multisense}" = "xyes" ; then
15912 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
15917 # Dependencies for the binaries
15919 if test "x${have_edje_cc}" = "xyes" ; then
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
15923 $as_echo_n "checking for EDJE_CC... " >&6; }
15925 if test -n "$EDJE_CC_CFLAGS"; then
15926 pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
15927 elif test -n "$PKG_CONFIG"; then
15928 if test -n "$PKG_CONFIG" && \
15929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7\""; } >&5
15930 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7") 2>&5
15932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15933 test $ac_status = 0; }; then
15934 pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>/dev/null`
15941 if test -n "$EDJE_CC_LIBS"; then
15942 pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
15943 elif test -n "$PKG_CONFIG"; then
15944 if test -n "$PKG_CONFIG" && \
15945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7\""; } >&5
15946 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7") 2>&5
15948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15949 test $ac_status = 0; }; then
15950 pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>/dev/null`
15960 if test $pkg_failed = yes; then
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15962 $as_echo "no" >&6; }
15964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15965 _pkg_short_errors_supported=yes
15967 _pkg_short_errors_supported=no
15969 if test $_pkg_short_errors_supported = yes; then
15970 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>&1`
15972 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7" 2>&1`
15974 # Put the nasty error message in config.log where it belongs
15975 echo "$EDJE_CC_PKG_ERRORS" >&5
15977 as_fn_error $? "Package requirements (ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.6.0 eina >= 1.7.7) were not met:
15979 $EDJE_CC_PKG_ERRORS
15981 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15982 installed software in a non-standard prefix.
15984 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15985 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15986 See the pkg-config man page for more details." "$LINENO" 5
15988 elif test $pkg_failed = untried; then
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15990 $as_echo "no" >&6; }
15991 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15993 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15994 is in your PATH or set the PKG_CONFIG environment variable to the full
15995 path to pkg-config.
15997 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
15998 and EDJE_CC_LIBS to avoid the need to call pkg-config.
15999 See the pkg-config man page for more details.
16001 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16002 See \`config.log' for more details" "$LINENO" 5; }
16005 EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
16006 EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16008 $as_echo "yes" >&6; }
16011 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
16014 if test "x${have_edje_cc}" = "xyes"; then
16016 BUILD_EPP_FALSE='#'
16023 if test "x${have_edje_decc}" = "xyes" ; then
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
16027 $as_echo_n "checking for EDJE_DECC... " >&6; }
16029 if test -n "$EDJE_DECC_CFLAGS"; then
16030 pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
16031 elif test -n "$PKG_CONFIG"; then
16032 if test -n "$PKG_CONFIG" && \
16033 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7\""; } >&5
16034 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7") 2>&5
16036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16037 test $ac_status = 0; }; then
16038 pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16045 if test -n "$EDJE_DECC_LIBS"; then
16046 pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
16047 elif test -n "$PKG_CONFIG"; then
16048 if test -n "$PKG_CONFIG" && \
16049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7\""; } >&5
16050 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7") 2>&5
16052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16053 test $ac_status = 0; }; then
16054 pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16064 if test $pkg_failed = yes; then
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16066 $as_echo "no" >&6; }
16068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16069 _pkg_short_errors_supported=yes
16071 _pkg_short_errors_supported=no
16073 if test $_pkg_short_errors_supported = yes; then
16074 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>&1`
16076 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7" 2>&1`
16078 # Put the nasty error message in config.log where it belongs
16079 echo "$EDJE_DECC_PKG_ERRORS" >&5
16081 as_fn_error $? "Package requirements (ecore-file >= 1.7.7 ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eet >= 1.7.7 eina >= 1.7.7) were not met:
16083 $EDJE_DECC_PKG_ERRORS
16085 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16086 installed software in a non-standard prefix.
16088 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16089 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16090 See the pkg-config man page for more details." "$LINENO" 5
16092 elif test $pkg_failed = untried; then
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16094 $as_echo "no" >&6; }
16095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16097 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16098 is in your PATH or set the PKG_CONFIG environment variable to the full
16099 path to pkg-config.
16101 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16102 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16103 See the pkg-config man page for more details.
16105 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16106 See \`config.log' for more details" "$LINENO" 5; }
16109 EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
16110 EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16112 $as_echo "yes" >&6; }
16117 if test "x${have_edje_player}" = "xyes" ; then
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
16121 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
16123 if test -n "$EDJE_PLAYER_CFLAGS"; then
16124 pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
16125 elif test -n "$PKG_CONFIG"; then
16126 if test -n "$PKG_CONFIG" && \
16127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16128 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16131 test $ac_status = 0; }; then
16132 pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16139 if test -n "$EDJE_PLAYER_LIBS"; then
16140 pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
16141 elif test -n "$PKG_CONFIG"; then
16142 if test -n "$PKG_CONFIG" && \
16143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16144 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16147 test $ac_status = 0; }; then
16148 pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16158 if test $pkg_failed = yes; then
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16160 $as_echo "no" >&6; }
16162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16163 _pkg_short_errors_supported=yes
16165 _pkg_short_errors_supported=no
16167 if test $_pkg_short_errors_supported = yes; then
16168 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16170 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16172 # Put the nasty error message in config.log where it belongs
16173 echo "$EDJE_PLAYER_PKG_ERRORS" >&5
16175 as_fn_error $? "Package requirements (ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7) were not met:
16177 $EDJE_PLAYER_PKG_ERRORS
16179 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16180 installed software in a non-standard prefix.
16182 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16183 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16184 See the pkg-config man page for more details." "$LINENO" 5
16186 elif test $pkg_failed = untried; then
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16188 $as_echo "no" >&6; }
16189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16191 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16192 is in your PATH or set the PKG_CONFIG environment variable to the full
16193 path to pkg-config.
16195 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16196 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16197 See the pkg-config man page for more details.
16199 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16200 See \`config.log' for more details" "$LINENO" 5; }
16203 EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
16204 EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16206 $as_echo "yes" >&6; }
16211 if test "x${have_edje_inspector}" = "xyes" ; then
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
16215 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
16217 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
16218 pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
16219 elif test -n "$PKG_CONFIG"; then
16220 if test -n "$PKG_CONFIG" && \
16221 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16222 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16225 test $ac_status = 0; }; then
16226 pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16233 if test -n "$EDJE_INSPECTOR_LIBS"; then
16234 pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
16235 elif test -n "$PKG_CONFIG"; then
16236 if test -n "$PKG_CONFIG" && \
16237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16238 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16241 test $ac_status = 0; }; then
16242 pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16252 if test $pkg_failed = yes; then
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16254 $as_echo "no" >&6; }
16256 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16257 _pkg_short_errors_supported=yes
16259 _pkg_short_errors_supported=no
16261 if test $_pkg_short_errors_supported = yes; then
16262 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16264 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16266 # Put the nasty error message in config.log where it belongs
16267 echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
16269 as_fn_error $? "Package requirements (ecore-evas >= 1.7.7 ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7) were not met:
16271 $EDJE_INSPECTOR_PKG_ERRORS
16273 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16274 installed software in a non-standard prefix.
16276 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16277 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16278 See the pkg-config man page for more details." "$LINENO" 5
16280 elif test $pkg_failed = untried; then
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16282 $as_echo "no" >&6; }
16283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16285 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16286 is in your PATH or set the PKG_CONFIG environment variable to the full
16287 path to pkg-config.
16289 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16290 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16291 See the pkg-config man page for more details.
16293 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16294 See \`config.log' for more details" "$LINENO" 5; }
16297 EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
16298 EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16300 $as_echo "yes" >&6; }
16305 if test "x${have_edje_external_inspector}" = "xyes" ; then
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
16309 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
16311 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
16312 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
16313 elif test -n "$PKG_CONFIG"; then
16314 if test -n "$PKG_CONFIG" && \
16315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16316 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16319 test $ac_status = 0; }; then
16320 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16327 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
16328 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
16329 elif test -n "$PKG_CONFIG"; then
16330 if test -n "$PKG_CONFIG" && \
16331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7\""; } >&5
16332 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7") 2>&5
16334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16335 test $ac_status = 0; }; then
16336 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>/dev/null`
16346 if test $pkg_failed = yes; then
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16348 $as_echo "no" >&6; }
16350 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16351 _pkg_short_errors_supported=yes
16353 _pkg_short_errors_supported=no
16355 if test $_pkg_short_errors_supported = yes; then
16356 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16358 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7" 2>&1`
16360 # Put the nasty error message in config.log where it belongs
16361 echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
16363 as_fn_error $? "Package requirements (ecore >= 1.7.7 evas >= 1.7.7 eina >= 1.7.7) were not met:
16365 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
16367 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16368 installed software in a non-standard prefix.
16370 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16371 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16372 See the pkg-config man page for more details." "$LINENO" 5
16374 elif test $pkg_failed = untried; then
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16376 $as_echo "no" >&6; }
16377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16379 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16380 is in your PATH or set the PKG_CONFIG environment variable to the full
16381 path to pkg-config.
16383 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16384 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16385 See the pkg-config man page for more details.
16387 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16388 See \`config.log' for more details" "$LINENO" 5; }
16391 EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
16392 EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16394 $as_echo "yes" >&6; }
16399 if test "x${have_edje_watch}" = "xyes" ; then
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
16403 $as_echo_n "checking for EDJE_WATCH... " >&6; }
16405 if test -n "$EDJE_WATCH_CFLAGS"; then
16406 pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
16407 elif test -n "$PKG_CONFIG"; then
16408 if test -n "$PKG_CONFIG" && \
16409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7\""; } >&5
16410 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7") 2>&5
16412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16413 test $ac_status = 0; }; then
16414 pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>/dev/null`
16421 if test -n "$EDJE_WATCH_LIBS"; then
16422 pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
16423 elif test -n "$PKG_CONFIG"; then
16424 if test -n "$PKG_CONFIG" && \
16425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7\""; } >&5
16426 ($PKG_CONFIG --exists --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7") 2>&5
16428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16429 test $ac_status = 0; }; then
16430 pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>/dev/null`
16440 if test $pkg_failed = yes; then
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16442 $as_echo "no" >&6; }
16444 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16445 _pkg_short_errors_supported=yes
16447 _pkg_short_errors_supported=no
16449 if test $_pkg_short_errors_supported = yes; then
16450 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>&1`
16452 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore >= 1.7.7 eina >= 1.7.7 eio >= 1.7.7" 2>&1`
16454 # Put the nasty error message in config.log where it belongs
16455 echo "$EDJE_WATCH_PKG_ERRORS" >&5
16457 have_edje_watch="no"
16458 elif test $pkg_failed = untried; then
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16460 $as_echo "no" >&6; }
16461 have_edje_watch="no"
16463 EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
16464 EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16466 $as_echo "yes" >&6; }
16467 have_edje_watch="yes"
16471 if test "x${have_edje_watch}" = "xyes"; then
16472 BUILD_EDJE_WATCH_TRUE=
16473 BUILD_EDJE_WATCH_FALSE='#'
16475 BUILD_EDJE_WATCH_TRUE='#'
16476 BUILD_EDJE_WATCH_FALSE=
16480 ### Checks for header files
16481 for ac_header in locale.h sys/resource.h
16483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16484 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16485 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16499 ac_cpp='$CPP $CPPFLAGS'
16500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16506 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 /* end confdefs.h. */
16510 #include <limits.h>
16522 if ac_fn_c_try_compile "$LINENO"; then :
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16524 $as_echo "yes" >&6; }
16528 cat >>confdefs.h <<_ACEOF
16529 #define PATH_MAX ${default_max}
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16533 $as_echo "no: using ${default_max}" >&6; }
16536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16539 ac_cpp='$CPP $CPPFLAGS'
16540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16548 ### Checks for types
16551 ### Checks for structures
16554 ### Checks for compiler characteristics
16555 if test "x$CC" != xcc; then
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16557 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16560 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16562 set dummy $CC; ac_cc=`$as_echo "$2" |
16563 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16564 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
16565 $as_echo_n "(cached) " >&6
16567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16568 /* end confdefs.h. */
16578 # Make sure it works both with $CC and with simple cc.
16579 # We do the test twice because some compilers refuse to overwrite an
16580 # existing .o file with -o, though they will create one.
16581 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16583 if { { case "(($ac_try" in
16584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16585 *) ac_try_echo=$ac_try;;
16587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16588 $as_echo "$ac_try_echo"; } >&5
16589 (eval "$ac_try") 2>&5
16591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16592 test $ac_status = 0; } &&
16593 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16598 $as_echo "$ac_try_echo"; } >&5
16599 (eval "$ac_try") 2>&5
16601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16602 test $ac_status = 0; };
16604 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16605 if test "x$CC" != xcc; then
16606 # Test first that cc exists at all.
16607 if { ac_try='cc -c conftest.$ac_ext >&5'
16608 { { case "(($ac_try" in
16609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16610 *) ac_try_echo=$ac_try;;
16612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16613 $as_echo "$ac_try_echo"; } >&5
16614 (eval "$ac_try") 2>&5
16616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16617 test $ac_status = 0; }; }; then
16618 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16620 if { { case "(($ac_try" in
16621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16625 $as_echo "$ac_try_echo"; } >&5
16626 (eval "$ac_try") 2>&5
16628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16629 test $ac_status = 0; } &&
16630 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16635 $as_echo "$ac_try_echo"; } >&5
16636 (eval "$ac_try") 2>&5
16638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16639 test $ac_status = 0; };
16644 # cc exists but doesn't like -o.
16645 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16650 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16652 rm -f core conftest*
16655 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16657 $as_echo "yes" >&6; }
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16660 $as_echo "no" >&6; }
16662 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16666 # FIXME: we rely on the cache variable name because
16667 # there is no other way.
16669 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16670 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16671 if test "$am_t" != yes; then
16672 # Losing compiler, so override with the script.
16673 # FIXME: It is wrong to rewrite CC.
16674 # But if we don't then we get into trouble of one sort or another.
16675 # A longer-term fix would be to have automake use am__CC in this case,
16676 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16677 CC="$am_aux_dir/compile $CC"
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16682 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16683 if ${ac_cv_c_const+:} false; then :
16684 $as_echo_n "(cached) " >&6
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16692 /* FIXME: Include the comments suggested by Paul. */
16693 #ifndef __cplusplus
16694 /* Ultrix mips cc rejects this. */
16695 typedef int charset[2];
16697 /* SunOS 4.1.1 cc rejects this. */
16698 char const *const *pcpcc;
16700 /* NEC SVR4.0.2 mips cc rejects this. */
16701 struct point {int x, y;};
16702 static struct point const zero = {0,0};
16703 /* AIX XL C 1.02.0.0 rejects this.
16704 It does not let you subtract one const X* pointer from another in
16705 an arm of an if-expression whose if-part is not a constant
16707 const char *g = "string";
16708 pcpcc = &g + (g ? g-g : 0);
16709 /* HPUX 7.0 cc rejects these. */
16711 ppc = (char**) pcpcc;
16712 pcpcc = (char const *const *) ppc;
16713 { /* SCO 3.2v4 cc rejects this. */
16715 char const *s = 0 ? (char *) 0 : (char const *) 0;
16720 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16721 int x[] = {25, 17};
16722 const int *foo = &x[0];
16725 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16726 typedef const int *iptr;
16730 { /* AIX XL C 1.02.0.0 rejects this saying
16731 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16732 struct s { int j; const int *ap[3]; };
16733 struct s *b; b->j = 5;
16735 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16736 const int foo = 10;
16737 if (!foo) return 0;
16739 return !cs[0] && !zero.x;
16746 if ac_fn_c_try_compile "$LINENO"; then :
16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16754 $as_echo "$ac_cv_c_const" >&6; }
16755 if test $ac_cv_c_const = no; then
16757 $as_echo "#define const /**/" >>confdefs.h
16761 case $ac_cv_prog_cc_stdc in #(
16763 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16766 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16767 if ${ac_cv_prog_cc_c99+:} false; then :
16768 $as_echo_n "(cached) " >&6
16770 ac_cv_prog_cc_c99=no
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16774 #include <stdarg.h>
16775 #include <stdbool.h>
16776 #include <stdlib.h>
16780 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16781 #define debug(...) fprintf (stderr, __VA_ARGS__)
16782 #define showlist(...) puts (#__VA_ARGS__)
16783 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16785 test_varargs_macros (void)
16790 debug ("X = %d\n", x);
16791 showlist (The first, second, and third items.);
16792 report (x>y, "x is %d but y is %d", x, y);
16795 // Check long long types.
16796 #define BIG64 18446744073709551615ull
16797 #define BIG32 4294967295ul
16798 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16800 your preprocessor is broken;
16804 your preprocessor is broken;
16806 static long long int bignum = -9223372036854775807LL;
16807 static unsigned long long int ubignum = BIG64;
16809 struct incomplete_array
16815 struct named_init {
16817 const wchar_t *name;
16821 typedef const char *ccp;
16824 test_restrict (ccp restrict text)
16826 // See if C++-style comments work.
16827 // Iterate through items via the restricted pointer.
16828 // Also check for declarations in for loops.
16829 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16834 // Check varargs and va_copy.
16836 test_varargs (const char *format, ...)
16839 va_start (args, format);
16841 va_copy (args_copy, args);
16851 case 's': // string
16852 str = va_arg (args_copy, const char *);
16855 number = va_arg (args_copy, int);
16858 fnumber = va_arg (args_copy, double);
16864 va_end (args_copy);
16873 _Bool success = false;
16876 if (test_restrict ("String literal") == 0)
16878 char *restrict newvar = "Another string";
16881 test_varargs ("s, d' f .", "string", 65, 34.234);
16882 test_varargs_macros ();
16884 // Check flexible array members.
16885 struct incomplete_array *ia =
16886 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16888 for (int i = 0; i < ia->datasize; ++i)
16889 ia->data[i] = i * 1.234;
16891 // Check named initializers.
16892 struct named_init ni = {
16894 .name = L"Test wide string",
16895 .average = 543.34343,
16900 int dynamic_array[ni.number];
16901 dynamic_array[ni.number - 1] = 543;
16903 // work around unused variable warnings
16904 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16905 || dynamic_array[ni.number - 1] != 543);
16911 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16913 CC="$ac_save_CC $ac_arg"
16914 if ac_fn_c_try_compile "$LINENO"; then :
16915 ac_cv_prog_cc_c99=$ac_arg
16917 rm -f core conftest.err conftest.$ac_objext
16918 test "x$ac_cv_prog_cc_c99" != "xno" && break
16920 rm -f conftest.$ac_ext
16925 case "x$ac_cv_prog_cc_c99" in
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16928 $as_echo "none needed" >&6; } ;;
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16931 $as_echo "unsupported" >&6; } ;;
16933 CC="$CC $ac_cv_prog_cc_c99"
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16935 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16937 if test "x$ac_cv_prog_cc_c99" != xno; then :
16938 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16942 if ${ac_cv_prog_cc_c89+:} false; then :
16943 $as_echo_n "(cached) " >&6
16945 ac_cv_prog_cc_c89=no
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16949 #include <stdarg.h>
16951 #include <sys/types.h>
16952 #include <sys/stat.h>
16953 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16954 struct buf { int x; };
16955 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16956 static char *e (p, i)
16962 static char *f (char * (*g) (char **, int), char **p, ...)
16967 s = g (p, va_arg (v,int));
16972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16973 function prototypes and stuff, but not '\xHH' hex character constants.
16974 These don't provoke an error unfortunately, instead are silently treated
16975 as 'x'. The following induces an error, until -std is added to get
16976 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16977 array size at least. It's necessary to write '\x00'==0 to get something
16978 that's true only with -std. */
16979 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16981 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16982 inside strings and character constants. */
16984 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16986 int test (int i, double x);
16987 struct s1 {int (*f) (int a);};
16988 struct s2 {int (*f) (double a);};
16989 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16995 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17000 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17001 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17003 CC="$ac_save_CC $ac_arg"
17004 if ac_fn_c_try_compile "$LINENO"; then :
17005 ac_cv_prog_cc_c89=$ac_arg
17007 rm -f core conftest.err conftest.$ac_objext
17008 test "x$ac_cv_prog_cc_c89" != "xno" && break
17010 rm -f conftest.$ac_ext
17015 case "x$ac_cv_prog_cc_c89" in
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17018 $as_echo "none needed" >&6; } ;;
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17021 $as_echo "unsupported" >&6; } ;;
17023 CC="$CC $ac_cv_prog_cc_c89"
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17025 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17027 if test "x$ac_cv_prog_cc_c89" != xno; then :
17028 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17030 ac_cv_prog_cc_stdc=no
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17037 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17038 if ${ac_cv_prog_cc_stdc+:} false; then :
17039 $as_echo_n "(cached) " >&6
17042 case $ac_cv_prog_cc_stdc in #(
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17045 $as_echo "unsupported" >&6; } ;; #(
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17048 $as_echo "none needed" >&6; } ;; #(
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17051 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17055 $as_echo_n "checking for ANSI C header files... " >&6; }
17056 if ${ac_cv_header_stdc+:} false; then :
17057 $as_echo_n "(cached) " >&6
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 #include <stdlib.h>
17062 #include <stdarg.h>
17063 #include <string.h>
17074 if ac_fn_c_try_compile "$LINENO"; then :
17075 ac_cv_header_stdc=yes
17077 ac_cv_header_stdc=no
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17081 if test $ac_cv_header_stdc = yes; then
17082 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <string.h>
17088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17089 $EGREP "memchr" >/dev/null 2>&1; then :
17092 ac_cv_header_stdc=no
17098 if test $ac_cv_header_stdc = yes; then
17099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17101 /* end confdefs.h. */
17102 #include <stdlib.h>
17105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17106 $EGREP "free" >/dev/null 2>&1; then :
17109 ac_cv_header_stdc=no
17115 if test $ac_cv_header_stdc = yes; then
17116 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17117 if test "$cross_compiling" = yes; then :
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17123 #include <stdlib.h>
17124 #if ((' ' & 0x0FF) == 0x020)
17125 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17126 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17128 # define ISLOWER(c) \
17129 (('a' <= (c) && (c) <= 'i') \
17130 || ('j' <= (c) && (c) <= 'r') \
17131 || ('s' <= (c) && (c) <= 'z'))
17132 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17135 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17140 for (i = 0; i < 256; i++)
17141 if (XOR (islower (i), ISLOWER (i))
17142 || toupper (i) != TOUPPER (i))
17147 if ac_fn_c_try_run "$LINENO"; then :
17150 ac_cv_header_stdc=no
17152 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17153 conftest.$ac_objext conftest.beam conftest.$ac_ext
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17159 $as_echo "$ac_cv_header_stdc" >&6; }
17160 if test $ac_cv_header_stdc = yes; then
17162 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17169 $as_echo_n "checking for __attribute__... " >&6; }
17171 if ${ac_cv___attribute__+:} false; then :
17172 $as_echo_n "(cached) " >&6
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17177 #include <stdlib.h>
17180 int foo(int x __attribute__ ((unused)))
17193 if ac_fn_c_try_compile "$LINENO"; then :
17194 ac_cv___attribute__="yes"
17196 ac_cv___attribute__="no"
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
17204 $as_echo "$ac_cv___attribute__" >&6; }
17206 if test "x${ac_cv___attribute__}" = "xyes" ; then
17208 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
17211 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
17215 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
17223 EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
17228 ### Checks for linker characteristics
17230 lt_enable_auto_import=""
17233 lt_enable_auto_import="-Wl,--enable-auto-import"
17239 ### Checks for library functions
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
17242 $as_echo_n "checking for library containing strerror... " >&6; }
17243 if ${ac_cv_search_strerror+:} false; then :
17244 $as_echo_n "(cached) " >&6
17246 ac_func_search_save_LIBS=$LIBS
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17250 /* Override any GCC internal prototype to avoid an error.
17251 Use char because int might match the return type of a GCC
17252 builtin and then its argument prototype would still apply. */
17260 return strerror ();
17265 for ac_lib in '' cposix; do
17266 if test -z "$ac_lib"; then
17267 ac_res="none required"
17270 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17272 if ac_fn_c_try_link "$LINENO"; then :
17273 ac_cv_search_strerror=$ac_res
17275 rm -f core conftest.err conftest.$ac_objext \
17277 if ${ac_cv_search_strerror+:} false; then :
17281 if ${ac_cv_search_strerror+:} false; then :
17284 ac_cv_search_strerror=no
17286 rm conftest.$ac_ext
17287 LIBS=$ac_func_search_save_LIBS
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
17290 $as_echo "$ac_cv_search_strerror" >&6; }
17291 ac_res=$ac_cv_search_strerror
17292 if test "$ac_res" != no; then :
17293 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17298 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17299 if test "x$ac_cv_type_size_t" = xyes; then :
17303 cat >>confdefs.h <<_ACEOF
17304 #define size_t unsigned int
17309 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17310 # for constant arguments. Useless!
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
17312 $as_echo_n "checking for working alloca.h... " >&6; }
17313 if ${ac_cv_working_alloca_h+:} false; then :
17314 $as_echo_n "(cached) " >&6
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17318 #include <alloca.h>
17322 char *p = (char *) alloca (2 * sizeof (int));
17328 if ac_fn_c_try_link "$LINENO"; then :
17329 ac_cv_working_alloca_h=yes
17331 ac_cv_working_alloca_h=no
17333 rm -f core conftest.err conftest.$ac_objext \
17334 conftest$ac_exeext conftest.$ac_ext
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
17337 $as_echo "$ac_cv_working_alloca_h" >&6; }
17338 if test $ac_cv_working_alloca_h = yes; then
17340 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
17345 $as_echo_n "checking for alloca... " >&6; }
17346 if ${ac_cv_func_alloca_works+:} false; then :
17347 $as_echo_n "(cached) " >&6
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17352 # define alloca __builtin_alloca
17355 # include <malloc.h>
17356 # define alloca _alloca
17358 # ifdef HAVE_ALLOCA_H
17359 # include <alloca.h>
17364 # ifndef alloca /* predefined by HP cc +Olibcalls */
17365 void *alloca (size_t);
17375 char *p = (char *) alloca (1);
17381 if ac_fn_c_try_link "$LINENO"; then :
17382 ac_cv_func_alloca_works=yes
17384 ac_cv_func_alloca_works=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
17390 $as_echo "$ac_cv_func_alloca_works" >&6; }
17392 if test $ac_cv_func_alloca_works = yes; then
17394 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
17397 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17398 # that cause trouble. Some versions do not even contain alloca or
17399 # contain a buggy version. If you still want to use their alloca,
17400 # use ar to extract alloca.o from them instead of compiling alloca.c.
17402 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
17404 $as_echo "#define C_ALLOCA 1" >>confdefs.h
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
17408 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
17409 if ${ac_cv_os_cray+:} false; then :
17410 $as_echo_n "(cached) " >&6
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17414 #if defined CRAY && ! defined CRAY2
17421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17422 $EGREP "webecray" >/dev/null 2>&1; then :
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
17431 $as_echo "$ac_cv_os_cray" >&6; }
17432 if test $ac_cv_os_cray = yes; then
17433 for ac_func in _getb67 GETB67 getb67; do
17434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17438 cat >>confdefs.h <<_ACEOF
17439 #define CRAY_STACKSEG_END $ac_func
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
17449 $as_echo_n "checking stack direction for C alloca... " >&6; }
17450 if ${ac_cv_c_stack_direction+:} false; then :
17451 $as_echo_n "(cached) " >&6
17453 if test "$cross_compiling" = yes; then :
17454 ac_cv_c_stack_direction=0
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 $ac_includes_default
17460 find_stack_direction ()
17462 static char *addr = 0;
17467 return find_stack_direction ();
17470 return (&dummy > addr) ? 1 : -1;
17476 return find_stack_direction () < 0;
17479 if ac_fn_c_try_run "$LINENO"; then :
17480 ac_cv_c_stack_direction=1
17482 ac_cv_c_stack_direction=-1
17484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17485 conftest.$ac_objext conftest.beam conftest.$ac_ext
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
17490 $as_echo "$ac_cv_c_stack_direction" >&6; }
17491 cat >>confdefs.h <<_ACEOF
17492 #define STACK_DIRECTION $ac_cv_c_stack_direction
17502 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
17506 for ac_func in realpath
17508 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
17509 if test "x$ac_cv_func_realpath" = xyes; then :
17510 cat >>confdefs.h <<_ACEOF
17511 #define HAVE_REALPATH 1
17520 ### Unit tests, coverage and benchmarking
17525 # Check whether --enable-tests was given.
17526 if test "${enable_tests+set}" = set; then :
17527 enableval=$enable_tests;
17528 if test "x${enableval}" = "xyes" ; then
17529 _efl_enable_tests="yes"
17531 _efl_enable_tests="no"
17535 _efl_enable_tests="no"
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
17540 $as_echo_n "checking whether tests are built... " >&6; }
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
17542 $as_echo "${_efl_enable_tests}" >&6; }
17546 if test "x${_efl_enable_tests}" = "xyes" ; then
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
17550 $as_echo_n "checking for CHECK... " >&6; }
17552 if test -n "$CHECK_CFLAGS"; then
17553 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
17554 elif test -n "$PKG_CONFIG"; then
17555 if test -n "$PKG_CONFIG" && \
17556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17557 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17560 test $ac_status = 0; }; then
17561 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
17568 if test -n "$CHECK_LIBS"; then
17569 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
17570 elif test -n "$PKG_CONFIG"; then
17571 if test -n "$PKG_CONFIG" && \
17572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17573 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17576 test $ac_status = 0; }; then
17577 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
17587 if test $pkg_failed = yes; then
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17589 $as_echo "no" >&6; }
17591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17592 _pkg_short_errors_supported=yes
17594 _pkg_short_errors_supported=no
17596 if test $_pkg_short_errors_supported = yes; then
17597 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
17599 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
17601 # Put the nasty error message in config.log where it belongs
17602 echo "$CHECK_PKG_ERRORS" >&5
17604 _efl_enable_tests="no"
17605 elif test $pkg_failed = untried; then
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17607 $as_echo "no" >&6; }
17608 _efl_enable_tests="no"
17610 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
17611 CHECK_LIBS=$pkg_cv_CHECK_LIBS
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17613 $as_echo "yes" >&6; }
17618 if test "x${_efl_enable_tests}" = "xyes"; then
17619 EFL_ENABLE_TESTS_TRUE=
17620 EFL_ENABLE_TESTS_FALSE='#'
17622 EFL_ENABLE_TESTS_TRUE='#'
17623 EFL_ENABLE_TESTS_FALSE=
17627 if test "x$_efl_enable_tests" = "xyes"; then :
17637 # Check whether --enable-coverage was given.
17638 if test "${enable_coverage+set}" = set; then :
17639 enableval=$enable_coverage;
17640 if test "x${enableval}" = "xyes" ; then
17641 _efl_enable_coverage="yes"
17643 _efl_enable_coverage="no"
17647 _efl_enable_coverage="no"
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
17652 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
17654 $as_echo "$_efl_enable_coverage" >&6; }
17657 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
17659 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
17661 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
17662 _efl_enable_coverage="no"
17665 if test "x$_efl_enable_coverage" = "xyes" ; then
17666 # Extract the first word of "lcov", so it can be a program name with args.
17667 set dummy lcov; ac_word=$2
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17669 $as_echo_n "checking for $ac_word... " >&6; }
17670 if ${ac_cv_prog_have_lcov+:} false; then :
17671 $as_echo_n "(cached) " >&6
17673 if test -n "$have_lcov"; then
17674 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
17676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17677 for as_dir in $PATH
17680 test -z "$as_dir" && as_dir=.
17681 for ac_exec_ext in '' $ac_executable_extensions; do
17682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17683 ac_cv_prog_have_lcov="yes"
17684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17691 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
17694 have_lcov=$ac_cv_prog_have_lcov
17695 if test -n "$have_lcov"; then
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
17697 $as_echo "$have_lcov" >&6; }
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17700 $as_echo "no" >&6; }
17704 if test "x$have_lcov" = "xyes" ; then
17705 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
17706 EFL_COVERAGE_LIBS="-lgcov"
17707 # remove any optimisation flag and force debug symbols
17708 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
17711 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
17712 _efl_enable_coverage="no"
17719 if test "x${_efl_enable_coverage}" = "xyes"; then
17720 EFL_ENABLE_COVERAGE_TRUE=
17721 EFL_ENABLE_COVERAGE_FALSE='#'
17723 EFL_ENABLE_COVERAGE_TRUE='#'
17724 EFL_ENABLE_COVERAGE_FALSE=
17728 if test "x$_efl_enable_coverage" = "xyes"; then :
17729 enable_coverage="yes"
17731 enable_coverage="no"
17734 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
17735 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
17736 if test "x$enable_coverage" = "xyes" ; then
17737 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
17742 build_examples="no"
17743 # Check whether --enable-build-examples was given.
17744 if test "${enable_build_examples+set}" = set; then :
17745 enableval=$enable_build_examples;
17746 if test "x${enableval}" = "xyes" ; then
17747 build_examples="yes"
17749 build_examples="no"
17753 build_examples="no"
17756 if test "x${build_examples}" = "xyes"; then
17757 BUILD_EXAMPLES_TRUE=
17758 BUILD_EXAMPLES_FALSE='#'
17760 BUILD_EXAMPLES_TRUE='#'
17761 BUILD_EXAMPLES_FALSE=
17767 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"
17769 cat >confcache <<\_ACEOF
17770 # This file is a shell script that caches the results of configure
17771 # tests run on this system so they can be shared between configure
17772 # scripts and configure runs, see configure's option --config-cache.
17773 # It is not useful on other systems. If it contains results you don't
17774 # want to keep, you may remove or edit it.
17776 # config.status only pays attention to the cache file if you give it
17777 # the --recheck option to rerun configure.
17779 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17780 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17781 # following values.
17785 # The following way of writing the cache mishandles newlines in values,
17786 # but we know of no workaround that is simple, portable, and efficient.
17787 # So, we kill variables containing newlines.
17788 # Ultrix sh set writes to stderr and can't be redirected directly,
17789 # and sets the high bit in the cache file unless we assign to the vars.
17791 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17792 eval ac_val=\$$ac_var
17796 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17797 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17800 _ | IFS | as_nl) ;; #(
17801 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17802 *) { eval $ac_var=; unset $ac_var;} ;;
17808 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17809 *${as_nl}ac_space=\ *)
17810 # `set' does not quote correctly, so add quotes: double-quote
17811 # substitution turns \\\\ into \\, and sed turns \\ into \.
17814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17817 # `set' quotes correctly as required by POSIX, so do not add quotes.
17818 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17829 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17831 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17832 if test -w "$cache_file"; then
17833 if test "x$cache_file" != "x/dev/null"; then
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17835 $as_echo "$as_me: updating cache $cache_file" >&6;}
17836 if test ! -f "$cache_file" || test -h "$cache_file"; then
17837 cat confcache >"$cache_file"
17839 case $cache_file in #(
17841 mv -f confcache "$cache_file"$$ &&
17842 mv -f "$cache_file"$$ "$cache_file" ;; #(
17844 mv -f confcache "$cache_file" ;;
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17850 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17855 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17856 # Let make expand exec_prefix.
17857 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17859 DEFS=-DHAVE_CONFIG_H
17864 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17865 # 1. Remove the extension, and $U if already installed.
17866 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17867 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17868 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17869 # will be set to the directory where LIBOBJS objects are built.
17870 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17871 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17873 LIBOBJS=$ac_libobjs
17875 LTLIBOBJS=$ac_ltlibobjs
17878 if test -n "$EXEEXT"; then
17880 am__EXEEXT_FALSE='#'
17882 am__EXEEXT_TRUE='#'
17886 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17887 as_fn_error $? "conditional \"AMDEP\" was never defined.
17888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17890 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17891 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17894 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
17895 as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
17896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17898 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
17899 as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
17900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17902 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
17903 as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
17904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17906 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
17907 as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
17908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17910 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
17911 as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
17912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17914 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
17915 as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
17916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17918 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
17919 as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
17920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17922 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17923 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17926 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
17927 as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
17928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17930 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
17931 as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
17932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17934 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
17935 as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
17936 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17938 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17939 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17940 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17942 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
17943 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
17944 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17946 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
17947 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
17948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17950 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
17951 as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
17952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17954 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
17955 as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
17956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17958 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
17959 as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
17960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17962 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
17963 as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
17964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17966 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
17967 as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
17968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17970 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17971 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17974 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
17975 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
17976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17978 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
17979 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
17980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17982 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
17983 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
17984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17987 : "${CONFIG_STATUS=./config.status}"
17989 ac_clean_files_save=$ac_clean_files
17990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17992 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17994 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17996 # Generated by $as_me.
17997 # Run this file to recreate the current configuration.
17998 # Compiler output produced by configure, useful for debugging
17999 # configure, is in config.log if it exists.
18002 ac_cs_recheck=false
18005 SHELL=\${CONFIG_SHELL-$SHELL}
18008 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18009 ## -------------------- ##
18010 ## M4sh Initialization. ##
18011 ## -------------------- ##
18013 # Be more Bourne compatible
18014 DUALCASE=1; export DUALCASE # for MKS sh
18015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18018 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18019 # is contrary to our usage. Disable this feature.
18020 alias -g '${1+"$@"}'='"$@"'
18021 setopt NO_GLOB_SUBST
18023 case `(set -o) 2>/dev/null` in #(
18035 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18036 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18039 # Prefer a ksh shell builtin over an external printf program on Solaris,
18040 # but without wasting forks for bash or zsh.
18041 if test -z "$BASH_VERSION$ZSH_VERSION" \
18042 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18043 as_echo='print -r --'
18044 as_echo_n='print -rn --'
18045 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18046 as_echo='printf %s\n'
18047 as_echo_n='printf %s'
18049 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18050 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18051 as_echo_n='/usr/ucb/echo -n'
18053 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18054 as_echo_n_body='eval
18058 expr "X$arg" : "X\\(.*\\)$as_nl";
18059 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18061 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18063 export as_echo_n_body
18064 as_echo_n='sh -c $as_echo_n_body as_echo'
18066 export as_echo_body
18067 as_echo='sh -c $as_echo_body as_echo'
18070 # The user is always right.
18071 if test "${PATH_SEPARATOR+set}" != set; then
18073 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18074 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18081 # We need space, tab and new line, in precisely that order. Quoting is
18082 # there to prevent editors from complaining about space-tab.
18083 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18084 # splitting by setting IFS to empty value.)
18087 # Find who we are. Look in the path if we contain no directory separator.
18090 *[\\/]* ) as_myself=$0 ;;
18091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18092 for as_dir in $PATH
18095 test -z "$as_dir" && as_dir=.
18096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18102 # We did not find ourselves, most probably we were run as `sh COMMAND'
18103 # in which case we are not to be found in the path.
18104 if test "x$as_myself" = x; then
18107 if test ! -f "$as_myself"; then
18108 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18112 # Unset variables that we do not need and which cause bugs (e.g. in
18113 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18114 # suppresses any "Segmentation fault" message there. '((' could
18115 # trigger a bug in pdksh 5.2.14.
18116 for as_var in BASH_ENV ENV MAIL MAILPATH
18117 do eval test x\${$as_var+set} = xset \
18118 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18134 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18135 # ----------------------------------------
18136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18138 # script with STATUS, using 1 if that was 0.
18141 as_status=$1; test $as_status -eq 0 && as_status=1
18143 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18144 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18146 $as_echo "$as_me: error: $2" >&2
18147 as_fn_exit $as_status
18151 # as_fn_set_status STATUS
18152 # -----------------------
18153 # Set $? to STATUS, without forking.
18154 as_fn_set_status ()
18157 } # as_fn_set_status
18159 # as_fn_exit STATUS
18160 # -----------------
18161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18165 as_fn_set_status $1
18171 # Portably unset VAR.
18174 { eval $1=; unset $1;}
18176 as_unset=as_fn_unset
18177 # as_fn_append VAR VALUE
18178 # ----------------------
18179 # Append the text in VALUE to the end of the definition contained in VAR. Take
18180 # advantage of any shell optimizations that allow amortized linear growth over
18181 # repeated appends, instead of the typical quadratic growth present in naive
18183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18184 eval 'as_fn_append ()
18195 # as_fn_arith ARG...
18196 # ------------------
18197 # Perform arithmetic evaluation on the ARGs, and store the result in the
18198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18199 # must be portable across $(()) and expr.
18200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18201 eval 'as_fn_arith ()
18208 as_val=`expr "$@" || test $? -eq 1`
18213 if expr a : '\(a\)' >/dev/null 2>&1 &&
18214 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18221 as_basename=basename
18226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18232 as_me=`$as_basename -- "$0" ||
18233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18234 X"$0" : 'X\(//\)$' \| \
18235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18237 sed '/^.*\/\([^/][^/]*\)\/*$/{
18251 # Avoid depending upon Character Ranges.
18252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18255 as_cr_digits='0123456789'
18256 as_cr_alnum=$as_cr_Letters$as_cr_digits
18258 ECHO_C= ECHO_N= ECHO_T=
18259 case `echo -n x` in #(((((
18261 case `echo 'xy\c'` in
18262 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18264 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18271 rm -f conf$$ conf$$.exe conf$$.file
18272 if test -d conf$$.dir; then
18273 rm -f conf$$.dir/conf$$.file
18276 mkdir conf$$.dir 2>/dev/null
18278 if (echo >conf$$.file) 2>/dev/null; then
18279 if ln -s conf$$.file conf$$ 2>/dev/null; then
18281 # ... but there are two gotchas:
18282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18284 # In both cases, we have to default to `cp -p'.
18285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18287 elif ln conf$$.file conf$$ 2>/dev/null; then
18295 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18296 rmdir conf$$.dir 2>/dev/null
18301 # Create "$as_dir" as a directory, including parents if necessary.
18306 -*) as_dir=./$as_dir;;
18308 test -d "$as_dir" || eval $as_mkdir_p || {
18312 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18313 *) as_qdir=$as_dir;;
18315 as_dirs="'$as_qdir' $as_dirs"
18316 as_dir=`$as_dirname -- "$as_dir" ||
18317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18318 X"$as_dir" : 'X\(//\)[^/]' \| \
18319 X"$as_dir" : 'X\(//\)$' \| \
18320 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18321 $as_echo X"$as_dir" |
18322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18326 /^X\(\/\/\)[^/].*/{
18339 test -d "$as_dir" && break
18341 test -z "$as_dirs" || eval "mkdir $as_dirs"
18342 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18346 if mkdir -p . 2>/dev/null; then
18347 as_mkdir_p='mkdir -p "$as_dir"'
18349 test -d ./-p && rmdir ./-p
18353 if test -x / >/dev/null 2>&1; then
18354 as_test_x='test -x'
18356 if ls -dL / >/dev/null 2>&1; then
18363 if test -d "$1"; then
18369 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18370 ???[sx]*):;;*)false;;esac;fi
18374 as_executable_p=$as_test_x
18376 # Sed expression to map a string onto a valid CPP name.
18377 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18379 # Sed expression to map a string onto a valid variable name.
18380 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18384 ## ----------------------------------- ##
18385 ## Main body of $CONFIG_STATUS script. ##
18386 ## ----------------------------------- ##
18388 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18391 # Save the log message, to keep $0 and so on meaningful, and to
18392 # report actual input values of CONFIG_FILES etc. instead of their
18393 # values after options handling.
18395 This file was extended by edje $as_me 1.7.7, which was
18396 generated by GNU Autoconf 2.68. Invocation command line was
18398 CONFIG_FILES = $CONFIG_FILES
18399 CONFIG_HEADERS = $CONFIG_HEADERS
18400 CONFIG_LINKS = $CONFIG_LINKS
18401 CONFIG_COMMANDS = $CONFIG_COMMANDS
18404 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18409 case $ac_config_files in *"
18410 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18413 case $ac_config_headers in *"
18414 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18419 # Files that config.status was made for.
18420 config_files="$ac_config_files"
18421 config_headers="$ac_config_headers"
18422 config_commands="$ac_config_commands"
18426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18428 \`$as_me' instantiates files and other configuration actions
18429 from templates according to the current configuration. Unless the files
18430 and actions are specified as TAGs, all are instantiated by default.
18432 Usage: $0 [OPTION]... [TAG]...
18434 -h, --help print this help, then exit
18435 -V, --version print version number and configuration settings, then exit
18436 --config print configuration, then exit
18437 -q, --quiet, --silent
18438 do not print progress messages
18439 -d, --debug don't remove temporary files
18440 --recheck update $as_me by reconfiguring in the same conditions
18441 --file=FILE[:TEMPLATE]
18442 instantiate the configuration file FILE
18443 --header=FILE[:TEMPLATE]
18444 instantiate the configuration header FILE
18446 Configuration files:
18449 Configuration headers:
18452 Configuration commands:
18455 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18459 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18461 edje config.status 1.7.7
18462 configured by $0, generated by GNU Autoconf 2.68,
18463 with options \\"\$ac_cs_config\\"
18465 Copyright (C) 2010 Free Software Foundation, Inc.
18466 This config.status script is free software; the Free Software Foundation
18467 gives unlimited permission to copy, distribute and modify it."
18474 test -n "\$AWK" || AWK=awk
18477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18478 # The default lists apply if the user does not specify any file.
18484 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18485 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18501 # Handling of the options.
18502 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18504 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18505 $as_echo "$ac_cs_version"; exit ;;
18506 --config | --confi | --conf | --con | --co | --c )
18507 $as_echo "$ac_cs_config"; exit ;;
18508 --debug | --debu | --deb | --de | --d | -d )
18510 --file | --fil | --fi | --f )
18513 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18514 '') as_fn_error $? "missing file argument" ;;
18516 as_fn_append CONFIG_FILES " '$ac_optarg'"
18517 ac_need_defaults=false;;
18518 --header | --heade | --head | --hea )
18521 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18523 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18524 ac_need_defaults=false;;
18526 # Conflict between --help and --header
18527 as_fn_error $? "ambiguous option: \`$1'
18528 Try \`$0 --help' for more information.";;
18529 --help | --hel | -h )
18530 $as_echo "$ac_cs_usage"; exit ;;
18531 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18532 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18535 # This is an error.
18536 -*) as_fn_error $? "unrecognized option: \`$1'
18537 Try \`$0 --help' for more information." ;;
18539 *) as_fn_append ac_config_targets " $1"
18540 ac_need_defaults=false ;;
18546 ac_configure_extra_args=
18548 if $ac_cs_silent; then
18550 ac_configure_extra_args="$ac_configure_extra_args --silent"
18554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18555 if \$ac_cs_recheck; then
18556 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18558 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18559 CONFIG_SHELL='$SHELL'
18560 export CONFIG_SHELL
18565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18569 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18570 ## Running $as_me. ##
18576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18580 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18583 # The HP-UX ksh and POSIX shell print the target directory to stdout
18584 # if CDPATH is set.
18585 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18587 sed_quote_subst='$sed_quote_subst'
18588 double_quote_subst='$double_quote_subst'
18589 delay_variable_subst='$delay_variable_subst'
18590 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18591 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18592 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18593 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18594 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18595 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18596 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18597 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18598 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18599 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18600 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18601 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18602 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18603 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18604 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18605 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18606 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18607 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18608 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18609 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18610 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18611 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18612 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18613 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18614 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18615 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18616 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18617 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18618 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18619 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18620 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18621 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18622 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18623 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18624 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18625 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18626 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18627 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18628 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18629 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18630 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18631 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18632 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18633 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18634 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18635 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18636 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18637 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18638 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18639 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18640 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18641 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18642 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18643 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18644 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18645 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18646 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18647 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18648 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18649 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18650 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18651 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18652 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18653 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18654 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18655 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18656 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18657 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18658 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18659 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18660 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18661 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18662 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18663 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18664 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18665 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18666 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18667 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18668 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18669 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18670 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18671 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18672 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18673 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18674 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18675 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18676 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18677 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18678 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18679 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18680 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18681 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18682 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18683 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18684 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18685 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18686 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18687 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18688 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18689 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18690 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18691 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18692 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18693 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18694 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18695 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18696 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18697 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18698 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18699 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18700 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18701 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18702 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18703 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18704 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18705 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18706 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18707 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18708 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18709 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18710 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18711 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18712 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18713 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18714 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18715 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18716 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18717 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18718 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18719 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18720 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18723 LTCFLAGS='$LTCFLAGS'
18724 compiler='$compiler_DEFAULT'
18726 # A function that is used when there is no print builtin or printf.
18727 func_fallback_echo ()
18729 eval 'cat <<_LTECHO_EOF
18734 # Quote evaled strings.
18751 deplibs_check_method \
18755 sharedlib_from_linklib_cmd \
18758 archiver_list_spec \
18764 lt_cv_sys_global_symbol_pipe \
18765 lt_cv_sys_global_symbol_to_cdecl \
18766 lt_cv_sys_global_symbol_to_c_name_address \
18767 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18768 nm_file_list_spec \
18769 lt_prog_compiler_no_builtin_flag \
18770 lt_prog_compiler_pic \
18771 lt_prog_compiler_wl \
18772 lt_prog_compiler_static \
18773 lt_cv_prog_compiler_c_o \
18782 export_dynamic_flag_spec \
18783 whole_archive_flag_spec \
18784 compiler_needs_object \
18786 allow_undefined_flag \
18787 no_undefined_flag \
18788 hardcode_libdir_flag_spec \
18789 hardcode_libdir_separator \
18793 variables_saved_for_relink \
18795 library_names_spec \
18797 install_override_mode \
18801 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18802 *[\\\\\\\`\\"\\\$]*)
18803 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18806 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18811 # Double-quote double-evaled strings.
18812 for var in reload_cmds \
18813 old_postinstall_cmds \
18814 old_postuninstall_cmds \
18816 extract_expsyms_cmds \
18817 old_archive_from_new_cmds \
18818 old_archive_from_expsyms_cmds \
18820 archive_expsym_cmds \
18822 module_expsym_cmds \
18823 export_symbols_cmds \
18827 postuninstall_cmds \
18829 sys_lib_search_path_spec \
18830 sys_lib_dlsearch_path_spec; do
18831 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18832 *[\\\\\\\`\\"\\\$]*)
18833 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18836 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18841 ac_aux_dir='$ac_aux_dir'
18842 xsi_shell='$xsi_shell'
18843 lt_shell_append='$lt_shell_append'
18845 # See if we are running on zsh, and set the options which allow our
18846 # commands through without removal of \ escapes INIT.
18847 if test -n "\${ZSH_VERSION+set}" ; then
18848 setopt NO_GLOB_SUBST
18854 TIMESTAMP='$TIMESTAMP'
18863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18865 # Handling of arguments.
18866 for ac_config_target in $ac_config_targets
18868 case $ac_config_target in
18869 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18870 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18871 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18872 "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
18873 "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
18874 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18875 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
18876 "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
18877 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18878 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
18879 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18880 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
18881 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
18882 "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
18883 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
18884 "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
18885 "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
18886 "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
18887 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
18888 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
18889 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
18891 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18896 # If the user did not use the arguments to specify the items to instantiate,
18897 # then the envvar interface is used. Set only those that are not.
18898 # We use the long form for the default assignment because of an extremely
18899 # bizarre bug on SunOS 4.1.3.
18900 if $ac_need_defaults; then
18901 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18902 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18903 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18906 # Have a temporary directory for convenience. Make it in the build tree
18907 # simply because there is no reason against having it here, and in addition,
18908 # creating and moving files from /tmp can sometimes cause problems.
18909 # Hook for its removal unless debugging.
18910 # Note that there is a small window in which the directory will not be cleaned:
18911 # after its creation but before its name has been assigned to `$tmp'.
18915 trap 'exit_status=$?
18916 : "${ac_tmp:=$tmp}"
18917 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18919 trap 'as_fn_exit 1' 1 2 13 15
18921 # Create a (secure) tmp directory for tmp files.
18924 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18928 tmp=./conf$$-$RANDOM
18929 (umask 077 && mkdir "$tmp")
18930 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18933 # Set up the scripts for CONFIG_FILES section.
18934 # No need to generate them if there are no CONFIG_FILES.
18935 # This happens for instance with `./config.status config.h'.
18936 if test -n "$CONFIG_FILES"; then
18939 ac_cr=`echo X | tr X '\015'`
18940 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18941 # But we know of no other shell where ac_cr would be empty at this
18942 # point, so we can use a bashism as a fallback.
18943 if test "x$ac_cr" = x; then
18944 eval ac_cr=\$\'\\r\'
18946 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18947 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18950 ac_cs_awk_cr=$ac_cr
18953 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18958 echo "cat >conf$$subs.awk <<_ACEOF" &&
18959 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18961 } >conf$$subs.sh ||
18962 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18963 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18965 for ac_last_try in false false false false false :; do
18966 . ./conf$$subs.sh ||
18967 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18969 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18970 if test $ac_delim_n = $ac_delim_num; then
18972 elif $ac_last_try; then
18973 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18975 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18978 rm -f conf$$subs.sh
18980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18981 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18985 s/^/S["/; s/!.*/"]=/
18995 s/\(.\{148\}\)..*/\1/
18997 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19002 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19009 s/\(.\{148\}\)..*/\1/
19011 s/["\\]/\\&/g; s/^/"/; s/$/"/
19015 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19020 ' <conf$$subs.awk | sed '
19025 ' >>$CONFIG_STATUS || ac_write_fail=1
19026 rm -f conf$$subs.awk
19027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19029 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19030 for (key in S) S_is_set[key] = 1
19036 nfields = split(line, field, "@")
19038 len = length(field[1])
19039 for (i = 2; i < nfields; i++) {
19041 keylen = length(key)
19042 if (S_is_set[key]) {
19044 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19045 len += length(value) + length(field[++i])
19056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19057 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19058 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19061 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19062 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19065 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19066 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19067 # trailing colons and then remove the whole line if VPATH becomes empty
19068 # (actually we leave an empty line to preserve line numbers).
19069 if test "x$srcdir" = x.; then
19070 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19089 fi # test -n "$CONFIG_FILES"
19091 # Set up the scripts for CONFIG_HEADERS section.
19092 # No need to generate them if there are no CONFIG_HEADERS.
19093 # This happens for instance with `./config.status Makefile'.
19094 if test -n "$CONFIG_HEADERS"; then
19095 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19099 # Transform confdefs.h into an awk script `defines.awk', embedded as
19100 # here-document in config.status, that substitutes the proper values into
19101 # config.h.in to produce config.h.
19103 # Create a delimiter string that does not exist in confdefs.h, to ease
19104 # handling of long lines.
19106 for ac_last_try in false false :; do
19107 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19108 if test -z "$ac_tt"; then
19110 elif $ac_last_try; then
19111 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19113 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19117 # For the awk script, D is an array of macro values keyed by name,
19118 # likewise P contains macro parameters if any. Preserve backslash
19119 # newline sequences.
19121 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19123 s/.\{148\}/&'"$ac_delim"'/g
19126 s/^[ ]*#[ ]*define[ ][ ]*/ /
19133 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19135 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19139 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19140 D["\1"]=" \3\\\\\\n"\\/p
19142 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19147 s/.\{148\}/&'"$ac_delim"'/g
19152 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19155 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19157 ' <confdefs.h | sed '
19158 s/'"$ac_delim"'/"\\\
19159 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19162 for (key in D) D_is_set[key] = 1
19165 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19167 split(line, arg, " ")
19168 if (arg[1] == "#") {
19172 defundef = substr(arg[1], 2)
19175 split(mac1, mac2, "(") #)
19177 prefix = substr(line, 1, index(line, defundef) - 1)
19178 if (D_is_set[macro]) {
19179 # Preserve the white space surrounding the "#".
19180 print prefix "define", macro P[macro] D[macro]
19183 # Replace #undef with comments. This is necessary, for example,
19184 # in the case of _POSIX_SOURCE, which is predefined and required
19185 # on some systems where configure will not decide to define it.
19186 if (defundef == "undef") {
19187 print "/*", prefix defundef, macro, "*/"
19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19196 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19197 fi # test -n "$CONFIG_HEADERS"
19200 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19205 :[FHLC]) ac_mode=$ac_tag; continue;;
19207 case $ac_mode$ac_tag in
19209 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19210 :[FH]-) ac_tag=-:-;;
19211 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19228 -) ac_f="$ac_tmp/stdin";;
19229 *) # Look for the file first in the build tree, then in the source tree
19230 # (if the path is not absolute). The absolute path cannot be DOS-style,
19231 # because $ac_f cannot contain `:'.
19235 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19237 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19239 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19240 as_fn_append ac_file_inputs " '$ac_f'"
19243 # Let's still pretend it is `configure' which instantiates (i.e., don't
19244 # use $as_me), people would be surprised to read:
19245 # /* config.h. Generated by config.status. */
19246 configure_input='Generated from '`
19247 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19249 if test x"$ac_file" != x-; then
19250 configure_input="$ac_file. $configure_input"
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19252 $as_echo "$as_me: creating $ac_file" >&6;}
19254 # Neutralize special characters interpreted by sed in replacement strings.
19255 case $configure_input in #(
19256 *\&* | *\|* | *\\* )
19257 ac_sed_conf_input=`$as_echo "$configure_input" |
19258 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19259 *) ac_sed_conf_input=$configure_input;;
19263 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19264 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19269 ac_dir=`$as_dirname -- "$ac_file" ||
19270 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19271 X"$ac_file" : 'X\(//\)[^/]' \| \
19272 X"$ac_file" : 'X\(//\)$' \| \
19273 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19274 $as_echo X"$ac_file" |
19275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19279 /^X\(\/\/\)[^/].*/{
19292 as_dir="$ac_dir"; as_fn_mkdir_p
19296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19298 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19299 # A ".." for each directory in $ac_dir_suffix.
19300 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19301 case $ac_top_builddir_sub in
19302 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19303 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19306 ac_abs_top_builddir=$ac_pwd
19307 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19308 # for backward compatibility:
19309 ac_top_builddir=$ac_top_build_prefix
19312 .) # We are building in place.
19314 ac_top_srcdir=$ac_top_builddir_sub
19315 ac_abs_top_srcdir=$ac_pwd ;;
19316 [\\/]* | ?:[\\/]* ) # Absolute name.
19317 ac_srcdir=$srcdir$ac_dir_suffix;
19318 ac_top_srcdir=$srcdir
19319 ac_abs_top_srcdir=$srcdir ;;
19320 *) # Relative name.
19321 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19322 ac_top_srcdir=$ac_top_build_prefix$srcdir
19323 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19325 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19335 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19336 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19338 ac_MKDIR_P=$MKDIR_P
19340 [\\/$]* | ?:[\\/]* ) ;;
19341 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19346 # If the template does not know about datarootdir, expand it.
19347 # FIXME: This hack should be removed a few years after 2.60.
19348 ac_datarootdir_hack=; ac_datarootdir_seen=
19359 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19360 *datarootdir*) ac_datarootdir_seen=yes;;
19361 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19363 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19366 ac_datarootdir_hack='
19367 s&@datadir@&$datadir&g
19368 s&@docdir@&$docdir&g
19369 s&@infodir@&$infodir&g
19370 s&@localedir@&$localedir&g
19371 s&@mandir@&$mandir&g
19372 s&\\\${datarootdir}&$datarootdir&g' ;;
19376 # Neutralize VPATH when `$srcdir' = `.'.
19377 # Shell code in configure.ac might set extrasub.
19378 # FIXME: do we really want to maintain this feature?
19379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19380 ac_sed_extra="$ac_vpsub
19383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19386 s|@configure_input@|$ac_sed_conf_input|;t t
19387 s&@top_builddir@&$ac_top_builddir_sub&;t t
19388 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19389 s&@srcdir@&$ac_srcdir&;t t
19390 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19391 s&@top_srcdir@&$ac_top_srcdir&;t t
19392 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19393 s&@builddir@&$ac_builddir&;t t
19394 s&@abs_builddir@&$ac_abs_builddir&;t t
19395 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19396 s&@INSTALL@&$ac_INSTALL&;t t
19397 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19398 $ac_datarootdir_hack
19400 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19401 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19403 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19404 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19405 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19406 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19408 which seems to be undefined. Please make sure it is defined" >&5
19409 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19410 which seems to be undefined. Please make sure it is defined" >&2;}
19412 rm -f "$ac_tmp/stdin"
19414 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19415 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19417 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19423 if test x"$ac_file" != x-; then
19425 $as_echo "/* $configure_input */" \
19426 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19427 } >"$ac_tmp/config.h" \
19428 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19429 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19431 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19434 mv "$ac_tmp/config.h" "$ac_file" \
19435 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19438 $as_echo "/* $configure_input */" \
19439 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19440 || as_fn_error $? "could not create -" "$LINENO" 5
19442 # Compute "$ac_file"'s index in $config_headers.
19445 for _am_header in $config_headers :; do
19446 case $_am_header in
19447 $_am_arg | $_am_arg:* )
19450 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19453 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19454 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19455 X"$_am_arg" : 'X\(//\)[^/]' \| \
19456 X"$_am_arg" : 'X\(//\)$' \| \
19457 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19458 $as_echo X"$_am_arg" |
19459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19463 /^X\(\/\/\)[^/].*/{
19475 s/.*/./; q'`/stamp-h$_am_stamp_count
19478 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19479 $as_echo "$as_me: executing $ac_file commands" >&6;}
19484 case $ac_file$ac_mode in
19485 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19486 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19487 # are listed without --file. Let's play safe and only enable the eval
19488 # if we detect the quoting.
19489 case $CONFIG_FILES in
19490 *\'*) eval set x "$CONFIG_FILES" ;;
19491 *) set x $CONFIG_FILES ;;
19496 # Strip MF so we end up with the name of the file.
19497 mf=`echo "$mf" | sed -e 's/:.*$//'`
19498 # Check whether this is an Automake generated Makefile or not.
19499 # We used to match only the files named `Makefile.in', but
19500 # some people rename them; so instead we look at the file content.
19501 # Grep'ing the first line is not enough: some people post-process
19502 # each Makefile.in and add a new line on top of each file to say so.
19503 # Grep'ing the whole file is not good either: AIX grep has a line
19504 # limit of 2048, but all sed's we know have understand at least 4000.
19505 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19506 dirpart=`$as_dirname -- "$mf" ||
19507 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19508 X"$mf" : 'X\(//\)[^/]' \| \
19509 X"$mf" : 'X\(//\)$' \| \
19510 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19516 /^X\(\/\/\)[^/].*/{
19532 # Extract the definition of DEPDIR, am__include, and am__quote
19533 # from the Makefile without running `make'.
19534 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19535 test -z "$DEPDIR" && continue
19536 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19537 test -z "am__include" && continue
19538 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19539 # When using ansi2knr, U may be empty or an underscore; expand it
19540 U=`sed -n 's/^U = //p' < "$mf"`
19541 # Find all dependency output files, they are included files with
19542 # $(DEPDIR) in their names. We invoke sed twice because it is the
19543 # simplest approach to changing $(DEPDIR) to its actual value in the
19545 for file in `sed -n "
19546 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19547 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19548 # Make sure the directory exists.
19549 test -f "$dirpart/$file" && continue
19550 fdir=`$as_dirname -- "$file" ||
19551 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19552 X"$file" : 'X\(//\)[^/]' \| \
19553 X"$file" : 'X\(//\)$' \| \
19554 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19555 $as_echo X"$file" |
19556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19560 /^X\(\/\/\)[^/].*/{
19573 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19574 # echo "creating $dirpart/$file"
19575 echo '# dummy' > "$dirpart/$file"
19582 # See if we are running on zsh, and set the options which allow our
19583 # commands through without removal of \ escapes.
19584 if test -n "${ZSH_VERSION+set}" ; then
19585 setopt NO_GLOB_SUBST
19588 cfgfile="${ofile}T"
19589 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19592 cat <<_LT_EOF >> "$cfgfile"
19595 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19596 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19597 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19598 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19600 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19601 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19603 # Written by Gordon Matzigkeit, 1996
19605 # This file is part of GNU Libtool.
19607 # GNU Libtool is free software; you can redistribute it and/or
19608 # modify it under the terms of the GNU General Public License as
19609 # published by the Free Software Foundation; either version 2 of
19610 # the License, or (at your option) any later version.
19612 # As a special exception to the GNU General Public License,
19613 # if you distribute this file as part of a program or library that
19614 # is built using GNU Libtool, you may include this file under the
19615 # same distribution terms that you use for the rest of that program.
19617 # GNU Libtool is distributed in the hope that it will be useful,
19618 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19619 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19620 # GNU General Public License for more details.
19622 # You should have received a copy of the GNU General Public License
19623 # along with GNU Libtool; see the file COPYING. If not, a copy
19624 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19625 # obtained by writing to the Free Software Foundation, Inc.,
19626 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19629 # The names of the tagged configurations supported by this script.
19632 # ### BEGIN LIBTOOL CONFIG
19634 # Assembler program.
19637 # DLL creation program.
19638 DLLTOOL=$lt_DLLTOOL
19640 # Object dumper program.
19641 OBJDUMP=$lt_OBJDUMP
19643 # Which release of libtool.m4 was used?
19644 macro_version=$macro_version
19645 macro_revision=$macro_revision
19647 # Whether or not to build shared libraries.
19648 build_libtool_libs=$enable_shared
19650 # Whether or not to build static libraries.
19651 build_old_libs=$enable_static
19653 # What type of objects to build.
19656 # Whether or not to optimize for fast installation.
19657 fast_install=$enable_fast_install
19659 # Shell to use when invoking shell scripts.
19662 # An echo program that protects backslashes.
19665 # The PATH separator for the build system.
19666 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19669 host_alias=$host_alias
19673 # The build system.
19674 build_alias=$build_alias
19678 # A sed program that does not truncate output.
19681 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19682 Xsed="\$SED -e 1s/^X//"
19684 # A grep program that handles long lines.
19690 # A literal string matcher.
19693 # A BSD- or MS-compatible name lister.
19696 # Whether we need soft or hard links.
19699 # What is the maximum length of a command?
19700 max_cmd_len=$max_cmd_len
19702 # Object file suffix (normally "o").
19705 # Executable file suffix (normally "").
19708 # whether the shell understands "unset".
19711 # turn spaces into newlines.
19714 # turn newlines into spaces.
19717 # convert \$build file names to \$host format.
19718 to_host_file_cmd=$lt_cv_to_host_file_cmd
19720 # convert \$build files to toolchain format.
19721 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19723 # Method to check whether dependent libraries are shared objects.
19724 deplibs_check_method=$lt_deplibs_check_method
19726 # Command to use when deplibs_check_method = "file_magic".
19727 file_magic_cmd=$lt_file_magic_cmd
19729 # How to find potential files when deplibs_check_method = "file_magic".
19730 file_magic_glob=$lt_file_magic_glob
19732 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19733 want_nocaseglob=$lt_want_nocaseglob
19735 # Command to associate shared and link libraries.
19736 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19741 # Flags to create an archive.
19742 AR_FLAGS=$lt_AR_FLAGS
19744 # How to feed a file listing to the archiver.
19745 archiver_list_spec=$lt_archiver_list_spec
19747 # A symbol stripping program.
19750 # Commands used to install an old-style archive.
19752 old_postinstall_cmds=$lt_old_postinstall_cmds
19753 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19755 # Whether to use a lock for old archive extraction.
19756 lock_old_archive_extraction=$lock_old_archive_extraction
19761 # LTCC compiler flags.
19762 LTCFLAGS=$lt_CFLAGS
19764 # Take the output of nm and produce a listing of raw symbols and C names.
19765 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19767 # Transform the output of nm in a proper C declaration.
19768 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19770 # Transform the output of nm in a C name address pair.
19771 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19773 # Transform the output of nm in a C name address pair when lib prefix is needed.
19774 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19776 # Specify filename containing input files for \$NM.
19777 nm_file_list_spec=$lt_nm_file_list_spec
19779 # The root where to search for dependent libraries,and in which our libraries should be installed.
19780 lt_sysroot=$lt_sysroot
19782 # The name of the directory that contains temporary libtool files.
19785 # Used to examine libraries when file_magic_cmd begins with "file".
19786 MAGIC_CMD=$MAGIC_CMD
19788 # Must we lock files when doing compilation?
19789 need_locks=$lt_need_locks
19792 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19794 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19795 DSYMUTIL=$lt_DSYMUTIL
19797 # Tool to change global to local symbols on Mac OS X.
19800 # Tool to manipulate fat objects and archives on Mac OS X.
19803 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19806 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19807 OTOOL64=$lt_OTOOL64
19809 # Old archive suffix (normally "a").
19812 # Shared library suffix (normally ".so").
19813 shrext_cmds=$lt_shrext_cmds
19815 # The commands to extract the exported symbol list from a shared archive.
19816 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19818 # Variables whose values should be saved in libtool wrapper scripts and
19819 # restored at link time.
19820 variables_saved_for_relink=$lt_variables_saved_for_relink
19822 # Do we need the "lib" prefix for modules?
19823 need_lib_prefix=$need_lib_prefix
19825 # Do we need a version for libraries?
19826 need_version=$need_version
19828 # Library versioning type.
19829 version_type=$version_type
19831 # Shared library runtime path variable.
19832 runpath_var=$runpath_var
19834 # Shared library path variable.
19835 shlibpath_var=$shlibpath_var
19837 # Is shlibpath searched before the hard-coded library search path?
19838 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19840 # Format of library name prefix.
19841 libname_spec=$lt_libname_spec
19843 # List of archive names. First name is the real one, the rest are links.
19844 # The last name is the one that the linker finds with -lNAME
19845 library_names_spec=$lt_library_names_spec
19847 # The coded name of the library, if different from the real name.
19848 soname_spec=$lt_soname_spec
19850 # Permission mode override for installation of shared libraries.
19851 install_override_mode=$lt_install_override_mode
19853 # Command to use after installation of a shared archive.
19854 postinstall_cmds=$lt_postinstall_cmds
19856 # Command to use after uninstallation of a shared archive.
19857 postuninstall_cmds=$lt_postuninstall_cmds
19859 # Commands used to finish a libtool library installation in a directory.
19860 finish_cmds=$lt_finish_cmds
19862 # As "finish_cmds", except a single script fragment to be evaled but
19864 finish_eval=$lt_finish_eval
19866 # Whether we should hardcode library paths into libraries.
19867 hardcode_into_libs=$hardcode_into_libs
19869 # Compile-time system search path for libraries.
19870 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19872 # Run-time system search path for libraries.
19873 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19875 # Whether dlopen is supported.
19876 dlopen_support=$enable_dlopen
19878 # Whether dlopen of programs is supported.
19879 dlopen_self=$enable_dlopen_self
19881 # Whether dlopen of statically linked programs is supported.
19882 dlopen_self_static=$enable_dlopen_self_static
19884 # Commands to strip libraries.
19885 old_striplib=$lt_old_striplib
19886 striplib=$lt_striplib
19889 # The linker used to build libraries.
19892 # How to create reloadable object files.
19893 reload_flag=$lt_reload_flag
19894 reload_cmds=$lt_reload_cmds
19896 # Commands used to build an old-style archive.
19897 old_archive_cmds=$lt_old_archive_cmds
19899 # A language specific compiler.
19902 # Is the compiler the GNU compiler?
19905 # Compiler flag to turn off builtin functions.
19906 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19908 # Additional compiler flags for building library objects.
19909 pic_flag=$lt_lt_prog_compiler_pic
19911 # How to pass a linker flag through the compiler.
19912 wl=$lt_lt_prog_compiler_wl
19914 # Compiler flag to prevent dynamic linking.
19915 link_static_flag=$lt_lt_prog_compiler_static
19917 # Does compiler simultaneously support -c and -o options?
19918 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19920 # Whether or not to add -lc for building shared libraries.
19921 build_libtool_need_lc=$archive_cmds_need_lc
19923 # Whether or not to disallow shared libs when runtime libs are static.
19924 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19926 # Compiler flag to allow reflexive dlopens.
19927 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19929 # Compiler flag to generate shared objects directly from archives.
19930 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19932 # Whether the compiler copes with passing no objects directly.
19933 compiler_needs_object=$lt_compiler_needs_object
19935 # Create an old-style archive from a shared archive.
19936 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19938 # Create a temporary old-style archive to link instead of a shared archive.
19939 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19941 # Commands used to build a shared archive.
19942 archive_cmds=$lt_archive_cmds
19943 archive_expsym_cmds=$lt_archive_expsym_cmds
19945 # Commands used to build a loadable module if different from building
19946 # a shared archive.
19947 module_cmds=$lt_module_cmds
19948 module_expsym_cmds=$lt_module_expsym_cmds
19950 # Whether we are building with GNU ld or not.
19951 with_gnu_ld=$lt_with_gnu_ld
19953 # Flag that allows shared libraries with undefined symbols to be built.
19954 allow_undefined_flag=$lt_allow_undefined_flag
19956 # Flag that enforces no undefined symbols.
19957 no_undefined_flag=$lt_no_undefined_flag
19959 # Flag to hardcode \$libdir into a binary during linking.
19960 # This must work even if \$libdir does not exist
19961 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19963 # Whether we need a single "-rpath" flag with a separated argument.
19964 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19966 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19967 # DIR into the resulting binary.
19968 hardcode_direct=$hardcode_direct
19970 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19971 # DIR into the resulting binary and the resulting library dependency is
19972 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19973 # library is relocated.
19974 hardcode_direct_absolute=$hardcode_direct_absolute
19976 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19977 # into the resulting binary.
19978 hardcode_minus_L=$hardcode_minus_L
19980 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19981 # into the resulting binary.
19982 hardcode_shlibpath_var=$hardcode_shlibpath_var
19984 # Set to "yes" if building a shared library automatically hardcodes DIR
19985 # into the library and all subsequent libraries and executables linked
19987 hardcode_automatic=$hardcode_automatic
19989 # Set to yes if linker adds runtime paths of dependent libraries
19990 # to runtime path list.
19991 inherit_rpath=$inherit_rpath
19993 # Whether libtool must link a program against all its dependency libraries.
19994 link_all_deplibs=$link_all_deplibs
19996 # Set to "yes" if exported symbols are required.
19997 always_export_symbols=$always_export_symbols
19999 # The commands to list exported symbols.
20000 export_symbols_cmds=$lt_export_symbols_cmds
20002 # Symbols that should not be listed in the preloaded symbols.
20003 exclude_expsyms=$lt_exclude_expsyms
20005 # Symbols that must always be exported.
20006 include_expsyms=$lt_include_expsyms
20008 # Commands necessary for linking programs (against libraries) with templates.
20009 prelink_cmds=$lt_prelink_cmds
20011 # Commands necessary for finishing linking programs.
20012 postlink_cmds=$lt_postlink_cmds
20014 # Specify filename containing input files.
20015 file_list_spec=$lt_file_list_spec
20017 # How to hardcode a shared library path into an executable.
20018 hardcode_action=$hardcode_action
20020 # ### END LIBTOOL CONFIG
20026 cat <<\_LT_EOF >> "$cfgfile"
20027 # AIX sometimes has problems with the GCC collect2 program. For some
20028 # reason, if we set the COLLECT_NAMES environment variable, the problems
20029 # vanish in a puff of smoke.
20030 if test "X${COLLECT_NAMES+set}" != Xset; then
20032 export COLLECT_NAMES
20039 ltmain="$ac_aux_dir/ltmain.sh"
20042 # We use sed instead of cat because bash on DJGPP gets confused if
20043 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20044 # text mode, it properly converts lines to CR/LF. This bash problem
20045 # is reportedly fixed, but why not run on old versions too?
20046 sed '$q' "$ltmain" >> "$cfgfile" \
20047 || (rm -f "$cfgfile"; exit 1)
20049 if test x"$xsi_shell" = xyes; then
20050 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20054 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20055 \ * ) func_dirname_result="${3}" ;;\
20057 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20058 && mv -f "$cfgfile.tmp" "$cfgfile" \
20059 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20060 test 0 -eq $? || _lt_function_replace_fail=:
20063 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20066 \ func_basename_result="${1##*/}"\
20067 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20068 && mv -f "$cfgfile.tmp" "$cfgfile" \
20069 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20070 test 0 -eq $? || _lt_function_replace_fail=:
20073 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20074 func_dirname_and_basename ()\
20077 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20078 \ * ) func_dirname_result="${3}" ;;\
20080 \ func_basename_result="${1##*/}"\
20081 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20082 && mv -f "$cfgfile.tmp" "$cfgfile" \
20083 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20084 test 0 -eq $? || _lt_function_replace_fail=:
20087 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20090 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20091 \ # positional parameters, so assign one to ordinary parameter first.\
20092 \ func_stripname_result=${3}\
20093 \ func_stripname_result=${func_stripname_result#"${1}"}\
20094 \ func_stripname_result=${func_stripname_result%"${2}"}\
20095 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20096 && mv -f "$cfgfile.tmp" "$cfgfile" \
20097 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20098 test 0 -eq $? || _lt_function_replace_fail=:
20101 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20102 func_split_long_opt ()\
20104 \ func_split_long_opt_name=${1%%=*}\
20105 \ func_split_long_opt_arg=${1#*=}\
20106 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20107 && mv -f "$cfgfile.tmp" "$cfgfile" \
20108 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20109 test 0 -eq $? || _lt_function_replace_fail=:
20112 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20113 func_split_short_opt ()\
20115 \ func_split_short_opt_arg=${1#??}\
20116 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20117 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20118 && mv -f "$cfgfile.tmp" "$cfgfile" \
20119 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20120 test 0 -eq $? || _lt_function_replace_fail=:
20123 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20127 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20128 \ *) func_lo2o_result=${1} ;;\
20130 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20131 && mv -f "$cfgfile.tmp" "$cfgfile" \
20132 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20133 test 0 -eq $? || _lt_function_replace_fail=:
20136 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20139 func_xform_result=${1%.*}.lo\
20140 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20141 && mv -f "$cfgfile.tmp" "$cfgfile" \
20142 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20143 test 0 -eq $? || _lt_function_replace_fail=:
20146 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20149 func_arith_result=$(( $* ))\
20150 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20151 && mv -f "$cfgfile.tmp" "$cfgfile" \
20152 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20153 test 0 -eq $? || _lt_function_replace_fail=:
20156 sed -e '/^func_len ()$/,/^} # func_len /c\
20159 func_len_result=${#1}\
20160 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20161 && mv -f "$cfgfile.tmp" "$cfgfile" \
20162 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20163 test 0 -eq $? || _lt_function_replace_fail=:
20167 if test x"$lt_shell_append" = xyes; then
20168 sed -e '/^func_append ()$/,/^} # func_append /c\
20171 eval "${1}+=\\${2}"\
20172 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20173 && mv -f "$cfgfile.tmp" "$cfgfile" \
20174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20175 test 0 -eq $? || _lt_function_replace_fail=:
20178 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20179 func_append_quoted ()\
20181 \ func_quote_for_eval "${2}"\
20182 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20183 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20184 && mv -f "$cfgfile.tmp" "$cfgfile" \
20185 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20186 test 0 -eq $? || _lt_function_replace_fail=:
20189 # Save a `func_append' function call where possible by direct use of '+='
20190 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20191 && mv -f "$cfgfile.tmp" "$cfgfile" \
20192 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20193 test 0 -eq $? || _lt_function_replace_fail=:
20195 # Save a `func_append' function call even when '+=' is not available
20196 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20197 && mv -f "$cfgfile.tmp" "$cfgfile" \
20198 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20199 test 0 -eq $? || _lt_function_replace_fail=:
20202 if test x"$_lt_function_replace_fail" = x":"; then
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20204 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20208 mv -f "$cfgfile" "$ofile" ||
20209 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20220 ac_clean_files=$ac_clean_files_save
20222 test $ac_write_fail = 0 ||
20223 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20226 # configure is writing to config.log, and then calls config.status.
20227 # config.status does its own redirection, appending to config.log.
20228 # Unfortunately, on DOS this fails, as config.log is still kept open
20229 # by configure, so config.status won't be able to write to it; its
20230 # output is simply discarded. So we exec the FD to /dev/null,
20231 # effectively closing config.log, so it can be properly (re)opened and
20232 # appended to by config.status. When coming back to configure, we
20233 # need to make the FD available again.
20234 if test "$no_create" != yes; then
20236 ac_config_status_args=
20237 test "$silent" = yes &&
20238 ac_config_status_args="$ac_config_status_args --quiet"
20240 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20242 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20243 # would make configure fail if this is the last instruction.
20244 $ac_cs_success || as_fn_exit 1
20246 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20248 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20253 #####################################################################
20259 echo "------------------------------------------------------------------------"
20260 echo "$PACKAGE $VERSION"
20261 echo "------------------------------------------------------------------------"
20263 echo "Configuration Options Summary:"
20265 echo " Amalgamation.........: ${do_amalgamation}"
20266 echo " Ecore IMF............: $have_ecore_imf"
20268 if test "x${want_multisense}" = "xyes" ; then
20269 echo " LibRemix.............: $have_libremix"
20270 echo " Libsndfile...........: $have_sndfile"
20271 echo " Ogg/Vorbis...........: $have_vorbis"
20272 echo " LibFLAC..............: $have_flac_lib"
20273 echo " LibALSA..............: $have_alsa_lib"
20276 echo " EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
20277 echo " EDJE_CALC_CACHE......: $want_edje_calc_cache"
20278 echo " Fixed point..........: $want_fixed_point"
20279 echo " Documentation........: ${build_doc}"
20280 if test "x${build_doc}" = "xyes" ; then
20281 echo " Installation.......: make install-doc"
20283 echo " Tests................: ${enable_tests}"
20284 echo " Coverage.............: ${enable_coverage}"
20285 echo " Examples.............: install:${install_examples} build:${build_examples}"
20289 echo " Build edje_cc................: $have_edje_cc"
20290 echo " Build edje_decc..............: $have_edje_decc"
20291 echo " Build edje_recc..............: $have_edje_recc"
20292 echo " Build edje_player............: $have_edje_player"
20293 echo " Build edje_inspector.........: $have_edje_inspector"
20294 echo " Build edje_external_inspector: $have_edje_external_inspector"
20295 echo " Build edje_watch.............: $have_edje_watch"
20297 echo "Compilation............: make (or gmake)"
20298 echo " CPPFLAGS.............: $CPPFLAGS"
20299 echo " CFLAGS...............: $CFLAGS"
20300 echo " LDFLAGS..............: $LDFLAGS"
20302 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
20303 echo " prefix...............: $prefix"