2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for edje 1.7.2.
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.2'
574 PACKAGE_STRING='edje 1.7.2'
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.2 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.2:";;
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.2
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.2, 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
5688 netbsd* | netbsdelf*-gnu)
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++)
9084 linux* | k*bsd*-gnu | gnu*)
9091 # On some targets, GNU ld is compatible enough with the native linker
9092 # that we're better off using the native interface for both.
9093 lt_use_gnu_ld_interface=no
9094 if test "$with_gnu_ld" = yes; then
9097 # The AIX port of GNU ld has always aspired to compatibility
9098 # with the native linker. However, as the warning in the GNU ld
9099 # block says, versions before 2.19.5* couldn't really create working
9100 # shared libraries, regardless of the interface used.
9101 case `$LD -v 2>&1` in
9102 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9103 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9104 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9106 lt_use_gnu_ld_interface=yes
9111 lt_use_gnu_ld_interface=yes
9116 if test "$lt_use_gnu_ld_interface" = yes; then
9117 # If archive_cmds runs LD, not CC, wlarc should be empty
9120 # Set some defaults for GNU ld with shared library support. These
9121 # are reset later if shared libraries are not supported. Putting them
9122 # here allows them to be overridden if necessary.
9123 runpath_var=LD_RUN_PATH
9124 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9125 export_dynamic_flag_spec='${wl}--export-dynamic'
9126 # ancient GNU ld didn't support --whole-archive et. al.
9127 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9128 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9130 whole_archive_flag_spec=
9132 supports_anon_versioning=no
9133 case `$LD -v 2>&1` in
9134 *GNU\ gold*) supports_anon_versioning=yes ;;
9135 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9136 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9137 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9138 *\ 2.11.*) ;; # other 2.11 versions
9139 *) supports_anon_versioning=yes ;;
9142 # See if GNU ld supports shared libraries.
9145 # On AIX/PPC, the GNU linker is very broken
9146 if test "$host_cpu" != ia64; then
9150 *** Warning: the GNU linker, at least up to release 2.19, is reported
9151 *** to be unable to reliably create shared libraries on AIX.
9152 *** Therefore, libtool is disabling shared libraries support. If you
9153 *** really care for shared libraries, you may want to install binutils
9154 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9155 *** You will then need to restart the configuration process.
9164 # see comment about AmigaOS4 .so support
9165 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166 archive_expsym_cmds=''
9169 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)'
9170 hardcode_libdir_flag_spec='-L$libdir'
9171 hardcode_minus_L=yes
9177 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9178 allow_undefined_flag=unsupported
9179 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9180 # support --undefined. This deserves some investigation. FIXME
9181 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187 cygwin* | mingw* | pw32* | cegcc*)
9188 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9189 # as there is no search path for DLLs.
9190 hardcode_libdir_flag_spec='-L$libdir'
9191 export_dynamic_flag_spec='${wl}--export-all-symbols'
9192 allow_undefined_flag=unsupported
9193 always_export_symbols=no
9194 enable_shared_with_static_runtimes=yes
9195 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'
9196 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9198 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9200 # If the export-symbols file already is a .def file (1st line
9201 # is EXPORTS), use it as is; otherwise, prepend...
9202 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9203 cp $export_symbols $output_objdir/$soname.def;
9205 echo EXPORTS > $output_objdir/$soname.def;
9206 cat $export_symbols >> $output_objdir/$soname.def;
9208 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9215 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216 link_all_deplibs=yes
9221 hardcode_shlibpath_var=no
9222 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9223 export_dynamic_flag_spec='${wl}-E'
9224 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9225 # Instead, shared libraries are loaded at an image base (0x10000000 by
9226 # default) and relocated if they conflict, which is a slow very memory
9227 # consuming and fragmenting process. To avoid this, we pick a random,
9228 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9229 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9230 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9231 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'
9234 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9236 if test "$host_os" = linux-dietlibc; then
9237 case $cc_basename in
9238 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9241 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9242 && test "$tmp_diet" = no
9244 tmp_addflag=' $pic_flag'
9245 tmp_sharedflag='-shared'
9246 case $cc_basename,$host_cpu in
9247 pgcc*) # Portland Group C compiler
9248 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'
9249 tmp_addflag=' $pic_flag'
9251 pgf77* | pgf90* | pgf95* | pgfortran*)
9252 # Portland Group f77 and f90 compilers
9253 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'
9254 tmp_addflag=' $pic_flag -Mnomain' ;;
9255 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9256 tmp_addflag=' -i_dynamic' ;;
9257 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9258 tmp_addflag=' -i_dynamic -nofor_main' ;;
9259 ifc* | ifort*) # Intel Fortran compiler
9260 tmp_addflag=' -nofor_main' ;;
9261 lf95*) # Lahey Fortran 8.1
9262 whole_archive_flag_spec=
9263 tmp_sharedflag='--shared' ;;
9264 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9265 tmp_sharedflag='-qmkshrobj'
9267 nvcc*) # Cuda Compiler Driver 2.2
9268 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'
9269 compiler_needs_object=yes
9272 case `$CC -V 2>&1 | sed 5q` in
9273 *Sun\ C*) # Sun C 5.9
9274 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'
9275 compiler_needs_object=yes
9276 tmp_sharedflag='-G' ;;
9277 *Sun\ F*) # Sun Fortran 8.3
9278 tmp_sharedflag='-G' ;;
9280 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9282 if test "x$supports_anon_versioning" = xyes; then
9283 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9284 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9285 echo "local: *; };" >> $output_objdir/$libname.ver~
9286 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9289 case $cc_basename in
9290 xlf* | bgf* | bgxlf* | mpixlf*)
9291 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9292 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9293 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9294 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9295 if test "x$supports_anon_versioning" = xyes; then
9296 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9297 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9298 echo "local: *; };" >> $output_objdir/$libname.ver~
9299 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9308 netbsd* | netbsdelf*-gnu)
9309 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9310 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9313 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9324 *** create shared libraries on Solaris systems. Therefore, libtool
9325 *** is disabling shared libraries support. We urge you to upgrade GNU
9326 *** binutils to release 2.9.1 or newer. Another option is to modify
9327 *** your PATH or compiler configuration so that the native linker is
9328 *** used, and then restart.
9331 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9332 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9339 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9340 case `$LD -v 2>&1` in
9341 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9346 *** reliably create shared libraries on SCO systems. Therefore, libtool
9347 *** is disabling shared libraries support. We urge you to upgrade GNU
9348 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9349 *** your PATH or compiler configuration so that the native linker is
9350 *** used, and then restart.
9355 # For security reasons, it is highly recommended that you always
9356 # use absolute paths for naming shared libraries, and exclude the
9357 # DT_RUNPATH tag from executables and libraries. But doing so
9358 # requires that you compile everything twice, which is a pain.
9359 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9360 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9361 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9362 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9374 hardcode_shlibpath_var=no
9378 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9379 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9380 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9387 if test "$ld_shlibs" = no; then
9389 hardcode_libdir_flag_spec=
9390 export_dynamic_flag_spec=
9391 whole_archive_flag_spec=
9394 # PORTME fill in a description of your system's linker (not GNU ld)
9397 allow_undefined_flag=unsupported
9398 always_export_symbols=yes
9399 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'
9400 # Note: this linker hardcodes the directories in LIBPATH if there
9401 # are no directories specified by -L.
9402 hardcode_minus_L=yes
9403 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9404 # Neither direct hardcoding nor static linking is supported with a
9406 hardcode_direct=unsupported
9411 if test "$host_cpu" = ia64; then
9412 # On IA64, the linker does run time linking by default, so we don't
9413 # have to do anything special.
9414 aix_use_runtimelinking=no
9415 exp_sym_flag='-Bexport'
9418 # If we're using GNU nm, then we don't want the "-C" option.
9419 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9420 # Also, AIX nm treats weak defined symbols like other global
9421 # defined symbols, whereas GNU nm marks them as "W".
9422 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9423 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'
9425 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'
9427 aix_use_runtimelinking=no
9429 # Test if we are trying to use run time linking or normal
9430 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9431 # need to do runtime linking.
9432 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9433 for ld_flag in $LDFLAGS; do
9434 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9435 aix_use_runtimelinking=yes
9442 exp_sym_flag='-bexport'
9443 no_entry_flag='-bnoentry'
9446 # When large executables or shared objects are built, AIX ld can
9447 # have problems creating the table of contents. If linking a library
9448 # or program results in "error TOC overflow" add -mminimal-toc to
9449 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9450 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9454 hardcode_direct_absolute=yes
9455 hardcode_libdir_separator=':'
9456 link_all_deplibs=yes
9457 file_list_spec='${wl}-f,'
9459 if test "$GCC" = yes; then
9460 case $host_os in aix4.[012]|aix4.[012].*)
9461 # We only want to do this on AIX 4.2 and lower, the check
9462 # below for broken collect2 doesn't work under 4.3+
9463 collect2name=`${CC} -print-prog-name=collect2`
9464 if test -f "$collect2name" &&
9465 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9467 # We have reworked collect2
9470 # We have old collect2
9471 hardcode_direct=unsupported
9472 # It fails to find uninstalled libraries when the uninstalled
9473 # path is not listed in the libpath. Setting hardcode_minus_L
9474 # to unsupported forces relinking
9475 hardcode_minus_L=yes
9476 hardcode_libdir_flag_spec='-L$libdir'
9477 hardcode_libdir_separator=
9481 shared_flag='-shared'
9482 if test "$aix_use_runtimelinking" = yes; then
9483 shared_flag="$shared_flag "'${wl}-G'
9488 if test "$host_cpu" = ia64; then
9489 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9490 # chokes on -Wl,-G. The following line is correct:
9493 if test "$aix_use_runtimelinking" = yes; then
9494 shared_flag='${wl}-G'
9496 shared_flag='${wl}-bM:SRE'
9501 export_dynamic_flag_spec='${wl}-bexpall'
9502 # It seems that -bexpall does not export symbols beginning with
9503 # underscore (_), so it is better to generate a list of symbols to export.
9504 always_export_symbols=yes
9505 if test "$aix_use_runtimelinking" = yes; then
9506 # Warning - without using the other runtime loading flags (-brtl),
9507 # -berok will link without error, but may produce a broken library.
9508 allow_undefined_flag='-berok'
9509 # Determine the default libpath from the value encoded in an
9511 if test "${lt_cv_aix_libpath+set}" = set; then
9512 aix_libpath=$lt_cv_aix_libpath
9514 if ${lt_cv_aix_libpath_+:} false; then :
9515 $as_echo_n "(cached) " >&6
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9528 if ac_fn_c_try_link "$LINENO"; then :
9530 lt_aix_libpath_sed='
9531 /Import File Strings/,/^$/ {
9533 s/^0 *\([^ ]*\) *$/\1/
9537 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9538 # Check for a 64-bit object if we didn't find anything.
9539 if test -z "$lt_cv_aix_libpath_"; then
9540 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9543 rm -f core conftest.err conftest.$ac_objext \
9544 conftest$ac_exeext conftest.$ac_ext
9545 if test -z "$lt_cv_aix_libpath_"; then
9546 lt_cv_aix_libpath_="/usr/lib:/lib"
9551 aix_libpath=$lt_cv_aix_libpath_
9554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 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"
9557 if test "$host_cpu" = ia64; then
9558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559 allow_undefined_flag="-z nodefs"
9560 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"
9562 # Determine the default libpath from the value encoded in an
9564 if test "${lt_cv_aix_libpath+set}" = set; then
9565 aix_libpath=$lt_cv_aix_libpath
9567 if ${lt_cv_aix_libpath_+:} false; then :
9568 $as_echo_n "(cached) " >&6
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9581 if ac_fn_c_try_link "$LINENO"; then :
9583 lt_aix_libpath_sed='
9584 /Import File Strings/,/^$/ {
9586 s/^0 *\([^ ]*\) *$/\1/
9590 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 # Check for a 64-bit object if we didn't find anything.
9592 if test -z "$lt_cv_aix_libpath_"; then
9593 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9596 rm -f core conftest.err conftest.$ac_objext \
9597 conftest$ac_exeext conftest.$ac_ext
9598 if test -z "$lt_cv_aix_libpath_"; then
9599 lt_cv_aix_libpath_="/usr/lib:/lib"
9604 aix_libpath=$lt_cv_aix_libpath_
9607 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9608 # Warning - without using the other run time loading flags,
9609 # -berok will link without error, but may produce a broken library.
9610 no_undefined_flag=' ${wl}-bernotok'
9611 allow_undefined_flag=' ${wl}-berok'
9612 if test "$with_gnu_ld" = yes; then
9613 # We only use this code for GNU lds that support --whole-archive.
9614 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9616 # Exported symbols can be pulled into shared objects from archives
9617 whole_archive_flag_spec='$convenience'
9619 archive_cmds_need_lc=yes
9620 # This is similar to how AIX traditionally builds its shared libraries.
9621 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'
9629 # see comment about AmigaOS4 .so support
9630 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9631 archive_expsym_cmds=''
9634 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)'
9635 hardcode_libdir_flag_spec='-L$libdir'
9636 hardcode_minus_L=yes
9642 export_dynamic_flag_spec=-rdynamic
9645 cygwin* | mingw* | pw32* | cegcc*)
9646 # When not using gcc, we currently assume that we are using
9647 # Microsoft Visual C++.
9648 # hardcode_libdir_flag_spec is actually meaningless, as there is
9649 # no search path for DLLs.
9650 case $cc_basename in
9653 hardcode_libdir_flag_spec=' '
9654 allow_undefined_flag=unsupported
9655 always_export_symbols=yes
9657 # Tell ltmain to make .lib files, not .a files.
9659 # Tell ltmain to make .dll files, not .so files.
9661 # FIXME: Setting linknames here is a bad hack.
9662 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9663 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9664 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9666 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9668 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9670 # The linker will not automatically build a static lib if we build a DLL.
9671 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9672 enable_shared_with_static_runtimes=yes
9673 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9674 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9676 old_postinstall_cmds='chmod 644 $oldlib'
9677 postlink_cmds='lt_outputfile="@OUTPUT@"~
9678 lt_tool_outputfile="@TOOL_OUTPUT@"~
9679 case $lt_outputfile in
9682 lt_outputfile="$lt_outputfile.exe"
9683 lt_tool_outputfile="$lt_tool_outputfile.exe"
9686 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9687 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9688 $RM "$lt_outputfile.manifest";
9692 # Assume MSVC wrapper
9693 hardcode_libdir_flag_spec=' '
9694 allow_undefined_flag=unsupported
9695 # Tell ltmain to make .lib files, not .a files.
9697 # Tell ltmain to make .dll files, not .so files.
9699 # FIXME: Setting linknames here is a bad hack.
9700 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9701 # The linker will automatically build a .lib file if we build a DLL.
9702 old_archive_from_new_cmds='true'
9703 # FIXME: Should let the user specify the lib program.
9704 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9705 enable_shared_with_static_runtimes=yes
9710 darwin* | rhapsody*)
9713 archive_cmds_need_lc=no
9715 hardcode_automatic=yes
9716 hardcode_shlibpath_var=unsupported
9717 if test "$lt_cv_ld_force_load" = "yes"; then
9718 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\"`'
9721 whole_archive_flag_spec=''
9723 link_all_deplibs=yes
9724 allow_undefined_flag="$_lt_dar_allow_undefined"
9725 case $cc_basename in
9726 ifort*) _lt_dar_can_shared=yes ;;
9727 *) _lt_dar_can_shared=$GCC ;;
9729 if test "$_lt_dar_can_shared" = "yes"; then
9730 output_verbose_link_cmd=func_echo_all
9731 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9732 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9733 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}"
9734 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}"
9743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9744 hardcode_libdir_flag_spec='-L$libdir'
9745 hardcode_shlibpath_var=no
9748 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9749 # support. Future versions do this automatically, but an explicit c++rt0.o
9750 # does not break anything, and helps significantly (at the cost of a little
9753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9754 hardcode_libdir_flag_spec='-R$libdir'
9756 hardcode_shlibpath_var=no
9759 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9761 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9763 hardcode_minus_L=yes
9764 hardcode_shlibpath_var=no
9767 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9768 freebsd* | dragonfly*)
9769 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9770 hardcode_libdir_flag_spec='-R$libdir'
9772 hardcode_shlibpath_var=no
9776 if test "$GCC" = yes; then
9777 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'
9779 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'
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_separator=:
9785 # hardcode_minus_L: Not really in the search PATH,
9786 # but as the default location of the library.
9787 hardcode_minus_L=yes
9788 export_dynamic_flag_spec='${wl}-E'
9792 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9793 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9795 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9797 if test "$with_gnu_ld" = no; then
9798 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9799 hardcode_libdir_separator=:
9801 hardcode_direct_absolute=yes
9802 export_dynamic_flag_spec='${wl}-E'
9803 # hardcode_minus_L: Not really in the search PATH,
9804 # but as the default location of the library.
9805 hardcode_minus_L=yes
9810 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9813 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9816 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9819 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9825 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9828 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9832 # Older versions of the 11.00 compiler do not understand -b yet
9833 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9835 $as_echo_n "checking if $CC understands -b... " >&6; }
9836 if ${lt_cv_prog_compiler__b+:} false; then :
9837 $as_echo_n "(cached) " >&6
9839 lt_cv_prog_compiler__b=no
9840 save_LDFLAGS="$LDFLAGS"
9841 LDFLAGS="$LDFLAGS -b"
9842 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9844 # The linker can only warn and ignore the option if not recognized
9845 # So say no if there are warnings
9846 if test -s conftest.err; then
9847 # Append any errors to the config.log.
9848 cat conftest.err 1>&5
9849 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9851 if diff conftest.exp conftest.er2 >/dev/null; then
9852 lt_cv_prog_compiler__b=yes
9855 lt_cv_prog_compiler__b=yes
9859 LDFLAGS="$save_LDFLAGS"
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9863 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9865 if test x"$lt_cv_prog_compiler__b" = xyes; then
9866 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9868 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9874 if test "$with_gnu_ld" = no; then
9875 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9876 hardcode_libdir_separator=:
9881 hardcode_shlibpath_var=no
9885 hardcode_direct_absolute=yes
9886 export_dynamic_flag_spec='${wl}-E'
9888 # hardcode_minus_L: Not really in the search PATH,
9889 # but as the default location of the library.
9890 hardcode_minus_L=yes
9896 irix5* | irix6* | nonstopux*)
9897 if test "$GCC" = yes; then
9898 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'
9899 # Try to use the -exported_symbol ld option, if it does not
9900 # work, assume that -exports_file does not work either and
9901 # implicitly export all symbols.
9902 # This should be the same for all languages, so no per-tag cache variable.
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9904 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9905 if ${lt_cv_irix_exported_symbol+:} false; then :
9906 $as_echo_n "(cached) " >&6
9908 save_LDFLAGS="$LDFLAGS"
9909 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int foo (void) { return 0; }
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 lt_cv_irix_exported_symbol=yes
9917 lt_cv_irix_exported_symbol=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LDFLAGS="$save_LDFLAGS"
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9924 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9925 if test "$lt_cv_irix_exported_symbol" = yes; then
9926 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'
9929 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'
9930 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'
9932 archive_cmds_need_lc='no'
9933 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9934 hardcode_libdir_separator=:
9936 link_all_deplibs=yes
9939 netbsd* | netbsdelf*-gnu)
9940 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9941 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9943 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9945 hardcode_libdir_flag_spec='-R$libdir'
9947 hardcode_shlibpath_var=no
9951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9954 hardcode_libdir_separator=:
9955 hardcode_shlibpath_var=no
9962 if test -f /usr/libexec/ld.so; then
9964 hardcode_shlibpath_var=no
9965 hardcode_direct_absolute=yes
9966 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9967 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9969 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9970 export_dynamic_flag_spec='${wl}-E'
9973 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9974 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9975 hardcode_libdir_flag_spec='-R$libdir'
9978 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9979 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9989 hardcode_libdir_flag_spec='-L$libdir'
9990 hardcode_minus_L=yes
9991 allow_undefined_flag=unsupported
9992 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'
9993 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9997 if test "$GCC" = yes; then
9998 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9999 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'
10001 allow_undefined_flag=' -expect_unresolved \*'
10002 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'
10004 archive_cmds_need_lc='no'
10005 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10006 hardcode_libdir_separator=:
10009 osf4* | osf5*) # as osf3* with the addition of -msym flag
10010 if test "$GCC" = yes; then
10011 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10012 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'
10013 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10015 allow_undefined_flag=' -expect_unresolved \*'
10016 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'
10017 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~
10018 $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'
10020 # Both c and cxx compiler support -rpath directly
10021 hardcode_libdir_flag_spec='-rpath $libdir'
10023 archive_cmds_need_lc='no'
10024 hardcode_libdir_separator=:
10028 no_undefined_flag=' -z defs'
10029 if test "$GCC" = yes; then
10031 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10032 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10033 $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'
10035 case `$CC -V 2>&1` in
10038 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10039 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10040 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10044 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10045 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10046 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10050 hardcode_libdir_flag_spec='-R$libdir'
10051 hardcode_shlibpath_var=no
10053 solaris2.[0-5] | solaris2.[0-5].*) ;;
10055 # The compiler driver will combine and reorder linker options,
10056 # but understands `-z linker_flag'. GCC discards it without `$wl',
10057 # but is careful enough not to reorder.
10058 # Supported since Solaris 2.6 (maybe 2.5.1?)
10059 if test "$GCC" = yes; then
10060 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10062 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10066 link_all_deplibs=yes
10070 if test "x$host_vendor" = xsequent; then
10071 # Use $CC to link under sequent, because it throws in some extra .o
10072 # files that make .init and .fini sections work.
10073 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10075 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_libdir_flag_spec='-L$libdir'
10078 hardcode_direct=yes
10079 hardcode_minus_L=yes
10080 hardcode_shlibpath_var=no
10084 case $host_vendor in
10086 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087 hardcode_direct=yes # is this really true???
10090 ## LD is ld it makes a PLAMLIB
10091 ## CC just makes a GrossModule.
10092 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10093 reload_cmds='$CC -r -o $output$reload_objs'
10097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10101 runpath_var='LD_RUN_PATH'
10102 hardcode_shlibpath_var=no
10106 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107 hardcode_shlibpath_var=no
10108 export_dynamic_flag_spec='-Bexport'
10112 if test -d /usr/nec; then
10113 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114 hardcode_shlibpath_var=no
10115 runpath_var=LD_RUN_PATH
10116 hardcode_runpath_var=yes
10121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10122 no_undefined_flag='${wl}-z,text'
10123 archive_cmds_need_lc=no
10124 hardcode_shlibpath_var=no
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 sysv5* | sco3.2v5* | sco5v6*)
10137 # Note: We can NOT use -z defs as we might desire, because we do not
10138 # link with -lc, and that would cause any symbols used from libc to
10139 # always be unresolved, which means just about no library would
10140 # ever link correctly. If we're not using GNU ld we use -z text
10141 # though, which does catch some bad symbols but isn't as heavy-handed
10143 no_undefined_flag='${wl}-z,text'
10144 allow_undefined_flag='${wl}-z,nodefs'
10145 archive_cmds_need_lc=no
10146 hardcode_shlibpath_var=no
10147 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10148 hardcode_libdir_separator=':'
10149 link_all_deplibs=yes
10150 export_dynamic_flag_spec='${wl}-Bexport'
10151 runpath_var='LD_RUN_PATH'
10153 if test "$GCC" = yes; then
10154 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10155 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10157 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10158 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10163 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10164 hardcode_libdir_flag_spec='-L$libdir'
10165 hardcode_shlibpath_var=no
10173 if test x$host_vendor = xsni; then
10175 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10176 export_dynamic_flag_spec='${wl}-Blargedynsym'
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10183 $as_echo "$ld_shlibs" >&6; }
10184 test "$ld_shlibs" = no && can_build_shared=no
10186 with_gnu_ld=$with_gnu_ld
10203 # Do we need to explicitly link libc?
10205 case "x$archive_cmds_need_lc" in
10207 # Assume -lc should be added
10208 archive_cmds_need_lc=yes
10210 if test "$enable_shared" = yes && test "$GCC" = yes; then
10211 case $archive_cmds in
10213 # FIXME: we may have to deal with multi-command sequences.
10216 # Test whether the compiler implicitly links with -lc since on some
10217 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10218 # to ld, don't add -lc before -lgcc.
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10220 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10221 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10222 $as_echo_n "(cached) " >&6
10225 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10228 (eval $ac_compile) 2>&5
10230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10231 test $ac_status = 0; } 2>conftest.err; then
10234 libobjs=conftest.$ac_objext
10236 wl=$lt_prog_compiler_wl
10237 pic_flag=$lt_prog_compiler_pic
10243 lt_save_allow_undefined_flag=$allow_undefined_flag
10244 allow_undefined_flag=
10245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10246 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10249 test $ac_status = 0; }
10251 lt_cv_archive_cmds_need_lc=no
10253 lt_cv_archive_cmds_need_lc=yes
10255 allow_undefined_flag=$lt_save_allow_undefined_flag
10257 cat conftest.err 1>&5
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10263 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10264 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10423 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10425 if test "$GCC" = yes; then
10427 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10428 *) lt_awk_arg="/^libraries:/" ;;
10431 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10432 *) lt_sed_strip_eq="s,=/,/,g" ;;
10434 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10435 case $lt_search_path_spec in
10437 # if the path contains ";" then we assume it to be the separator
10438 # otherwise default to the standard path separator (i.e. ":") - it is
10439 # assumed that no part of a normal pathname contains ";" but that should
10440 # okay in the real world where ";" in dirpaths is itself problematic.
10441 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10444 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10447 # Ok, now we have the path, separated by spaces, we can step through it
10448 # and add multilib dir if necessary.
10449 lt_tmp_lt_search_path_spec=
10450 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10451 for lt_sys_path in $lt_search_path_spec; do
10452 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10453 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10455 test -d "$lt_sys_path" && \
10456 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10459 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10460 BEGIN {RS=" "; FS="/|\n";} {
10463 for (lt_i = NF; lt_i > 0; lt_i--) {
10464 if ($lt_i != "" && $lt_i != ".") {
10465 if ($lt_i == "..") {
10468 if (lt_count == 0) {
10469 lt_foo="/" $lt_i lt_foo;
10476 if (lt_foo != "") { lt_freq[lt_foo]++; }
10477 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10479 # AWK program above erroneously prepends '/' to C:/dos/paths
10482 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10483 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10485 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10487 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10489 library_names_spec=
10490 libname_spec='lib$name'
10494 postuninstall_cmds=
10498 shlibpath_overrides_runpath=unknown
10500 dynamic_linker="$host_os ld.so"
10501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10502 need_lib_prefix=unknown
10503 hardcode_into_libs=no
10505 # when you set need_version to no, make sure it does not cause -set_version
10506 # flags to be left without arguments
10507 need_version=unknown
10511 version_type=linux # correct to gnu/linux during the next big refactor
10512 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10513 shlibpath_var=LIBPATH
10515 # AIX 3 has no versioning support, so we append a major version to the name.
10516 soname_spec='${libname}${release}${shared_ext}$major'
10520 version_type=linux # correct to gnu/linux during the next big refactor
10523 hardcode_into_libs=yes
10524 if test "$host_cpu" = ia64; then
10525 # AIX 5 supports IA64
10526 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10527 shlibpath_var=LD_LIBRARY_PATH
10529 # With GCC up to 2.95.x, collect2 would create an import file
10530 # for dependence libraries. The import file would start with
10531 # the line `#! .'. This would cause the generated library to
10532 # depend on `.', always an invalid library. This was fixed in
10533 # development snapshots of GCC prior to 3.0.
10535 aix4 | aix4.[01] | aix4.[01].*)
10536 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10538 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10541 can_build_shared=no
10545 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10546 # soname into executable. Probably we can add versioning support to
10547 # collect2, so additional links can be useful in future.
10548 if test "$aix_use_runtimelinking" = yes; then
10549 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10550 # instead of lib<name>.a to let people know that these are not
10551 # typical AIX shared libraries.
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 # We preserve .a as extension for shared libraries through AIX4.2
10555 # and later when we are not doing run time linking.
10556 library_names_spec='${libname}${release}.a $libname.a'
10557 soname_spec='${libname}${release}${shared_ext}$major'
10559 shlibpath_var=LIBPATH
10566 # Since July 2007 AmigaOS4 officially supports .so libraries.
10567 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10571 library_names_spec='$libname.ixlibrary $libname.a'
10572 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10573 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'
10579 library_names_spec='${libname}${shared_ext}'
10580 dynamic_linker="$host_os ld.so"
10581 shlibpath_var=LIBRARY_PATH
10585 version_type=linux # correct to gnu/linux during the next big refactor
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588 soname_spec='${libname}${release}${shared_ext}$major'
10589 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10590 shlibpath_var=LD_LIBRARY_PATH
10591 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10592 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10593 # the default ld.so.conf also contains /usr/contrib/lib and
10594 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10595 # libtool to hard-code these into programs
10598 cygwin* | mingw* | pw32* | cegcc*)
10599 version_type=windows
10604 case $GCC,$cc_basename in
10607 library_names_spec='$libname.dll.a'
10608 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10609 postinstall_cmds='base_file=`basename \${file}`~
10610 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10611 dldir=$destdir/`dirname \$dlpath`~
10612 test -d \$dldir || mkdir -p \$dldir~
10613 $install_prog $dir/$dlname \$dldir/$dlname~
10614 chmod a+x \$dldir/$dlname~
10615 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10616 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10618 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10619 dlpath=$dir/\$dldll~
10621 shlibpath_overrides_runpath=yes
10625 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10626 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10628 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10631 # MinGW DLLs use traditional 'lib' prefix
10632 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10635 # pw32 DLLs use 'pw' prefix rather than 'lib'
10636 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10639 dynamic_linker='Win32 ld.exe'
10644 libname_spec='$name'
10645 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10646 library_names_spec='${libname}.dll.lib'
10650 sys_lib_search_path_spec=
10653 for lt_path in $LIB
10656 # Let DOS variable expansion print the short 8.3 style file name.
10657 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10658 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10661 # Convert to MSYS style.
10662 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10665 # Convert to unix form, then to dos form, then back to unix form
10666 # but this time dos style (no spaces!) so that the unix form looks
10667 # like /cygdrive/c/PROGRA~1:/cygdr...
10668 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10669 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10670 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10673 sys_lib_search_path_spec="$LIB"
10674 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10675 # It is most probably a Windows format PATH.
10676 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10678 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10680 # FIXME: find the short name or the path components, as spaces are
10681 # common. (e.g. "Program Files" -> "PROGRA~1")
10685 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10686 postinstall_cmds='base_file=`basename \${file}`~
10687 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10688 dldir=$destdir/`dirname \$dlpath`~
10689 test -d \$dldir || mkdir -p \$dldir~
10690 $install_prog $dir/$dlname \$dldir/$dlname'
10691 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10692 dlpath=$dir/\$dldll~
10694 shlibpath_overrides_runpath=yes
10695 dynamic_linker='Win32 link.exe'
10699 # Assume MSVC wrapper
10700 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10701 dynamic_linker='Win32 ld.exe'
10704 # FIXME: first we should search . and the directory the executable is in
10708 darwin* | rhapsody*)
10709 dynamic_linker="$host_os dyld"
10710 version_type=darwin
10713 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10714 soname_spec='${libname}${release}${major}$shared_ext'
10715 shlibpath_overrides_runpath=yes
10716 shlibpath_var=DYLD_LIBRARY_PATH
10717 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10719 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10720 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10724 version_type=linux # correct to gnu/linux during the next big refactor
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10728 soname_spec='${libname}${release}${shared_ext}$major'
10729 shlibpath_var=LD_LIBRARY_PATH
10732 freebsd* | dragonfly*)
10733 # DragonFly does not have aout. When/if they implement a new
10734 # versioning mechanism, adjust this.
10735 if test -x /usr/bin/objformat; then
10736 objformat=`/usr/bin/objformat`
10739 freebsd[23].*) objformat=aout ;;
10740 *) objformat=elf ;;
10743 version_type=freebsd-$objformat
10744 case $version_type in
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10755 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=yes
10760 freebsd3.[01]* | freebsdelf3.[01]*)
10761 shlibpath_overrides_runpath=yes
10762 hardcode_into_libs=yes
10764 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10765 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10766 shlibpath_overrides_runpath=no
10767 hardcode_into_libs=yes
10769 *) # from 4.6 on, and DragonFly
10770 shlibpath_overrides_runpath=yes
10771 hardcode_into_libs=yes
10777 version_type=linux # correct to gnu/linux during the next big refactor
10780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10781 soname_spec='${libname}${release}${shared_ext}$major'
10782 shlibpath_var=LD_LIBRARY_PATH
10783 shlibpath_overrides_runpath=no
10784 hardcode_into_libs=yes
10788 version_type=linux # correct to gnu/linux during the next big refactor
10791 dynamic_linker="$host_os runtime_loader"
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10793 soname_spec='${libname}${release}${shared_ext}$major'
10794 shlibpath_var=LIBRARY_PATH
10795 shlibpath_overrides_runpath=yes
10796 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10797 hardcode_into_libs=yes
10800 hpux9* | hpux10* | hpux11*)
10801 # Give a soname corresponding to the major version so that dld.sl refuses to
10802 # link against other versions.
10809 hardcode_into_libs=yes
10810 dynamic_linker="$host_os dld.so"
10811 shlibpath_var=LD_LIBRARY_PATH
10812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 if test "X$HPUX_IA64_MODE" = X32; then
10816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10824 hardcode_into_libs=yes
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10835 dynamic_linker="$host_os dld.sl"
10836 shlibpath_var=SHLIB_PATH
10837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10842 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10843 postinstall_cmds='chmod 555 $lib'
10844 # or fails outright, so override atomically:
10845 install_override_mode=555
10849 version_type=linux # correct to gnu/linux during the next big refactor
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10857 hardcode_into_libs=yes
10860 irix5* | irix6* | nonstopux*)
10862 nonstopux*) version_type=nonstopux ;;
10864 if test "$lt_cv_prog_gnu_ld" = yes; then
10865 version_type=linux # correct to gnu/linux during the next big refactor
10872 soname_spec='${libname}${release}${shared_ext}$major'
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10875 irix5* | nonstopux*)
10876 libsuff= shlibsuff=
10879 case $LD in # libtool.m4 will add one of these switches to LD
10880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10881 libsuff= shlibsuff= libmagic=32-bit;;
10882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10883 libsuff=32 shlibsuff=N32 libmagic=N32;;
10884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10886 *) libsuff= shlibsuff= libmagic=never-match;;
10890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10891 shlibpath_overrides_runpath=no
10892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10894 hardcode_into_libs=yes
10897 # No shared lib support for Linux oldld, aout, or coff.
10898 linux*oldld* | linux*aout* | linux*coff*)
10902 # This must be glibc/ELF.
10903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10904 version_type=linux # correct to gnu/linux during the next big refactor
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=no
10913 # Some binutils ld are patched to set DT_RUNPATH
10914 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10915 $as_echo_n "(cached) " >&6
10917 lt_cv_shlibpath_overrides_runpath=no
10918 save_LDFLAGS=$LDFLAGS
10919 save_libdir=$libdir
10920 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10921 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10923 /* end confdefs.h. */
10933 if ac_fn_c_try_link "$LINENO"; then :
10934 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10935 lt_cv_shlibpath_overrides_runpath=yes
10938 rm -f core conftest.err conftest.$ac_objext \
10939 conftest$ac_exeext conftest.$ac_ext
10940 LDFLAGS=$save_LDFLAGS
10941 libdir=$save_libdir
10945 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10947 # This implies no fast_install, which is unacceptable.
10948 # Some rework will be needed to allow for fast_install
10949 # before this can be enabled.
10950 hardcode_into_libs=yes
10952 # Append ld.so.conf contents to the search path
10953 if test -f /etc/ld.so.conf; then
10954 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' ' '`
10955 sys_lib_dlsearch_path_spec="/lib /usr/lib $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 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10972 soname_spec='${libname}${release}${shared_ext}$major'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath=no
10975 hardcode_into_libs=yes
10976 dynamic_linker='NetBSD ld.elf_so'
10983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10985 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10986 dynamic_linker='NetBSD (a.out) ld.so'
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10989 soname_spec='${libname}${release}${shared_ext}$major'
10990 dynamic_linker='NetBSD ld.elf_so'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 shlibpath_overrides_runpath=yes
10994 hardcode_into_libs=yes
10998 version_type=linux # correct to gnu/linux during the next big refactor
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 shlibpath_overrides_runpath=yes
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=no
11012 hardcode_into_libs=yes
11013 dynamic_linker='ldqnx.so'
11018 sys_lib_dlsearch_path_spec="/usr/lib"
11020 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11022 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11023 *) need_version=no ;;
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11026 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11027 shlibpath_var=LD_LIBRARY_PATH
11028 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11030 openbsd2.[89] | openbsd2.[89].*)
11031 shlibpath_overrides_runpath=no
11034 shlibpath_overrides_runpath=yes
11038 shlibpath_overrides_runpath=yes
11043 libname_spec='$name'
11046 library_names_spec='$libname${shared_ext} $libname.a'
11047 dynamic_linker='OS/2 ld.exe'
11048 shlibpath_var=LIBPATH
11051 osf3* | osf4* | osf5*)
11055 soname_spec='${libname}${release}${shared_ext}$major'
11056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057 shlibpath_var=LD_LIBRARY_PATH
11058 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11059 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11067 version_type=linux # correct to gnu/linux during the next big refactor
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 soname_spec='${libname}${release}${shared_ext}$major'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=yes
11074 hardcode_into_libs=yes
11075 # ldd complains unless libraries are executable
11076 postinstall_cmds='chmod +x $lib'
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11082 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 shlibpath_overrides_runpath=yes
11085 if test "$with_gnu_ld" = yes; then
11092 version_type=linux # correct to gnu/linux during the next big refactor
11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094 soname_spec='${libname}${release}${shared_ext}$major'
11095 shlibpath_var=LD_LIBRARY_PATH
11096 case $host_vendor in
11098 shlibpath_overrides_runpath=no
11100 runpath_var=LD_RUN_PATH
11108 shlibpath_overrides_runpath=no
11109 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11115 if test -d /usr/nec ;then
11116 version_type=linux # correct to gnu/linux during the next big refactor
11117 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11118 soname_spec='$libname${shared_ext}.$major'
11119 shlibpath_var=LD_LIBRARY_PATH
11123 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11124 version_type=freebsd-elf
11127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11128 soname_spec='${libname}${release}${shared_ext}$major'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=yes
11131 hardcode_into_libs=yes
11132 if test "$with_gnu_ld" = yes; then
11133 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11135 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11138 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11142 sys_lib_dlsearch_path_spec='/usr/lib'
11146 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11147 version_type=linux # correct to gnu/linux during the next big refactor
11150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151 shlibpath_var=LD_LIBRARY_PATH
11152 shlibpath_overrides_runpath=no
11153 hardcode_into_libs=yes
11157 version_type=linux # correct to gnu/linux during the next big refactor
11158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159 soname_spec='${libname}${release}${shared_ext}$major'
11160 shlibpath_var=LD_LIBRARY_PATH
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11168 $as_echo "$dynamic_linker" >&6; }
11169 test "$dynamic_linker" = no && can_build_shared=no
11171 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11172 if test "$GCC" = yes; then
11173 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11176 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11177 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11179 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11180 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11275 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11277 if test -n "$hardcode_libdir_flag_spec" ||
11278 test -n "$runpath_var" ||
11279 test "X$hardcode_automatic" = "Xyes" ; then
11281 # We can hardcode non-existent directories.
11282 if test "$hardcode_direct" != no &&
11283 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11284 # have to relink, otherwise we might link with an installed library
11285 # when we should be linking with a yet-to-be-installed one
11286 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11287 test "$hardcode_minus_L" != no; then
11288 # Linking always hardcodes the temporary library directory.
11289 hardcode_action=relink
11291 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11292 hardcode_action=immediate
11295 # We cannot hardcode anything, or else we can only hardcode existing
11297 hardcode_action=unsupported
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11300 $as_echo "$hardcode_action" >&6; }
11302 if test "$hardcode_action" = relink ||
11303 test "$inherit_rpath" = yes; then
11304 # Fast installation is not supported
11305 enable_fast_install=no
11306 elif test "$shlibpath_overrides_runpath" = yes ||
11307 test "$enable_shared" = no; then
11308 # Fast installation is not necessary
11309 enable_fast_install=needless
11317 if test "x$enable_dlopen" != xyes; then
11318 enable_dlopen=unknown
11319 enable_dlopen_self=unknown
11320 enable_dlopen_self_static=unknown
11327 lt_cv_dlopen="load_add_on"
11329 lt_cv_dlopen_self=yes
11332 mingw* | pw32* | cegcc*)
11333 lt_cv_dlopen="LoadLibrary"
11338 lt_cv_dlopen="dlopen"
11343 # if libdl is installed we need to link against it
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11346 if ${ac_cv_lib_dl_dlopen+:} false; then :
11347 $as_echo_n "(cached) " >&6
11349 ac_check_lib_save_LIBS=$LIBS
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_dl_dlopen=yes
11372 ac_cv_lib_dl_dlopen=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11380 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11381 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 lt_cv_dlopen="dyld"
11386 lt_cv_dlopen_self=yes
11393 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11394 if test "x$ac_cv_func_shl_load" = xyes; then :
11395 lt_cv_dlopen="shl_load"
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11398 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11399 if ${ac_cv_lib_dld_shl_load+:} false; then :
11400 $as_echo_n "(cached) " >&6
11402 ac_check_lib_save_LIBS=$LIBS
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11417 return shl_load ();
11422 if ac_fn_c_try_link "$LINENO"; then :
11423 ac_cv_lib_dld_shl_load=yes
11425 ac_cv_lib_dld_shl_load=no
11427 rm -f core conftest.err conftest.$ac_objext \
11428 conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_lib_save_LIBS
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11432 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11433 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11434 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11436 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11437 if test "x$ac_cv_func_dlopen" = xyes; then :
11438 lt_cv_dlopen="dlopen"
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11441 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11442 if ${ac_cv_lib_dl_dlopen+:} false; then :
11443 $as_echo_n "(cached) " >&6
11445 ac_check_lib_save_LIBS=$LIBS
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_dl_dlopen=yes
11468 ac_cv_lib_dl_dlopen=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11476 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11481 if ${ac_cv_lib_svld_dlopen+:} false; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lsvld $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11504 if ac_fn_c_try_link "$LINENO"; then :
11505 ac_cv_lib_svld_dlopen=yes
11507 ac_cv_lib_svld_dlopen=no
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11514 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11515 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11516 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11519 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11520 if ${ac_cv_lib_dld_dld_link+:} false; then :
11521 $as_echo_n "(cached) " >&6
11523 ac_check_lib_save_LIBS=$LIBS
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11538 return dld_link ();
11543 if ac_fn_c_try_link "$LINENO"; then :
11544 ac_cv_lib_dld_dld_link=yes
11546 ac_cv_lib_dld_dld_link=no
11548 rm -f core conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_lib_save_LIBS
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11553 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11554 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11555 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11576 if test "x$lt_cv_dlopen" != xno; then
11582 case $lt_cv_dlopen in
11584 save_CPPFLAGS="$CPPFLAGS"
11585 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11587 save_LDFLAGS="$LDFLAGS"
11588 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11591 LIBS="$lt_cv_dlopen_libs $LIBS"
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11594 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11595 if ${lt_cv_dlopen_self+:} false; then :
11596 $as_echo_n "(cached) " >&6
11598 if test "$cross_compiling" = yes; then :
11599 lt_cv_dlopen_self=cross
11601 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11602 lt_status=$lt_dlunknown
11603 cat > conftest.$ac_ext <<_LT_EOF
11604 #line $LINENO "configure"
11605 #include "confdefs.h"
11614 # define LT_DLGLOBAL RTLD_GLOBAL
11617 # define LT_DLGLOBAL DL_GLOBAL
11619 # define LT_DLGLOBAL 0
11623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11624 find out it does not work in some platform. */
11625 #ifndef LT_DLLAZY_OR_NOW
11627 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11630 # define LT_DLLAZY_OR_NOW DL_LAZY
11633 # define LT_DLLAZY_OR_NOW RTLD_NOW
11636 # define LT_DLLAZY_OR_NOW DL_NOW
11638 # define LT_DLLAZY_OR_NOW 0
11645 /* When -fvisbility=hidden is used, assume the code has been annotated
11646 correspondingly for the symbols needed. */
11647 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11648 int fnord () __attribute__((visibility("default")));
11651 int fnord () { return 42; }
11654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11655 int status = $lt_dlunknown;
11659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11662 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11663 else puts (dlerror ());
11665 /* dlclose (self); */
11673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11674 (eval $ac_link) 2>&5
11676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11677 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11678 (./conftest; exit; ) >&5 2>/dev/null
11680 case x$lt_status in
11681 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11682 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11683 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11686 # compilation failed
11687 lt_cv_dlopen_self=no
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11695 $as_echo "$lt_cv_dlopen_self" >&6; }
11697 if test "x$lt_cv_dlopen_self" = xyes; then
11698 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11700 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11701 if ${lt_cv_dlopen_self_static+:} false; then :
11702 $as_echo_n "(cached) " >&6
11704 if test "$cross_compiling" = yes; then :
11705 lt_cv_dlopen_self_static=cross
11707 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11708 lt_status=$lt_dlunknown
11709 cat > conftest.$ac_ext <<_LT_EOF
11710 #line $LINENO "configure"
11711 #include "confdefs.h"
11720 # define LT_DLGLOBAL RTLD_GLOBAL
11723 # define LT_DLGLOBAL DL_GLOBAL
11725 # define LT_DLGLOBAL 0
11729 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11730 find out it does not work in some platform. */
11731 #ifndef LT_DLLAZY_OR_NOW
11733 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11736 # define LT_DLLAZY_OR_NOW DL_LAZY
11739 # define LT_DLLAZY_OR_NOW RTLD_NOW
11742 # define LT_DLLAZY_OR_NOW DL_NOW
11744 # define LT_DLLAZY_OR_NOW 0
11751 /* When -fvisbility=hidden is used, assume the code has been annotated
11752 correspondingly for the symbols needed. */
11753 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11754 int fnord () __attribute__((visibility("default")));
11757 int fnord () { return 42; }
11760 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11761 int status = $lt_dlunknown;
11765 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11768 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11769 else puts (dlerror ());
11771 /* dlclose (self); */
11779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11780 (eval $ac_link) 2>&5
11782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11783 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11784 (./conftest; exit; ) >&5 2>/dev/null
11786 case x$lt_status in
11787 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11788 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11789 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11792 # compilation failed
11793 lt_cv_dlopen_self_static=no
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11801 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11804 CPPFLAGS="$save_CPPFLAGS"
11805 LDFLAGS="$save_LDFLAGS"
11810 case $lt_cv_dlopen_self in
11811 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11812 *) enable_dlopen_self=unknown ;;
11815 case $lt_cv_dlopen_self_static in
11816 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11817 *) enable_dlopen_self_static=unknown ;;
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11840 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11841 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11842 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11843 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11845 $as_echo "yes" >&6; }
11847 # FIXME - insert some real tests, host_os isn't really good enough
11850 if test -n "$STRIP" ; then
11851 striplib="$STRIP -x"
11852 old_striplib="$STRIP -S"
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11854 $as_echo "yes" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11878 # Report which library types will actually be built
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11880 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11882 $as_echo "$can_build_shared" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11885 $as_echo_n "checking whether to build shared libraries... " >&6; }
11886 test "$can_build_shared" = "no" && enable_shared=no
11888 # On AIX, shared libraries and static libraries use the same namespace, and
11889 # are all built from PIC.
11892 test "$enable_shared" = yes && enable_static=no
11893 if test -n "$RANLIB"; then
11894 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11895 postinstall_cmds='$RANLIB $lib'
11900 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11901 test "$enable_shared" = yes && enable_static=no
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11906 $as_echo "$enable_shared" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11909 $as_echo_n "checking whether to build static libraries... " >&6; }
11910 # Make sure either enable_shared or enable_static is yes.
11911 test "$enable_shared" = yes || enable_static=yes
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11913 $as_echo "$enable_static" >&6; }
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11941 ac_config_commands="$ac_config_commands libtool"
11946 # Only expand once:
11950 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11951 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11955 cat >>confdefs.h <<_ACEOF
11960 cat >>confdefs.h <<_ACEOF
11965 cat >>confdefs.h <<_ACEOF
11970 cat >>confdefs.h <<_ACEOF
11974 version_info="8:2:7"
11978 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11979 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11984 cat >>confdefs.h <<_ACEOF
11985 #define SHARED_LIB_SUFFIX "$shrext_cmds"
11989 ### Default options with respect to host
11996 MODULE_ARCH="$host_os-$host_cpu"
12001 MODULE_ARCH="$host_os-$host_cpu-1.0.0"
12007 requirement_edje=""
12011 cat >>confdefs.h <<_ACEOF
12012 #define MODULE_ARCH "${MODULE_ARCH}"
12016 ### Additional options to configure
12018 # Check whether --enable-amalgamation was given.
12019 if test "${enable_amalgamation+set}" = set; then :
12020 enableval=$enable_amalgamation; if test "x${enableval}" = "xyes"; then
12021 do_amalgamation="yes"
12023 do_amalgamation="no"
12027 do_amalgamation="no"
12031 if test "x${do_amalgamation}" = "xyes"; then
12032 EDJE_AMALGAMATION_TRUE=
12033 EDJE_AMALGAMATION_FALSE='#'
12035 EDJE_AMALGAMATION_TRUE='#'
12036 EDJE_AMALGAMATION_FALSE=
12045 # Check whether --with-edje-cc was given.
12046 if test "${with_edje_cc+set}" = set; then :
12047 withval=$with_edje_cc; _efl_with_binary=${withval}
12049 _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
12053 edje_cc=${_efl_with_binary}
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
12055 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
12057 with_binary_edje_cc=${_efl_with_binary}
12069 # Check whether --enable-edje-cc was given.
12070 if test "${enable_edje_cc+set}" = set; then :
12071 enableval=$enable_edje_cc;
12072 if test "x${enableval}" = "xyes" ; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_cc binary" >&5
12082 $as_echo_n "checking whether to build edje_cc binary... " >&6; }
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_cc" >&5
12084 $as_echo "$have_edje_cc" >&6; }
12086 if test "x$have_edje_cc" = "xyes"; then
12087 EDJE_CC_PRG=edje_cc${EXEEXT}
12092 if test "x$have_edje_cc" = "xyes"; then
12093 BUILD_EDJE_CC_TRUE=
12094 BUILD_EDJE_CC_FALSE='#'
12096 BUILD_EDJE_CC_TRUE='#'
12097 BUILD_EDJE_CC_FALSE=
12101 if test "x$have_edje_cc" = "xyes"; then :
12109 have_edje_decc="yes"
12112 # Check whether --enable-edje-decc was given.
12113 if test "${enable_edje_decc+set}" = set; then :
12114 enableval=$enable_edje_decc;
12115 if test "x${enableval}" = "xyes" ; then
12116 have_edje_decc="yes"
12118 have_edje_decc="no"
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_decc binary" >&5
12125 $as_echo_n "checking whether to build edje_decc binary... " >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_decc" >&5
12127 $as_echo "$have_edje_decc" >&6; }
12129 if test "x$have_edje_decc" = "xyes"; then
12130 EDJE_DECC_PRG=edje_decc${EXEEXT}
12135 if test "x$have_edje_decc" = "xyes"; then
12136 BUILD_EDJE_DECC_TRUE=
12137 BUILD_EDJE_DECC_FALSE='#'
12139 BUILD_EDJE_DECC_TRUE='#'
12140 BUILD_EDJE_DECC_FALSE=
12144 if test "x$have_edje_decc" = "xyes"; then :
12152 have_edje_recc="yes"
12155 # Check whether --enable-edje-recc was given.
12156 if test "${enable_edje_recc+set}" = set; then :
12157 enableval=$enable_edje_recc;
12158 if test "x${enableval}" = "xyes" ; then
12159 have_edje_recc="yes"
12161 have_edje_recc="no"
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_recc binary" >&5
12168 $as_echo_n "checking whether to build edje_recc binary... " >&6; }
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_recc" >&5
12170 $as_echo "$have_edje_recc" >&6; }
12172 if test "x$have_edje_recc" = "xyes"; then
12173 EDJE_RECC_PRG=edje_recc${EXEEXT}
12178 if test "x$have_edje_recc" = "xyes"; then
12179 BUILD_EDJE_RECC_TRUE=
12180 BUILD_EDJE_RECC_FALSE='#'
12182 BUILD_EDJE_RECC_TRUE='#'
12183 BUILD_EDJE_RECC_FALSE=
12187 if test "x$have_edje_recc" = "xyes"; then :
12195 have_edje_player="yes"
12198 # Check whether --enable-edje-player was given.
12199 if test "${enable_edje_player+set}" = set; then :
12200 enableval=$enable_edje_player;
12201 if test "x${enableval}" = "xyes" ; then
12202 have_edje_player="yes"
12204 have_edje_player="no"
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_player binary" >&5
12211 $as_echo_n "checking whether to build edje_player binary... " >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_player" >&5
12213 $as_echo "$have_edje_player" >&6; }
12215 if test "x$have_edje_player" = "xyes"; then
12216 EDJE_PLAYER_PRG=edje_player${EXEEXT}
12221 if test "x$have_edje_player" = "xyes"; then
12222 BUILD_EDJE_PLAYER_TRUE=
12223 BUILD_EDJE_PLAYER_FALSE='#'
12225 BUILD_EDJE_PLAYER_TRUE='#'
12226 BUILD_EDJE_PLAYER_FALSE=
12230 if test "x$have_edje_player" = "xyes"; then :
12238 have_edje_inspector="yes"
12241 # Check whether --enable-edje-inspector was given.
12242 if test "${enable_edje_inspector+set}" = set; then :
12243 enableval=$enable_edje_inspector;
12244 if test "x${enableval}" = "xyes" ; then
12245 have_edje_inspector="yes"
12247 have_edje_inspector="no"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_inspector binary" >&5
12254 $as_echo_n "checking whether to build edje_inspector binary... " >&6; }
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_inspector" >&5
12256 $as_echo "$have_edje_inspector" >&6; }
12258 if test "x$have_edje_inspector" = "xyes"; then
12259 EDJE_INSPECTOR_PRG=edje_inspector${EXEEXT}
12264 if test "x$have_edje_inspector" = "xyes"; then
12265 BUILD_EDJE_INSPECTOR_TRUE=
12266 BUILD_EDJE_INSPECTOR_FALSE='#'
12268 BUILD_EDJE_INSPECTOR_TRUE='#'
12269 BUILD_EDJE_INSPECTOR_FALSE=
12273 if test "x$have_edje_inspector" = "xyes"; then :
12281 have_edje_external_inspector="yes"
12284 # Check whether --enable-edje-external-inspector was given.
12285 if test "${enable_edje_external_inspector+set}" = set; then :
12286 enableval=$enable_edje_external_inspector;
12287 if test "x${enableval}" = "xyes" ; then
12288 have_edje_external_inspector="yes"
12290 have_edje_external_inspector="no"
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_external_inspector binary" >&5
12297 $as_echo_n "checking whether to build edje_external_inspector binary... " >&6; }
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_external_inspector" >&5
12299 $as_echo "$have_edje_external_inspector" >&6; }
12301 if test "x$have_edje_external_inspector" = "xyes"; then
12302 EDJE_EXTERNAL_INSPECTOR_PRG=edje_external_inspector${EXEEXT}
12307 if test "x$have_edje_external_inspector" = "xyes"; then
12308 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE=
12309 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE='#'
12311 BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE='#'
12312 BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE=
12316 if test "x$have_edje_external_inspector" = "xyes"; then :
12324 have_edje_watch="yes"
12327 # Check whether --enable-edje-watch was given.
12328 if test "${enable_edje_watch+set}" = set; then :
12329 enableval=$enable_edje_watch;
12330 if test "x${enableval}" = "xyes" ; then
12331 have_edje_watch="yes"
12333 have_edje_watch="no"
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build edje_watch binary" >&5
12340 $as_echo_n "checking whether to build edje_watch binary... " >&6; }
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_edje_watch" >&5
12342 $as_echo "$have_edje_watch" >&6; }
12344 if test "x$have_edje_watch" = "xyes"; then
12345 EDJE_WATCH_PRG=edje_watch${EXEEXT}
12350 if test "x$have_edje_watch" = "xyes"; then
12351 BUILD_EDJE_WATCH_TRUE=
12352 BUILD_EDJE_WATCH_FALSE='#'
12354 BUILD_EDJE_WATCH_TRUE='#'
12355 BUILD_EDJE_WATCH_FALSE=
12359 if test "x$have_edje_watch" = "xyes"; then :
12365 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
12366 want_edje_program_cache="no"
12368 # Check whether --enable-edje-program-cache was given.
12369 if test "${enable_edje_program_cache+set}" = set; then :
12370 enableval=$enable_edje_program_cache; want_edje_program_cache=$enableval
12374 if test "x${want_edje_program_cache}" = "xyes"; then
12375 EDJE_PROGRAM_CACHE_TRUE=
12376 EDJE_PROGRAM_CACHE_FALSE='#'
12378 EDJE_PROGRAM_CACHE_TRUE='#'
12379 EDJE_PROGRAM_CACHE_FALSE=
12383 if test "x${want_edje_program_cache}" = "xyes" ; then
12385 $as_echo "#define EDJE_PROGRAM_CACHE 1" >>confdefs.h
12389 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
12390 want_edje_calc_cache="yes"
12392 # Check whether --enable-edje-calc-cache was given.
12393 if test "${enable_edje_calc_cache+set}" = set; then :
12394 enableval=$enable_edje_calc_cache; want_edje_calc_cache=$enableval
12398 if test "x${want_edje_calc_cache}" = "xyes"; then
12399 EDJE_CALC_CACHE_TRUE=
12400 EDJE_CALC_CACHE_FALSE='#'
12402 EDJE_CALC_CACHE_TRUE='#'
12403 EDJE_CALC_CACHE_FALSE=
12407 if test "x${want_edje_calc_cache}" = "xyes" ; then
12409 $as_echo "#define EDJE_CALC_CACHE 1" >>confdefs.h
12413 # Enable Fixed Point use
12414 want_fixed_point="no"
12416 # Check whether --enable-fixed-point was given.
12417 if test "${enable_fixed_point+set}" = set; then :
12418 enableval=$enable_fixed_point; want_fixed_point=$enableval
12422 if test "x${want_fixed_point}" = "xyes"; then
12423 BUILD_EDJE_FP_TRUE=
12424 BUILD_EDJE_FP_FALSE='#'
12426 BUILD_EDJE_FP_TRUE='#'
12427 BUILD_EDJE_FP_FALSE=
12431 if test "x${want_fixed_point}" = "xyes" ; then
12433 $as_echo "#define BUILD_EDJE_FP 1" >>confdefs.h
12439 # Check whether --with-vim was given.
12440 if test "${with_vim+set}" = set; then :
12442 if test -d "${withval}"; then
12443 vimdir="${withval}"
12450 if test "x${vimdir}" = "x" ; then
12451 if test -d "${prefix}/share/vim"; then
12452 vimdir="${prefix}/share/vim"
12453 elif test -d "/usr/share/vim"; then
12454 vimdir="/usr/share/vim"
12455 elif test -d "/usr/local/share/vim"; then
12456 vimdir="/usr/local/share/vim"
12457 elif test -d "/opt/share/vim"; then
12458 vimdir="/opt/share/vim"
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Vim data files" >&5
12465 $as_echo_n "checking for location of Vim data files... " >&6; }
12467 if test "${install_vim}" = "yes"; then
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vimdir" >&5
12469 $as_echo "$vimdir" >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found, EDC syntax file will not be installed" >&5
12472 $as_echo "Not found, EDC syntax file will not be installed" >&6; }
12477 ### Checks for programs
12479 ac_cpp='$CPP $CPPFLAGS'
12480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12483 if test -n "$ac_tool_prefix"; then
12484 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12485 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12487 $as_echo_n "checking for $ac_word... " >&6; }
12488 if ${ac_cv_prog_CC+:} false; then :
12489 $as_echo_n "(cached) " >&6
12491 if test -n "$CC"; then
12492 ac_cv_prog_CC="$CC" # Let the user override the test.
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12498 test -z "$as_dir" && as_dir=.
12499 for ac_exec_ext in '' $ac_executable_extensions; do
12500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12512 if test -n "$CC"; then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12514 $as_echo "$CC" >&6; }
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12517 $as_echo "no" >&6; }
12522 if test -z "$ac_cv_prog_CC"; then
12524 # Extract the first word of "gcc", so it can be a program name with args.
12525 set dummy gcc; ac_word=$2
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12527 $as_echo_n "checking for $ac_word... " >&6; }
12528 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12529 $as_echo_n "(cached) " >&6
12531 if test -n "$ac_ct_CC"; then
12532 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12535 for as_dir in $PATH
12538 test -z "$as_dir" && as_dir=.
12539 for ac_exec_ext in '' $ac_executable_extensions; do
12540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12541 ac_cv_prog_ac_ct_CC="gcc"
12542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12552 if test -n "$ac_ct_CC"; then
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12554 $as_echo "$ac_ct_CC" >&6; }
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12557 $as_echo "no" >&6; }
12560 if test "x$ac_ct_CC" = x; then
12563 case $cross_compiling:$ac_tool_warned in
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12567 ac_tool_warned=yes ;;
12572 CC="$ac_cv_prog_CC"
12575 if test -z "$CC"; then
12576 if test -n "$ac_tool_prefix"; then
12577 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12578 set dummy ${ac_tool_prefix}cc; ac_word=$2
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12580 $as_echo_n "checking for $ac_word... " >&6; }
12581 if ${ac_cv_prog_CC+:} false; then :
12582 $as_echo_n "(cached) " >&6
12584 if test -n "$CC"; then
12585 ac_cv_prog_CC="$CC" # Let the user override the test.
12587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12588 for as_dir in $PATH
12591 test -z "$as_dir" && as_dir=.
12592 for ac_exec_ext in '' $ac_executable_extensions; do
12593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12594 ac_cv_prog_CC="${ac_tool_prefix}cc"
12595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12605 if test -n "$CC"; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12607 $as_echo "$CC" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12610 $as_echo "no" >&6; }
12616 if test -z "$CC"; then
12617 # Extract the first word of "cc", so it can be a program name with args.
12618 set dummy cc; ac_word=$2
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12620 $as_echo_n "checking for $ac_word... " >&6; }
12621 if ${ac_cv_prog_CC+:} false; then :
12622 $as_echo_n "(cached) " >&6
12624 if test -n "$CC"; then
12625 ac_cv_prog_CC="$CC" # Let the user override the test.
12627 ac_prog_rejected=no
12628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12629 for as_dir in $PATH
12632 test -z "$as_dir" && as_dir=.
12633 for ac_exec_ext in '' $ac_executable_extensions; do
12634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12635 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12636 ac_prog_rejected=yes
12640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12647 if test $ac_prog_rejected = yes; then
12648 # We found a bogon in the path, so make sure we never use it.
12649 set dummy $ac_cv_prog_CC
12651 if test $# != 0; then
12652 # We chose a different compiler from the bogus one.
12653 # However, it has the same basename, so the bogon will be chosen
12654 # first if we set CC to just the basename; use the full file name.
12656 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12662 if test -n "$CC"; then
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12664 $as_echo "$CC" >&6; }
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12667 $as_echo "no" >&6; }
12672 if test -z "$CC"; then
12673 if test -n "$ac_tool_prefix"; then
12674 for ac_prog in cl.exe
12676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12679 $as_echo_n "checking for $ac_word... " >&6; }
12680 if ${ac_cv_prog_CC+:} false; then :
12681 $as_echo_n "(cached) " >&6
12683 if test -n "$CC"; then
12684 ac_cv_prog_CC="$CC" # Let the user override the test.
12686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12687 for as_dir in $PATH
12690 test -z "$as_dir" && as_dir=.
12691 for ac_exec_ext in '' $ac_executable_extensions; do
12692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12693 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12704 if test -n "$CC"; then
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12706 $as_echo "$CC" >&6; }
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709 $as_echo "no" >&6; }
12713 test -n "$CC" && break
12716 if test -z "$CC"; then
12718 for ac_prog in cl.exe
12720 # Extract the first word of "$ac_prog", so it can be a program name with args.
12721 set dummy $ac_prog; ac_word=$2
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12723 $as_echo_n "checking for $ac_word... " >&6; }
12724 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12725 $as_echo_n "(cached) " >&6
12727 if test -n "$ac_ct_CC"; then
12728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12734 test -z "$as_dir" && as_dir=.
12735 for ac_exec_ext in '' $ac_executable_extensions; do
12736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12737 ac_cv_prog_ac_ct_CC="$ac_prog"
12738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12748 if test -n "$ac_ct_CC"; then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12750 $as_echo "$ac_ct_CC" >&6; }
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12753 $as_echo "no" >&6; }
12757 test -n "$ac_ct_CC" && break
12760 if test "x$ac_ct_CC" = x; then
12763 case $cross_compiling:$ac_tool_warned in
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12767 ac_tool_warned=yes ;;
12776 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12778 as_fn_error $? "no acceptable C compiler found in \$PATH
12779 See \`config.log' for more details" "$LINENO" 5; }
12781 # Provide some information about the compiler.
12782 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12785 for ac_option in --version -v -V -qversion; do
12786 { { ac_try="$ac_compiler $ac_option >&5"
12787 case "(($ac_try" in
12788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12789 *) ac_try_echo=$ac_try;;
12791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12792 $as_echo "$ac_try_echo"; } >&5
12793 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12795 if test -s conftest.err; then
12797 ... rest of stderr output deleted ...
12798 10q' conftest.err >conftest.er1
12799 cat conftest.er1 >&5
12801 rm -f conftest.er1 conftest.err
12802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12803 test $ac_status = 0; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12807 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12808 if ${ac_cv_c_compiler_gnu+:} false; then :
12809 $as_echo_n "(cached) " >&6
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12825 if ac_fn_c_try_compile "$LINENO"; then :
12826 ac_compiler_gnu=yes
12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12831 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12835 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12836 if test $ac_compiler_gnu = yes; then
12841 ac_test_CFLAGS=${CFLAGS+set}
12842 ac_save_CFLAGS=$CFLAGS
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12844 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12845 if ${ac_cv_prog_cc_g+:} false; then :
12846 $as_echo_n "(cached) " >&6
12848 ac_save_c_werror_flag=$ac_c_werror_flag
12849 ac_c_werror_flag=yes
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12863 if ac_fn_c_try_compile "$LINENO"; then :
12864 ac_cv_prog_cc_g=yes
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12878 if ac_fn_c_try_compile "$LINENO"; then :
12881 ac_c_werror_flag=$ac_save_c_werror_flag
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12894 if ac_fn_c_try_compile "$LINENO"; then :
12895 ac_cv_prog_cc_g=yes
12897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12902 ac_c_werror_flag=$ac_save_c_werror_flag
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12905 $as_echo "$ac_cv_prog_cc_g" >&6; }
12906 if test "$ac_test_CFLAGS" = set; then
12907 CFLAGS=$ac_save_CFLAGS
12908 elif test $ac_cv_prog_cc_g = yes; then
12909 if test "$GCC" = yes; then
12915 if test "$GCC" = yes; then
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12922 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12923 if ${ac_cv_prog_cc_c89+:} false; then :
12924 $as_echo_n "(cached) " >&6
12926 ac_cv_prog_cc_c89=no
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12930 #include <stdarg.h>
12932 #include <sys/types.h>
12933 #include <sys/stat.h>
12934 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12935 struct buf { int x; };
12936 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12937 static char *e (p, i)
12943 static char *f (char * (*g) (char **, int), char **p, ...)
12948 s = g (p, va_arg (v,int));
12953 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12954 function prototypes and stuff, but not '\xHH' hex character constants.
12955 These don't provoke an error unfortunately, instead are silently treated
12956 as 'x'. The following induces an error, until -std is added to get
12957 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12958 array size at least. It's necessary to write '\x00'==0 to get something
12959 that's true only with -std. */
12960 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12962 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12963 inside strings and character constants. */
12965 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12967 int test (int i, double x);
12968 struct s1 {int (*f) (int a);};
12969 struct s2 {int (*f) (double a);};
12970 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12976 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12981 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12982 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12984 CC="$ac_save_CC $ac_arg"
12985 if ac_fn_c_try_compile "$LINENO"; then :
12986 ac_cv_prog_cc_c89=$ac_arg
12988 rm -f core conftest.err conftest.$ac_objext
12989 test "x$ac_cv_prog_cc_c89" != "xno" && break
12991 rm -f conftest.$ac_ext
12996 case "x$ac_cv_prog_cc_c89" in
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12999 $as_echo "none needed" >&6; } ;;
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13002 $as_echo "unsupported" >&6; } ;;
13004 CC="$CC $ac_cv_prog_cc_c89"
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13006 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13008 if test "x$ac_cv_prog_cc_c89" != xno; then :
13013 ac_cpp='$CPP $CPPFLAGS'
13014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13018 depcc="$CC" am_compiler_list=
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13021 $as_echo_n "checking dependency style of $depcc... " >&6; }
13022 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13023 $as_echo_n "(cached) " >&6
13025 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13026 # We make a subdir and do the tests there. Otherwise we can end up
13027 # making bogus files that we don't know about and never remove. For
13028 # instance it was reported that on HP-UX the gcc test will end up
13029 # making a dummy file named `D' -- because `-MD' means `put the output
13031 rm -rf conftest.dir
13033 # Copy depcomp to subdir because otherwise we won't find it if we're
13034 # using a relative directory.
13035 cp "$am_depcomp" conftest.dir
13037 # We will build objects and dependencies in a subdirectory because
13038 # it helps to detect inapplicable dependency modes. For instance
13039 # both Tru64's cc and ICC support -MD to output dependencies as a
13040 # side effect of compilation, but ICC will put the dependencies in
13041 # the current directory while Tru64 will put them in the object
13045 am_cv_CC_dependencies_compiler_type=none
13046 if test "$am_compiler_list" = ""; then
13047 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13049 am__universal=false
13050 case " $depcc " in #(
13051 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13054 for depmode in $am_compiler_list; do
13055 # Setup a source with many dependencies, because some compilers
13056 # like to wrap large dependency lists on column 80 (with \), and
13057 # we should not choose a depcomp mode which is confused by this.
13059 # We need to recreate these files for each test, as the compiler may
13060 # overwrite some of them when testing with obscure command lines.
13061 # This happens at least with the AIX C compiler.
13063 for i in 1 2 3 4 5 6; do
13064 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13065 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13066 # Solaris 8's {/usr,}/bin/sh.
13067 touch sub/conftst$i.h
13069 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13071 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13072 # mode. It turns out that the SunPro C++ compiler does not properly
13073 # handle `-M -o', and we need to detect this. Also, some Intel
13074 # versions had trouble with output in subdirs
13075 am__obj=sub/conftest.${OBJEXT-o}
13076 am__minus_obj="-o $am__obj"
13079 # This depmode causes a compiler race in universal mode.
13080 test "$am__universal" = false || continue
13083 # after this tag, mechanisms are not by side-effect, so they'll
13084 # only be used when explicitly requested
13085 if test "x$enable_dependency_tracking" = xyes; then
13091 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13092 # This compiler won't grok `-c -o', but also, the minuso test has
13093 # not run yet. These depmodes are late enough in the game, and
13094 # so weak that their functioning should not be impacted.
13095 am__obj=conftest.${OBJEXT-o}
13100 if depmode=$depmode \
13101 source=sub/conftest.c object=$am__obj \
13102 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13103 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13104 >/dev/null 2>conftest.err &&
13105 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13106 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13107 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13108 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13109 # icc doesn't choke on unknown options, it will just issue warnings
13110 # or remarks (even with -Werror). So we grep stderr for any message
13111 # that says an option was ignored or not supported.
13112 # When given -MP, icc 7.0 and 7.1 complain thusly:
13113 # icc: Command line warning: ignoring option '-M'; no argument required
13114 # The diagnosis changed in icc 8.0:
13115 # icc: Command line remark: option '-MP' not supported
13116 if (grep 'ignoring option' conftest.err ||
13117 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13118 am_cv_CC_dependencies_compiler_type=$depmode
13125 rm -rf conftest.dir
13127 am_cv_CC_dependencies_compiler_type=none
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13132 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13133 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13136 test "x$enable_dependency_tracking" != xno \
13137 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13138 am__fastdepCC_TRUE=
13139 am__fastdepCC_FALSE='#'
13141 am__fastdepCC_TRUE='#'
13142 am__fastdepCC_FALSE=
13147 # doxygen program for documentation building
13151 # Check whether --enable-doc was given.
13152 if test "${enable_doc+set}" = set; then :
13153 enableval=$enable_doc;
13154 if test "x${enableval}" = "xyes" ; then
13155 efl_enable_doc="yes"
13157 efl_enable_doc="no"
13161 efl_enable_doc="yes"
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13166 $as_echo_n "checking whether to build documentation... " >&6; }
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13168 $as_echo "${efl_enable_doc}" >&6; }
13170 if test "x${efl_enable_doc}" = "xyes" ; then
13173 efl_doxygen="doxygen"
13176 # Check whether --with-doxygen was given.
13177 if test "${with_doxygen+set}" = set; then :
13178 withval=$with_doxygen;
13179 efl_doxygen=${withval}
13180 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13181 set dummy ${efl_doxygen}; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13183 $as_echo_n "checking for $ac_word... " >&6; }
13184 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13185 $as_echo_n "(cached) " >&6
13187 if test -n "$efl_have_doxygen"; then
13188 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13194 test -z "$as_dir" && as_dir=.
13195 for ac_exec_ext in '' $ac_executable_extensions; do
13196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13197 ac_cv_prog_efl_have_doxygen="yes"
13198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13205 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13208 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13209 if test -n "$efl_have_doxygen"; then
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13211 $as_echo "$efl_have_doxygen" >&6; }
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13214 $as_echo "no" >&6; }
13218 if test "x${efl_have_doxygen}" = "xno" ; then
13220 echo "The doxygen program you specified:"
13221 echo "${efl_doxygen}"
13222 echo "was not found. Please check the path and make sure "
13223 echo "the program exists and is executable."
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13225 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13229 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13230 set dummy ${efl_doxygen}; ac_word=$2
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13232 $as_echo_n "checking for $ac_word... " >&6; }
13233 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
13234 $as_echo_n "(cached) " >&6
13236 if test -n "$efl_have_doxygen"; then
13237 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13240 for as_dir in $PATH
13243 test -z "$as_dir" && as_dir=.
13244 for ac_exec_ext in '' $ac_executable_extensions; do
13245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13246 ac_cv_prog_efl_have_doxygen="yes"
13247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13254 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13257 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13258 if test -n "$efl_have_doxygen"; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13260 $as_echo "$efl_have_doxygen" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263 $as_echo "no" >&6; }
13267 if test "x${efl_have_doxygen}" = "xno" ; then
13269 echo "The doxygen program was not found in your execute path."
13270 echo "You may have doxygen installed somewhere not covered by your path."
13272 echo "If this is the case make sure you have the packages installed, AND"
13273 echo "that the doxygen program is in your execute path (see your"
13274 echo "shell manual page on setting the \$PATH environment variable), OR"
13275 echo "alternatively, specify the program to use with --with-doxygen."
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13277 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13286 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13287 efl_enable_doc="no"
13290 if test "x${efl_enable_doc}" = "xyes"; then
13291 EFL_BUILD_DOC_TRUE=
13292 EFL_BUILD_DOC_FALSE='#'
13294 EFL_BUILD_DOC_TRUE='#'
13295 EFL_BUILD_DOC_FALSE=
13299 if test "x${efl_enable_doc}" = "xyes" ; then
13315 if test -n "$PYTHON"; then
13316 # If the user set $PYTHON, use it and don't search something else.
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
13318 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
13320 # split strings by '.' and convert to numeric. Append some zeros
13321 # because we need at least 4 digits for the hex conversion.
13322 # map returns an iterator in Python 3.0 and a list in 2.x
13323 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13325 # xrange is not present in Python 3.0 and range returns an iterator
13326 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13327 sys.exit(sys.hexversion < minverhex)"
13328 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
13329 ($PYTHON -c "$prog") >&5 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; then :
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13334 $as_echo "yes" >&6; }
13336 as_fn_error $? "too old" "$LINENO" 5
13338 am_display_PYTHON=$PYTHON
13340 # Otherwise, try each interpreter until we find one that satisfies
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
13343 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
13344 if ${am_cv_pathless_PYTHON+:} false; then :
13345 $as_echo_n "(cached) " >&6
13348 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
13349 test "$am_cv_pathless_PYTHON" = none && break
13351 # split strings by '.' and convert to numeric. Append some zeros
13352 # because we need at least 4 digits for the hex conversion.
13353 # map returns an iterator in Python 3.0 and a list in 2.x
13354 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
13356 # xrange is not present in Python 3.0 and range returns an iterator
13357 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
13358 sys.exit(sys.hexversion < minverhex)"
13359 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
13360 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; then :
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
13369 $as_echo "$am_cv_pathless_PYTHON" >&6; }
13370 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
13371 if test "$am_cv_pathless_PYTHON" = none; then
13374 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
13375 set dummy $am_cv_pathless_PYTHON; ac_word=$2
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13377 $as_echo_n "checking for $ac_word... " >&6; }
13378 if ${ac_cv_path_PYTHON+:} false; then :
13379 $as_echo_n "(cached) " >&6
13383 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13390 test -z "$as_dir" && as_dir=.
13391 for ac_exec_ext in '' $ac_executable_extensions; do
13392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13393 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13404 PYTHON=$ac_cv_path_PYTHON
13405 if test -n "$PYTHON"; then
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13407 $as_echo "$PYTHON" >&6; }
13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13410 $as_echo "no" >&6; }
13415 am_display_PYTHON=$am_cv_pathless_PYTHON
13419 if test "$PYTHON" = :; then
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13425 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13426 if ${am_cv_python_version+:} false; then :
13427 $as_echo_n "(cached) " >&6
13429 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13432 $as_echo "$am_cv_python_version" >&6; }
13433 PYTHON_VERSION=$am_cv_python_version
13437 PYTHON_PREFIX='${prefix}'
13439 PYTHON_EXEC_PREFIX='${exec_prefix}'
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13444 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13445 if ${am_cv_python_platform+:} false; then :
13446 $as_echo_n "(cached) " >&6
13448 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13451 $as_echo "$am_cv_python_platform" >&6; }
13452 PYTHON_PLATFORM=$am_cv_python_platform
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13458 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13459 if ${am_cv_python_pythondir+:} false; then :
13460 $as_echo_n "(cached) " >&6
13462 if test "x$prefix" = xNONE
13464 am_py_prefix=$ac_default_prefix
13466 am_py_prefix=$prefix
13468 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`
13469 case $am_cv_python_pythondir in
13471 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13472 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13475 case $am_py_prefix in
13478 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13486 $as_echo "$am_cv_python_pythondir" >&6; }
13487 pythondir=$am_cv_python_pythondir
13491 pkgpythondir=\${pythondir}/$PACKAGE
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13495 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13496 if ${am_cv_python_pyexecdir+:} false; then :
13497 $as_echo_n "(cached) " >&6
13499 if test "x$exec_prefix" = xNONE
13501 am_py_exec_prefix=$am_py_prefix
13503 am_py_exec_prefix=$exec_prefix
13505 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`
13506 case $am_cv_python_pyexecdir in
13507 $am_py_exec_prefix*)
13508 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13509 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13512 case $am_py_exec_prefix in
13515 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13523 $as_echo "$am_cv_python_pyexecdir" >&6; }
13524 pyexecdir=$am_cv_python_pyexecdir
13528 pkgpyexecdir=\${pyexecdir}/$PACKAGE
13535 if test "$PYTHON" != : ; then
13537 HAVE_PYTHON_FALSE='#'
13539 HAVE_PYTHON_TRUE='#'
13553 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13554 if test -n "$ac_tool_prefix"; then
13555 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13556 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13558 $as_echo_n "checking for $ac_word... " >&6; }
13559 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13560 $as_echo_n "(cached) " >&6
13562 case $PKG_CONFIG in
13564 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13568 for as_dir in $PATH
13571 test -z "$as_dir" && as_dir=.
13572 for ac_exec_ext in '' $ac_executable_extensions; do
13573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13574 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13585 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13586 if test -n "$PKG_CONFIG"; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13588 $as_echo "$PKG_CONFIG" >&6; }
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13591 $as_echo "no" >&6; }
13596 if test -z "$ac_cv_path_PKG_CONFIG"; then
13597 ac_pt_PKG_CONFIG=$PKG_CONFIG
13598 # Extract the first word of "pkg-config", so it can be a program name with args.
13599 set dummy pkg-config; ac_word=$2
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13601 $as_echo_n "checking for $ac_word... " >&6; }
13602 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13603 $as_echo_n "(cached) " >&6
13605 case $ac_pt_PKG_CONFIG in
13607 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13611 for as_dir in $PATH
13614 test -z "$as_dir" && as_dir=.
13615 for ac_exec_ext in '' $ac_executable_extensions; do
13616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13617 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13628 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13629 if test -n "$ac_pt_PKG_CONFIG"; then
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13631 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13634 $as_echo "no" >&6; }
13637 if test "x$ac_pt_PKG_CONFIG" = x; then
13640 case $cross_compiling:$ac_tool_warned in
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13644 ac_tool_warned=yes ;;
13646 PKG_CONFIG=$ac_pt_PKG_CONFIG
13649 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13653 if test -n "$PKG_CONFIG"; then
13654 _pkg_min_version=0.9.0
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13656 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13657 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13659 $as_echo "yes" >&6; }
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13662 $as_echo "no" >&6; }
13667 # Check whether pkg-config supports Requires.private
13669 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13670 pkgconfig_requires_private="Requires.private"
13672 pkgconfig_requires_private="Requires"
13677 ### Checks for libraries
13679 # Evil library for compilation on Windows
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13687 $as_echo_n "checking for EVIL... " >&6; }
13689 if test -n "$EVIL_CFLAGS"; then
13690 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13691 elif test -n "$PKG_CONFIG"; then
13692 if test -n "$PKG_CONFIG" && \
13693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13694 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13697 test $ac_status = 0; }; then
13698 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
13699 test "x$?" != "x0" && pkg_failed=yes
13706 if test -n "$EVIL_LIBS"; then
13707 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13708 elif test -n "$PKG_CONFIG"; then
13709 if test -n "$PKG_CONFIG" && \
13710 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13711 ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13714 test $ac_status = 0; }; then
13715 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
13716 test "x$?" != "x0" && pkg_failed=yes
13726 if test $pkg_failed = yes; then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 $as_echo "no" >&6; }
13730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13731 _pkg_short_errors_supported=yes
13733 _pkg_short_errors_supported=no
13735 if test $_pkg_short_errors_supported = yes; then
13736 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
13738 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
13740 # Put the nasty error message in config.log where it belongs
13741 echo "$EVIL_PKG_ERRORS" >&5
13743 as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
13747 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13748 installed software in a non-standard prefix.
13750 Alternatively, you may set the environment variables EVIL_CFLAGS
13751 and EVIL_LIBS to avoid the need to call pkg-config.
13752 See the pkg-config man page for more details." "$LINENO" 5
13753 elif test $pkg_failed = untried; then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 $as_echo "no" >&6; }
13756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13758 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13759 is in your PATH or set the PKG_CONFIG environment variable to the full
13760 path to pkg-config.
13762 Alternatively, you may set the environment variables EVIL_CFLAGS
13763 and EVIL_LIBS to avoid the need to call pkg-config.
13764 See the pkg-config man page for more details.
13766 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13767 See \`config.log' for more details" "$LINENO" 5; }
13769 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13770 EVIL_LIBS=$pkg_cv_EVIL_LIBS
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13772 $as_echo "yes" >&6; }
13776 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13778 requirement_edje="evil ${requirement_edje}"
13779 EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
13784 # Dependencies for the library
13786 # Lua pkg-config hack for different naming conventions
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13793 $as_echo_n "checking for LUA... " >&6; }
13795 if test -n "$LUA_CFLAGS"; then
13796 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13797 elif test -n "$PKG_CONFIG"; then
13798 if test -n "$PKG_CONFIG" && \
13799 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13800 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13803 test $ac_status = 0; }; then
13804 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
13805 test "x$?" != "x0" && pkg_failed=yes
13812 if test -n "$LUA_LIBS"; then
13813 pkg_cv_LUA_LIBS="$LUA_LIBS"
13814 elif test -n "$PKG_CONFIG"; then
13815 if test -n "$PKG_CONFIG" && \
13816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1.0\""; } >&5
13817 ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
13819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13820 test $ac_status = 0; }; then
13821 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
13822 test "x$?" != "x0" && pkg_failed=yes
13832 if test $pkg_failed = yes; then
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13834 $as_echo "no" >&6; }
13836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13837 _pkg_short_errors_supported=yes
13839 _pkg_short_errors_supported=no
13841 if test $_pkg_short_errors_supported = yes; then
13842 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13844 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1.0" 2>&1`
13846 # Put the nasty error message in config.log where it belongs
13847 echo "$LUA_PKG_ERRORS" >&5
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13852 $as_echo_n "checking for LUA... " >&6; }
13854 if test -n "$LUA_CFLAGS"; then
13855 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13856 elif test -n "$PKG_CONFIG"; then
13857 if test -n "$PKG_CONFIG" && \
13858 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13859 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13862 test $ac_status = 0; }; then
13863 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
13864 test "x$?" != "x0" && pkg_failed=yes
13871 if test -n "$LUA_LIBS"; then
13872 pkg_cv_LUA_LIBS="$LUA_LIBS"
13873 elif test -n "$PKG_CONFIG"; then
13874 if test -n "$PKG_CONFIG" && \
13875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
13876 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
13878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13879 test $ac_status = 0; }; then
13880 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
13881 test "x$?" != "x0" && pkg_failed=yes
13891 if test $pkg_failed = yes; then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13893 $as_echo "no" >&6; }
13895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13896 _pkg_short_errors_supported=yes
13898 _pkg_short_errors_supported=no
13900 if test $_pkg_short_errors_supported = yes; then
13901 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
13903 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
13905 # Put the nasty error message in config.log where it belongs
13906 echo "$LUA_PKG_ERRORS" >&5
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13911 $as_echo_n "checking for LUA... " >&6; }
13913 if test -n "$LUA_CFLAGS"; then
13914 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13915 elif test -n "$PKG_CONFIG"; then
13916 if test -n "$PKG_CONFIG" && \
13917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13918 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13921 test $ac_status = 0; }; then
13922 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
13923 test "x$?" != "x0" && pkg_failed=yes
13930 if test -n "$LUA_LIBS"; then
13931 pkg_cv_LUA_LIBS="$LUA_LIBS"
13932 elif test -n "$PKG_CONFIG"; then
13933 if test -n "$PKG_CONFIG" && \
13934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
13935 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
13937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13938 test $ac_status = 0; }; then
13939 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
13940 test "x$?" != "x0" && pkg_failed=yes
13950 if test $pkg_failed = yes; then
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13952 $as_echo "no" >&6; }
13954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13955 _pkg_short_errors_supported=yes
13957 _pkg_short_errors_supported=no
13959 if test $_pkg_short_errors_supported = yes; then
13960 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
13962 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
13964 # Put the nasty error message in config.log where it belongs
13965 echo "$LUA_PKG_ERRORS" >&5
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
13970 $as_echo_n "checking for LUA... " >&6; }
13972 if test -n "$LUA_CFLAGS"; then
13973 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13974 elif test -n "$PKG_CONFIG"; then
13975 if test -n "$PKG_CONFIG" && \
13976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13977 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980 test $ac_status = 0; }; then
13981 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
13982 test "x$?" != "x0" && pkg_failed=yes
13989 if test -n "$LUA_LIBS"; then
13990 pkg_cv_LUA_LIBS="$LUA_LIBS"
13991 elif test -n "$PKG_CONFIG"; then
13992 if test -n "$PKG_CONFIG" && \
13993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
13994 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
13996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13997 test $ac_status = 0; }; then
13998 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
13999 test "x$?" != "x0" && pkg_failed=yes
14009 if test $pkg_failed = yes; then
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14011 $as_echo "no" >&6; }
14013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14014 _pkg_short_errors_supported=yes
14016 _pkg_short_errors_supported=no
14018 if test $_pkg_short_errors_supported = yes; then
14019 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14021 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14023 # Put the nasty error message in config.log where it belongs
14024 echo "$LUA_PKG_ERRORS" >&5
14027 elif test $pkg_failed = untried; then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14029 $as_echo "no" >&6; }
14032 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14033 LUA_LIBS=$pkg_cv_LUA_LIBS
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14035 $as_echo "yes" >&6; }
14036 requirement_lua="lua51"
14038 elif test $pkg_failed = untried; then
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14040 $as_echo "no" >&6; }
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14044 $as_echo_n "checking for LUA... " >&6; }
14046 if test -n "$LUA_CFLAGS"; then
14047 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14048 elif test -n "$PKG_CONFIG"; then
14049 if test -n "$PKG_CONFIG" && \
14050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14051 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14054 test $ac_status = 0; }; then
14055 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14056 test "x$?" != "x0" && pkg_failed=yes
14063 if test -n "$LUA_LIBS"; then
14064 pkg_cv_LUA_LIBS="$LUA_LIBS"
14065 elif test -n "$PKG_CONFIG"; then
14066 if test -n "$PKG_CONFIG" && \
14067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14068 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14071 test $ac_status = 0; }; then
14072 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14073 test "x$?" != "x0" && pkg_failed=yes
14083 if test $pkg_failed = yes; then
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14085 $as_echo "no" >&6; }
14087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14088 _pkg_short_errors_supported=yes
14090 _pkg_short_errors_supported=no
14092 if test $_pkg_short_errors_supported = yes; then
14093 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14095 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14097 # Put the nasty error message in config.log where it belongs
14098 echo "$LUA_PKG_ERRORS" >&5
14101 elif test $pkg_failed = untried; then
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14103 $as_echo "no" >&6; }
14106 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14107 LUA_LIBS=$pkg_cv_LUA_LIBS
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14109 $as_echo "yes" >&6; }
14110 requirement_lua="lua51"
14113 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14114 LUA_LIBS=$pkg_cv_LUA_LIBS
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14116 $as_echo "yes" >&6; }
14117 requirement_lua="lua-5.1"
14119 elif test $pkg_failed = untried; then
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14121 $as_echo "no" >&6; }
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14125 $as_echo_n "checking for LUA... " >&6; }
14127 if test -n "$LUA_CFLAGS"; then
14128 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14129 elif test -n "$PKG_CONFIG"; then
14130 if test -n "$PKG_CONFIG" && \
14131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14132 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14135 test $ac_status = 0; }; then
14136 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14137 test "x$?" != "x0" && pkg_failed=yes
14144 if test -n "$LUA_LIBS"; then
14145 pkg_cv_LUA_LIBS="$LUA_LIBS"
14146 elif test -n "$PKG_CONFIG"; then
14147 if test -n "$PKG_CONFIG" && \
14148 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14149 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14152 test $ac_status = 0; }; then
14153 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14154 test "x$?" != "x0" && pkg_failed=yes
14164 if test $pkg_failed = yes; then
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14166 $as_echo "no" >&6; }
14168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14169 _pkg_short_errors_supported=yes
14171 _pkg_short_errors_supported=no
14173 if test $_pkg_short_errors_supported = yes; then
14174 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14176 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14178 # Put the nasty error message in config.log where it belongs
14179 echo "$LUA_PKG_ERRORS" >&5
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14184 $as_echo_n "checking for LUA... " >&6; }
14186 if test -n "$LUA_CFLAGS"; then
14187 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14188 elif test -n "$PKG_CONFIG"; then
14189 if test -n "$PKG_CONFIG" && \
14190 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14191 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14194 test $ac_status = 0; }; then
14195 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14196 test "x$?" != "x0" && pkg_failed=yes
14203 if test -n "$LUA_LIBS"; then
14204 pkg_cv_LUA_LIBS="$LUA_LIBS"
14205 elif test -n "$PKG_CONFIG"; then
14206 if test -n "$PKG_CONFIG" && \
14207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14208 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14211 test $ac_status = 0; }; then
14212 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14213 test "x$?" != "x0" && pkg_failed=yes
14223 if test $pkg_failed = yes; then
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14225 $as_echo "no" >&6; }
14227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14228 _pkg_short_errors_supported=yes
14230 _pkg_short_errors_supported=no
14232 if test $_pkg_short_errors_supported = yes; then
14233 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14235 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14237 # Put the nasty error message in config.log where it belongs
14238 echo "$LUA_PKG_ERRORS" >&5
14241 elif test $pkg_failed = untried; then
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14243 $as_echo "no" >&6; }
14246 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14247 LUA_LIBS=$pkg_cv_LUA_LIBS
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14249 $as_echo "yes" >&6; }
14250 requirement_lua="lua51"
14252 elif test $pkg_failed = untried; then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14254 $as_echo "no" >&6; }
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14258 $as_echo_n "checking for LUA... " >&6; }
14260 if test -n "$LUA_CFLAGS"; then
14261 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14262 elif test -n "$PKG_CONFIG"; then
14263 if test -n "$PKG_CONFIG" && \
14264 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14265 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14268 test $ac_status = 0; }; then
14269 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14270 test "x$?" != "x0" && pkg_failed=yes
14277 if test -n "$LUA_LIBS"; then
14278 pkg_cv_LUA_LIBS="$LUA_LIBS"
14279 elif test -n "$PKG_CONFIG"; then
14280 if test -n "$PKG_CONFIG" && \
14281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14282 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14285 test $ac_status = 0; }; then
14286 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14287 test "x$?" != "x0" && pkg_failed=yes
14297 if test $pkg_failed = yes; then
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14299 $as_echo "no" >&6; }
14301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14302 _pkg_short_errors_supported=yes
14304 _pkg_short_errors_supported=no
14306 if test $_pkg_short_errors_supported = yes; then
14307 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14309 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14311 # Put the nasty error message in config.log where it belongs
14312 echo "$LUA_PKG_ERRORS" >&5
14315 elif test $pkg_failed = untried; then
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14317 $as_echo "no" >&6; }
14320 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14321 LUA_LIBS=$pkg_cv_LUA_LIBS
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14323 $as_echo "yes" >&6; }
14324 requirement_lua="lua51"
14327 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14328 LUA_LIBS=$pkg_cv_LUA_LIBS
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14330 $as_echo "yes" >&6; }
14331 requirement_lua="lua-5.1"
14334 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14335 LUA_LIBS=$pkg_cv_LUA_LIBS
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14337 $as_echo "yes" >&6; }
14338 requirement_lua="lua5.1"
14340 elif test $pkg_failed = untried; then
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14342 $as_echo "no" >&6; }
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14346 $as_echo_n "checking for LUA... " >&6; }
14348 if test -n "$LUA_CFLAGS"; then
14349 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14350 elif test -n "$PKG_CONFIG"; then
14351 if test -n "$PKG_CONFIG" && \
14352 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14353 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14356 test $ac_status = 0; }; then
14357 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0" 2>/dev/null`
14358 test "x$?" != "x0" && pkg_failed=yes
14365 if test -n "$LUA_LIBS"; then
14366 pkg_cv_LUA_LIBS="$LUA_LIBS"
14367 elif test -n "$PKG_CONFIG"; then
14368 if test -n "$PKG_CONFIG" && \
14369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1.0\""; } >&5
14370 ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
14372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14373 test $ac_status = 0; }; then
14374 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
14375 test "x$?" != "x0" && pkg_failed=yes
14385 if test $pkg_failed = yes; then
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14387 $as_echo "no" >&6; }
14389 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14390 _pkg_short_errors_supported=yes
14392 _pkg_short_errors_supported=no
14394 if test $_pkg_short_errors_supported = yes; then
14395 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14397 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1.0" 2>&1`
14399 # Put the nasty error message in config.log where it belongs
14400 echo "$LUA_PKG_ERRORS" >&5
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14405 $as_echo_n "checking for LUA... " >&6; }
14407 if test -n "$LUA_CFLAGS"; then
14408 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14409 elif test -n "$PKG_CONFIG"; then
14410 if test -n "$PKG_CONFIG" && \
14411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14412 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14415 test $ac_status = 0; }; then
14416 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14417 test "x$?" != "x0" && pkg_failed=yes
14424 if test -n "$LUA_LIBS"; then
14425 pkg_cv_LUA_LIBS="$LUA_LIBS"
14426 elif test -n "$PKG_CONFIG"; then
14427 if test -n "$PKG_CONFIG" && \
14428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14429 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14432 test $ac_status = 0; }; then
14433 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14434 test "x$?" != "x0" && pkg_failed=yes
14444 if test $pkg_failed = yes; then
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14446 $as_echo "no" >&6; }
14448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14449 _pkg_short_errors_supported=yes
14451 _pkg_short_errors_supported=no
14453 if test $_pkg_short_errors_supported = yes; then
14454 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14456 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14458 # Put the nasty error message in config.log where it belongs
14459 echo "$LUA_PKG_ERRORS" >&5
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14464 $as_echo_n "checking for LUA... " >&6; }
14466 if test -n "$LUA_CFLAGS"; then
14467 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14468 elif test -n "$PKG_CONFIG"; then
14469 if test -n "$PKG_CONFIG" && \
14470 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14471 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14474 test $ac_status = 0; }; then
14475 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14476 test "x$?" != "x0" && pkg_failed=yes
14483 if test -n "$LUA_LIBS"; then
14484 pkg_cv_LUA_LIBS="$LUA_LIBS"
14485 elif test -n "$PKG_CONFIG"; then
14486 if test -n "$PKG_CONFIG" && \
14487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14488 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14491 test $ac_status = 0; }; then
14492 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14493 test "x$?" != "x0" && pkg_failed=yes
14503 if test $pkg_failed = yes; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14505 $as_echo "no" >&6; }
14507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14508 _pkg_short_errors_supported=yes
14510 _pkg_short_errors_supported=no
14512 if test $_pkg_short_errors_supported = yes; then
14513 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14515 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14517 # Put the nasty error message in config.log where it belongs
14518 echo "$LUA_PKG_ERRORS" >&5
14521 elif test $pkg_failed = untried; then
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523 $as_echo "no" >&6; }
14526 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14527 LUA_LIBS=$pkg_cv_LUA_LIBS
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14529 $as_echo "yes" >&6; }
14530 requirement_lua="lua51"
14532 elif test $pkg_failed = untried; then
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14534 $as_echo "no" >&6; }
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14538 $as_echo_n "checking for LUA... " >&6; }
14540 if test -n "$LUA_CFLAGS"; then
14541 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14542 elif test -n "$PKG_CONFIG"; then
14543 if test -n "$PKG_CONFIG" && \
14544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14545 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14548 test $ac_status = 0; }; then
14549 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14550 test "x$?" != "x0" && pkg_failed=yes
14557 if test -n "$LUA_LIBS"; then
14558 pkg_cv_LUA_LIBS="$LUA_LIBS"
14559 elif test -n "$PKG_CONFIG"; then
14560 if test -n "$PKG_CONFIG" && \
14561 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14562 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14565 test $ac_status = 0; }; then
14566 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14567 test "x$?" != "x0" && pkg_failed=yes
14577 if test $pkg_failed = yes; then
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14579 $as_echo "no" >&6; }
14581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14582 _pkg_short_errors_supported=yes
14584 _pkg_short_errors_supported=no
14586 if test $_pkg_short_errors_supported = yes; then
14587 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14589 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14591 # Put the nasty error message in config.log where it belongs
14592 echo "$LUA_PKG_ERRORS" >&5
14595 elif test $pkg_failed = untried; then
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14597 $as_echo "no" >&6; }
14600 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14601 LUA_LIBS=$pkg_cv_LUA_LIBS
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14603 $as_echo "yes" >&6; }
14604 requirement_lua="lua51"
14607 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14608 LUA_LIBS=$pkg_cv_LUA_LIBS
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14610 $as_echo "yes" >&6; }
14611 requirement_lua="lua-5.1"
14613 elif test $pkg_failed = untried; then
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14615 $as_echo "no" >&6; }
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14619 $as_echo_n "checking for LUA... " >&6; }
14621 if test -n "$LUA_CFLAGS"; then
14622 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14623 elif test -n "$PKG_CONFIG"; then
14624 if test -n "$PKG_CONFIG" && \
14625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14626 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14629 test $ac_status = 0; }; then
14630 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua-5.1 >= 5.1.0" 2>/dev/null`
14631 test "x$?" != "x0" && pkg_failed=yes
14638 if test -n "$LUA_LIBS"; then
14639 pkg_cv_LUA_LIBS="$LUA_LIBS"
14640 elif test -n "$PKG_CONFIG"; then
14641 if test -n "$PKG_CONFIG" && \
14642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.1 >= 5.1.0\""; } >&5
14643 ($PKG_CONFIG --exists --print-errors "lua-5.1 >= 5.1.0") 2>&5
14645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14646 test $ac_status = 0; }; then
14647 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua-5.1 >= 5.1.0" 2>/dev/null`
14648 test "x$?" != "x0" && pkg_failed=yes
14658 if test $pkg_failed = yes; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14660 $as_echo "no" >&6; }
14662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14663 _pkg_short_errors_supported=yes
14665 _pkg_short_errors_supported=no
14667 if test $_pkg_short_errors_supported = yes; then
14668 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14670 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua-5.1 >= 5.1.0" 2>&1`
14672 # Put the nasty error message in config.log where it belongs
14673 echo "$LUA_PKG_ERRORS" >&5
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14678 $as_echo_n "checking for LUA... " >&6; }
14680 if test -n "$LUA_CFLAGS"; then
14681 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14682 elif test -n "$PKG_CONFIG"; then
14683 if test -n "$PKG_CONFIG" && \
14684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14685 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14688 test $ac_status = 0; }; then
14689 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14690 test "x$?" != "x0" && pkg_failed=yes
14697 if test -n "$LUA_LIBS"; then
14698 pkg_cv_LUA_LIBS="$LUA_LIBS"
14699 elif test -n "$PKG_CONFIG"; then
14700 if test -n "$PKG_CONFIG" && \
14701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14702 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14705 test $ac_status = 0; }; then
14706 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14707 test "x$?" != "x0" && pkg_failed=yes
14717 if test $pkg_failed = yes; then
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14719 $as_echo "no" >&6; }
14721 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14722 _pkg_short_errors_supported=yes
14724 _pkg_short_errors_supported=no
14726 if test $_pkg_short_errors_supported = yes; then
14727 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14729 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14731 # Put the nasty error message in config.log where it belongs
14732 echo "$LUA_PKG_ERRORS" >&5
14735 elif test $pkg_failed = untried; then
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14737 $as_echo "no" >&6; }
14740 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14741 LUA_LIBS=$pkg_cv_LUA_LIBS
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14743 $as_echo "yes" >&6; }
14744 requirement_lua="lua51"
14746 elif test $pkg_failed = untried; then
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14748 $as_echo "no" >&6; }
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
14752 $as_echo_n "checking for LUA... " >&6; }
14754 if test -n "$LUA_CFLAGS"; then
14755 pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
14756 elif test -n "$PKG_CONFIG"; then
14757 if test -n "$PKG_CONFIG" && \
14758 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14759 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14762 test $ac_status = 0; }; then
14763 pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua51 >= 5.1.0" 2>/dev/null`
14764 test "x$?" != "x0" && pkg_failed=yes
14771 if test -n "$LUA_LIBS"; then
14772 pkg_cv_LUA_LIBS="$LUA_LIBS"
14773 elif test -n "$PKG_CONFIG"; then
14774 if test -n "$PKG_CONFIG" && \
14775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua51 >= 5.1.0\""; } >&5
14776 ($PKG_CONFIG --exists --print-errors "lua51 >= 5.1.0") 2>&5
14778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14779 test $ac_status = 0; }; then
14780 pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua51 >= 5.1.0" 2>/dev/null`
14781 test "x$?" != "x0" && pkg_failed=yes
14791 if test $pkg_failed = yes; then
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14793 $as_echo "no" >&6; }
14795 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14796 _pkg_short_errors_supported=yes
14798 _pkg_short_errors_supported=no
14800 if test $_pkg_short_errors_supported = yes; then
14801 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14803 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua51 >= 5.1.0" 2>&1`
14805 # Put the nasty error message in config.log where it belongs
14806 echo "$LUA_PKG_ERRORS" >&5
14809 elif test $pkg_failed = untried; then
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14811 $as_echo "no" >&6; }
14814 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14815 LUA_LIBS=$pkg_cv_LUA_LIBS
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14817 $as_echo "yes" >&6; }
14818 requirement_lua="lua51"
14821 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14822 LUA_LIBS=$pkg_cv_LUA_LIBS
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14824 $as_echo "yes" >&6; }
14825 requirement_lua="lua-5.1"
14828 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14829 LUA_LIBS=$pkg_cv_LUA_LIBS
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14831 $as_echo "yes" >&6; }
14832 requirement_lua="lua5.1"
14835 LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
14836 LUA_LIBS=$pkg_cv_LUA_LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14838 $as_echo "yes" >&6; }
14839 requirement_lua="lua"
14842 if test "x${have_lua}" = "xno" ; then
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lua_newstate() is in liblua" >&5
14844 $as_echo_n "checking whether lua_newstate() is in liblua... " >&6; }
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua_newstate in -llua" >&5
14846 $as_echo_n "checking for lua_newstate in -llua... " >&6; }
14847 if ${ac_cv_lib_lua_lua_newstate+:} false; then :
14848 $as_echo_n "(cached) " >&6
14850 ac_check_lib_save_LIBS=$LIBS
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14861 char lua_newstate ();
14865 return lua_newstate ();
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_lib_lua_lua_newstate=yes
14873 ac_cv_lib_lua_lua_newstate=no
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_lib_save_LIBS
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lua_lua_newstate" >&5
14880 $as_echo "$ac_cv_lib_lua_lua_newstate" >&6; }
14881 if test "x$ac_cv_lib_lua_lua_newstate" = xyes; then :
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_lua}" >&5
14891 $as_echo "${have_lua}" >&6; }
14895 if test "x${have_lua}" = "xno" ; then
14896 as_fn_error $? "Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly" "$LINENO" 5
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MINIMAL" >&5
14902 $as_echo_n "checking for MINIMAL... " >&6; }
14904 if test -n "$MINIMAL_CFLAGS"; then
14905 pkg_cv_MINIMAL_CFLAGS="$MINIMAL_CFLAGS"
14906 elif test -n "$PKG_CONFIG"; then
14907 if test -n "$PKG_CONFIG" && \
14908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14912 ($PKG_CONFIG --exists --print-errors "
14917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14918 test $ac_status = 0; }; then
14919 pkg_cv_MINIMAL_CFLAGS=`$PKG_CONFIG --cflags "
14923 test "x$?" != "x0" && pkg_failed=yes
14930 if test -n "$MINIMAL_LIBS"; then
14931 pkg_cv_MINIMAL_LIBS="$MINIMAL_LIBS"
14932 elif test -n "$PKG_CONFIG"; then
14933 if test -n "$PKG_CONFIG" && \
14934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14938 ($PKG_CONFIG --exists --print-errors "
14943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14944 test $ac_status = 0; }; then
14945 pkg_cv_MINIMAL_LIBS=`$PKG_CONFIG --libs "
14949 test "x$?" != "x0" && pkg_failed=yes
14959 if test $pkg_failed = yes; then
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14961 $as_echo "no" >&6; }
14963 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14964 _pkg_short_errors_supported=yes
14966 _pkg_short_errors_supported=no
14968 if test $_pkg_short_errors_supported = yes; then
14969 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14974 MINIMAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14979 # Put the nasty error message in config.log where it belongs
14980 echo "$MINIMAL_PKG_ERRORS" >&5
14982 as_fn_error $? "Package requirements (
14987 $MINIMAL_PKG_ERRORS
14989 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14990 installed software in a non-standard prefix.
14992 Alternatively, you may set the environment variables MINIMAL_CFLAGS
14993 and MINIMAL_LIBS to avoid the need to call pkg-config.
14994 See the pkg-config man page for more details." "$LINENO" 5
14995 elif test $pkg_failed = untried; then
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997 $as_echo "no" >&6; }
14998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15000 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15001 is in your PATH or set the PKG_CONFIG environment variable to the full
15002 path to pkg-config.
15004 Alternatively, you may set the environment variables MINIMAL_CFLAGS
15005 and MINIMAL_LIBS to avoid the need to call pkg-config.
15006 See the pkg-config man page for more details.
15008 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15009 See \`config.log' for more details" "$LINENO" 5; }
15011 MINIMAL_CFLAGS=$pkg_cv_MINIMAL_CFLAGS
15012 MINIMAL_LIBS=$pkg_cv_MINIMAL_LIBS
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15014 $as_echo "yes" >&6; }
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
15021 $as_echo_n "checking for EDJE... " >&6; }
15023 if test -n "$EDJE_CFLAGS"; then
15024 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
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.6.99
15033 ecore-file >= 1.6.99
15034 ecore-input >= 1.6.99
15037 ($PKG_CONFIG --exists --print-errors "
15042 ecore-evas >= 1.6.99
15043 ecore-file >= 1.6.99
15044 ecore-input >= 1.6.99
15048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15049 test $ac_status = 0; }; then
15050 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "
15055 ecore-evas >= 1.6.99
15056 ecore-file >= 1.6.99
15057 ecore-input >= 1.6.99
15060 test "x$?" != "x0" && pkg_failed=yes
15067 if test -n "$EDJE_LIBS"; then
15068 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
15069 elif test -n "$PKG_CONFIG"; then
15070 if test -n "$PKG_CONFIG" && \
15071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15076 ecore-evas >= 1.6.99
15077 ecore-file >= 1.6.99
15078 ecore-input >= 1.6.99
15081 ($PKG_CONFIG --exists --print-errors "
15086 ecore-evas >= 1.6.99
15087 ecore-file >= 1.6.99
15088 ecore-input >= 1.6.99
15092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15093 test $ac_status = 0; }; then
15094 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "
15099 ecore-evas >= 1.6.99
15100 ecore-file >= 1.6.99
15101 ecore-input >= 1.6.99
15104 test "x$?" != "x0" && pkg_failed=yes
15114 if test $pkg_failed = yes; then
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15116 $as_echo "no" >&6; }
15118 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15119 _pkg_short_errors_supported=yes
15121 _pkg_short_errors_supported=no
15123 if test $_pkg_short_errors_supported = yes; then
15124 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15129 ecore-evas >= 1.6.99
15130 ecore-file >= 1.6.99
15131 ecore-input >= 1.6.99
15135 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15140 ecore-evas >= 1.6.99
15141 ecore-file >= 1.6.99
15142 ecore-input >= 1.6.99
15146 # Put the nasty error message in config.log where it belongs
15147 echo "$EDJE_PKG_ERRORS" >&5
15149 as_fn_error $? "Package requirements (
15154 ecore-evas >= 1.6.99
15155 ecore-file >= 1.6.99
15156 ecore-input >= 1.6.99
15162 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15163 installed software in a non-standard prefix.
15165 Alternatively, you may set the environment variables EDJE_CFLAGS
15166 and EDJE_LIBS to avoid the need to call pkg-config.
15167 See the pkg-config man page for more details." "$LINENO" 5
15168 elif test $pkg_failed = untried; then
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15170 $as_echo "no" >&6; }
15171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15173 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15174 is in your PATH or set the PKG_CONFIG environment variable to the full
15175 path to pkg-config.
15177 Alternatively, you may set the environment variables EDJE_CFLAGS
15178 and EDJE_LIBS to avoid the need to call pkg-config.
15179 See the pkg-config man page for more details.
15181 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15182 See \`config.log' for more details" "$LINENO" 5; }
15184 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
15185 EDJE_LIBS=$pkg_cv_EDJE_LIBS
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15187 $as_echo "yes" >&6; }
15191 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
15192 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
15194 requirement_edje="embryo >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_edje}"
15195 requirement_edje="${requirement_lua} ${requirement_edje}"
15197 have_ecore_imf="no"
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_IMF" >&5
15201 $as_echo_n "checking for ECORE_IMF... " >&6; }
15203 if test -n "$ECORE_IMF_CFLAGS"; then
15204 pkg_cv_ECORE_IMF_CFLAGS="$ECORE_IMF_CFLAGS"
15205 elif test -n "$PKG_CONFIG"; then
15206 if test -n "$PKG_CONFIG" && \
15207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15208 ecore-imf >= 1.6.99
15209 ecore-imf-evas >= 1.6.99
15211 ($PKG_CONFIG --exists --print-errors "
15212 ecore-imf >= 1.6.99
15213 ecore-imf-evas >= 1.6.99
15216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15217 test $ac_status = 0; }; then
15218 pkg_cv_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "
15219 ecore-imf >= 1.6.99
15220 ecore-imf-evas >= 1.6.99
15222 test "x$?" != "x0" && pkg_failed=yes
15229 if test -n "$ECORE_IMF_LIBS"; then
15230 pkg_cv_ECORE_IMF_LIBS="$ECORE_IMF_LIBS"
15231 elif test -n "$PKG_CONFIG"; then
15232 if test -n "$PKG_CONFIG" && \
15233 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15234 ecore-imf >= 1.6.99
15235 ecore-imf-evas >= 1.6.99
15237 ($PKG_CONFIG --exists --print-errors "
15238 ecore-imf >= 1.6.99
15239 ecore-imf-evas >= 1.6.99
15242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15243 test $ac_status = 0; }; then
15244 pkg_cv_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "
15245 ecore-imf >= 1.6.99
15246 ecore-imf-evas >= 1.6.99
15248 test "x$?" != "x0" && pkg_failed=yes
15258 if test $pkg_failed = yes; then
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15260 $as_echo "no" >&6; }
15262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15263 _pkg_short_errors_supported=yes
15265 _pkg_short_errors_supported=no
15267 if test $_pkg_short_errors_supported = yes; then
15268 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15269 ecore-imf >= 1.6.99
15270 ecore-imf-evas >= 1.6.99
15273 ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15274 ecore-imf >= 1.6.99
15275 ecore-imf-evas >= 1.6.99
15278 # Put the nasty error message in config.log where it belongs
15279 echo "$ECORE_IMF_PKG_ERRORS" >&5
15281 have_ecore_imf="no"
15282 elif test $pkg_failed = untried; then
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15284 $as_echo "no" >&6; }
15285 have_ecore_imf="no"
15287 ECORE_IMF_CFLAGS=$pkg_cv_ECORE_IMF_CFLAGS
15288 ECORE_IMF_LIBS=$pkg_cv_ECORE_IMF_LIBS
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15290 $as_echo "yes" >&6; }
15293 $as_echo "#define HAVE_ECORE_IMF 1" >>confdefs.h
15295 have_ecore_imf="yes"
15296 requirement_edje="ecore-imf-evas >= 1.6.99 ecore-imf >= 1.6.99 ${requirement_edje}"
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15303 $as_echo_n "checking for EIO... " >&6; }
15305 if test -n "$EIO_CFLAGS"; then
15306 pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15307 elif test -n "$PKG_CONFIG"; then
15308 if test -n "$PKG_CONFIG" && \
15309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
15310 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
15312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313 test $ac_status = 0; }; then
15314 pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
15315 test "x$?" != "x0" && pkg_failed=yes
15322 if test -n "$EIO_LIBS"; then
15323 pkg_cv_EIO_LIBS="$EIO_LIBS"
15324 elif test -n "$PKG_CONFIG"; then
15325 if test -n "$PKG_CONFIG" && \
15326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
15327 ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
15329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15330 test $ac_status = 0; }; then
15331 pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
15332 test "x$?" != "x0" && pkg_failed=yes
15342 if test $pkg_failed = yes; then
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15344 $as_echo "no" >&6; }
15346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15347 _pkg_short_errors_supported=yes
15349 _pkg_short_errors_supported=no
15351 if test $_pkg_short_errors_supported = yes; then
15352 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
15354 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio >= 1.6.99" 2>&1`
15356 # Put the nasty error message in config.log where it belongs
15357 echo "$EIO_PKG_ERRORS" >&5
15360 elif test $pkg_failed = untried; then
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15362 $as_echo "no" >&6; }
15365 EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15366 EIO_LIBS=$pkg_cv_EIO_LIBS
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15368 $as_echo "yes" >&6; }
15371 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15374 requirement_edje="eio >= 1.6.99 ${requirement_edje}"
15378 # Enable Multisense use
15379 want_multisense="no"
15380 if test "x${want_multisense}" = "xyes"; then
15381 ENABLE_MULTISENSE_TRUE=
15382 ENABLE_MULTISENSE_FALSE='#'
15384 ENABLE_MULTISENSE_TRUE='#'
15385 ENABLE_MULTISENSE_FALSE=
15391 want_sndfile="auto"
15392 # Check whether --enable-sndfile was given.
15393 if test "${enable_sndfile+set}" = set; then :
15394 enableval=$enable_sndfile; want_sndfile=$enableval
15398 if test "x${want_multisense}" = "xyes" -a "x$want_sndfile" != "xno"; then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
15403 $as_echo_n "checking for SNDFILE... " >&6; }
15405 if test -n "$SNDFILE_CFLAGS"; then
15406 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
15407 elif test -n "$PKG_CONFIG"; then
15408 if test -n "$PKG_CONFIG" && \
15409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15410 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15413 test $ac_status = 0; }; then
15414 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.21" 2>/dev/null`
15415 test "x$?" != "x0" && pkg_failed=yes
15422 if test -n "$SNDFILE_LIBS"; then
15423 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
15424 elif test -n "$PKG_CONFIG"; then
15425 if test -n "$PKG_CONFIG" && \
15426 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.21\""; } >&5
15427 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.21") 2>&5
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }; then
15431 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.21" 2>/dev/null`
15432 test "x$?" != "x0" && pkg_failed=yes
15442 if test $pkg_failed = yes; then
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15444 $as_echo "no" >&6; }
15446 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15447 _pkg_short_errors_supported=yes
15449 _pkg_short_errors_supported=no
15451 if test $_pkg_short_errors_supported = yes; then
15452 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15454 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile >= 1.0.21" 2>&1`
15456 # Put the nasty error message in config.log where it belongs
15457 echo "$SNDFILE_PKG_ERRORS" >&5
15459 have_sndfile="no"; want_multisense="no"
15461 elif test $pkg_failed = untried; then
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15463 $as_echo "no" >&6; }
15464 have_sndfile="no"; want_multisense="no"
15467 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
15468 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15470 $as_echo "yes" >&6; }
15473 $as_echo "#define HAVE_LIBSNDFILE 1" >>confdefs.h
15476 requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
15480 if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
15481 as_fn_error $? "sndfile support requested, but not found by pkg-config." "$LINENO" 5
15484 if test "x${have_sndfile}" = "xyes"; then
15485 HAVE_LIBSNDFILE_TRUE=
15486 HAVE_LIBSNDFILE_FALSE='#'
15488 HAVE_LIBSNDFILE_TRUE='#'
15489 HAVE_LIBSNDFILE_FALSE=
15495 want_libremix="auto"
15496 # Check whether --enable-remix was given.
15497 if test "${enable_remix+set}" = set; then :
15498 enableval=$enable_remix; want_libremix=$enableval
15502 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for REMIX" >&5
15506 $as_echo_n "checking for REMIX... " >&6; }
15508 if test -n "$REMIX_CFLAGS"; then
15509 pkg_cv_REMIX_CFLAGS="$REMIX_CFLAGS"
15510 elif test -n "$PKG_CONFIG"; then
15511 if test -n "$PKG_CONFIG" && \
15512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15513 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15516 test $ac_status = 0; }; then
15517 pkg_cv_REMIX_CFLAGS=`$PKG_CONFIG --cflags "remix >= 0.2.4" 2>/dev/null`
15518 test "x$?" != "x0" && pkg_failed=yes
15525 if test -n "$REMIX_LIBS"; then
15526 pkg_cv_REMIX_LIBS="$REMIX_LIBS"
15527 elif test -n "$PKG_CONFIG"; then
15528 if test -n "$PKG_CONFIG" && \
15529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"remix >= 0.2.4\""; } >&5
15530 ($PKG_CONFIG --exists --print-errors "remix >= 0.2.4") 2>&5
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; }; then
15534 pkg_cv_REMIX_LIBS=`$PKG_CONFIG --libs "remix >= 0.2.4" 2>/dev/null`
15535 test "x$?" != "x0" && pkg_failed=yes
15545 if test $pkg_failed = yes; then
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15547 $as_echo "no" >&6; }
15549 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15550 _pkg_short_errors_supported=yes
15552 _pkg_short_errors_supported=no
15554 if test $_pkg_short_errors_supported = yes; then
15555 REMIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15557 REMIX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "remix >= 0.2.4" 2>&1`
15559 # Put the nasty error message in config.log where it belongs
15560 echo "$REMIX_PKG_ERRORS" >&5
15562 have_libremix="no"; want_multisense="no"
15564 elif test $pkg_failed = untried; then
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15566 $as_echo "no" >&6; }
15567 have_libremix="no"; want_multisense="no"
15570 REMIX_CFLAGS=$pkg_cv_REMIX_CFLAGS
15571 REMIX_LIBS=$pkg_cv_REMIX_LIBS
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15573 $as_echo "yes" >&6; }
15576 $as_echo "#define HAVE_LIBREMIX 1" >>confdefs.h
15578 have_libremix="yes"
15579 requirement_edje="remix >= 0.2.4 ${requirement_edje}"
15581 $as_echo "#define __REMIX_PLUGIN__ 1" >>confdefs.h
15583 REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
15586 cat >>confdefs.h <<_ACEOF
15587 #define REMIX_PLUGIN_DIR "$REMIX_PLUGIN_DIR"
15593 if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
15594 as_fn_error $? "remix support requested, but not found by pkg-config." "$LINENO" 5
15597 if test "x${have_libremix}" = "xyes"; then
15598 HAVE_LIBREMIX_TRUE=
15599 HAVE_LIBREMIX_FALSE='#'
15601 HAVE_LIBREMIX_TRUE='#'
15602 HAVE_LIBREMIX_FALSE=
15606 ##vorbis/ogg library
15609 # Check whether --enable-vorbisenc was given.
15610 if test "${enable_vorbisenc+set}" = set; then :
15611 enableval=$enable_vorbisenc; want_vorbis=$enableval
15615 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBISENC" >&5
15619 $as_echo_n "checking for VORBISENC... " >&6; }
15621 if test -n "$VORBISENC_CFLAGS"; then
15622 pkg_cv_VORBISENC_CFLAGS="$VORBISENC_CFLAGS"
15623 elif test -n "$PKG_CONFIG"; then
15624 if test -n "$PKG_CONFIG" && \
15625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15630 ($PKG_CONFIG --exists --print-errors "
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15638 pkg_cv_VORBISENC_CFLAGS=`$PKG_CONFIG --cflags "
15643 test "x$?" != "x0" && pkg_failed=yes
15650 if test -n "$VORBISENC_LIBS"; then
15651 pkg_cv_VORBISENC_LIBS="$VORBISENC_LIBS"
15652 elif test -n "$PKG_CONFIG"; then
15653 if test -n "$PKG_CONFIG" && \
15654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15659 ($PKG_CONFIG --exists --print-errors "
15665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666 test $ac_status = 0; }; then
15667 pkg_cv_VORBISENC_LIBS=`$PKG_CONFIG --libs "
15672 test "x$?" != "x0" && pkg_failed=yes
15682 if test $pkg_failed = yes; then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15686 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15687 _pkg_short_errors_supported=yes
15689 _pkg_short_errors_supported=no
15691 if test $_pkg_short_errors_supported = yes; then
15692 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15698 VORBISENC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15704 # Put the nasty error message in config.log where it belongs
15705 echo "$VORBISENC_PKG_ERRORS" >&5
15707 have_vorbis="no"; want_multisense="no"
15709 elif test $pkg_failed = untried; then
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15711 $as_echo "no" >&6; }
15712 have_vorbis="no"; want_multisense="no"
15715 VORBISENC_CFLAGS=$pkg_cv_VORBISENC_CFLAGS
15716 VORBISENC_LIBS=$pkg_cv_VORBISENC_LIBS
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15718 $as_echo "yes" >&6; }
15721 $as_echo "#define HAVE_VORBIS 1" >>confdefs.h
15724 requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
15728 if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
15729 as_fn_error $? "vorbisenc support requested, but not found by pkg-config." "$LINENO" 5
15735 want_alsa_lib="auto"
15736 # Check whether --enable-alsa was given.
15737 if test "${enable_alsa+set}" = set; then :
15738 enableval=$enable_alsa; want_alsa_lib=$enableval
15742 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
15746 $as_echo_n "checking for ALSA... " >&6; }
15748 if test -n "$ALSA_CFLAGS"; then
15749 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
15750 elif test -n "$PKG_CONFIG"; then
15751 if test -n "$PKG_CONFIG" && \
15752 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15755 ($PKG_CONFIG --exists --print-errors "
15759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15760 test $ac_status = 0; }; then
15761 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "
15764 test "x$?" != "x0" && pkg_failed=yes
15771 if test -n "$ALSA_LIBS"; then
15772 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
15773 elif test -n "$PKG_CONFIG"; then
15774 if test -n "$PKG_CONFIG" && \
15775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15778 ($PKG_CONFIG --exists --print-errors "
15782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15783 test $ac_status = 0; }; then
15784 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "
15787 test "x$?" != "x0" && pkg_failed=yes
15797 if test $pkg_failed = yes; then
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15799 $as_echo "no" >&6; }
15801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15802 _pkg_short_errors_supported=yes
15804 _pkg_short_errors_supported=no
15806 if test $_pkg_short_errors_supported = yes; then
15807 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15811 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15815 # Put the nasty error message in config.log where it belongs
15816 echo "$ALSA_PKG_ERRORS" >&5
15818 have_alsa_lib="no"; want_multisense="no"
15820 elif test $pkg_failed = untried; then
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15822 $as_echo "no" >&6; }
15823 have_alsa_lib="no"; want_multisense="no"
15826 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
15827 ALSA_LIBS=$pkg_cv_ALSA_LIBS
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15829 $as_echo "yes" >&6; }
15832 $as_echo "#define HAVE_LIBALSA 1" >>confdefs.h
15834 have_alsa_lib="yes"
15835 requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
15839 if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
15840 as_fn_error $? "alsa support requested, but not found by pkg-config." "$LINENO" 5
15843 if test "x${have_alsa_lib}" = "xyes"; then
15845 HAVE_LIBALSA_FALSE='#'
15847 HAVE_LIBALSA_TRUE='#'
15848 HAVE_LIBALSA_FALSE=
15855 want_flac_lib="auto"
15856 # Check whether --enable-flac was given.
15857 if test "${enable_flac+set}" = set; then :
15858 enableval=$enable_flac; want_flac_lib=$enableval
15862 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
15866 $as_echo_n "checking for FLAC... " >&6; }
15868 if test -n "$FLAC_CFLAGS"; then
15869 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
15870 elif test -n "$PKG_CONFIG"; then
15871 if test -n "$PKG_CONFIG" && \
15872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15875 ($PKG_CONFIG --exists --print-errors "
15879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15880 test $ac_status = 0; }; then
15881 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "
15884 test "x$?" != "x0" && pkg_failed=yes
15891 if test -n "$FLAC_LIBS"; then
15892 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
15893 elif test -n "$PKG_CONFIG"; then
15894 if test -n "$PKG_CONFIG" && \
15895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15898 ($PKG_CONFIG --exists --print-errors "
15902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15903 test $ac_status = 0; }; then
15904 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "
15907 test "x$?" != "x0" && pkg_failed=yes
15917 if test $pkg_failed = yes; then
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15919 $as_echo "no" >&6; }
15921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15922 _pkg_short_errors_supported=yes
15924 _pkg_short_errors_supported=no
15926 if test $_pkg_short_errors_supported = yes; then
15927 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
15931 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
15935 # Put the nasty error message in config.log where it belongs
15936 echo "$FLAC_PKG_ERRORS" >&5
15938 have_flac_lib="no"; want_multisense="no"
15940 elif test $pkg_failed = untried; then
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15942 $as_echo "no" >&6; }
15943 have_flac_lib="no"; want_multisense="no"
15946 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
15947 FLAC_LIBS=$pkg_cv_FLAC_LIBS
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15949 $as_echo "yes" >&6; }
15952 $as_echo "#define HAVE_LIBFLAC 1" >>confdefs.h
15954 have_flac_lib="yes"
15955 # disabled because this adds flac include dirs to cflags... and
15956 # FLAC has an assert.h in its include dirs that ends up
15957 # overriding the system assert.h and thus causes all sorts of
15959 #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
15962 if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
15963 as_fn_error $? "flac support requested, but not found by pkg-config." "$LINENO" 5
15967 if test "x${want_multisense}" = "xyes" ; then
15969 $as_echo "#define ENABLE_MULTISENSE 1" >>confdefs.h
15974 # Dependencies for the binaries
15976 if test "x${have_edje_cc}" = "xyes" ; then
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_CC" >&5
15980 $as_echo_n "checking for EDJE_CC... " >&6; }
15982 if test -n "$EDJE_CC_CFLAGS"; then
15983 pkg_cv_EDJE_CC_CFLAGS="$EDJE_CC_CFLAGS"
15984 elif test -n "$PKG_CONFIG"; then
15985 if test -n "$PKG_CONFIG" && \
15986 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
15987 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
15989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15990 test $ac_status = 0; }; then
15991 pkg_cv_EDJE_CC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
15992 test "x$?" != "x0" && pkg_failed=yes
15999 if test -n "$EDJE_CC_LIBS"; then
16000 pkg_cv_EDJE_CC_LIBS="$EDJE_CC_LIBS"
16001 elif test -n "$PKG_CONFIG"; then
16002 if test -n "$PKG_CONFIG" && \
16003 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99\""; } >&5
16004 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99") 2>&5
16006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007 test $ac_status = 0; }; then
16008 pkg_cv_EDJE_CC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>/dev/null`
16009 test "x$?" != "x0" && pkg_failed=yes
16019 if test $pkg_failed = yes; then
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16021 $as_echo "no" >&6; }
16023 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16024 _pkg_short_errors_supported=yes
16026 _pkg_short_errors_supported=no
16028 if test $_pkg_short_errors_supported = yes; then
16029 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
16031 EDJE_CC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99" 2>&1`
16033 # Put the nasty error message in config.log where it belongs
16034 echo "$EDJE_CC_PKG_ERRORS" >&5
16036 as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.0 eina >= 1.6.99) were not met:
16038 $EDJE_CC_PKG_ERRORS
16040 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16041 installed software in a non-standard prefix.
16043 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16044 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16045 See the pkg-config man page for more details." "$LINENO" 5
16046 elif test $pkg_failed = untried; then
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048 $as_echo "no" >&6; }
16049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16051 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16052 is in your PATH or set the PKG_CONFIG environment variable to the full
16053 path to pkg-config.
16055 Alternatively, you may set the environment variables EDJE_CC_CFLAGS
16056 and EDJE_CC_LIBS to avoid the need to call pkg-config.
16057 See the pkg-config man page for more details.
16059 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16060 See \`config.log' for more details" "$LINENO" 5; }
16062 EDJE_CC_CFLAGS=$pkg_cv_EDJE_CC_CFLAGS
16063 EDJE_CC_LIBS=$pkg_cv_EDJE_CC_LIBS
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16065 $as_echo "yes" >&6; }
16068 EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
16071 if test "x${have_edje_cc}" = "xyes"; then
16073 BUILD_EPP_FALSE='#'
16080 if test "x${have_edje_decc}" = "xyes" ; then
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_DECC" >&5
16084 $as_echo_n "checking for EDJE_DECC... " >&6; }
16086 if test -n "$EDJE_DECC_CFLAGS"; then
16087 pkg_cv_EDJE_DECC_CFLAGS="$EDJE_DECC_CFLAGS"
16088 elif test -n "$PKG_CONFIG"; then
16089 if test -n "$PKG_CONFIG" && \
16090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
16091 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
16093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16094 test $ac_status = 0; }; then
16095 pkg_cv_EDJE_DECC_CFLAGS=`$PKG_CONFIG --cflags "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16096 test "x$?" != "x0" && pkg_failed=yes
16103 if test -n "$EDJE_DECC_LIBS"; then
16104 pkg_cv_EDJE_DECC_LIBS="$EDJE_DECC_LIBS"
16105 elif test -n "$PKG_CONFIG"; then
16106 if test -n "$PKG_CONFIG" && \
16107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99\""; } >&5
16108 ($PKG_CONFIG --exists --print-errors "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99") 2>&5
16110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16111 test $ac_status = 0; }; then
16112 pkg_cv_EDJE_DECC_LIBS=`$PKG_CONFIG --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16113 test "x$?" != "x0" && pkg_failed=yes
16123 if test $pkg_failed = yes; then
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125 $as_echo "no" >&6; }
16127 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16128 _pkg_short_errors_supported=yes
16130 _pkg_short_errors_supported=no
16132 if test $_pkg_short_errors_supported = yes; then
16133 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
16135 EDJE_DECC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99" 2>&1`
16137 # Put the nasty error message in config.log where it belongs
16138 echo "$EDJE_DECC_PKG_ERRORS" >&5
16140 as_fn_error $? "Package requirements (ecore-file >= 1.6.99 ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99) were not met:
16142 $EDJE_DECC_PKG_ERRORS
16144 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16145 installed software in a non-standard prefix.
16147 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16148 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16149 See the pkg-config man page for more details." "$LINENO" 5
16150 elif test $pkg_failed = untried; then
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16152 $as_echo "no" >&6; }
16153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16155 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16156 is in your PATH or set the PKG_CONFIG environment variable to the full
16157 path to pkg-config.
16159 Alternatively, you may set the environment variables EDJE_DECC_CFLAGS
16160 and EDJE_DECC_LIBS to avoid the need to call pkg-config.
16161 See the pkg-config man page for more details.
16163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16164 See \`config.log' for more details" "$LINENO" 5; }
16166 EDJE_DECC_CFLAGS=$pkg_cv_EDJE_DECC_CFLAGS
16167 EDJE_DECC_LIBS=$pkg_cv_EDJE_DECC_LIBS
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16169 $as_echo "yes" >&6; }
16174 if test "x${have_edje_player}" = "xyes" ; then
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_PLAYER" >&5
16178 $as_echo_n "checking for EDJE_PLAYER... " >&6; }
16180 if test -n "$EDJE_PLAYER_CFLAGS"; then
16181 pkg_cv_EDJE_PLAYER_CFLAGS="$EDJE_PLAYER_CFLAGS"
16182 elif test -n "$PKG_CONFIG"; then
16183 if test -n "$PKG_CONFIG" && \
16184 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16185 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16188 test $ac_status = 0; }; then
16189 pkg_cv_EDJE_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16190 test "x$?" != "x0" && pkg_failed=yes
16197 if test -n "$EDJE_PLAYER_LIBS"; then
16198 pkg_cv_EDJE_PLAYER_LIBS="$EDJE_PLAYER_LIBS"
16199 elif test -n "$PKG_CONFIG"; then
16200 if test -n "$PKG_CONFIG" && \
16201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16202 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16205 test $ac_status = 0; }; then
16206 pkg_cv_EDJE_PLAYER_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16207 test "x$?" != "x0" && pkg_failed=yes
16217 if test $pkg_failed = yes; then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16219 $as_echo "no" >&6; }
16221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16222 _pkg_short_errors_supported=yes
16224 _pkg_short_errors_supported=no
16226 if test $_pkg_short_errors_supported = yes; then
16227 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16229 EDJE_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16231 # Put the nasty error message in config.log where it belongs
16232 echo "$EDJE_PLAYER_PKG_ERRORS" >&5
16234 as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
16236 $EDJE_PLAYER_PKG_ERRORS
16238 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16239 installed software in a non-standard prefix.
16241 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16242 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16243 See the pkg-config man page for more details." "$LINENO" 5
16244 elif test $pkg_failed = untried; then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16246 $as_echo "no" >&6; }
16247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16249 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16250 is in your PATH or set the PKG_CONFIG environment variable to the full
16251 path to pkg-config.
16253 Alternatively, you may set the environment variables EDJE_PLAYER_CFLAGS
16254 and EDJE_PLAYER_LIBS to avoid the need to call pkg-config.
16255 See the pkg-config man page for more details.
16257 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16258 See \`config.log' for more details" "$LINENO" 5; }
16260 EDJE_PLAYER_CFLAGS=$pkg_cv_EDJE_PLAYER_CFLAGS
16261 EDJE_PLAYER_LIBS=$pkg_cv_EDJE_PLAYER_LIBS
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16263 $as_echo "yes" >&6; }
16268 if test "x${have_edje_inspector}" = "xyes" ; then
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_INSPECTOR" >&5
16272 $as_echo_n "checking for EDJE_INSPECTOR... " >&6; }
16274 if test -n "$EDJE_INSPECTOR_CFLAGS"; then
16275 pkg_cv_EDJE_INSPECTOR_CFLAGS="$EDJE_INSPECTOR_CFLAGS"
16276 elif test -n "$PKG_CONFIG"; then
16277 if test -n "$PKG_CONFIG" && \
16278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16279 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16282 test $ac_status = 0; }; then
16283 pkg_cv_EDJE_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16284 test "x$?" != "x0" && pkg_failed=yes
16291 if test -n "$EDJE_INSPECTOR_LIBS"; then
16292 pkg_cv_EDJE_INSPECTOR_LIBS="$EDJE_INSPECTOR_LIBS"
16293 elif test -n "$PKG_CONFIG"; then
16294 if test -n "$PKG_CONFIG" && \
16295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16296 ($PKG_CONFIG --exists --print-errors "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16299 test $ac_status = 0; }; then
16300 pkg_cv_EDJE_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16301 test "x$?" != "x0" && pkg_failed=yes
16311 if test $pkg_failed = yes; then
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16313 $as_echo "no" >&6; }
16315 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16316 _pkg_short_errors_supported=yes
16318 _pkg_short_errors_supported=no
16320 if test $_pkg_short_errors_supported = yes; then
16321 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16323 EDJE_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16325 # Put the nasty error message in config.log where it belongs
16326 echo "$EDJE_INSPECTOR_PKG_ERRORS" >&5
16328 as_fn_error $? "Package requirements (ecore-evas >= 1.6.99 ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
16330 $EDJE_INSPECTOR_PKG_ERRORS
16332 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16333 installed software in a non-standard prefix.
16335 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16336 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16337 See the pkg-config man page for more details." "$LINENO" 5
16338 elif test $pkg_failed = untried; then
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16340 $as_echo "no" >&6; }
16341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16343 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16344 is in your PATH or set the PKG_CONFIG environment variable to the full
16345 path to pkg-config.
16347 Alternatively, you may set the environment variables EDJE_INSPECTOR_CFLAGS
16348 and EDJE_INSPECTOR_LIBS to avoid the need to call pkg-config.
16349 See the pkg-config man page for more details.
16351 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16352 See \`config.log' for more details" "$LINENO" 5; }
16354 EDJE_INSPECTOR_CFLAGS=$pkg_cv_EDJE_INSPECTOR_CFLAGS
16355 EDJE_INSPECTOR_LIBS=$pkg_cv_EDJE_INSPECTOR_LIBS
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16357 $as_echo "yes" >&6; }
16362 if test "x${have_edje_external_inspector}" = "xyes" ; then
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL_INSPECTOR" >&5
16366 $as_echo_n "checking for EDJE_EXTERNAL_INSPECTOR... " >&6; }
16368 if test -n "$EDJE_EXTERNAL_INSPECTOR_CFLAGS"; then
16369 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS="$EDJE_EXTERNAL_INSPECTOR_CFLAGS"
16370 elif test -n "$PKG_CONFIG"; then
16371 if test -n "$PKG_CONFIG" && \
16372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16373 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16376 test $ac_status = 0; }; then
16377 pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16378 test "x$?" != "x0" && pkg_failed=yes
16385 if test -n "$EDJE_EXTERNAL_INSPECTOR_LIBS"; then
16386 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS="$EDJE_EXTERNAL_INSPECTOR_LIBS"
16387 elif test -n "$PKG_CONFIG"; then
16388 if test -n "$PKG_CONFIG" && \
16389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99\""; } >&5
16390 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99") 2>&5
16392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16393 test $ac_status = 0; }; then
16394 pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>/dev/null`
16395 test "x$?" != "x0" && pkg_failed=yes
16405 if test $pkg_failed = yes; then
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16407 $as_echo "no" >&6; }
16409 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16410 _pkg_short_errors_supported=yes
16412 _pkg_short_errors_supported=no
16414 if test $_pkg_short_errors_supported = yes; then
16415 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16417 EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99" 2>&1`
16419 # Put the nasty error message in config.log where it belongs
16420 echo "$EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS" >&5
16422 as_fn_error $? "Package requirements (ecore >= 1.6.99 evas >= 1.6.99 eina >= 1.6.99) were not met:
16424 $EDJE_EXTERNAL_INSPECTOR_PKG_ERRORS
16426 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16427 installed software in a non-standard prefix.
16429 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16430 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16431 See the pkg-config man page for more details." "$LINENO" 5
16432 elif test $pkg_failed = untried; then
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16434 $as_echo "no" >&6; }
16435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16437 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16438 is in your PATH or set the PKG_CONFIG environment variable to the full
16439 path to pkg-config.
16441 Alternatively, you may set the environment variables EDJE_EXTERNAL_INSPECTOR_CFLAGS
16442 and EDJE_EXTERNAL_INSPECTOR_LIBS to avoid the need to call pkg-config.
16443 See the pkg-config man page for more details.
16445 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16446 See \`config.log' for more details" "$LINENO" 5; }
16448 EDJE_EXTERNAL_INSPECTOR_CFLAGS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_CFLAGS
16449 EDJE_EXTERNAL_INSPECTOR_LIBS=$pkg_cv_EDJE_EXTERNAL_INSPECTOR_LIBS
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16451 $as_echo "yes" >&6; }
16456 if test "x${have_edje_watch}" = "xyes" ; then
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_WATCH" >&5
16460 $as_echo_n "checking for EDJE_WATCH... " >&6; }
16462 if test -n "$EDJE_WATCH_CFLAGS"; then
16463 pkg_cv_EDJE_WATCH_CFLAGS="$EDJE_WATCH_CFLAGS"
16464 elif test -n "$PKG_CONFIG"; then
16465 if test -n "$PKG_CONFIG" && \
16466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
16467 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
16469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16470 test $ac_status = 0; }; then
16471 pkg_cv_EDJE_WATCH_CFLAGS=`$PKG_CONFIG --cflags "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
16472 test "x$?" != "x0" && pkg_failed=yes
16479 if test -n "$EDJE_WATCH_LIBS"; then
16480 pkg_cv_EDJE_WATCH_LIBS="$EDJE_WATCH_LIBS"
16481 elif test -n "$PKG_CONFIG"; then
16482 if test -n "$PKG_CONFIG" && \
16483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99\""; } >&5
16484 ($PKG_CONFIG --exists --print-errors "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99") 2>&5
16486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16487 test $ac_status = 0; }; then
16488 pkg_cv_EDJE_WATCH_LIBS=`$PKG_CONFIG --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>/dev/null`
16489 test "x$?" != "x0" && pkg_failed=yes
16499 if test $pkg_failed = yes; then
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16501 $as_echo "no" >&6; }
16503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16504 _pkg_short_errors_supported=yes
16506 _pkg_short_errors_supported=no
16508 if test $_pkg_short_errors_supported = yes; then
16509 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
16511 EDJE_WATCH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore >= 1.6.99 eina >= 1.6.99 eio >= 1.6.99" 2>&1`
16513 # Put the nasty error message in config.log where it belongs
16514 echo "$EDJE_WATCH_PKG_ERRORS" >&5
16516 have_edje_watch="no"
16517 elif test $pkg_failed = untried; then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16519 $as_echo "no" >&6; }
16520 have_edje_watch="no"
16522 EDJE_WATCH_CFLAGS=$pkg_cv_EDJE_WATCH_CFLAGS
16523 EDJE_WATCH_LIBS=$pkg_cv_EDJE_WATCH_LIBS
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16525 $as_echo "yes" >&6; }
16526 have_edje_watch="yes"
16530 if test "x${have_edje_watch}" = "xyes"; then
16531 BUILD_EDJE_WATCH_TRUE=
16532 BUILD_EDJE_WATCH_FALSE='#'
16534 BUILD_EDJE_WATCH_TRUE='#'
16535 BUILD_EDJE_WATCH_FALSE=
16539 ### Checks for header files
16540 for ac_header in locale.h sys/resource.h
16542 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16543 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16544 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16558 ac_cpp='$CPP $CPPFLAGS'
16559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
16565 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16569 #include <limits.h>
16581 if ac_fn_c_try_compile "$LINENO"; then :
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16583 $as_echo "yes" >&6; }
16587 cat >>confdefs.h <<_ACEOF
16588 #define PATH_MAX ${default_max}
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
16592 $as_echo "no: using ${default_max}" >&6; }
16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16598 ac_cpp='$CPP $CPPFLAGS'
16599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16607 ### Checks for types
16610 ### Checks for structures
16613 ### Checks for compiler characteristics
16614 if test "x$CC" != xcc; then
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16616 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16619 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16621 set dummy $CC; ac_cc=`$as_echo "$2" |
16622 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16623 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
16624 $as_echo_n "(cached) " >&6
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16637 # Make sure it works both with $CC and with simple cc.
16638 # We do the test twice because some compilers refuse to overwrite an
16639 # existing .o file with -o, though they will create one.
16640 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16642 if { { case "(($ac_try" in
16643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16644 *) ac_try_echo=$ac_try;;
16646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16647 $as_echo "$ac_try_echo"; } >&5
16648 (eval "$ac_try") 2>&5
16650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16651 test $ac_status = 0; } &&
16652 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16654 *) ac_try_echo=$ac_try;;
16656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16657 $as_echo "$ac_try_echo"; } >&5
16658 (eval "$ac_try") 2>&5
16660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16661 test $ac_status = 0; };
16663 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16664 if test "x$CC" != xcc; then
16665 # Test first that cc exists at all.
16666 if { ac_try='cc -c conftest.$ac_ext >&5'
16667 { { case "(($ac_try" in
16668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16669 *) ac_try_echo=$ac_try;;
16671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16672 $as_echo "$ac_try_echo"; } >&5
16673 (eval "$ac_try") 2>&5
16675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16676 test $ac_status = 0; }; }; then
16677 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16679 if { { case "(($ac_try" in
16680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16681 *) ac_try_echo=$ac_try;;
16683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16684 $as_echo "$ac_try_echo"; } >&5
16685 (eval "$ac_try") 2>&5
16687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16688 test $ac_status = 0; } &&
16689 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16691 *) ac_try_echo=$ac_try;;
16693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16694 $as_echo "$ac_try_echo"; } >&5
16695 (eval "$ac_try") 2>&5
16697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16698 test $ac_status = 0; };
16703 # cc exists but doesn't like -o.
16704 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16709 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16711 rm -f core conftest*
16714 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16716 $as_echo "yes" >&6; }
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16719 $as_echo "no" >&6; }
16721 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16725 # FIXME: we rely on the cache variable name because
16726 # there is no other way.
16728 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16729 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16730 if test "$am_t" != yes; then
16731 # Losing compiler, so override with the script.
16732 # FIXME: It is wrong to rewrite CC.
16733 # But if we don't then we get into trouble of one sort or another.
16734 # A longer-term fix would be to have automake use am__CC in this case,
16735 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16736 CC="$am_aux_dir/compile $CC"
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
16741 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16742 if ${ac_cv_c_const+:} false; then :
16743 $as_echo_n "(cached) " >&6
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16751 /* FIXME: Include the comments suggested by Paul. */
16752 #ifndef __cplusplus
16753 /* Ultrix mips cc rejects this. */
16754 typedef int charset[2];
16756 /* SunOS 4.1.1 cc rejects this. */
16757 char const *const *pcpcc;
16759 /* NEC SVR4.0.2 mips cc rejects this. */
16760 struct point {int x, y;};
16761 static struct point const zero = {0,0};
16762 /* AIX XL C 1.02.0.0 rejects this.
16763 It does not let you subtract one const X* pointer from another in
16764 an arm of an if-expression whose if-part is not a constant
16766 const char *g = "string";
16767 pcpcc = &g + (g ? g-g : 0);
16768 /* HPUX 7.0 cc rejects these. */
16770 ppc = (char**) pcpcc;
16771 pcpcc = (char const *const *) ppc;
16772 { /* SCO 3.2v4 cc rejects this. */
16774 char const *s = 0 ? (char *) 0 : (char const *) 0;
16779 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16780 int x[] = {25, 17};
16781 const int *foo = &x[0];
16784 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16785 typedef const int *iptr;
16789 { /* AIX XL C 1.02.0.0 rejects this saying
16790 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16791 struct s { int j; const int *ap[3]; };
16792 struct s *b; b->j = 5;
16794 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16795 const int foo = 10;
16796 if (!foo) return 0;
16798 return !cs[0] && !zero.x;
16805 if ac_fn_c_try_compile "$LINENO"; then :
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16813 $as_echo "$ac_cv_c_const" >&6; }
16814 if test $ac_cv_c_const = no; then
16816 $as_echo "#define const /**/" >>confdefs.h
16820 case $ac_cv_prog_cc_stdc in #(
16822 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16825 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16826 if ${ac_cv_prog_cc_c99+:} false; then :
16827 $as_echo_n "(cached) " >&6
16829 ac_cv_prog_cc_c99=no
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16833 #include <stdarg.h>
16834 #include <stdbool.h>
16835 #include <stdlib.h>
16839 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16840 #define debug(...) fprintf (stderr, __VA_ARGS__)
16841 #define showlist(...) puts (#__VA_ARGS__)
16842 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16844 test_varargs_macros (void)
16849 debug ("X = %d\n", x);
16850 showlist (The first, second, and third items.);
16851 report (x>y, "x is %d but y is %d", x, y);
16854 // Check long long types.
16855 #define BIG64 18446744073709551615ull
16856 #define BIG32 4294967295ul
16857 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16859 your preprocessor is broken;
16863 your preprocessor is broken;
16865 static long long int bignum = -9223372036854775807LL;
16866 static unsigned long long int ubignum = BIG64;
16868 struct incomplete_array
16874 struct named_init {
16876 const wchar_t *name;
16880 typedef const char *ccp;
16883 test_restrict (ccp restrict text)
16885 // See if C++-style comments work.
16886 // Iterate through items via the restricted pointer.
16887 // Also check for declarations in for loops.
16888 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16893 // Check varargs and va_copy.
16895 test_varargs (const char *format, ...)
16898 va_start (args, format);
16900 va_copy (args_copy, args);
16910 case 's': // string
16911 str = va_arg (args_copy, const char *);
16914 number = va_arg (args_copy, int);
16917 fnumber = va_arg (args_copy, double);
16923 va_end (args_copy);
16932 _Bool success = false;
16935 if (test_restrict ("String literal") == 0)
16937 char *restrict newvar = "Another string";
16940 test_varargs ("s, d' f .", "string", 65, 34.234);
16941 test_varargs_macros ();
16943 // Check flexible array members.
16944 struct incomplete_array *ia =
16945 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16947 for (int i = 0; i < ia->datasize; ++i)
16948 ia->data[i] = i * 1.234;
16950 // Check named initializers.
16951 struct named_init ni = {
16953 .name = L"Test wide string",
16954 .average = 543.34343,
16959 int dynamic_array[ni.number];
16960 dynamic_array[ni.number - 1] = 543;
16962 // work around unused variable warnings
16963 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16964 || dynamic_array[ni.number - 1] != 543);
16970 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16972 CC="$ac_save_CC $ac_arg"
16973 if ac_fn_c_try_compile "$LINENO"; then :
16974 ac_cv_prog_cc_c99=$ac_arg
16976 rm -f core conftest.err conftest.$ac_objext
16977 test "x$ac_cv_prog_cc_c99" != "xno" && break
16979 rm -f conftest.$ac_ext
16984 case "x$ac_cv_prog_cc_c99" in
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16987 $as_echo "none needed" >&6; } ;;
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16990 $as_echo "unsupported" >&6; } ;;
16992 CC="$CC $ac_cv_prog_cc_c99"
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16994 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16996 if test "x$ac_cv_prog_cc_c99" != xno; then :
16997 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17001 if ${ac_cv_prog_cc_c89+:} false; then :
17002 $as_echo_n "(cached) " >&6
17004 ac_cv_prog_cc_c89=no
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #include <stdarg.h>
17010 #include <sys/types.h>
17011 #include <sys/stat.h>
17012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17013 struct buf { int x; };
17014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17015 static char *e (p, i)
17021 static char *f (char * (*g) (char **, int), char **p, ...)
17026 s = g (p, va_arg (v,int));
17031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17032 function prototypes and stuff, but not '\xHH' hex character constants.
17033 These don't provoke an error unfortunately, instead are silently treated
17034 as 'x'. The following induces an error, until -std is added to get
17035 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17036 array size at least. It's necessary to write '\x00'==0 to get something
17037 that's true only with -std. */
17038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17041 inside strings and character constants. */
17043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17045 int test (int i, double x);
17046 struct s1 {int (*f) (int a);};
17047 struct s2 {int (*f) (double a);};
17048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17054 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17060 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17062 CC="$ac_save_CC $ac_arg"
17063 if ac_fn_c_try_compile "$LINENO"; then :
17064 ac_cv_prog_cc_c89=$ac_arg
17066 rm -f core conftest.err conftest.$ac_objext
17067 test "x$ac_cv_prog_cc_c89" != "xno" && break
17069 rm -f conftest.$ac_ext
17074 case "x$ac_cv_prog_cc_c89" in
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17077 $as_echo "none needed" >&6; } ;;
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17080 $as_echo "unsupported" >&6; } ;;
17082 CC="$CC $ac_cv_prog_cc_c89"
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17084 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17086 if test "x$ac_cv_prog_cc_c89" != xno; then :
17087 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17089 ac_cv_prog_cc_stdc=no
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17096 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17097 if ${ac_cv_prog_cc_stdc+:} false; then :
17098 $as_echo_n "(cached) " >&6
17101 case $ac_cv_prog_cc_stdc in #(
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17104 $as_echo "unsupported" >&6; } ;; #(
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17107 $as_echo "none needed" >&6; } ;; #(
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17110 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17114 $as_echo_n "checking for ANSI C header files... " >&6; }
17115 if ${ac_cv_header_stdc+:} false; then :
17116 $as_echo_n "(cached) " >&6
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120 #include <stdlib.h>
17121 #include <stdarg.h>
17122 #include <string.h>
17133 if ac_fn_c_try_compile "$LINENO"; then :
17134 ac_cv_header_stdc=yes
17136 ac_cv_header_stdc=no
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 if test $ac_cv_header_stdc = yes; then
17141 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17144 #include <string.h>
17147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17148 $EGREP "memchr" >/dev/null 2>&1; then :
17151 ac_cv_header_stdc=no
17157 if test $ac_cv_header_stdc = yes; then
17158 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <stdlib.h>
17164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17165 $EGREP "free" >/dev/null 2>&1; then :
17168 ac_cv_header_stdc=no
17174 if test $ac_cv_header_stdc = yes; then
17175 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17176 if test "$cross_compiling" = yes; then :
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17182 #include <stdlib.h>
17183 #if ((' ' & 0x0FF) == 0x020)
17184 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17185 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17187 # define ISLOWER(c) \
17188 (('a' <= (c) && (c) <= 'i') \
17189 || ('j' <= (c) && (c) <= 'r') \
17190 || ('s' <= (c) && (c) <= 'z'))
17191 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17194 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17199 for (i = 0; i < 256; i++)
17200 if (XOR (islower (i), ISLOWER (i))
17201 || toupper (i) != TOUPPER (i))
17206 if ac_fn_c_try_run "$LINENO"; then :
17209 ac_cv_header_stdc=no
17211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17212 conftest.$ac_objext conftest.beam conftest.$ac_ext
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
17218 $as_echo "$ac_cv_header_stdc" >&6; }
17219 if test $ac_cv_header_stdc = yes; then
17221 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
17228 $as_echo_n "checking for __attribute__... " >&6; }
17230 if ${ac_cv___attribute__+:} false; then :
17231 $as_echo_n "(cached) " >&6
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 #include <stdlib.h>
17239 int foo(int x __attribute__ ((unused)))
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253 ac_cv___attribute__="yes"
17255 ac_cv___attribute__="no"
17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
17263 $as_echo "$ac_cv___attribute__" >&6; }
17265 if test "x${ac_cv___attribute__}" = "xyes" ; then
17267 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
17270 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
17274 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
17282 EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
17287 ### Checks for linker characteristics
17289 lt_enable_auto_import=""
17292 lt_enable_auto_import="-Wl,--enable-auto-import"
17298 ### Checks for library functions
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
17301 $as_echo_n "checking for library containing strerror... " >&6; }
17302 if ${ac_cv_search_strerror+:} false; then :
17303 $as_echo_n "(cached) " >&6
17305 ac_func_search_save_LIBS=$LIBS
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17309 /* Override any GCC internal prototype to avoid an error.
17310 Use char because int might match the return type of a GCC
17311 builtin and then its argument prototype would still apply. */
17319 return strerror ();
17324 for ac_lib in '' cposix; do
17325 if test -z "$ac_lib"; then
17326 ac_res="none required"
17329 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_search_strerror=$ac_res
17334 rm -f core conftest.err conftest.$ac_objext \
17336 if ${ac_cv_search_strerror+:} false; then :
17340 if ${ac_cv_search_strerror+:} false; then :
17343 ac_cv_search_strerror=no
17345 rm conftest.$ac_ext
17346 LIBS=$ac_func_search_save_LIBS
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
17349 $as_echo "$ac_cv_search_strerror" >&6; }
17350 ac_res=$ac_cv_search_strerror
17351 if test "$ac_res" != no; then :
17352 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17357 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17358 if test "x$ac_cv_type_size_t" = xyes; then :
17362 cat >>confdefs.h <<_ACEOF
17363 #define size_t unsigned int
17368 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
17369 # for constant arguments. Useless!
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
17371 $as_echo_n "checking for working alloca.h... " >&6; }
17372 if ${ac_cv_working_alloca_h+:} false; then :
17373 $as_echo_n "(cached) " >&6
17375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17376 /* end confdefs.h. */
17377 #include <alloca.h>
17381 char *p = (char *) alloca (2 * sizeof (int));
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 ac_cv_working_alloca_h=yes
17390 ac_cv_working_alloca_h=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
17396 $as_echo "$ac_cv_working_alloca_h" >&6; }
17397 if test $ac_cv_working_alloca_h = yes; then
17399 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
17404 $as_echo_n "checking for alloca... " >&6; }
17405 if ${ac_cv_func_alloca_works+:} false; then :
17406 $as_echo_n "(cached) " >&6
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17411 # define alloca __builtin_alloca
17414 # include <malloc.h>
17415 # define alloca _alloca
17417 # ifdef HAVE_ALLOCA_H
17418 # include <alloca.h>
17423 # ifndef alloca /* predefined by HP cc +Olibcalls */
17424 void *alloca (size_t);
17434 char *p = (char *) alloca (1);
17440 if ac_fn_c_try_link "$LINENO"; then :
17441 ac_cv_func_alloca_works=yes
17443 ac_cv_func_alloca_works=no
17445 rm -f core conftest.err conftest.$ac_objext \
17446 conftest$ac_exeext conftest.$ac_ext
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
17449 $as_echo "$ac_cv_func_alloca_works" >&6; }
17451 if test $ac_cv_func_alloca_works = yes; then
17453 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
17456 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
17457 # that cause trouble. Some versions do not even contain alloca or
17458 # contain a buggy version. If you still want to use their alloca,
17459 # use ar to extract alloca.o from them instead of compiling alloca.c.
17461 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
17463 $as_echo "#define C_ALLOCA 1" >>confdefs.h
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
17467 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
17468 if ${ac_cv_os_cray+:} false; then :
17469 $as_echo_n "(cached) " >&6
17471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17472 /* end confdefs.h. */
17473 #if defined CRAY && ! defined CRAY2
17480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17481 $EGREP "webecray" >/dev/null 2>&1; then :
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
17490 $as_echo "$ac_cv_os_cray" >&6; }
17491 if test $ac_cv_os_cray = yes; then
17492 for ac_func in _getb67 GETB67 getb67; do
17493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17497 cat >>confdefs.h <<_ACEOF
17498 #define CRAY_STACKSEG_END $ac_func
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
17508 $as_echo_n "checking stack direction for C alloca... " >&6; }
17509 if ${ac_cv_c_stack_direction+:} false; then :
17510 $as_echo_n "(cached) " >&6
17512 if test "$cross_compiling" = yes; then :
17513 ac_cv_c_stack_direction=0
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 $ac_includes_default
17519 find_stack_direction ()
17521 static char *addr = 0;
17526 return find_stack_direction ();
17529 return (&dummy > addr) ? 1 : -1;
17535 return find_stack_direction () < 0;
17538 if ac_fn_c_try_run "$LINENO"; then :
17539 ac_cv_c_stack_direction=1
17541 ac_cv_c_stack_direction=-1
17543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17544 conftest.$ac_objext conftest.beam conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
17549 $as_echo "$ac_cv_c_stack_direction" >&6; }
17550 cat >>confdefs.h <<_ACEOF
17551 #define STACK_DIRECTION $ac_cv_c_stack_direction
17561 $as_echo "#define HAVE_REALPATH 1" >>confdefs.h
17565 for ac_func in realpath
17567 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
17568 if test "x$ac_cv_func_realpath" = xyes; then :
17569 cat >>confdefs.h <<_ACEOF
17570 #define HAVE_REALPATH 1
17579 ### Unit tests, coverage and benchmarking
17584 # Check whether --enable-tests was given.
17585 if test "${enable_tests+set}" = set; then :
17586 enableval=$enable_tests;
17587 if test "x${enableval}" = "xyes" ; then
17588 _efl_enable_tests="yes"
17590 _efl_enable_tests="no"
17594 _efl_enable_tests="no"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
17599 $as_echo_n "checking whether tests are built... " >&6; }
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
17601 $as_echo "${_efl_enable_tests}" >&6; }
17605 if test "x${_efl_enable_tests}" = "xyes" ; then
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
17609 $as_echo_n "checking for CHECK... " >&6; }
17611 if test -n "$CHECK_CFLAGS"; then
17612 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
17613 elif test -n "$PKG_CONFIG"; then
17614 if test -n "$PKG_CONFIG" && \
17615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17616 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17619 test $ac_status = 0; }; then
17620 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
17621 test "x$?" != "x0" && pkg_failed=yes
17628 if test -n "$CHECK_LIBS"; then
17629 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
17630 elif test -n "$PKG_CONFIG"; then
17631 if test -n "$PKG_CONFIG" && \
17632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
17633 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
17635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17636 test $ac_status = 0; }; then
17637 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
17638 test "x$?" != "x0" && pkg_failed=yes
17648 if test $pkg_failed = yes; then
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17650 $as_echo "no" >&6; }
17652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17653 _pkg_short_errors_supported=yes
17655 _pkg_short_errors_supported=no
17657 if test $_pkg_short_errors_supported = yes; then
17658 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17660 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
17662 # Put the nasty error message in config.log where it belongs
17663 echo "$CHECK_PKG_ERRORS" >&5
17665 _efl_enable_tests="no"
17666 elif test $pkg_failed = untried; then
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17668 $as_echo "no" >&6; }
17669 _efl_enable_tests="no"
17671 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
17672 CHECK_LIBS=$pkg_cv_CHECK_LIBS
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17674 $as_echo "yes" >&6; }
17679 if test "x${_efl_enable_tests}" = "xyes"; then
17680 EFL_ENABLE_TESTS_TRUE=
17681 EFL_ENABLE_TESTS_FALSE='#'
17683 EFL_ENABLE_TESTS_TRUE='#'
17684 EFL_ENABLE_TESTS_FALSE=
17688 if test "x$_efl_enable_tests" = "xyes"; then :
17698 # Check whether --enable-coverage was given.
17699 if test "${enable_coverage+set}" = set; then :
17700 enableval=$enable_coverage;
17701 if test "x${enableval}" = "xyes" ; then
17702 _efl_enable_coverage="yes"
17704 _efl_enable_coverage="no"
17708 _efl_enable_coverage="no"
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
17713 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
17715 $as_echo "$_efl_enable_coverage" >&6; }
17718 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
17720 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
17722 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
17723 _efl_enable_coverage="no"
17726 if test "x$_efl_enable_coverage" = "xyes" ; then
17727 # Extract the first word of "lcov", so it can be a program name with args.
17728 set dummy lcov; ac_word=$2
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17730 $as_echo_n "checking for $ac_word... " >&6; }
17731 if ${ac_cv_prog_have_lcov+:} false; then :
17732 $as_echo_n "(cached) " >&6
17734 if test -n "$have_lcov"; then
17735 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
17737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17738 for as_dir in $PATH
17741 test -z "$as_dir" && as_dir=.
17742 for ac_exec_ext in '' $ac_executable_extensions; do
17743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17744 ac_cv_prog_have_lcov="yes"
17745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17752 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
17755 have_lcov=$ac_cv_prog_have_lcov
17756 if test -n "$have_lcov"; then
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
17758 $as_echo "$have_lcov" >&6; }
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761 $as_echo "no" >&6; }
17765 if test "x$have_lcov" = "xyes" ; then
17766 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
17767 EFL_COVERAGE_LIBS="-lgcov"
17768 # remove any optimisation flag and force debug symbols
17769 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
17772 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
17773 _efl_enable_coverage="no"
17780 if test "x${_efl_enable_coverage}" = "xyes"; then
17781 EFL_ENABLE_COVERAGE_TRUE=
17782 EFL_ENABLE_COVERAGE_FALSE='#'
17784 EFL_ENABLE_COVERAGE_TRUE='#'
17785 EFL_ENABLE_COVERAGE_FALSE=
17789 if test "x$_efl_enable_coverage" = "xyes"; then :
17790 enable_coverage="yes"
17792 enable_coverage="no"
17795 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
17796 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
17797 if test "x$enable_coverage" = "xyes" ; then
17798 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
17803 build_examples="no"
17804 # Check whether --enable-build-examples was given.
17805 if test "${enable_build_examples+set}" = set; then :
17806 enableval=$enable_build_examples;
17807 if test "x${enableval}" = "xyes" ; then
17808 build_examples="yes"
17810 build_examples="no"
17814 build_examples="no"
17817 if test "x${build_examples}" = "xyes"; then
17818 BUILD_EXAMPLES_TRUE=
17819 BUILD_EXAMPLES_FALSE='#'
17821 BUILD_EXAMPLES_TRUE='#'
17822 BUILD_EXAMPLES_FALSE=
17828 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"
17830 cat >confcache <<\_ACEOF
17831 # This file is a shell script that caches the results of configure
17832 # tests run on this system so they can be shared between configure
17833 # scripts and configure runs, see configure's option --config-cache.
17834 # It is not useful on other systems. If it contains results you don't
17835 # want to keep, you may remove or edit it.
17837 # config.status only pays attention to the cache file if you give it
17838 # the --recheck option to rerun configure.
17840 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17841 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17842 # following values.
17846 # The following way of writing the cache mishandles newlines in values,
17847 # but we know of no workaround that is simple, portable, and efficient.
17848 # So, we kill variables containing newlines.
17849 # Ultrix sh set writes to stderr and can't be redirected directly,
17850 # and sets the high bit in the cache file unless we assign to the vars.
17852 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17853 eval ac_val=\$$ac_var
17857 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17858 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17861 _ | IFS | as_nl) ;; #(
17862 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17863 *) { eval $ac_var=; unset $ac_var;} ;;
17869 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17870 *${as_nl}ac_space=\ *)
17871 # `set' does not quote correctly, so add quotes: double-quote
17872 # substitution turns \\\\ into \\, and sed turns \\ into \.
17875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17878 # `set' quotes correctly as required by POSIX, so do not add quotes.
17879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17892 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17893 if test -w "$cache_file"; then
17894 if test "x$cache_file" != "x/dev/null"; then
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17896 $as_echo "$as_me: updating cache $cache_file" >&6;}
17897 if test ! -f "$cache_file" || test -h "$cache_file"; then
17898 cat confcache >"$cache_file"
17900 case $cache_file in #(
17902 mv -f confcache "$cache_file"$$ &&
17903 mv -f "$cache_file"$$ "$cache_file" ;; #(
17905 mv -f confcache "$cache_file" ;;
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17911 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17916 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17917 # Let make expand exec_prefix.
17918 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17920 DEFS=-DHAVE_CONFIG_H
17925 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17926 # 1. Remove the extension, and $U if already installed.
17927 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17928 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17929 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17930 # will be set to the directory where LIBOBJS objects are built.
17931 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17932 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17934 LIBOBJS=$ac_libobjs
17936 LTLIBOBJS=$ac_ltlibobjs
17939 if test -n "$EXEEXT"; then
17941 am__EXEEXT_FALSE='#'
17943 am__EXEEXT_TRUE='#'
17947 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17948 as_fn_error $? "conditional \"AMDEP\" was never defined.
17949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17951 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17952 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17955 if test -z "${EDJE_AMALGAMATION_TRUE}" && test -z "${EDJE_AMALGAMATION_FALSE}"; then
17956 as_fn_error $? "conditional \"EDJE_AMALGAMATION\" was never defined.
17957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17959 if test -z "${BUILD_EDJE_CC_TRUE}" && test -z "${BUILD_EDJE_CC_FALSE}"; then
17960 as_fn_error $? "conditional \"BUILD_EDJE_CC\" was never defined.
17961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17963 if test -z "${BUILD_EDJE_DECC_TRUE}" && test -z "${BUILD_EDJE_DECC_FALSE}"; then
17964 as_fn_error $? "conditional \"BUILD_EDJE_DECC\" was never defined.
17965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17967 if test -z "${BUILD_EDJE_RECC_TRUE}" && test -z "${BUILD_EDJE_RECC_FALSE}"; then
17968 as_fn_error $? "conditional \"BUILD_EDJE_RECC\" was never defined.
17969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17971 if test -z "${BUILD_EDJE_PLAYER_TRUE}" && test -z "${BUILD_EDJE_PLAYER_FALSE}"; then
17972 as_fn_error $? "conditional \"BUILD_EDJE_PLAYER\" was never defined.
17973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17975 if test -z "${BUILD_EDJE_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_INSPECTOR_FALSE}"; then
17976 as_fn_error $? "conditional \"BUILD_EDJE_INSPECTOR\" was never defined.
17977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17979 if test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_TRUE}" && test -z "${BUILD_EDJE_EXTERNAL_INSPECTOR_FALSE}"; then
17980 as_fn_error $? "conditional \"BUILD_EDJE_EXTERNAL_INSPECTOR\" was never defined.
17981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17983 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
17984 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
17985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17987 if test -z "${EDJE_PROGRAM_CACHE_TRUE}" && test -z "${EDJE_PROGRAM_CACHE_FALSE}"; then
17988 as_fn_error $? "conditional \"EDJE_PROGRAM_CACHE\" was never defined.
17989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17991 if test -z "${EDJE_CALC_CACHE_TRUE}" && test -z "${EDJE_CALC_CACHE_FALSE}"; then
17992 as_fn_error $? "conditional \"EDJE_CALC_CACHE\" was never defined.
17993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17995 if test -z "${BUILD_EDJE_FP_TRUE}" && test -z "${BUILD_EDJE_FP_FALSE}"; then
17996 as_fn_error $? "conditional \"BUILD_EDJE_FP\" was never defined.
17997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17999 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18000 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18003 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
18004 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
18005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18007 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
18008 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
18009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18011 if test -z "${ENABLE_MULTISENSE_TRUE}" && test -z "${ENABLE_MULTISENSE_FALSE}"; then
18012 as_fn_error $? "conditional \"ENABLE_MULTISENSE\" was never defined.
18013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18015 if test -z "${HAVE_LIBSNDFILE_TRUE}" && test -z "${HAVE_LIBSNDFILE_FALSE}"; then
18016 as_fn_error $? "conditional \"HAVE_LIBSNDFILE\" was never defined.
18017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18019 if test -z "${HAVE_LIBREMIX_TRUE}" && test -z "${HAVE_LIBREMIX_FALSE}"; then
18020 as_fn_error $? "conditional \"HAVE_LIBREMIX\" was never defined.
18021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18023 if test -z "${HAVE_LIBALSA_TRUE}" && test -z "${HAVE_LIBALSA_FALSE}"; then
18024 as_fn_error $? "conditional \"HAVE_LIBALSA\" was never defined.
18025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18027 if test -z "${BUILD_EPP_TRUE}" && test -z "${BUILD_EPP_FALSE}"; then
18028 as_fn_error $? "conditional \"BUILD_EPP\" was never defined.
18029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18031 if test -z "${BUILD_EDJE_WATCH_TRUE}" && test -z "${BUILD_EDJE_WATCH_FALSE}"; then
18032 as_fn_error $? "conditional \"BUILD_EDJE_WATCH\" was never defined.
18033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18035 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
18036 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
18037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18039 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
18040 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
18041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18043 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
18044 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
18045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18048 : "${CONFIG_STATUS=./config.status}"
18050 ac_clean_files_save=$ac_clean_files
18051 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18053 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18055 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18057 # Generated by $as_me.
18058 # Run this file to recreate the current configuration.
18059 # Compiler output produced by configure, useful for debugging
18060 # configure, is in config.log if it exists.
18063 ac_cs_recheck=false
18066 SHELL=\${CONFIG_SHELL-$SHELL}
18069 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18070 ## -------------------- ##
18071 ## M4sh Initialization. ##
18072 ## -------------------- ##
18074 # Be more Bourne compatible
18075 DUALCASE=1; export DUALCASE # for MKS sh
18076 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18079 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18080 # is contrary to our usage. Disable this feature.
18081 alias -g '${1+"$@"}'='"$@"'
18082 setopt NO_GLOB_SUBST
18084 case `(set -o) 2>/dev/null` in #(
18096 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18097 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18098 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18099 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18100 # Prefer a ksh shell builtin over an external printf program on Solaris,
18101 # but without wasting forks for bash or zsh.
18102 if test -z "$BASH_VERSION$ZSH_VERSION" \
18103 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18104 as_echo='print -r --'
18105 as_echo_n='print -rn --'
18106 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18107 as_echo='printf %s\n'
18108 as_echo_n='printf %s'
18110 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18111 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18112 as_echo_n='/usr/ucb/echo -n'
18114 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18115 as_echo_n_body='eval
18119 expr "X$arg" : "X\\(.*\\)$as_nl";
18120 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18122 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18124 export as_echo_n_body
18125 as_echo_n='sh -c $as_echo_n_body as_echo'
18127 export as_echo_body
18128 as_echo='sh -c $as_echo_body as_echo'
18131 # The user is always right.
18132 if test "${PATH_SEPARATOR+set}" != set; then
18134 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18135 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18142 # We need space, tab and new line, in precisely that order. Quoting is
18143 # there to prevent editors from complaining about space-tab.
18144 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18145 # splitting by setting IFS to empty value.)
18148 # Find who we are. Look in the path if we contain no directory separator.
18151 *[\\/]* ) as_myself=$0 ;;
18152 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18153 for as_dir in $PATH
18156 test -z "$as_dir" && as_dir=.
18157 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18163 # We did not find ourselves, most probably we were run as `sh COMMAND'
18164 # in which case we are not to be found in the path.
18165 if test "x$as_myself" = x; then
18168 if test ! -f "$as_myself"; then
18169 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18173 # Unset variables that we do not need and which cause bugs (e.g. in
18174 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18175 # suppresses any "Segmentation fault" message there. '((' could
18176 # trigger a bug in pdksh 5.2.14.
18177 for as_var in BASH_ENV ENV MAIL MAILPATH
18178 do eval test x\${$as_var+set} = xset \
18179 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18192 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18195 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18196 # ----------------------------------------
18197 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18198 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18199 # script with STATUS, using 1 if that was 0.
18202 as_status=$1; test $as_status -eq 0 && as_status=1
18204 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18205 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18207 $as_echo "$as_me: error: $2" >&2
18208 as_fn_exit $as_status
18212 # as_fn_set_status STATUS
18213 # -----------------------
18214 # Set $? to STATUS, without forking.
18215 as_fn_set_status ()
18218 } # as_fn_set_status
18220 # as_fn_exit STATUS
18221 # -----------------
18222 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18226 as_fn_set_status $1
18232 # Portably unset VAR.
18235 { eval $1=; unset $1;}
18237 as_unset=as_fn_unset
18238 # as_fn_append VAR VALUE
18239 # ----------------------
18240 # Append the text in VALUE to the end of the definition contained in VAR. Take
18241 # advantage of any shell optimizations that allow amortized linear growth over
18242 # repeated appends, instead of the typical quadratic growth present in naive
18244 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18245 eval 'as_fn_append ()
18256 # as_fn_arith ARG...
18257 # ------------------
18258 # Perform arithmetic evaluation on the ARGs, and store the result in the
18259 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18260 # must be portable across $(()) and expr.
18261 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18262 eval 'as_fn_arith ()
18269 as_val=`expr "$@" || test $? -eq 1`
18274 if expr a : '\(a\)' >/dev/null 2>&1 &&
18275 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18281 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18282 as_basename=basename
18287 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18293 as_me=`$as_basename -- "$0" ||
18294 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18295 X"$0" : 'X\(//\)$' \| \
18296 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18298 sed '/^.*\/\([^/][^/]*\)\/*$/{
18312 # Avoid depending upon Character Ranges.
18313 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18314 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18315 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18316 as_cr_digits='0123456789'
18317 as_cr_alnum=$as_cr_Letters$as_cr_digits
18319 ECHO_C= ECHO_N= ECHO_T=
18320 case `echo -n x` in #(((((
18322 case `echo 'xy\c'` in
18323 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18325 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18332 rm -f conf$$ conf$$.exe conf$$.file
18333 if test -d conf$$.dir; then
18334 rm -f conf$$.dir/conf$$.file
18337 mkdir conf$$.dir 2>/dev/null
18339 if (echo >conf$$.file) 2>/dev/null; then
18340 if ln -s conf$$.file conf$$ 2>/dev/null; then
18342 # ... but there are two gotchas:
18343 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18344 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18345 # In both cases, we have to default to `cp -p'.
18346 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18348 elif ln conf$$.file conf$$ 2>/dev/null; then
18356 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18357 rmdir conf$$.dir 2>/dev/null
18362 # Create "$as_dir" as a directory, including parents if necessary.
18367 -*) as_dir=./$as_dir;;
18369 test -d "$as_dir" || eval $as_mkdir_p || {
18373 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18374 *) as_qdir=$as_dir;;
18376 as_dirs="'$as_qdir' $as_dirs"
18377 as_dir=`$as_dirname -- "$as_dir" ||
18378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18379 X"$as_dir" : 'X\(//\)[^/]' \| \
18380 X"$as_dir" : 'X\(//\)$' \| \
18381 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18382 $as_echo X"$as_dir" |
18383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18387 /^X\(\/\/\)[^/].*/{
18400 test -d "$as_dir" && break
18402 test -z "$as_dirs" || eval "mkdir $as_dirs"
18403 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18407 if mkdir -p . 2>/dev/null; then
18408 as_mkdir_p='mkdir -p "$as_dir"'
18410 test -d ./-p && rmdir ./-p
18414 if test -x / >/dev/null 2>&1; then
18415 as_test_x='test -x'
18417 if ls -dL / >/dev/null 2>&1; then
18424 if test -d "$1"; then
18430 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18431 ???[sx]*):;;*)false;;esac;fi
18435 as_executable_p=$as_test_x
18437 # Sed expression to map a string onto a valid CPP name.
18438 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18440 # Sed expression to map a string onto a valid variable name.
18441 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18445 ## ----------------------------------- ##
18446 ## Main body of $CONFIG_STATUS script. ##
18447 ## ----------------------------------- ##
18449 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18452 # Save the log message, to keep $0 and so on meaningful, and to
18453 # report actual input values of CONFIG_FILES etc. instead of their
18454 # values after options handling.
18456 This file was extended by edje $as_me 1.7.2, which was
18457 generated by GNU Autoconf 2.68. Invocation command line was
18459 CONFIG_FILES = $CONFIG_FILES
18460 CONFIG_HEADERS = $CONFIG_HEADERS
18461 CONFIG_LINKS = $CONFIG_LINKS
18462 CONFIG_COMMANDS = $CONFIG_COMMANDS
18465 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18470 case $ac_config_files in *"
18471 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18474 case $ac_config_headers in *"
18475 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18480 # Files that config.status was made for.
18481 config_files="$ac_config_files"
18482 config_headers="$ac_config_headers"
18483 config_commands="$ac_config_commands"
18487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18489 \`$as_me' instantiates files and other configuration actions
18490 from templates according to the current configuration. Unless the files
18491 and actions are specified as TAGs, all are instantiated by default.
18493 Usage: $0 [OPTION]... [TAG]...
18495 -h, --help print this help, then exit
18496 -V, --version print version number and configuration settings, then exit
18497 --config print configuration, then exit
18498 -q, --quiet, --silent
18499 do not print progress messages
18500 -d, --debug don't remove temporary files
18501 --recheck update $as_me by reconfiguring in the same conditions
18502 --file=FILE[:TEMPLATE]
18503 instantiate the configuration file FILE
18504 --header=FILE[:TEMPLATE]
18505 instantiate the configuration header FILE
18507 Configuration files:
18510 Configuration headers:
18513 Configuration commands:
18516 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18520 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18522 edje config.status 1.7.2
18523 configured by $0, generated by GNU Autoconf 2.68,
18524 with options \\"\$ac_cs_config\\"
18526 Copyright (C) 2010 Free Software Foundation, Inc.
18527 This config.status script is free software; the Free Software Foundation
18528 gives unlimited permission to copy, distribute and modify it."
18535 test -n "\$AWK" || AWK=awk
18538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18539 # The default lists apply if the user does not specify any file.
18545 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18546 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18550 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18562 # Handling of the options.
18563 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18565 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18566 $as_echo "$ac_cs_version"; exit ;;
18567 --config | --confi | --conf | --con | --co | --c )
18568 $as_echo "$ac_cs_config"; exit ;;
18569 --debug | --debu | --deb | --de | --d | -d )
18571 --file | --fil | --fi | --f )
18574 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18575 '') as_fn_error $? "missing file argument" ;;
18577 as_fn_append CONFIG_FILES " '$ac_optarg'"
18578 ac_need_defaults=false;;
18579 --header | --heade | --head | --hea )
18582 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18584 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18585 ac_need_defaults=false;;
18587 # Conflict between --help and --header
18588 as_fn_error $? "ambiguous option: \`$1'
18589 Try \`$0 --help' for more information.";;
18590 --help | --hel | -h )
18591 $as_echo "$ac_cs_usage"; exit ;;
18592 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18593 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18596 # This is an error.
18597 -*) as_fn_error $? "unrecognized option: \`$1'
18598 Try \`$0 --help' for more information." ;;
18600 *) as_fn_append ac_config_targets " $1"
18601 ac_need_defaults=false ;;
18607 ac_configure_extra_args=
18609 if $ac_cs_silent; then
18611 ac_configure_extra_args="$ac_configure_extra_args --silent"
18615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18616 if \$ac_cs_recheck; then
18617 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18619 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18620 CONFIG_SHELL='$SHELL'
18621 export CONFIG_SHELL
18626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18630 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18631 ## Running $as_me. ##
18637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18641 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18644 # The HP-UX ksh and POSIX shell print the target directory to stdout
18645 # if CDPATH is set.
18646 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18648 sed_quote_subst='$sed_quote_subst'
18649 double_quote_subst='$double_quote_subst'
18650 delay_variable_subst='$delay_variable_subst'
18651 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
18652 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18653 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18654 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18655 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18656 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18657 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18658 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18659 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18660 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18661 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18662 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18663 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18664 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18665 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18666 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18667 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18668 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18669 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18670 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18671 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18672 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18673 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18674 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18675 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18676 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18677 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18678 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18679 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18680 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18681 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18682 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18683 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18684 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18685 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18686 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18687 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18688 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18689 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18690 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18691 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18692 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18693 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18694 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18695 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18696 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18697 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18698 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18699 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18700 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18701 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18702 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18703 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18704 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18705 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18706 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18707 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18708 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"`'
18709 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18710 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18711 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18712 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18713 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18714 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18715 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18716 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18717 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18718 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18719 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18720 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18721 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18722 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18723 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18724 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18725 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18726 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18727 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18728 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18729 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18730 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18731 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18732 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18733 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18734 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18735 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18736 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18737 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18738 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18739 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18740 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18741 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18742 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18743 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18744 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18745 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18746 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18747 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18748 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18749 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18750 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18751 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18752 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18753 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18754 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18755 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18756 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18757 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18758 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18759 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18760 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18761 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18762 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18763 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18764 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18765 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18766 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18767 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18768 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18769 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18770 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18771 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18772 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18773 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18774 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18775 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18776 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18777 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18778 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18779 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18780 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18781 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18784 LTCFLAGS='$LTCFLAGS'
18785 compiler='$compiler_DEFAULT'
18787 # A function that is used when there is no print builtin or printf.
18788 func_fallback_echo ()
18790 eval 'cat <<_LTECHO_EOF
18795 # Quote evaled strings.
18812 deplibs_check_method \
18816 sharedlib_from_linklib_cmd \
18819 archiver_list_spec \
18825 lt_cv_sys_global_symbol_pipe \
18826 lt_cv_sys_global_symbol_to_cdecl \
18827 lt_cv_sys_global_symbol_to_c_name_address \
18828 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18829 nm_file_list_spec \
18830 lt_prog_compiler_no_builtin_flag \
18831 lt_prog_compiler_pic \
18832 lt_prog_compiler_wl \
18833 lt_prog_compiler_static \
18834 lt_cv_prog_compiler_c_o \
18843 export_dynamic_flag_spec \
18844 whole_archive_flag_spec \
18845 compiler_needs_object \
18847 allow_undefined_flag \
18848 no_undefined_flag \
18849 hardcode_libdir_flag_spec \
18850 hardcode_libdir_separator \
18854 variables_saved_for_relink \
18856 library_names_spec \
18858 install_override_mode \
18862 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18863 *[\\\\\\\`\\"\\\$]*)
18864 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18867 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18872 # Double-quote double-evaled strings.
18873 for var in reload_cmds \
18874 old_postinstall_cmds \
18875 old_postuninstall_cmds \
18877 extract_expsyms_cmds \
18878 old_archive_from_new_cmds \
18879 old_archive_from_expsyms_cmds \
18881 archive_expsym_cmds \
18883 module_expsym_cmds \
18884 export_symbols_cmds \
18888 postuninstall_cmds \
18890 sys_lib_search_path_spec \
18891 sys_lib_dlsearch_path_spec; do
18892 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18893 *[\\\\\\\`\\"\\\$]*)
18894 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18897 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18902 ac_aux_dir='$ac_aux_dir'
18903 xsi_shell='$xsi_shell'
18904 lt_shell_append='$lt_shell_append'
18906 # See if we are running on zsh, and set the options which allow our
18907 # commands through without removal of \ escapes INIT.
18908 if test -n "\${ZSH_VERSION+set}" ; then
18909 setopt NO_GLOB_SUBST
18915 TIMESTAMP='$TIMESTAMP'
18924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18926 # Handling of arguments.
18927 for ac_config_target in $ac_config_targets
18929 case $ac_config_target in
18930 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18931 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18932 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18933 "edje.pc") CONFIG_FILES="$CONFIG_FILES edje.pc" ;;
18934 "edje.spec") CONFIG_FILES="$CONFIG_FILES edje.spec" ;;
18935 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18936 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
18937 "data/include/Makefile") CONFIG_FILES="$CONFIG_FILES data/include/Makefile" ;;
18938 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18939 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
18940 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18941 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
18942 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
18943 "src/bin/epp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/epp/Makefile" ;;
18944 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
18945 "src/modules/alsa_snd_player/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/alsa_snd_player/Makefile" ;;
18946 "src/modules/eet_snd_reader/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/eet_snd_reader/Makefile" ;;
18947 "src/modules/multisense_factory/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/multisense_factory/Makefile" ;;
18948 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
18949 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
18950 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
18952 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18957 # If the user did not use the arguments to specify the items to instantiate,
18958 # then the envvar interface is used. Set only those that are not.
18959 # We use the long form for the default assignment because of an extremely
18960 # bizarre bug on SunOS 4.1.3.
18961 if $ac_need_defaults; then
18962 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18963 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18964 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18967 # Have a temporary directory for convenience. Make it in the build tree
18968 # simply because there is no reason against having it here, and in addition,
18969 # creating and moving files from /tmp can sometimes cause problems.
18970 # Hook for its removal unless debugging.
18971 # Note that there is a small window in which the directory will not be cleaned:
18972 # after its creation but before its name has been assigned to `$tmp'.
18976 trap 'exit_status=$?
18977 : "${ac_tmp:=$tmp}"
18978 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18980 trap 'as_fn_exit 1' 1 2 13 15
18982 # Create a (secure) tmp directory for tmp files.
18985 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18989 tmp=./conf$$-$RANDOM
18990 (umask 077 && mkdir "$tmp")
18991 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18994 # Set up the scripts for CONFIG_FILES section.
18995 # No need to generate them if there are no CONFIG_FILES.
18996 # This happens for instance with `./config.status config.h'.
18997 if test -n "$CONFIG_FILES"; then
19000 ac_cr=`echo X | tr X '\015'`
19001 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19002 # But we know of no other shell where ac_cr would be empty at this
19003 # point, so we can use a bashism as a fallback.
19004 if test "x$ac_cr" = x; then
19005 eval ac_cr=\$\'\\r\'
19007 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19008 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19011 ac_cs_awk_cr=$ac_cr
19014 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19019 echo "cat >conf$$subs.awk <<_ACEOF" &&
19020 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19022 } >conf$$subs.sh ||
19023 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19024 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19026 for ac_last_try in false false false false false :; do
19027 . ./conf$$subs.sh ||
19028 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19030 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19031 if test $ac_delim_n = $ac_delim_num; then
19033 elif $ac_last_try; then
19034 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19039 rm -f conf$$subs.sh
19041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19042 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19046 s/^/S["/; s/!.*/"]=/
19056 s/\(.\{148\}\)..*/\1/
19058 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19070 s/\(.\{148\}\)..*/\1/
19072 s/["\\]/\\&/g; s/^/"/; s/$/"/
19076 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19081 ' <conf$$subs.awk | sed '
19086 ' >>$CONFIG_STATUS || ac_write_fail=1
19087 rm -f conf$$subs.awk
19088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19090 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19091 for (key in S) S_is_set[key] = 1
19097 nfields = split(line, field, "@")
19099 len = length(field[1])
19100 for (i = 2; i < nfields; i++) {
19102 keylen = length(key)
19103 if (S_is_set[key]) {
19105 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19106 len += length(value) + length(field[++i])
19117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19118 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19119 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19122 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19123 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19126 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19127 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19128 # trailing colons and then remove the whole line if VPATH becomes empty
19129 # (actually we leave an empty line to preserve line numbers).
19130 if test "x$srcdir" = x.; then
19131 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19150 fi # test -n "$CONFIG_FILES"
19152 # Set up the scripts for CONFIG_HEADERS section.
19153 # No need to generate them if there are no CONFIG_HEADERS.
19154 # This happens for instance with `./config.status Makefile'.
19155 if test -n "$CONFIG_HEADERS"; then
19156 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19160 # Transform confdefs.h into an awk script `defines.awk', embedded as
19161 # here-document in config.status, that substitutes the proper values into
19162 # config.h.in to produce config.h.
19164 # Create a delimiter string that does not exist in confdefs.h, to ease
19165 # handling of long lines.
19167 for ac_last_try in false false :; do
19168 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19169 if test -z "$ac_tt"; then
19171 elif $ac_last_try; then
19172 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19174 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19178 # For the awk script, D is an array of macro values keyed by name,
19179 # likewise P contains macro parameters if any. Preserve backslash
19180 # newline sequences.
19182 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19184 s/.\{148\}/&'"$ac_delim"'/g
19187 s/^[ ]*#[ ]*define[ ][ ]*/ /
19194 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19196 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19200 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19201 D["\1"]=" \3\\\\\\n"\\/p
19203 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19208 s/.\{148\}/&'"$ac_delim"'/g
19213 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19216 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19218 ' <confdefs.h | sed '
19219 s/'"$ac_delim"'/"\\\
19220 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19223 for (key in D) D_is_set[key] = 1
19226 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19228 split(line, arg, " ")
19229 if (arg[1] == "#") {
19233 defundef = substr(arg[1], 2)
19236 split(mac1, mac2, "(") #)
19238 prefix = substr(line, 1, index(line, defundef) - 1)
19239 if (D_is_set[macro]) {
19240 # Preserve the white space surrounding the "#".
19241 print prefix "define", macro P[macro] D[macro]
19244 # Replace #undef with comments. This is necessary, for example,
19245 # in the case of _POSIX_SOURCE, which is predefined and required
19246 # on some systems where configure will not decide to define it.
19247 if (defundef == "undef") {
19248 print "/*", prefix defundef, macro, "*/"
19256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19257 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19258 fi # test -n "$CONFIG_HEADERS"
19261 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19266 :[FHLC]) ac_mode=$ac_tag; continue;;
19268 case $ac_mode$ac_tag in
19270 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19271 :[FH]-) ac_tag=-:-;;
19272 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19289 -) ac_f="$ac_tmp/stdin";;
19290 *) # Look for the file first in the build tree, then in the source tree
19291 # (if the path is not absolute). The absolute path cannot be DOS-style,
19292 # because $ac_f cannot contain `:'.
19296 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19298 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19300 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19301 as_fn_append ac_file_inputs " '$ac_f'"
19304 # Let's still pretend it is `configure' which instantiates (i.e., don't
19305 # use $as_me), people would be surprised to read:
19306 # /* config.h. Generated by config.status. */
19307 configure_input='Generated from '`
19308 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19310 if test x"$ac_file" != x-; then
19311 configure_input="$ac_file. $configure_input"
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19313 $as_echo "$as_me: creating $ac_file" >&6;}
19315 # Neutralize special characters interpreted by sed in replacement strings.
19316 case $configure_input in #(
19317 *\&* | *\|* | *\\* )
19318 ac_sed_conf_input=`$as_echo "$configure_input" |
19319 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19320 *) ac_sed_conf_input=$configure_input;;
19324 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19325 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19330 ac_dir=`$as_dirname -- "$ac_file" ||
19331 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19332 X"$ac_file" : 'X\(//\)[^/]' \| \
19333 X"$ac_file" : 'X\(//\)$' \| \
19334 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19335 $as_echo X"$ac_file" |
19336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19340 /^X\(\/\/\)[^/].*/{
19353 as_dir="$ac_dir"; as_fn_mkdir_p
19357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19359 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19360 # A ".." for each directory in $ac_dir_suffix.
19361 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19362 case $ac_top_builddir_sub in
19363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19367 ac_abs_top_builddir=$ac_pwd
19368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19369 # for backward compatibility:
19370 ac_top_builddir=$ac_top_build_prefix
19373 .) # We are building in place.
19375 ac_top_srcdir=$ac_top_builddir_sub
19376 ac_abs_top_srcdir=$ac_pwd ;;
19377 [\\/]* | ?:[\\/]* ) # Absolute name.
19378 ac_srcdir=$srcdir$ac_dir_suffix;
19379 ac_top_srcdir=$srcdir
19380 ac_abs_top_srcdir=$srcdir ;;
19381 *) # Relative name.
19382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19383 ac_top_srcdir=$ac_top_build_prefix$srcdir
19384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19396 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19397 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19399 ac_MKDIR_P=$MKDIR_P
19401 [\\/$]* | ?:[\\/]* ) ;;
19402 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19407 # If the template does not know about datarootdir, expand it.
19408 # FIXME: This hack should be removed a few years after 2.60.
19409 ac_datarootdir_hack=; ac_datarootdir_seen=
19420 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19421 *datarootdir*) ac_datarootdir_seen=yes;;
19422 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19424 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19427 ac_datarootdir_hack='
19428 s&@datadir@&$datadir&g
19429 s&@docdir@&$docdir&g
19430 s&@infodir@&$infodir&g
19431 s&@localedir@&$localedir&g
19432 s&@mandir@&$mandir&g
19433 s&\\\${datarootdir}&$datarootdir&g' ;;
19437 # Neutralize VPATH when `$srcdir' = `.'.
19438 # Shell code in configure.ac might set extrasub.
19439 # FIXME: do we really want to maintain this feature?
19440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19441 ac_sed_extra="$ac_vpsub
19444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19446 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19447 s|@configure_input@|$ac_sed_conf_input|;t t
19448 s&@top_builddir@&$ac_top_builddir_sub&;t t
19449 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19450 s&@srcdir@&$ac_srcdir&;t t
19451 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19452 s&@top_srcdir@&$ac_top_srcdir&;t t
19453 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19454 s&@builddir@&$ac_builddir&;t t
19455 s&@abs_builddir@&$ac_abs_builddir&;t t
19456 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19457 s&@INSTALL@&$ac_INSTALL&;t t
19458 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19459 $ac_datarootdir_hack
19461 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19462 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19464 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19465 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19466 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19467 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19469 which seems to be undefined. Please make sure it is defined" >&5
19470 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19471 which seems to be undefined. Please make sure it is defined" >&2;}
19473 rm -f "$ac_tmp/stdin"
19475 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19476 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19478 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19484 if test x"$ac_file" != x-; then
19486 $as_echo "/* $configure_input */" \
19487 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19488 } >"$ac_tmp/config.h" \
19489 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19490 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19492 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19495 mv "$ac_tmp/config.h" "$ac_file" \
19496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19499 $as_echo "/* $configure_input */" \
19500 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19501 || as_fn_error $? "could not create -" "$LINENO" 5
19503 # Compute "$ac_file"'s index in $config_headers.
19506 for _am_header in $config_headers :; do
19507 case $_am_header in
19508 $_am_arg | $_am_arg:* )
19511 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19514 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19515 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19516 X"$_am_arg" : 'X\(//\)[^/]' \| \
19517 X"$_am_arg" : 'X\(//\)$' \| \
19518 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19519 $as_echo X"$_am_arg" |
19520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19524 /^X\(\/\/\)[^/].*/{
19536 s/.*/./; q'`/stamp-h$_am_stamp_count
19539 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19540 $as_echo "$as_me: executing $ac_file commands" >&6;}
19545 case $ac_file$ac_mode in
19546 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19547 # Autoconf 2.62 quotes --file arguments for eval, but not when files
19548 # are listed without --file. Let's play safe and only enable the eval
19549 # if we detect the quoting.
19550 case $CONFIG_FILES in
19551 *\'*) eval set x "$CONFIG_FILES" ;;
19552 *) set x $CONFIG_FILES ;;
19557 # Strip MF so we end up with the name of the file.
19558 mf=`echo "$mf" | sed -e 's/:.*$//'`
19559 # Check whether this is an Automake generated Makefile or not.
19560 # We used to match only the files named `Makefile.in', but
19561 # some people rename them; so instead we look at the file content.
19562 # Grep'ing the first line is not enough: some people post-process
19563 # each Makefile.in and add a new line on top of each file to say so.
19564 # Grep'ing the whole file is not good either: AIX grep has a line
19565 # limit of 2048, but all sed's we know have understand at least 4000.
19566 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19567 dirpart=`$as_dirname -- "$mf" ||
19568 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19569 X"$mf" : 'X\(//\)[^/]' \| \
19570 X"$mf" : 'X\(//\)$' \| \
19571 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19577 /^X\(\/\/\)[^/].*/{
19593 # Extract the definition of DEPDIR, am__include, and am__quote
19594 # from the Makefile without running `make'.
19595 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19596 test -z "$DEPDIR" && continue
19597 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19598 test -z "am__include" && continue
19599 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19600 # When using ansi2knr, U may be empty or an underscore; expand it
19601 U=`sed -n 's/^U = //p' < "$mf"`
19602 # Find all dependency output files, they are included files with
19603 # $(DEPDIR) in their names. We invoke sed twice because it is the
19604 # simplest approach to changing $(DEPDIR) to its actual value in the
19606 for file in `sed -n "
19607 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19608 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19609 # Make sure the directory exists.
19610 test -f "$dirpart/$file" && continue
19611 fdir=`$as_dirname -- "$file" ||
19612 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19613 X"$file" : 'X\(//\)[^/]' \| \
19614 X"$file" : 'X\(//\)$' \| \
19615 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19616 $as_echo X"$file" |
19617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19621 /^X\(\/\/\)[^/].*/{
19634 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19635 # echo "creating $dirpart/$file"
19636 echo '# dummy' > "$dirpart/$file"
19643 # See if we are running on zsh, and set the options which allow our
19644 # commands through without removal of \ escapes.
19645 if test -n "${ZSH_VERSION+set}" ; then
19646 setopt NO_GLOB_SUBST
19649 cfgfile="${ofile}T"
19650 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19653 cat <<_LT_EOF >> "$cfgfile"
19656 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19657 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19658 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19659 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19661 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19662 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19664 # Written by Gordon Matzigkeit, 1996
19666 # This file is part of GNU Libtool.
19668 # GNU Libtool is free software; you can redistribute it and/or
19669 # modify it under the terms of the GNU General Public License as
19670 # published by the Free Software Foundation; either version 2 of
19671 # the License, or (at your option) any later version.
19673 # As a special exception to the GNU General Public License,
19674 # if you distribute this file as part of a program or library that
19675 # is built using GNU Libtool, you may include this file under the
19676 # same distribution terms that you use for the rest of that program.
19678 # GNU Libtool is distributed in the hope that it will be useful,
19679 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19680 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19681 # GNU General Public License for more details.
19683 # You should have received a copy of the GNU General Public License
19684 # along with GNU Libtool; see the file COPYING. If not, a copy
19685 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19686 # obtained by writing to the Free Software Foundation, Inc.,
19687 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19690 # The names of the tagged configurations supported by this script.
19693 # ### BEGIN LIBTOOL CONFIG
19695 # Assembler program.
19698 # DLL creation program.
19699 DLLTOOL=$lt_DLLTOOL
19701 # Object dumper program.
19702 OBJDUMP=$lt_OBJDUMP
19704 # Which release of libtool.m4 was used?
19705 macro_version=$macro_version
19706 macro_revision=$macro_revision
19708 # Whether or not to build shared libraries.
19709 build_libtool_libs=$enable_shared
19711 # Whether or not to build static libraries.
19712 build_old_libs=$enable_static
19714 # What type of objects to build.
19717 # Whether or not to optimize for fast installation.
19718 fast_install=$enable_fast_install
19720 # Shell to use when invoking shell scripts.
19723 # An echo program that protects backslashes.
19726 # The PATH separator for the build system.
19727 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19730 host_alias=$host_alias
19734 # The build system.
19735 build_alias=$build_alias
19739 # A sed program that does not truncate output.
19742 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19743 Xsed="\$SED -e 1s/^X//"
19745 # A grep program that handles long lines.
19751 # A literal string matcher.
19754 # A BSD- or MS-compatible name lister.
19757 # Whether we need soft or hard links.
19760 # What is the maximum length of a command?
19761 max_cmd_len=$max_cmd_len
19763 # Object file suffix (normally "o").
19766 # Executable file suffix (normally "").
19769 # whether the shell understands "unset".
19772 # turn spaces into newlines.
19775 # turn newlines into spaces.
19778 # convert \$build file names to \$host format.
19779 to_host_file_cmd=$lt_cv_to_host_file_cmd
19781 # convert \$build files to toolchain format.
19782 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19784 # Method to check whether dependent libraries are shared objects.
19785 deplibs_check_method=$lt_deplibs_check_method
19787 # Command to use when deplibs_check_method = "file_magic".
19788 file_magic_cmd=$lt_file_magic_cmd
19790 # How to find potential files when deplibs_check_method = "file_magic".
19791 file_magic_glob=$lt_file_magic_glob
19793 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19794 want_nocaseglob=$lt_want_nocaseglob
19796 # Command to associate shared and link libraries.
19797 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19802 # Flags to create an archive.
19803 AR_FLAGS=$lt_AR_FLAGS
19805 # How to feed a file listing to the archiver.
19806 archiver_list_spec=$lt_archiver_list_spec
19808 # A symbol stripping program.
19811 # Commands used to install an old-style archive.
19813 old_postinstall_cmds=$lt_old_postinstall_cmds
19814 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19816 # Whether to use a lock for old archive extraction.
19817 lock_old_archive_extraction=$lock_old_archive_extraction
19822 # LTCC compiler flags.
19823 LTCFLAGS=$lt_CFLAGS
19825 # Take the output of nm and produce a listing of raw symbols and C names.
19826 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19828 # Transform the output of nm in a proper C declaration.
19829 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19831 # Transform the output of nm in a C name address pair.
19832 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19834 # Transform the output of nm in a C name address pair when lib prefix is needed.
19835 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19837 # Specify filename containing input files for \$NM.
19838 nm_file_list_spec=$lt_nm_file_list_spec
19840 # The root where to search for dependent libraries,and in which our libraries should be installed.
19841 lt_sysroot=$lt_sysroot
19843 # The name of the directory that contains temporary libtool files.
19846 # Used to examine libraries when file_magic_cmd begins with "file".
19847 MAGIC_CMD=$MAGIC_CMD
19849 # Must we lock files when doing compilation?
19850 need_locks=$lt_need_locks
19853 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19855 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19856 DSYMUTIL=$lt_DSYMUTIL
19858 # Tool to change global to local symbols on Mac OS X.
19861 # Tool to manipulate fat objects and archives on Mac OS X.
19864 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19867 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19868 OTOOL64=$lt_OTOOL64
19870 # Old archive suffix (normally "a").
19873 # Shared library suffix (normally ".so").
19874 shrext_cmds=$lt_shrext_cmds
19876 # The commands to extract the exported symbol list from a shared archive.
19877 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19879 # Variables whose values should be saved in libtool wrapper scripts and
19880 # restored at link time.
19881 variables_saved_for_relink=$lt_variables_saved_for_relink
19883 # Do we need the "lib" prefix for modules?
19884 need_lib_prefix=$need_lib_prefix
19886 # Do we need a version for libraries?
19887 need_version=$need_version
19889 # Library versioning type.
19890 version_type=$version_type
19892 # Shared library runtime path variable.
19893 runpath_var=$runpath_var
19895 # Shared library path variable.
19896 shlibpath_var=$shlibpath_var
19898 # Is shlibpath searched before the hard-coded library search path?
19899 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19901 # Format of library name prefix.
19902 libname_spec=$lt_libname_spec
19904 # List of archive names. First name is the real one, the rest are links.
19905 # The last name is the one that the linker finds with -lNAME
19906 library_names_spec=$lt_library_names_spec
19908 # The coded name of the library, if different from the real name.
19909 soname_spec=$lt_soname_spec
19911 # Permission mode override for installation of shared libraries.
19912 install_override_mode=$lt_install_override_mode
19914 # Command to use after installation of a shared archive.
19915 postinstall_cmds=$lt_postinstall_cmds
19917 # Command to use after uninstallation of a shared archive.
19918 postuninstall_cmds=$lt_postuninstall_cmds
19920 # Commands used to finish a libtool library installation in a directory.
19921 finish_cmds=$lt_finish_cmds
19923 # As "finish_cmds", except a single script fragment to be evaled but
19925 finish_eval=$lt_finish_eval
19927 # Whether we should hardcode library paths into libraries.
19928 hardcode_into_libs=$hardcode_into_libs
19930 # Compile-time system search path for libraries.
19931 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19933 # Run-time system search path for libraries.
19934 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19936 # Whether dlopen is supported.
19937 dlopen_support=$enable_dlopen
19939 # Whether dlopen of programs is supported.
19940 dlopen_self=$enable_dlopen_self
19942 # Whether dlopen of statically linked programs is supported.
19943 dlopen_self_static=$enable_dlopen_self_static
19945 # Commands to strip libraries.
19946 old_striplib=$lt_old_striplib
19947 striplib=$lt_striplib
19950 # The linker used to build libraries.
19953 # How to create reloadable object files.
19954 reload_flag=$lt_reload_flag
19955 reload_cmds=$lt_reload_cmds
19957 # Commands used to build an old-style archive.
19958 old_archive_cmds=$lt_old_archive_cmds
19960 # A language specific compiler.
19963 # Is the compiler the GNU compiler?
19966 # Compiler flag to turn off builtin functions.
19967 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19969 # Additional compiler flags for building library objects.
19970 pic_flag=$lt_lt_prog_compiler_pic
19972 # How to pass a linker flag through the compiler.
19973 wl=$lt_lt_prog_compiler_wl
19975 # Compiler flag to prevent dynamic linking.
19976 link_static_flag=$lt_lt_prog_compiler_static
19978 # Does compiler simultaneously support -c and -o options?
19979 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19981 # Whether or not to add -lc for building shared libraries.
19982 build_libtool_need_lc=$archive_cmds_need_lc
19984 # Whether or not to disallow shared libs when runtime libs are static.
19985 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19987 # Compiler flag to allow reflexive dlopens.
19988 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19990 # Compiler flag to generate shared objects directly from archives.
19991 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19993 # Whether the compiler copes with passing no objects directly.
19994 compiler_needs_object=$lt_compiler_needs_object
19996 # Create an old-style archive from a shared archive.
19997 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19999 # Create a temporary old-style archive to link instead of a shared archive.
20000 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20002 # Commands used to build a shared archive.
20003 archive_cmds=$lt_archive_cmds
20004 archive_expsym_cmds=$lt_archive_expsym_cmds
20006 # Commands used to build a loadable module if different from building
20007 # a shared archive.
20008 module_cmds=$lt_module_cmds
20009 module_expsym_cmds=$lt_module_expsym_cmds
20011 # Whether we are building with GNU ld or not.
20012 with_gnu_ld=$lt_with_gnu_ld
20014 # Flag that allows shared libraries with undefined symbols to be built.
20015 allow_undefined_flag=$lt_allow_undefined_flag
20017 # Flag that enforces no undefined symbols.
20018 no_undefined_flag=$lt_no_undefined_flag
20020 # Flag to hardcode \$libdir into a binary during linking.
20021 # This must work even if \$libdir does not exist
20022 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20024 # Whether we need a single "-rpath" flag with a separated argument.
20025 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20027 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20028 # DIR into the resulting binary.
20029 hardcode_direct=$hardcode_direct
20031 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20032 # DIR into the resulting binary and the resulting library dependency is
20033 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20034 # library is relocated.
20035 hardcode_direct_absolute=$hardcode_direct_absolute
20037 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20038 # into the resulting binary.
20039 hardcode_minus_L=$hardcode_minus_L
20041 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20042 # into the resulting binary.
20043 hardcode_shlibpath_var=$hardcode_shlibpath_var
20045 # Set to "yes" if building a shared library automatically hardcodes DIR
20046 # into the library and all subsequent libraries and executables linked
20048 hardcode_automatic=$hardcode_automatic
20050 # Set to yes if linker adds runtime paths of dependent libraries
20051 # to runtime path list.
20052 inherit_rpath=$inherit_rpath
20054 # Whether libtool must link a program against all its dependency libraries.
20055 link_all_deplibs=$link_all_deplibs
20057 # Set to "yes" if exported symbols are required.
20058 always_export_symbols=$always_export_symbols
20060 # The commands to list exported symbols.
20061 export_symbols_cmds=$lt_export_symbols_cmds
20063 # Symbols that should not be listed in the preloaded symbols.
20064 exclude_expsyms=$lt_exclude_expsyms
20066 # Symbols that must always be exported.
20067 include_expsyms=$lt_include_expsyms
20069 # Commands necessary for linking programs (against libraries) with templates.
20070 prelink_cmds=$lt_prelink_cmds
20072 # Commands necessary for finishing linking programs.
20073 postlink_cmds=$lt_postlink_cmds
20075 # Specify filename containing input files.
20076 file_list_spec=$lt_file_list_spec
20078 # How to hardcode a shared library path into an executable.
20079 hardcode_action=$hardcode_action
20081 # ### END LIBTOOL CONFIG
20087 cat <<\_LT_EOF >> "$cfgfile"
20088 # AIX sometimes has problems with the GCC collect2 program. For some
20089 # reason, if we set the COLLECT_NAMES environment variable, the problems
20090 # vanish in a puff of smoke.
20091 if test "X${COLLECT_NAMES+set}" != Xset; then
20093 export COLLECT_NAMES
20100 ltmain="$ac_aux_dir/ltmain.sh"
20103 # We use sed instead of cat because bash on DJGPP gets confused if
20104 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20105 # text mode, it properly converts lines to CR/LF. This bash problem
20106 # is reportedly fixed, but why not run on old versions too?
20107 sed '$q' "$ltmain" >> "$cfgfile" \
20108 || (rm -f "$cfgfile"; exit 1)
20110 if test x"$xsi_shell" = xyes; then
20111 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20115 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20116 \ * ) func_dirname_result="${3}" ;;\
20118 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20119 && mv -f "$cfgfile.tmp" "$cfgfile" \
20120 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20121 test 0 -eq $? || _lt_function_replace_fail=:
20124 sed -e '/^func_basename ()$/,/^} # func_basename /c\
20127 \ func_basename_result="${1##*/}"\
20128 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20129 && mv -f "$cfgfile.tmp" "$cfgfile" \
20130 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20131 test 0 -eq $? || _lt_function_replace_fail=:
20134 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20135 func_dirname_and_basename ()\
20138 \ */*) func_dirname_result="${1%/*}${2}" ;;\
20139 \ * ) func_dirname_result="${3}" ;;\
20141 \ func_basename_result="${1##*/}"\
20142 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20143 && mv -f "$cfgfile.tmp" "$cfgfile" \
20144 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20145 test 0 -eq $? || _lt_function_replace_fail=:
20148 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20151 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20152 \ # positional parameters, so assign one to ordinary parameter first.\
20153 \ func_stripname_result=${3}\
20154 \ func_stripname_result=${func_stripname_result#"${1}"}\
20155 \ func_stripname_result=${func_stripname_result%"${2}"}\
20156 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20157 && mv -f "$cfgfile.tmp" "$cfgfile" \
20158 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20159 test 0 -eq $? || _lt_function_replace_fail=:
20162 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20163 func_split_long_opt ()\
20165 \ func_split_long_opt_name=${1%%=*}\
20166 \ func_split_long_opt_arg=${1#*=}\
20167 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20168 && mv -f "$cfgfile.tmp" "$cfgfile" \
20169 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20170 test 0 -eq $? || _lt_function_replace_fail=:
20173 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20174 func_split_short_opt ()\
20176 \ func_split_short_opt_arg=${1#??}\
20177 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20178 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20179 && mv -f "$cfgfile.tmp" "$cfgfile" \
20180 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20181 test 0 -eq $? || _lt_function_replace_fail=:
20184 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20188 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20189 \ *) func_lo2o_result=${1} ;;\
20191 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20192 && mv -f "$cfgfile.tmp" "$cfgfile" \
20193 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20194 test 0 -eq $? || _lt_function_replace_fail=:
20197 sed -e '/^func_xform ()$/,/^} # func_xform /c\
20200 func_xform_result=${1%.*}.lo\
20201 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20202 && mv -f "$cfgfile.tmp" "$cfgfile" \
20203 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20204 test 0 -eq $? || _lt_function_replace_fail=:
20207 sed -e '/^func_arith ()$/,/^} # func_arith /c\
20210 func_arith_result=$(( $* ))\
20211 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20212 && mv -f "$cfgfile.tmp" "$cfgfile" \
20213 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20214 test 0 -eq $? || _lt_function_replace_fail=:
20217 sed -e '/^func_len ()$/,/^} # func_len /c\
20220 func_len_result=${#1}\
20221 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20222 && mv -f "$cfgfile.tmp" "$cfgfile" \
20223 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20224 test 0 -eq $? || _lt_function_replace_fail=:
20228 if test x"$lt_shell_append" = xyes; then
20229 sed -e '/^func_append ()$/,/^} # func_append /c\
20232 eval "${1}+=\\${2}"\
20233 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20234 && mv -f "$cfgfile.tmp" "$cfgfile" \
20235 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20236 test 0 -eq $? || _lt_function_replace_fail=:
20239 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20240 func_append_quoted ()\
20242 \ func_quote_for_eval "${2}"\
20243 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20244 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20245 && mv -f "$cfgfile.tmp" "$cfgfile" \
20246 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20247 test 0 -eq $? || _lt_function_replace_fail=:
20250 # Save a `func_append' function call where possible by direct use of '+='
20251 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20252 && mv -f "$cfgfile.tmp" "$cfgfile" \
20253 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20254 test 0 -eq $? || _lt_function_replace_fail=:
20256 # Save a `func_append' function call even when '+=' is not available
20257 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20258 && mv -f "$cfgfile.tmp" "$cfgfile" \
20259 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20260 test 0 -eq $? || _lt_function_replace_fail=:
20263 if test x"$_lt_function_replace_fail" = x":"; then
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20265 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20269 mv -f "$cfgfile" "$ofile" ||
20270 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20281 ac_clean_files=$ac_clean_files_save
20283 test $ac_write_fail = 0 ||
20284 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20287 # configure is writing to config.log, and then calls config.status.
20288 # config.status does its own redirection, appending to config.log.
20289 # Unfortunately, on DOS this fails, as config.log is still kept open
20290 # by configure, so config.status won't be able to write to it; its
20291 # output is simply discarded. So we exec the FD to /dev/null,
20292 # effectively closing config.log, so it can be properly (re)opened and
20293 # appended to by config.status. When coming back to configure, we
20294 # need to make the FD available again.
20295 if test "$no_create" != yes; then
20297 ac_config_status_args=
20298 test "$silent" = yes &&
20299 ac_config_status_args="$ac_config_status_args --quiet"
20301 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20303 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20304 # would make configure fail if this is the last instruction.
20305 $ac_cs_success || as_fn_exit 1
20307 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20309 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20314 #####################################################################
20320 echo "------------------------------------------------------------------------"
20321 echo "$PACKAGE $VERSION"
20322 echo "------------------------------------------------------------------------"
20324 echo "Configuration Options Summary:"
20326 echo " Amalgamation.........: ${do_amalgamation}"
20327 echo " Ecore IMF............: $have_ecore_imf"
20329 if test "x${want_multisense}" = "xyes" ; then
20330 echo " LibRemix.............: $have_libremix"
20331 echo " Libsndfile...........: $have_sndfile"
20332 echo " Ogg/Vorbis...........: $have_vorbis"
20333 echo " LibFLAC..............: $have_flac_lib"
20334 echo " LibALSA..............: $have_alsa_lib"
20337 echo " EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
20338 echo " EDJE_CALC_CACHE......: $want_edje_calc_cache"
20339 echo " Fixed point..........: $want_fixed_point"
20340 echo " Documentation........: ${build_doc}"
20341 echo " Tests................: ${enable_tests}"
20342 echo " Coverage.............: ${enable_coverage}"
20343 echo " Examples.............: install:${install_examples} build:${build_examples}"
20347 echo " Build edje_cc................: $have_edje_cc"
20348 echo " Build edje_decc..............: $have_edje_decc"
20349 echo " Build edje_recc..............: $have_edje_recc"
20350 echo " Build edje_player............: $have_edje_player"
20351 echo " Build edje_inspector.........: $have_edje_inspector"
20352 echo " Build edje_external_inspector: $have_edje_external_inspector"
20353 echo " Build edje_watch.............: $have_edje_watch"
20355 echo "Compilation............: make (or gmake)"
20356 echo " CPPFLAGS.............: $CPPFLAGS"
20357 echo " CFLAGS...............: $CFLAGS"
20358 echo " LDFLAGS..............: $LDFLAGS"
20360 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
20361 echo " prefix...............: $prefix"