2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for evas 1.7.8.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
592 PACKAGE_TARNAME='evas'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='evas 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
647 EFL_ENABLE_COVERAGE_FALSE
648 EFL_ENABLE_COVERAGE_TRUE
652 EFL_ENABLE_TESTS_FALSE
653 EFL_ENABLE_TESTS_TRUE
663 INSTALL_EXAMPLES_FALSE
664 INSTALL_EXAMPLES_TRUE
667 EVAS_MAGIC_DEBUG_FALSE
668 EVAS_MAGIC_DEBUG_TRUE
670 EVAS_STATIC_BUILD_GENERIC_FALSE
671 EVAS_STATIC_BUILD_GENERIC_TRUE
672 BUILD_LOADER_GENERIC_FALSE
673 BUILD_LOADER_GENERIC_TRUE
674 evas_image_loader_generic_libs
675 evas_image_loader_generic_cflags
676 EVAS_STATIC_BUILD_PSD_FALSE
677 EVAS_STATIC_BUILD_PSD_TRUE
678 BUILD_LOADER_PSD_FALSE
679 BUILD_LOADER_PSD_TRUE
680 evas_image_loader_psd_libs
681 evas_image_loader_psd_cflags
682 EVAS_STATIC_BUILD_ICO_FALSE
683 EVAS_STATIC_BUILD_ICO_TRUE
684 BUILD_LOADER_ICO_FALSE
685 BUILD_LOADER_ICO_TRUE
686 evas_image_loader_ico_libs
687 evas_image_loader_ico_cflags
688 EVAS_STATIC_BUILD_WBMP_FALSE
689 EVAS_STATIC_BUILD_WBMP_TRUE
690 BUILD_LOADER_WBMP_FALSE
691 BUILD_LOADER_WBMP_TRUE
692 evas_image_loader_wbmp_libs
693 evas_image_loader_wbmp_cflags
694 EVAS_STATIC_BUILD_TGA_FALSE
695 EVAS_STATIC_BUILD_TGA_TRUE
696 BUILD_LOADER_TGA_FALSE
697 BUILD_LOADER_TGA_TRUE
698 evas_image_loader_tga_libs
699 evas_image_loader_tga_cflags
700 EVAS_STATIC_BUILD_BMP_FALSE
701 EVAS_STATIC_BUILD_BMP_TRUE
702 BUILD_LOADER_BMP_FALSE
703 BUILD_LOADER_BMP_TRUE
704 evas_image_loader_bmp_libs
705 evas_image_loader_bmp_cflags
706 EVAS_STATIC_BUILD_XPM_FALSE
707 EVAS_STATIC_BUILD_XPM_TRUE
708 BUILD_LOADER_XPM_FALSE
709 BUILD_LOADER_XPM_TRUE
710 evas_image_loader_xpm_libs
711 evas_image_loader_xpm_cflags
712 EVAS_STATIC_BUILD_TIFF_FALSE
713 EVAS_STATIC_BUILD_TIFF_TRUE
714 BUILD_LOADER_TIFF_FALSE
715 BUILD_LOADER_TIFF_TRUE
716 evas_image_loader_tiff_libs
717 evas_image_loader_tiff_cflags
718 EVAS_STATIC_BUILD_SVG_FALSE
719 EVAS_STATIC_BUILD_SVG_TRUE
720 BUILD_LOADER_SVG_FALSE
721 BUILD_LOADER_SVG_TRUE
722 evas_image_loader_svg_libs
723 evas_image_loader_svg_cflags
726 EVAS_STATIC_BUILD_PNG_FALSE
727 EVAS_STATIC_BUILD_PNG_TRUE
728 BUILD_LOADER_PNG_FALSE
729 BUILD_LOADER_PNG_TRUE
730 evas_image_loader_png_libs
731 evas_image_loader_png_cflags
734 EVAS_STATIC_BUILD_PMAPS_FALSE
735 EVAS_STATIC_BUILD_PMAPS_TRUE
736 BUILD_LOADER_PMAPS_FALSE
737 BUILD_LOADER_PMAPS_TRUE
738 evas_image_loader_pmaps_libs
739 evas_image_loader_pmaps_cflags
740 BUILD_SAVER_JPEG_FALSE
741 BUILD_SAVER_JPEG_TRUE
742 EVAS_STATIC_BUILD_JPEG_FALSE
743 EVAS_STATIC_BUILD_JPEG_TRUE
744 BUILD_LOADER_JPEG_FALSE
745 BUILD_LOADER_JPEG_TRUE
746 evas_image_loader_jpeg_libs
747 evas_image_loader_jpeg_cflags
748 EVAS_STATIC_BUILD_GIF_FALSE
749 EVAS_STATIC_BUILD_GIF_TRUE
750 BUILD_LOADER_GIF_FALSE
751 BUILD_LOADER_GIF_TRUE
752 evas_image_loader_gif_libs
753 evas_image_loader_gif_cflags
754 EVAS_STATIC_BUILD_EET_FALSE
755 EVAS_STATIC_BUILD_EET_TRUE
756 BUILD_LOADER_EET_FALSE
757 BUILD_LOADER_EET_TRUE
758 evas_image_loader_eet_libs
759 evas_image_loader_eet_cflags
762 EVAS_STATIC_BUILD_EDB_FALSE
763 EVAS_STATIC_BUILD_EDB_TRUE
764 BUILD_LOADER_EDB_FALSE
765 BUILD_LOADER_EDB_TRUE
766 evas_image_loader_edb_libs
767 evas_image_loader_edb_cflags
770 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE
771 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE
772 BUILD_ENGINE_SOFTWARE_8_FALSE
773 BUILD_ENGINE_SOFTWARE_8_TRUE
774 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE
775 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE
776 BUILD_ENGINE_SOFTWARE_16_FALSE
777 BUILD_ENGINE_SOFTWARE_16_TRUE
778 EVAS_STATIC_BUILD_GL_COMMON_FALSE
779 EVAS_STATIC_BUILD_GL_COMMON_TRUE
780 BUILD_ENGINE_GL_COMMON_FALSE
781 BUILD_ENGINE_GL_COMMON_TRUE
782 evas_engine_gl_common_libs
783 have_evas_engine_gl_x11
784 EVAS_STATIC_BUILD_GL_X11_FALSE
785 EVAS_STATIC_BUILD_GL_X11_TRUE
786 BUILD_ENGINE_GL_X11_FALSE
787 BUILD_ENGINE_GL_X11_TRUE
788 have_evas_engine_gl_xlib
789 EVAS_STATIC_BUILD_GL_XLIB_FALSE
790 EVAS_STATIC_BUILD_GL_XLIB_TRUE
791 BUILD_ENGINE_GL_XLIB_FALSE
792 BUILD_ENGINE_GL_XLIB_TRUE
793 evas_engine_gl_xlib_libs
794 evas_engine_gl_xlib_cflags
795 have_evas_engine_gl_xcb
796 EVAS_STATIC_BUILD_GL_XCB_FALSE
797 EVAS_STATIC_BUILD_GL_XCB_TRUE
798 BUILD_ENGINE_GL_XCB_FALSE
799 BUILD_ENGINE_GL_XCB_TRUE
800 evas_engine_gl_xcb_libs
801 evas_engine_gl_xcb_cflags
804 have_evas_engine_software_x11
805 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE
806 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE
807 BUILD_ENGINE_SOFTWARE_X11_FALSE
808 BUILD_ENGINE_SOFTWARE_X11_TRUE
809 have_evas_engine_software_xlib
810 have_evas_engine_software_xcb
811 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE
812 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE
813 BUILD_ENGINE_SOFTWARE_XLIB_FALSE
814 BUILD_ENGINE_SOFTWARE_XLIB_TRUE
815 evas_engine_software_xlib_libs
816 evas_engine_software_xlib_cflags
817 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE
818 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE
819 BUILD_ENGINE_SOFTWARE_XCB_FALSE
820 BUILD_ENGINE_SOFTWARE_XCB_TRUE
821 evas_engine_software_xcb_libs
822 evas_engine_software_xcb_cflags
823 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE
824 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE
825 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE
826 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE
827 BUILD_ENGINE_WAYLAND_EGL_FALSE
828 BUILD_ENGINE_WAYLAND_EGL_TRUE
829 evas_engine_wayland_egl_libs
830 evas_engine_wayland_egl_cflags
833 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE
834 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE
835 BUILD_ENGINE_WAYLAND_SHM_FALSE
836 BUILD_ENGINE_WAYLAND_SHM_TRUE
837 evas_engine_wayland_shm_libs
838 evas_engine_wayland_shm_cflags
839 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE
840 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE
841 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE
842 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE
843 evas_engine_software_16_sdl_libs
844 evas_engine_software_16_sdl_cflags
845 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE
846 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE
847 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE
848 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE
849 evas_engine_software_16_wince_libs
850 evas_engine_software_16_wince_cflags
851 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE
852 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE
853 BUILD_ENGINE_SOFTWARE_16_X11_FALSE
854 BUILD_ENGINE_SOFTWARE_16_X11_TRUE
855 evas_engine_software_16_x11_libs
856 evas_engine_software_16_x11_cflags
862 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE
863 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE
864 BUILD_ENGINE_SOFTWARE_8_X11_FALSE
865 BUILD_ENGINE_SOFTWARE_8_X11_TRUE
866 evas_engine_software_8_x11_libs
867 evas_engine_software_8_x11_cflags
870 EVAS_STATIC_BUILD_DIRECTFB_FALSE
871 EVAS_STATIC_BUILD_DIRECTFB_TRUE
872 BUILD_ENGINE_DIRECTFB_FALSE
873 BUILD_ENGINE_DIRECTFB_TRUE
874 evas_engine_directfb_libs
875 evas_engine_directfb_cflags
878 EVAS_STATIC_BUILD_FB_FALSE
879 EVAS_STATIC_BUILD_FB_TRUE
880 BUILD_ENGINE_FB_FALSE
883 evas_engine_fb_cflags
884 EVAS_STATIC_BUILD_GL_COCOA_FALSE
885 EVAS_STATIC_BUILD_GL_COCOA_TRUE
886 BUILD_ENGINE_GL_COCOA_FALSE
887 BUILD_ENGINE_GL_COCOA_TRUE
888 evas_engine_gl_cocoa_libs
889 evas_engine_gl_cocoa_cflags
892 EVAS_STATIC_BUILD_GL_SDL_FALSE
893 EVAS_STATIC_BUILD_GL_SDL_TRUE
894 BUILD_ENGINE_GL_SDL_FALSE
895 BUILD_ENGINE_GL_SDL_TRUE
896 evas_engine_gl_sdl_libs
897 evas_engine_gl_sdl_cflags
900 EVAS_STATIC_BUILD_PSL1GHT_FALSE
901 EVAS_STATIC_BUILD_PSL1GHT_TRUE
902 BUILD_ENGINE_PSL1GHT_FALSE
903 BUILD_ENGINE_PSL1GHT_TRUE
904 evas_engine_psl1ght_libs
905 evas_engine_psl1ght_cflags
906 EVAS_STATIC_BUILD_DIRECT3D_FALSE
907 EVAS_STATIC_BUILD_DIRECT3D_TRUE
908 BUILD_ENGINE_DIRECT3D_FALSE
909 BUILD_ENGINE_DIRECT3D_TRUE
910 evas_engine_direct3d_libs
911 evas_engine_direct3d_cflags
912 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE
913 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE
914 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE
915 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE
916 evas_engine_software_ddraw_libs
917 evas_engine_software_ddraw_cflags
918 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE
919 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE
920 BUILD_ENGINE_SOFTWARE_GDI_FALSE
921 BUILD_ENGINE_SOFTWARE_GDI_TRUE
922 evas_engine_software_gdi_libs
923 evas_engine_software_gdi_cflags
924 EVAS_STATIC_BUILD_BUFFER_FALSE
925 EVAS_STATIC_BUILD_BUFFER_TRUE
926 BUILD_ENGINE_BUFFER_FALSE
927 BUILD_ENGINE_BUFFER_TRUE
928 evas_engine_buffer_libs
929 evas_engine_buffer_cflags
939 lt_enable_auto_import
948 EVAS_USE_LINEBREAK_FALSE
949 EVAS_USE_LINEBREAK_TRUE
956 EVAS_HAVE_EXOTIC_FALSE
957 EVAS_HAVE_EXOTIC_TRUE
966 pkgconfig_requires_private
977 am__fastdepOBJC_FALSE
1036 AM_DEFAULT_VERBOSITY
1047 INSTALL_STRIP_PROGRAM
1089 program_transform_name
1102 enable_option_checking
1104 enable_dependency_tracking
1126 enable_pixman_image_scale_sample
1130 enable_gl_flavor_gles
1131 enable_gles_variety_sgx
1132 enable_gles_variety_s3c6410
1135 enable_software_ddraw
1142 enable_software_8_x11
1143 enable_software_16_x11
1145 enable_software_16_wince
1146 enable_software_16_sdl
1149 enable_sdl_primitive
1150 enable_static_software_generic
1152 enable_software_xlib
1155 enable_static_software_16
1156 enable_static_software_8
1157 enable_image_loader_edb
1158 enable_image_loader_eet
1159 enable_font_loader_eet
1160 enable_image_loader_gif
1161 enable_image_loader_jpeg
1162 enable_image_loader_pmaps
1163 enable_image_loader_png
1164 enable_image_loader_svg
1165 enable_image_loader_tiff
1166 enable_image_loader_xpm
1167 enable_image_loader_bmp
1168 enable_image_loader_tga
1169 enable_image_loader_wbmp
1170 enable_image_loader_ico
1171 enable_image_loader_psd
1172 enable_image_loader_generic
1175 enable_async_preload
1182 enable_evas_magic_debug
1186 enable_small_dither_mask
1187 enable_line_dither_mask
1188 enable_no_dither_mask
1189 enable_convert_8_rgb_332
1190 enable_convert_8_rgb_666
1191 enable_convert_8_rgb_232
1192 enable_convert_8_rgb_222
1193 enable_convert_8_rgb_221
1194 enable_convert_8_rgb_121
1195 enable_convert_8_rgb_111
1196 enable_convert_16_rgb_565
1197 enable_convert_16_bgr_565
1198 enable_convert_16_rgb_555
1199 enable_convert_16_rgb_444
1200 enable_convert_16_rgb_ipq
1201 enable_convert_16_rgb_rot_0
1202 enable_convert_16_rgb_rot_180
1203 enable_convert_16_rgb_rot_270
1204 enable_convert_16_rgb_rot_90
1205 enable_convert_24_rgb_888
1206 enable_convert_24_bgr_888
1207 enable_convert_32_rgb_8888
1208 enable_convert_32_rgbx_8888
1209 enable_convert_32_bgr_8888
1210 enable_convert_32_bgrx_8888
1211 enable_convert_24_rgb_ezx
1212 enable_convert_32_rgb_ezx
1213 enable_convert_32_rgb_rot_0
1214 enable_convert_32_rgb_rot_180
1215 enable_convert_32_rgb_rot_270
1216 enable_convert_32_rgb_rot_90
1217 enable_convert_8_gry_1
1218 enable_convert_8_gry_16
1219 enable_convert_8_grayscale_64
1221 enable_install_examples
1222 enable_build_examples
1226 ac_precious_vars='build_alias
1291 # Initialize some variables set by options.
1293 ac_init_version=false
1294 ac_unrecognized_opts=
1295 ac_unrecognized_sep=
1296 # The variables have the same names as the options, with
1297 # dashes changed to underlines.
1298 cache_file=/dev/null
1305 program_transform_name=s,x,x,
1313 # Installation directory options.
1314 # These are left unexpanded so users can "make install exec_prefix=/foo"
1315 # and all the variables that are supposed to be based on exec_prefix
1316 # by default will actually change.
1317 # Use braces instead of parens because sh, perl, etc. also accept them.
1318 # (The list follows the same order as the GNU Coding Standards.)
1319 bindir='${exec_prefix}/bin'
1320 sbindir='${exec_prefix}/sbin'
1321 libexecdir='${exec_prefix}/libexec'
1322 datarootdir='${prefix}/share'
1323 datadir='${datarootdir}'
1324 sysconfdir='${prefix}/etc'
1325 sharedstatedir='${prefix}/com'
1326 localstatedir='${prefix}/var'
1327 includedir='${prefix}/include'
1328 oldincludedir='/usr/include'
1329 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1330 infodir='${datarootdir}/info'
1335 libdir='${exec_prefix}/lib'
1336 localedir='${datarootdir}/locale'
1337 mandir='${datarootdir}/man'
1343 # If the previous option needs an argument, assign it.
1344 if test -n "$ac_prev"; then
1345 eval $ac_prev=\$ac_option
1351 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1356 # Accept the important Cygnus configure options, so we can diagnose typos.
1358 case $ac_dashdash$ac_option in
1362 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1364 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1365 bindir=$ac_optarg ;;
1367 -build | --build | --buil | --bui | --bu)
1368 ac_prev=build_alias ;;
1369 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1370 build_alias=$ac_optarg ;;
1372 -cache-file | --cache-file | --cache-fil | --cache-fi \
1373 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1374 ac_prev=cache_file ;;
1375 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1376 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1377 cache_file=$ac_optarg ;;
1379 --config-cache | -C)
1380 cache_file=config.cache ;;
1382 -datadir | --datadir | --datadi | --datad)
1384 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1385 datadir=$ac_optarg ;;
1387 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1388 | --dataroo | --dataro | --datar)
1389 ac_prev=datarootdir ;;
1390 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1391 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1392 datarootdir=$ac_optarg ;;
1394 -disable-* | --disable-*)
1395 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1396 # Reject names that are not valid shell variable names.
1397 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1398 as_fn_error $? "invalid feature name: $ac_useropt"
1399 ac_useropt_orig=$ac_useropt
1400 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1401 case $ac_user_opts in
1403 "enable_$ac_useropt"
1405 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1406 ac_unrecognized_sep=', ';;
1408 eval enable_$ac_useropt=no ;;
1410 -docdir | --docdir | --docdi | --doc | --do)
1412 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1413 docdir=$ac_optarg ;;
1415 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1417 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1418 dvidir=$ac_optarg ;;
1420 -enable-* | --enable-*)
1421 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1422 # Reject names that are not valid shell variable names.
1423 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1424 as_fn_error $? "invalid feature name: $ac_useropt"
1425 ac_useropt_orig=$ac_useropt
1426 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1427 case $ac_user_opts in
1429 "enable_$ac_useropt"
1431 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1432 ac_unrecognized_sep=', ';;
1434 eval enable_$ac_useropt=\$ac_optarg ;;
1436 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1437 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1438 | --exec | --exe | --ex)
1439 ac_prev=exec_prefix ;;
1440 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1441 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1442 | --exec=* | --exe=* | --ex=*)
1443 exec_prefix=$ac_optarg ;;
1445 -gas | --gas | --ga | --g)
1446 # Obsolete; use --with-gas.
1449 -help | --help | --hel | --he | -h)
1450 ac_init_help=long ;;
1451 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1452 ac_init_help=recursive ;;
1453 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1454 ac_init_help=short ;;
1456 -host | --host | --hos | --ho)
1457 ac_prev=host_alias ;;
1458 -host=* | --host=* | --hos=* | --ho=*)
1459 host_alias=$ac_optarg ;;
1461 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1463 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1465 htmldir=$ac_optarg ;;
1467 -includedir | --includedir | --includedi | --included | --include \
1468 | --includ | --inclu | --incl | --inc)
1469 ac_prev=includedir ;;
1470 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1471 | --includ=* | --inclu=* | --incl=* | --inc=*)
1472 includedir=$ac_optarg ;;
1474 -infodir | --infodir | --infodi | --infod | --info | --inf)
1476 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1477 infodir=$ac_optarg ;;
1479 -libdir | --libdir | --libdi | --libd)
1481 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1482 libdir=$ac_optarg ;;
1484 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1485 | --libexe | --libex | --libe)
1486 ac_prev=libexecdir ;;
1487 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1488 | --libexe=* | --libex=* | --libe=*)
1489 libexecdir=$ac_optarg ;;
1491 -localedir | --localedir | --localedi | --localed | --locale)
1492 ac_prev=localedir ;;
1493 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1494 localedir=$ac_optarg ;;
1496 -localstatedir | --localstatedir | --localstatedi | --localstated \
1497 | --localstate | --localstat | --localsta | --localst | --locals)
1498 ac_prev=localstatedir ;;
1499 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1500 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1501 localstatedir=$ac_optarg ;;
1503 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1505 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1506 mandir=$ac_optarg ;;
1508 -nfp | --nfp | --nf)
1509 # Obsolete; use --without-fp.
1512 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1513 | --no-cr | --no-c | -n)
1516 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1517 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1520 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1521 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1522 | --oldin | --oldi | --old | --ol | --o)
1523 ac_prev=oldincludedir ;;
1524 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1525 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1526 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1527 oldincludedir=$ac_optarg ;;
1529 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1531 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1532 prefix=$ac_optarg ;;
1534 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1535 | --program-pre | --program-pr | --program-p)
1536 ac_prev=program_prefix ;;
1537 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1538 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1539 program_prefix=$ac_optarg ;;
1541 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1542 | --program-suf | --program-su | --program-s)
1543 ac_prev=program_suffix ;;
1544 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1545 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1546 program_suffix=$ac_optarg ;;
1548 -program-transform-name | --program-transform-name \
1549 | --program-transform-nam | --program-transform-na \
1550 | --program-transform-n | --program-transform- \
1551 | --program-transform | --program-transfor \
1552 | --program-transfo | --program-transf \
1553 | --program-trans | --program-tran \
1554 | --progr-tra | --program-tr | --program-t)
1555 ac_prev=program_transform_name ;;
1556 -program-transform-name=* | --program-transform-name=* \
1557 | --program-transform-nam=* | --program-transform-na=* \
1558 | --program-transform-n=* | --program-transform-=* \
1559 | --program-transform=* | --program-transfor=* \
1560 | --program-transfo=* | --program-transf=* \
1561 | --program-trans=* | --program-tran=* \
1562 | --progr-tra=* | --program-tr=* | --program-t=*)
1563 program_transform_name=$ac_optarg ;;
1565 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1567 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1568 pdfdir=$ac_optarg ;;
1570 -psdir | --psdir | --psdi | --psd | --ps)
1572 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1575 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1576 | -silent | --silent | --silen | --sile | --sil)
1579 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1581 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1583 sbindir=$ac_optarg ;;
1585 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1586 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1587 | --sharedst | --shareds | --shared | --share | --shar \
1589 ac_prev=sharedstatedir ;;
1590 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1591 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1592 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1594 sharedstatedir=$ac_optarg ;;
1596 -site | --site | --sit)
1598 -site=* | --site=* | --sit=*)
1601 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1603 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1604 srcdir=$ac_optarg ;;
1606 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1607 | --syscon | --sysco | --sysc | --sys | --sy)
1608 ac_prev=sysconfdir ;;
1609 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1610 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1611 sysconfdir=$ac_optarg ;;
1613 -target | --target | --targe | --targ | --tar | --ta | --t)
1614 ac_prev=target_alias ;;
1615 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1616 target_alias=$ac_optarg ;;
1618 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1621 -version | --version | --versio | --versi | --vers | -V)
1622 ac_init_version=: ;;
1625 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1626 # Reject names that are not valid shell variable names.
1627 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1628 as_fn_error $? "invalid package name: $ac_useropt"
1629 ac_useropt_orig=$ac_useropt
1630 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1631 case $ac_user_opts in
1635 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1636 ac_unrecognized_sep=', ';;
1638 eval with_$ac_useropt=\$ac_optarg ;;
1640 -without-* | --without-*)
1641 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1642 # Reject names that are not valid shell variable names.
1643 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1644 as_fn_error $? "invalid package name: $ac_useropt"
1645 ac_useropt_orig=$ac_useropt
1646 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1647 case $ac_user_opts in
1651 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1652 ac_unrecognized_sep=', ';;
1654 eval with_$ac_useropt=no ;;
1657 # Obsolete; use --with-x.
1660 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1661 | --x-incl | --x-inc | --x-in | --x-i)
1662 ac_prev=x_includes ;;
1663 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1664 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1665 x_includes=$ac_optarg ;;
1667 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1668 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1669 ac_prev=x_libraries ;;
1670 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1671 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1672 x_libraries=$ac_optarg ;;
1674 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1675 Try \`$0 --help' for more information"
1679 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1680 # Reject names that are not valid shell variable names.
1681 case $ac_envvar in #(
1682 '' | [0-9]* | *[!_$as_cr_alnum]* )
1683 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1685 eval $ac_envvar=\$ac_optarg
1686 export $ac_envvar ;;
1689 # FIXME: should be removed in autoconf 3.0.
1690 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1691 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1692 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1693 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1699 if test -n "$ac_prev"; then
1700 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1701 as_fn_error $? "missing argument to $ac_option"
1704 if test -n "$ac_unrecognized_opts"; then
1705 case $enable_option_checking in
1707 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1708 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1712 # Check all directory arguments for consistency.
1713 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1714 datadir sysconfdir sharedstatedir localstatedir includedir \
1715 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1716 libdir localedir mandir
1718 eval ac_val=\$$ac_var
1719 # Remove trailing slashes.
1722 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1723 eval $ac_var=\$ac_val;;
1725 # Be sure to have absolute directory names.
1727 [\\/$]* | ?:[\\/]* ) continue;;
1728 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1730 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1733 # There might be people who depend on the old broken behavior: `$host'
1734 # used to hold the argument of --host etc.
1735 # FIXME: To remove some day.
1738 target=$target_alias
1740 # FIXME: To remove some day.
1741 if test "x$host_alias" != x; then
1742 if test "x$build_alias" = x; then
1743 cross_compiling=maybe
1744 elif test "x$build_alias" != "x$host_alias"; then
1750 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1752 test "$silent" = yes && exec 6>/dev/null
1755 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1756 ac_ls_di=`ls -di .` &&
1757 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1758 as_fn_error $? "working directory cannot be determined"
1759 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1760 as_fn_error $? "pwd does not report name of working directory"
1763 # Find the source files, if location was not specified.
1764 if test -z "$srcdir"; then
1765 ac_srcdir_defaulted=yes
1766 # Try the directory containing this script, then the parent directory.
1767 ac_confdir=`$as_dirname -- "$as_myself" ||
1768 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1769 X"$as_myself" : 'X\(//\)[^/]' \| \
1770 X"$as_myself" : 'X\(//\)$' \| \
1771 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1772 $as_echo X"$as_myself" |
1773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1791 if test ! -r "$srcdir/$ac_unique_file"; then
1795 ac_srcdir_defaulted=no
1797 if test ! -r "$srcdir/$ac_unique_file"; then
1798 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1799 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1801 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1803 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1805 # When building in place, set srcdir=.
1806 if test "$ac_abs_confdir" = "$ac_pwd"; then
1809 # Remove unnecessary trailing slashes from srcdir.
1810 # Double slashes in file names in object file debugging info
1811 # mess up M-x gdb in Emacs.
1813 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1815 for ac_var in $ac_precious_vars; do
1816 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1817 eval ac_env_${ac_var}_value=\$${ac_var}
1818 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1819 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1823 # Report the --help message.
1825 if test "$ac_init_help" = "long"; then
1826 # Omit some internal or obsolete options to make the list less imposing.
1827 # This message is too long to be a string in the A/UX 3.1 sh.
1829 \`configure' configures evas 1.7.8 to adapt to many kinds of systems.
1831 Usage: $0 [OPTION]... [VAR=VALUE]...
1833 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1834 VAR=VALUE. See below for descriptions of some of the useful variables.
1836 Defaults for the options are specified in brackets.
1839 -h, --help display this help and exit
1840 --help=short display options specific to this package
1841 --help=recursive display the short help of all the included packages
1842 -V, --version display version information and exit
1843 -q, --quiet, --silent do not print \`checking ...' messages
1844 --cache-file=FILE cache test results in FILE [disabled]
1845 -C, --config-cache alias for \`--cache-file=config.cache'
1846 -n, --no-create do not create output files
1847 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1849 Installation directories:
1850 --prefix=PREFIX install architecture-independent files in PREFIX
1851 [$ac_default_prefix]
1852 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1855 By default, \`make install' will install all the files in
1856 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1857 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1858 for instance \`--prefix=\$HOME'.
1860 For better control, use the options below.
1862 Fine tuning of the installation directories:
1863 --bindir=DIR user executables [EPREFIX/bin]
1864 --sbindir=DIR system admin executables [EPREFIX/sbin]
1865 --libexecdir=DIR program executables [EPREFIX/libexec]
1866 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1867 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1868 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1869 --libdir=DIR object code libraries [EPREFIX/lib]
1870 --includedir=DIR C header files [PREFIX/include]
1871 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1872 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1873 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1874 --infodir=DIR info documentation [DATAROOTDIR/info]
1875 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1876 --mandir=DIR man documentation [DATAROOTDIR/man]
1877 --docdir=DIR documentation root [DATAROOTDIR/doc/evas]
1878 --htmldir=DIR html documentation [DOCDIR]
1879 --dvidir=DIR dvi documentation [DOCDIR]
1880 --pdfdir=DIR pdf documentation [DOCDIR]
1881 --psdir=DIR ps documentation [DOCDIR]
1887 --program-prefix=PREFIX prepend PREFIX to installed program names
1888 --program-suffix=SUFFIX append SUFFIX to installed program names
1889 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1892 --x-includes=DIR X include files are in DIR
1893 --x-libraries=DIR X library files are in DIR
1896 --build=BUILD configure for building on BUILD [guessed]
1897 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1901 if test -n "$ac_init_help"; then
1902 case $ac_init_help in
1903 short | recursive ) echo "Configuration of evas 1.7.8:";;
1908 --disable-option-checking ignore unrecognized --enable/--with options
1909 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1910 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1911 --enable-silent-rules less verbose build output (undo: "make V=1")
1912 --disable-silent-rules verbose build output (undo: "make V=0")
1913 --enable-dependency-tracking
1914 do not reject slow dependency extractors
1915 --disable-dependency-tracking
1916 speeds up one-time build
1917 --enable-shared[=PKGS] build shared libraries [default=yes]
1918 --enable-static[=PKGS] build static libraries [default=yes]
1919 --enable-fast-install[=PKGS]
1920 optimize for fast installation [default=yes]
1921 --disable-libtool-lock avoid locking (might break parallel builds)
1922 --enable-strict enable strict checking mode. [default==disabled]
1923 --enable-simple-x11 enable simple x11 linking
1924 --disable-doc Disable documentation build [default=enabled]
1925 --disable-fontconfig disable fontconfig for finding fonts.
1927 --disable-liblinebreak disable linking against liblinebreak.
1929 --disable-fribidi disable bidirectional text support.
1931 --disable-harfbuzz disable complex text shaping and layouting support.
1933 --enable-pixman enable pixman for software rendering.
1935 --enable-pixman-font Allow pixman to render fonts
1936 --enable-pixman-rect Allow pixman to render rects
1937 --enable-pixman-line Allow pixman to render lines
1938 --enable-pixman-poly Allow pixman to render polys
1939 --enable-pixman-image Allow pixman to render images
1940 --enable-pixman-image-scale-sample
1941 Allow pixman to render sampled scaled images
1942 --enable-tile-rotate Enable tiled rotate algorithm
1943 --disable-evas-cserve disable shared cache server support.
1945 --disable-evas-cserve2 disable shared cache server 2 support.
1947 --enable-gl-flavor-gles enable gles flavor of gl instead of standard
1948 --enable-gles-variety-sgx
1949 GLES variety SGX 3D unit
1950 --enable-gles-variety-s3c6410
1951 GLES variety s3c6410 3D unit
1952 --enable-buffer enable Buffer rendering backend
1953 --enable-software-gdi enable Software GDI rendering backend
1954 --enable-software-ddraw enable Software DirectDraw rendering backend
1955 --enable-direct3d enable Direct3D rendering backend
1956 --enable-psl1ght enable PSL1GHT rendering backend
1957 --enable-gl-sdl enable OpenGL SDL rendering backend
1958 --enable-gl-cocoa enable OpenGL Cocoa rendering backend
1959 --enable-fb enable Framebuffer rendering backend
1960 --enable-directfb enable DirectFB rendering backend
1961 --enable-software-8-x11 enable Software X11 8 bits grayscale rendering
1963 --enable-software-16-x11
1964 enable Software X11 16 bits rendering backend
1965 --enable-software-16-wince
1966 enable Software Windows CE 16 bits rendering backend
1967 --enable-software-16-sdl
1968 enable Software SDL 16 bits rendering backend
1969 --enable-wayland-shm enable Wayland Shm rendering backend
1970 --enable-wayland-egl enable Wayland Egl rendering backend
1971 --enable-sdl-primitive
1972 --enable-static-software-generic
1973 Build software generic engine as part of libevas
1974 --enable-software-xcb enable Software XCB Engine. [default=disabled]
1975 --enable-software-xcb enable Software XCB rendering backend
1976 --enable-software-xlib enable Software Xlib rendering backend
1977 --enable-gl-xcb enable OpenGL XCB Engine. [default=disabled]
1978 --enable-gl-xcb enable OpenGL XCB rendering backend
1979 --enable-gl-xlib enable OpenGL XLib rendering backend
1980 --enable-static-software-16
1981 Build software 16 engine as part of libevas
1982 --enable-static-software-8
1983 Build software 8 engine as part of libevas
1984 --enable-image-loader-edb
1985 enable Edb image loader
1986 --enable-image-loader-eet
1987 enable Eet image loader
1988 --disable-font-loader-eet
1989 disable EET font loader. [[default=enabled]]
1990 --enable-image-loader-gif
1991 enable Gif image loader
1992 --enable-image-loader-jpeg
1993 enable Jpeg image loader
1994 --enable-image-loader-pmaps
1995 enable PMAPS image loader
1996 --enable-image-loader-png
1997 enable PNG image loader
1998 --enable-image-loader-svg
1999 enable SVG image loader
2000 --enable-image-loader-tiff
2001 enable Tiff image loader
2002 --enable-image-loader-xpm
2003 enable XPM image loader
2004 --enable-image-loader-bmp
2005 enable BMP image loader
2006 --enable-image-loader-tga
2007 enable TGA image loader
2008 --enable-image-loader-wbmp
2009 enable WBMP image loader
2010 --enable-image-loader-ico
2011 enable ICO image loader
2012 --enable-image-loader-psd
2013 enable PSD image loader
2014 --enable-image-loader-generic
2015 enable GENERIC image loader
2016 --enable-pthreads enable threaded rendering
2017 --enable-async-events enable async events support
2018 --enable-async-preload enable async image preloading support
2019 --enable-cpu-mmx enable mmx code
2020 --enable-cpu-sse enable sse code
2021 --enable-cpu-sse3 enable sse3 code
2022 --enable-cpu-altivec enable altivec code
2023 --enable-cpu-neon build neon code, the code will be checked at run
2024 time to see if the CPU supports it
2025 --enable-cpu-c enable C code
2026 --disable-evas-magic-debug
2027 disable MAGIC_DEBUG check when people pass in wrong
2028 object type. [[default=enabled]]
2029 --disable-scale-sample disable sampling scaler code [default=enabled]
2030 --disable-scale-smooth disable smooth scaler code [default=enabled]
2031 --enable-convert-yuv enable yuv converter code
2032 --enable-small-dither-mask
2033 enable small dither mask [default=disabled]
2034 --enable-line-dither-mask
2035 enable line dither mask [default=disabled]
2036 --enable-no-dither-mask enable conversion to 16bpp without dither mask
2038 --disable-convert-8-rgb-332
2039 disable the 8bpp RGB 332 converter code
2040 --disable-convert-8-rgb-666
2041 disable the 8bpp RGB 666 converter code
2042 --disable-convert-8-rgb-232
2043 disable the 8bpp RGB 232 converter code
2044 --disable-convert-8-rgb-222
2045 disable the 8bpp RGB 222 converter code
2046 --disable-convert-8-rgb-221
2047 disable the 8bpp RGB 221 converter code
2048 --disable-convert-8-rgb-121
2049 disable the 8bpp RGB 121 converter code
2050 --disable-convert-8-rgb-111
2051 disable the 8bpp RGB 111 converter code
2052 --disable-convert-16-rgb-565
2053 disable the 16bpp RGB 565 converter code
2054 --disable-convert-16-bgr-565
2055 disable the 16bpp BGR 565 converter code
2056 --disable-convert-16-rgb-555
2057 disable the 16bpp RGB 555 converter code
2058 --disable-convert-16-rgb-444
2059 disable the 16bpp RGB 444 converter code
2060 --disable-convert-16-rgb-ipq
2061 disable 16bpp 565 (444 ipaq) converter code
2062 --disable-convert-16-rgb-rot-0
2063 disable the 16bpp RGB rotation 0 converter code
2064 --disable-convert-16-rgb-rot-180
2065 disable the 16bpp RGB rotation 180 converter code
2066 --disable-convert-16-rgb-rot-270
2067 disable the 16bpp RGB rotation 270 converter code
2068 --disable-convert-16-rgb-rot-90
2069 disable the 16bpp RGB rotation 90 converter code
2070 --disable-convert-24-rgb-888
2071 disable the 24bpp RGB 888 converter code
2072 --disable-convert-24-bgr-888
2073 disable the 24bpp BGR 888 converter code
2074 --disable-convert-32-rgb-8888
2075 disable the 32bpp RGB 8888 converter code
2076 --disable-convert-32-rgbx-8888
2077 disable the 32bpp RGBX 8888 converter code
2078 --disable-convert-32-bgr-8888
2079 disable the 32bpp BGR 8888 converter code
2080 --disable-convert-32-bgrx-8888
2081 disable the 32bpp BGRX 8888 converter code
2082 --disable-convert-24-rgb-ezx
2083 disable 24bpp 666 (666 ezx) converter code
2084 --disable-convert-32-rgb-ezx
2085 disable 32bpp 666 (666 ezx) converter code
2086 --disable-convert-32-rgb-rot-0
2087 disable the 32bpp RGB rotation 0 converter code
2088 --disable-convert-32-rgb-rot-180
2089 disable the 32bpp RGB rotation 180 converter code
2090 --disable-convert-32-rgb-rot-270
2091 disable the 32bpp RGB rotation 270 converter code
2092 --disable-convert-32-rgb-rot-90
2093 disable the 32bpp RGB rotation 90 converter code
2094 --disable-convert-8-gry-1
2095 disable the 8bpp GRY 1 converter code
2096 --disable-convert-8-gry-16
2097 disable the 8bpp GRY 16 converter code
2098 --disable-convert-8-grayscale-64
2099 disable 8bpp grayscale 64-palette converter code
2100 --enable-valgrind enable valgrind fixes to stop false reports
2101 --disable-install-examples
2102 disable installing examples (compiled or just
2103 source). [default==enabled]
2104 --enable-build-examples enable building examples (this requires extra
2105 denpendencies. if you don't have them installed yet,
2106 don't build with this option or it will fail. build
2107 again when you have it, overriding the previous
2108 installation). [default==disabled]
2109 --enable-tests enable tests [default=disabled]
2110 --enable-coverage enable coverage profiling instrumentation
2114 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2115 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2116 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2118 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2119 --with-sysroot=DIR Search for dependent libraries within DIR
2120 (or the compiler's sysroot if not specified).
2121 --with-doxygen=FILE doxygen program to use [default=doxygen]
2122 --with-x use the X Window System
2124 Some influential environment variables:
2125 CC C compiler command
2126 CFLAGS C compiler flags
2127 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2128 nonstandard directory <lib dir>
2129 LIBS libraries to pass to the linker, e.g. -l<library>
2130 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2131 you have headers in a nonstandard directory <include dir>
2133 OBJC Objective C compiler command
2134 OBJCFLAGS Objective C compiler flags
2135 CXX C++ compiler command
2136 CXXFLAGS C++ compiler flags
2137 CXXCPP C++ preprocessor
2138 PKG_CONFIG path to pkg-config utility
2140 directories to add to pkg-config's search path
2142 path overriding pkg-config's built-in search path
2143 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2144 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2146 C compiler flags for EXOTIC, overriding pkg-config
2147 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2148 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2149 EINA_LIBS linker flags for EINA, overriding pkg-config
2151 C compiler flags for FREETYPE, overriding pkg-config
2153 linker flags for FREETYPE, overriding pkg-config
2155 C compiler flags for FONTCONFIG, overriding pkg-config
2157 linker flags for FONTCONFIG, overriding pkg-config
2159 C compiler flags for FRIBIDI, overriding pkg-config
2161 linker flags for FRIBIDI, overriding pkg-config
2163 C compiler flags for HARFBUZZ, overriding pkg-config
2165 linker flags for HARFBUZZ, overriding pkg-config
2167 C compiler flags for PIXMAN, overriding pkg-config
2168 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2169 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2170 SDL_LIBS linker flags for SDL, overriding pkg-config
2172 C compiler flags for GL_EET, overriding pkg-config
2173 GL_EET_LIBS linker flags for GL_EET, overriding pkg-config
2175 C compiler flags for DIRECTFB, overriding pkg-config
2177 linker flags for DIRECTFB, overriding pkg-config
2178 XCB_CFLAGS C compiler flags for XCB, overriding pkg-config
2179 XCB_LIBS linker flags for XCB, overriding pkg-config
2180 XMKMF Path to xmkmf, Makefile generator for X Window System
2182 C compiler flags for WAYLAND_EGL, overriding pkg-config
2184 linker flags for WAYLAND_EGL, overriding pkg-config
2186 C compiler flags for XCB_GL, overriding pkg-config
2187 XCB_GL_LIBS linker flags for XCB_GL, overriding pkg-config
2188 EDB_CFLAGS C compiler flags for EDB, overriding pkg-config
2189 EDB_LIBS linker flags for EDB, overriding pkg-config
2190 EET_CFLAGS C compiler flags for EET, overriding pkg-config
2191 EET_LIBS linker flags for EET, overriding pkg-config
2192 PNG_CFLAGS C compiler flags for PNG, overriding pkg-config
2193 PNG_LIBS linker flags for PNG, overriding pkg-config
2194 SVG_CFLAGS C compiler flags for SVG, overriding pkg-config
2195 SVG_LIBS linker flags for SVG, overriding pkg-config
2197 C compiler flags for VALGRIND, overriding pkg-config
2199 linker flags for VALGRIND, overriding pkg-config
2201 C compiler flags for ECORE_EVAS, overriding pkg-config
2203 linker flags for ECORE_EVAS, overriding pkg-config
2204 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
2205 EDJE_LIBS linker flags for EDJE, overriding pkg-config
2207 C compiler flags for CHECK, overriding pkg-config
2208 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2210 Use these variables to override the choices made by `configure' or to help
2211 it to find libraries and programs with nonstandard names/locations.
2213 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2218 if test "$ac_init_help" = "recursive"; then
2219 # If there are subdirs, report their specific --help.
2220 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2221 test -d "$ac_dir" ||
2222 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2227 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2229 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2230 # A ".." for each directory in $ac_dir_suffix.
2231 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2232 case $ac_top_builddir_sub in
2233 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2234 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2237 ac_abs_top_builddir=$ac_pwd
2238 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2239 # for backward compatibility:
2240 ac_top_builddir=$ac_top_build_prefix
2243 .) # We are building in place.
2245 ac_top_srcdir=$ac_top_builddir_sub
2246 ac_abs_top_srcdir=$ac_pwd ;;
2247 [\\/]* | ?:[\\/]* ) # Absolute name.
2248 ac_srcdir=$srcdir$ac_dir_suffix;
2249 ac_top_srcdir=$srcdir
2250 ac_abs_top_srcdir=$srcdir ;;
2252 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2253 ac_top_srcdir=$ac_top_build_prefix$srcdir
2254 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2256 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2258 cd "$ac_dir" || { ac_status=$?; continue; }
2259 # Check for guested configure.
2260 if test -f "$ac_srcdir/configure.gnu"; then
2262 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2263 elif test -f "$ac_srcdir/configure"; then
2265 $SHELL "$ac_srcdir/configure" --help=recursive
2267 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2269 cd "$ac_pwd" || { ac_status=$?; break; }
2273 test -n "$ac_init_help" && exit $ac_status
2274 if $ac_init_version; then
2276 evas configure 1.7.8
2277 generated by GNU Autoconf 2.69
2279 Copyright (C) 2012 Free Software Foundation, Inc.
2280 This configure script is free software; the Free Software Foundation
2281 gives unlimited permission to copy, distribute and modify it.
2286 ## ------------------------ ##
2287 ## Autoconf initialization. ##
2288 ## ------------------------ ##
2290 # ac_fn_c_try_compile LINENO
2291 # --------------------------
2292 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2293 ac_fn_c_try_compile ()
2295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2296 rm -f conftest.$ac_objext
2297 if { { ac_try="$ac_compile"
2299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300 *) ac_try_echo=$ac_try;;
2302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2303 $as_echo "$ac_try_echo"; } >&5
2304 (eval "$ac_compile") 2>conftest.err
2306 if test -s conftest.err; then
2307 grep -v '^ *+' conftest.err >conftest.er1
2308 cat conftest.er1 >&5
2309 mv -f conftest.er1 conftest.err
2311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312 test $ac_status = 0; } && {
2313 test -z "$ac_c_werror_flag" ||
2314 test ! -s conftest.err
2315 } && test -s conftest.$ac_objext; then :
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324 as_fn_set_status $ac_retval
2326 } # ac_fn_c_try_compile
2328 # ac_fn_c_try_cpp LINENO
2329 # ----------------------
2330 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2333 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2334 if { { ac_try="$ac_cpp conftest.$ac_ext"
2336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2337 *) ac_try_echo=$ac_try;;
2339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2340 $as_echo "$ac_try_echo"; } >&5
2341 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2343 if test -s conftest.err; then
2344 grep -v '^ *+' conftest.err >conftest.er1
2345 cat conftest.er1 >&5
2346 mv -f conftest.er1 conftest.err
2348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2349 test $ac_status = 0; } > conftest.i && {
2350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2351 test ! -s conftest.err
2355 $as_echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2361 as_fn_set_status $ac_retval
2365 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2366 # -------------------------------------------------------
2367 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2368 # the include files in INCLUDES and setting the cache variable VAR
2370 ac_fn_c_check_header_mongrel ()
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 if eval \${$3+:} false; then :
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2375 $as_echo_n "checking for $2... " >&6; }
2376 if eval \${$3+:} false; then :
2377 $as_echo_n "(cached) " >&6
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2381 $as_echo "$ac_res" >&6; }
2383 # Is the header compilable?
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2385 $as_echo_n "checking $2 usability... " >&6; }
2386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2391 if ac_fn_c_try_compile "$LINENO"; then :
2392 ac_header_compiler=yes
2394 ac_header_compiler=no
2396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2398 $as_echo "$ac_header_compiler" >&6; }
2400 # Is the header present?
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2402 $as_echo_n "checking $2 presence... " >&6; }
2403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2407 if ac_fn_c_try_cpp "$LINENO"; then :
2408 ac_header_preproc=yes
2410 ac_header_preproc=no
2412 rm -f conftest.err conftest.i conftest.$ac_ext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2414 $as_echo "$ac_header_preproc" >&6; }
2416 # So? What about this header?
2417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2420 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2422 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2426 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2428 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2430 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2432 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2434 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2435 ( $as_echo "## -------------------------------------------------------- ##
2436 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2437 ## -------------------------------------------------------- ##"
2438 ) | sed "s/^/$as_me: WARNING: /" >&2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2442 $as_echo_n "checking for $2... " >&6; }
2443 if eval \${$3+:} false; then :
2444 $as_echo_n "(cached) " >&6
2446 eval "$3=\$ac_header_compiler"
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2450 $as_echo "$ac_res" >&6; }
2452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454 } # ac_fn_c_check_header_mongrel
2456 # ac_fn_c_try_run LINENO
2457 # ----------------------
2458 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2459 # that executables *can* be run.
2462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463 if { { ac_try="$ac_link"
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_link") 2>&5
2472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2473 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2474 { { case "(($ac_try" in
2475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476 *) ac_try_echo=$ac_try;;
2478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2479 $as_echo "$ac_try_echo"; } >&5
2480 (eval "$ac_try") 2>&5
2482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483 test $ac_status = 0; }; }; then :
2486 $as_echo "$as_me: program exited with status $ac_status" >&5
2487 $as_echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.$ac_ext >&5
2490 ac_retval=$ac_status
2492 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 as_fn_set_status $ac_retval
2498 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2499 # -------------------------------------------------------
2500 # Tests whether HEADER exists and can be compiled using the include files in
2501 # INCLUDES, setting the cache variable VAR accordingly.
2502 ac_fn_c_check_header_compile ()
2504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2506 $as_echo_n "checking for $2... " >&6; }
2507 if eval \${$3+:} false; then :
2508 $as_echo_n "(cached) " >&6
2510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2511 /* end confdefs.h. */
2515 if ac_fn_c_try_compile "$LINENO"; then :
2520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2524 $as_echo "$ac_res" >&6; }
2525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 } # ac_fn_c_check_header_compile
2529 # ac_fn_c_try_link LINENO
2530 # -----------------------
2531 # Try to link conftest.$ac_ext, and return whether this succeeded.
2534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2535 rm -f conftest.$ac_objext conftest$ac_exeext
2536 if { { ac_try="$ac_link"
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2542 $as_echo "$ac_try_echo"; } >&5
2543 (eval "$ac_link") 2>conftest.err
2545 if test -s conftest.err; then
2546 grep -v '^ *+' conftest.err >conftest.er1
2547 cat conftest.er1 >&5
2548 mv -f conftest.er1 conftest.err
2550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2551 test $ac_status = 0; } && {
2552 test -z "$ac_c_werror_flag" ||
2553 test ! -s conftest.err
2554 } && test -s conftest$ac_exeext && {
2555 test "$cross_compiling" = yes ||
2556 test -x conftest$ac_exeext
2560 $as_echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.$ac_ext >&5
2565 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2566 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2567 # interfere with the next link command; also delete a directory that is
2568 # left behind by Apple's compiler. We do this before executing the actions.
2569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 as_fn_set_status $ac_retval
2573 } # ac_fn_c_try_link
2575 # ac_fn_c_check_func LINENO FUNC VAR
2576 # ----------------------------------
2577 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2578 ac_fn_c_check_func ()
2580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2582 $as_echo_n "checking for $2... " >&6; }
2583 if eval \${$3+:} false; then :
2584 $as_echo_n "(cached) " >&6
2586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2588 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2590 #define $2 innocuous_$2
2592 /* System header to define __stub macros and hopefully few prototypes,
2593 which can conflict with char $2 (); below.
2594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2595 <limits.h> exists even on freestanding compilers. */
2598 # include <limits.h>
2600 # include <assert.h>
2605 /* Override any GCC internal prototype to avoid an error.
2606 Use char because int might match the return type of a GCC
2607 builtin and then its argument prototype would still apply. */
2612 /* The GNU C library defines this for functions which it implements
2613 to always fail with ENOSYS. Some functions are actually named
2614 something starting with __ and the normal name is an alias. */
2615 #if defined __stub_$2 || defined __stub___$2
2627 if ac_fn_c_try_link "$LINENO"; then :
2632 rm -f core conftest.err conftest.$ac_objext \
2633 conftest$ac_exeext conftest.$ac_ext
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2637 $as_echo "$ac_res" >&6; }
2638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2640 } # ac_fn_c_check_func
2642 # ac_fn_objc_try_compile LINENO
2643 # -----------------------------
2644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_objc_try_compile ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 rm -f conftest.$ac_objext
2649 if { { ac_try="$ac_compile"
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_compile") 2>conftest.err
2658 if test -s conftest.err; then
2659 grep -v '^ *+' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 mv -f conftest.er1 conftest.err
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && {
2665 test -z "$ac_objc_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then :
2670 $as_echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 as_fn_set_status $ac_retval
2678 } # ac_fn_objc_try_compile
2680 # ac_fn_objc_try_link LINENO
2681 # --------------------------
2682 # Try to link conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_objc_try_link ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 rm -f conftest.$ac_objext conftest$ac_exeext
2687 if { { ac_try="$ac_link"
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_link") 2>conftest.err
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } && {
2703 test -z "$ac_objc_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest$ac_exeext && {
2706 test "$cross_compiling" = yes ||
2707 test -x conftest$ac_exeext
2711 $as_echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2716 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2717 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2718 # interfere with the next link command; also delete a directory that is
2719 # left behind by Apple's compiler. We do this before executing the actions.
2720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722 as_fn_set_status $ac_retval
2724 } # ac_fn_objc_try_link
2726 # ac_fn_cxx_try_compile LINENO
2727 # ----------------------------
2728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2729 ac_fn_cxx_try_compile ()
2731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2732 rm -f conftest.$ac_objext
2733 if { { ac_try="$ac_compile"
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740 (eval "$ac_compile") 2>conftest.err
2742 if test -s conftest.err; then
2743 grep -v '^ *+' conftest.err >conftest.er1
2744 cat conftest.er1 >&5
2745 mv -f conftest.er1 conftest.err
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; } && {
2749 test -z "$ac_cxx_werror_flag" ||
2750 test ! -s conftest.err
2751 } && test -s conftest.$ac_objext; then :
2754 $as_echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2760 as_fn_set_status $ac_retval
2762 } # ac_fn_cxx_try_compile
2764 # ac_fn_cxx_try_cpp LINENO
2765 # ------------------------
2766 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2767 ac_fn_cxx_try_cpp ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 if { { ac_try="$ac_cpp conftest.$ac_ext"
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2776 $as_echo "$ac_try_echo"; } >&5
2777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2779 if test -s conftest.err; then
2780 grep -v '^ *+' conftest.err >conftest.er1
2781 cat conftest.er1 >&5
2782 mv -f conftest.er1 conftest.err
2784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2785 test $ac_status = 0; } > conftest.i && {
2786 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2787 test ! -s conftest.err
2791 $as_echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.$ac_ext >&5
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_cxx_try_cpp
2801 # ac_fn_cxx_try_link LINENO
2802 # -------------------------
2803 # Try to link conftest.$ac_ext, and return whether this succeeded.
2804 ac_fn_cxx_try_link ()
2806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2807 rm -f conftest.$ac_objext conftest$ac_exeext
2808 if { { ac_try="$ac_link"
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2814 $as_echo "$ac_try_echo"; } >&5
2815 (eval "$ac_link") 2>conftest.err
2817 if test -s conftest.err; then
2818 grep -v '^ *+' conftest.err >conftest.er1
2819 cat conftest.er1 >&5
2820 mv -f conftest.er1 conftest.err
2822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823 test $ac_status = 0; } && {
2824 test -z "$ac_cxx_werror_flag" ||
2825 test ! -s conftest.err
2826 } && test -s conftest$ac_exeext && {
2827 test "$cross_compiling" = yes ||
2828 test -x conftest$ac_exeext
2832 $as_echo "$as_me: failed program was:" >&5
2833 sed 's/^/| /' conftest.$ac_ext >&5
2837 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2838 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2839 # interfere with the next link command; also delete a directory that is
2840 # left behind by Apple's compiler. We do this before executing the actions.
2841 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 as_fn_set_status $ac_retval
2845 } # ac_fn_cxx_try_link
2847 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2848 # --------------------------------------------
2849 # Tries to find the compile-time value of EXPR in a program that includes
2850 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2852 ac_fn_c_compute_int ()
2854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 if test "$cross_compiling" = yes; then
2856 # Depending upon the size, compute the lo and hi bounds.
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2863 static int test_array [1 - 2 * !(($2) >= 0)];
2865 return test_array [0];
2871 if ac_fn_c_try_compile "$LINENO"; then :
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2880 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2882 return test_array [0];
2888 if ac_fn_c_try_compile "$LINENO"; then :
2889 ac_hi=$ac_mid; break
2891 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2892 if test $ac_lo -le $ac_mid; then
2896 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2907 static int test_array [1 - 2 * !(($2) < 0)];
2909 return test_array [0];
2915 if ac_fn_c_try_compile "$LINENO"; then :
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2924 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2926 return test_array [0];
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 ac_lo=$ac_mid; break
2935 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2936 if test $ac_mid -le $ac_hi; then
2940 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 # Binary search between lo and hi bounds.
2951 while test "x$ac_lo" != "x$ac_hi"; do
2952 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h. */
2959 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2961 return test_array [0];
2967 if ac_fn_c_try_compile "$LINENO"; then :
2970 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2982 static long int longval () { return $2; }
2983 static unsigned long int ulongval () { return $2; }
2990 FILE *f = fopen ("conftest.val", "w");
2995 long int i = longval ();
2998 fprintf (f, "%ld", i);
3002 unsigned long int i = ulongval ();
3005 fprintf (f, "%lu", i);
3007 /* Do not output a trailing newline, as this causes \r\n confusion
3008 on some platforms. */
3009 return ferror (f) || fclose (f) != 0;
3015 if ac_fn_c_try_run "$LINENO"; then :
3016 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3020 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3021 conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3026 as_fn_set_status $ac_retval
3028 } # ac_fn_c_compute_int
3030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3031 # -------------------------------------------
3032 # Tests whether TYPE exists after having included INCLUDES, setting cache
3033 # variable VAR accordingly.
3034 ac_fn_c_check_type ()
3036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3038 $as_echo_n "checking for $2... " >&6; }
3039 if eval \${$3+:} false; then :
3040 $as_echo_n "(cached) " >&6
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3055 if ac_fn_c_try_compile "$LINENO"; then :
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3068 if ac_fn_c_try_compile "$LINENO"; then :
3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3079 $as_echo "$ac_res" >&6; }
3080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3082 } # ac_fn_c_check_type
3084 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3085 # ---------------------------------------------
3086 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3088 ac_fn_c_check_decl ()
3090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3091 as_decl_name=`echo $2|sed 's/ *(.*//'`
3092 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3094 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3095 if eval \${$3+:} false; then :
3096 $as_echo_n "(cached) " >&6
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3104 #ifndef $as_decl_name
3106 (void) $as_decl_use;
3108 (void) $as_decl_name;
3116 if ac_fn_c_try_compile "$LINENO"; then :
3121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 $as_echo "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_decl
3129 cat >config.log <<_ACEOF
3130 This file contains any messages produced by compilers while
3131 running configure, to aid debugging if configure makes a mistake.
3133 It was created by evas $as_me 1.7.8, which was
3134 generated by GNU Autoconf 2.69. Invocation command line was
3146 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3147 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3148 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3149 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3150 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3152 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3153 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3155 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3156 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3157 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3158 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3159 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3160 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3161 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 $as_echo "PATH: $as_dir"
3186 # Keep a trace of the command line.
3187 # Strip out --no-create and --no-recursion so they do not pile up.
3188 # Strip out --silent because we don't want to record it for future runs.
3189 # Also quote any args containing shell meta-characters.
3190 # Make two passes to allow for proper duplicate-argument suppression.
3194 ac_must_keep_next=false
3200 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3202 | -silent | --silent | --silen | --sile | --sil)
3205 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3208 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3210 as_fn_append ac_configure_args1 " '$ac_arg'"
3211 if test $ac_must_keep_next = true; then
3212 ac_must_keep_next=false # Got value, back to normal.
3215 *=* | --config-cache | -C | -disable-* | --disable-* \
3216 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3217 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3218 | -with-* | --with-* | -without-* | --without-* | --x)
3219 case "$ac_configure_args0 " in
3220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3223 -* ) ac_must_keep_next=true ;;
3226 as_fn_append ac_configure_args " '$ac_arg'"
3231 { ac_configure_args0=; unset ac_configure_args0;}
3232 { ac_configure_args1=; unset ac_configure_args1;}
3234 # When interrupted or exit'd, cleanup temporary files, and complete
3235 # config.log. We remove comments because anyway the quotes in there
3236 # would cause problems or look ugly.
3237 # WARNING: Use '\'' to represent an apostrophe within the trap.
3238 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3239 trap 'exit_status=$?
3240 # Save into config.log some information that might help in debugging.
3244 $as_echo "## ---------------- ##
3245 ## Cache variables. ##
3246 ## ---------------- ##"
3248 # The following way of writing the cache mishandles newlines in values,
3250 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3251 eval ac_val=\$$ac_var
3255 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3256 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3259 _ | IFS | as_nl) ;; #(
3260 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3261 *) { eval $ac_var=; unset $ac_var;} ;;
3266 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3267 *${as_nl}ac_space=\ *)
3269 "s/'\''/'\''\\\\'\'''\''/g;
3270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3280 $as_echo "## ----------------- ##
3281 ## Output variables. ##
3282 ## ----------------- ##"
3284 for ac_var in $ac_subst_vars
3286 eval ac_val=\$$ac_var
3288 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3290 $as_echo "$ac_var='\''$ac_val'\''"
3294 if test -n "$ac_subst_files"; then
3295 $as_echo "## ------------------- ##
3296 ## File substitutions. ##
3297 ## ------------------- ##"
3299 for ac_var in $ac_subst_files
3301 eval ac_val=\$$ac_var
3303 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3305 $as_echo "$ac_var='\''$ac_val'\''"
3310 if test -s confdefs.h; then
3311 $as_echo "## ----------- ##
3318 test "$ac_signal" != 0 &&
3319 $as_echo "$as_me: caught signal $ac_signal"
3320 $as_echo "$as_me: exit $exit_status"
3322 rm -f core *.core core.conftest.* &&
3323 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3326 for ac_signal in 1 2 13 15; do
3327 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3332 rm -f -r conftest* confdefs.h
3334 $as_echo "/* confdefs.h */" > confdefs.h
3336 # Predefined preprocessor variables.
3338 cat >>confdefs.h <<_ACEOF
3339 #define PACKAGE_NAME "$PACKAGE_NAME"
3342 cat >>confdefs.h <<_ACEOF
3343 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3346 cat >>confdefs.h <<_ACEOF
3347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3350 cat >>confdefs.h <<_ACEOF
3351 #define PACKAGE_STRING "$PACKAGE_STRING"
3354 cat >>confdefs.h <<_ACEOF
3355 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3358 cat >>confdefs.h <<_ACEOF
3359 #define PACKAGE_URL "$PACKAGE_URL"
3363 # Let the site file select an alternate cache file if it wants to.
3364 # Prefer an explicitly selected file to automatically selected ones.
3367 if test -n "$CONFIG_SITE"; then
3368 # We do not want a PATH search for config.site.
3369 case $CONFIG_SITE in #((
3370 -*) ac_site_file1=./$CONFIG_SITE;;
3371 */*) ac_site_file1=$CONFIG_SITE;;
3372 *) ac_site_file1=./$CONFIG_SITE;;
3374 elif test "x$prefix" != xNONE; then
3375 ac_site_file1=$prefix/share/config.site
3376 ac_site_file2=$prefix/etc/config.site
3378 ac_site_file1=$ac_default_prefix/share/config.site
3379 ac_site_file2=$ac_default_prefix/etc/config.site
3381 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3383 test "x$ac_site_file" = xNONE && continue
3384 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3386 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3387 sed 's/^/| /' "$ac_site_file" >&5
3389 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "failed to load site script $ac_site_file
3392 See \`config.log' for more details" "$LINENO" 5; }
3396 if test -r "$cache_file"; then
3397 # Some versions of bash will fail to source /dev/null (special files
3398 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3399 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3401 $as_echo "$as_me: loading cache $cache_file" >&6;}
3403 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3404 *) . "./$cache_file";;
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3409 $as_echo "$as_me: creating cache $cache_file" >&6;}
3413 # Check that the precious variables saved in the cache have kept the same
3415 ac_cache_corrupted=false
3416 for ac_var in $ac_precious_vars; do
3417 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3418 eval ac_new_set=\$ac_env_${ac_var}_set
3419 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3420 eval ac_new_val=\$ac_env_${ac_var}_value
3421 case $ac_old_set,$ac_new_set in
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3424 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3425 ac_cache_corrupted=: ;;
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3428 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3429 ac_cache_corrupted=: ;;
3432 if test "x$ac_old_val" != "x$ac_new_val"; then
3433 # differences in whitespace do not lead to failure.
3434 ac_old_val_w=`echo x $ac_old_val`
3435 ac_new_val_w=`echo x $ac_new_val`
3436 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3438 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3439 ac_cache_corrupted=:
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3442 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3443 eval $ac_var=\$ac_old_val
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3446 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3448 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3451 # Pass precious variables to config.status.
3452 if test "$ac_new_set" = set; then
3454 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3455 *) ac_arg=$ac_var=$ac_new_val ;;
3457 case " $ac_configure_args " in
3458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3459 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3463 if $ac_cache_corrupted; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3467 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3468 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3470 ## -------------------- ##
3471 ## Main body of script. ##
3472 ## -------------------- ##
3475 ac_cpp='$CPP $CPPFLAGS'
3476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485 ac_config_headers="$ac_config_headers config.h"
3490 am__api_version='1.12'
3493 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3494 if test -f "$ac_dir/install-sh"; then
3496 ac_install_sh="$ac_aux_dir/install-sh -c"
3498 elif test -f "$ac_dir/install.sh"; then
3500 ac_install_sh="$ac_aux_dir/install.sh -c"
3502 elif test -f "$ac_dir/shtool"; then
3504 ac_install_sh="$ac_aux_dir/shtool install -c"
3508 if test -z "$ac_aux_dir"; then
3509 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3512 # These three variables are undocumented and unsupported,
3513 # and are intended to be withdrawn in a future Autoconf release.
3514 # They can cause serious problems if a builder's source tree is in a directory
3515 # whose full name contains unusual characters.
3516 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3517 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3518 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3521 # Find a good install program. We prefer a C program (faster),
3522 # so one script is as good as another. But avoid the broken or
3523 # incompatible versions:
3524 # SysV /etc/install, /usr/sbin/install
3525 # SunOS /usr/etc/install
3526 # IRIX /sbin/install
3528 # AmigaOS /C/install, which installs bootblocks on floppy discs
3529 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3530 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3531 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3532 # OS/2's system install, which has a completely different semantic
3533 # ./install, which can be erroneously created by make from ./install.sh.
3534 # Reject install programs that cannot install multiple files.
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3536 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3537 if test -z "$INSTALL"; then
3538 if ${ac_cv_path_install+:} false; then :
3539 $as_echo_n "(cached) " >&6
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir=.
3546 # Account for people who put trailing slashes in PATH elements.
3547 case $as_dir/ in #((
3548 ./ | .// | /[cC]/* | \
3549 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3550 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3553 # OSF1 and SCO ODT 3.0 have their own names for install.
3554 # Don't use installbsd from OSF since it installs stuff as root
3556 for ac_prog in ginstall scoinst install; do
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3559 if test $ac_prog = install &&
3560 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3561 # AIX install. It has an incompatible calling convention.
3563 elif test $ac_prog = install &&
3564 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3565 # program-specific install script used by HP pwplus--don't use.
3568 rm -rf conftest.one conftest.two conftest.dir
3569 echo one > conftest.one
3570 echo two > conftest.two
3572 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3573 test -s conftest.one && test -s conftest.two &&
3574 test -s conftest.dir/conftest.one &&
3575 test -s conftest.dir/conftest.two
3577 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3590 rm -rf conftest.one conftest.two conftest.dir
3593 if test "${ac_cv_path_install+set}" = set; then
3594 INSTALL=$ac_cv_path_install
3596 # As a last resort, use the slow shell script. Don't cache a
3597 # value for INSTALL within a source directory, because that will
3598 # break other packages using the cache if that directory is
3599 # removed, or if the value is a relative name.
3600 INSTALL=$ac_install_sh
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3604 $as_echo "$INSTALL" >&6; }
3606 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3607 # It thinks the first close brace ends the variable substitution.
3608 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3610 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3612 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3615 $as_echo_n "checking whether build environment is sane... " >&6; }
3616 # Reject unsafe characters in $srcdir or the absolute working directory
3617 # name. Accept space and tab only in the latter.
3621 *[\\\"\#\$\&\'\`$am_lf]*)
3622 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3625 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3626 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3629 # Do 'set' in a subshell so we don't clobber the current shell's
3630 # arguments. Must try -L first in case configure is actually a
3631 # symlink; some systems play weird games with the mod time of symlinks
3632 # (eg FreeBSD returns the mod time of the symlink's containing
3636 for am_try in 1 2; do
3637 echo "timestamp, slept: $am_has_slept" > conftest.file
3638 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3639 if test "$*" = "X"; then
3641 set X `ls -t "$srcdir/configure" conftest.file`
3643 if test "$*" != "X $srcdir/configure conftest.file" \
3644 && test "$*" != "X conftest.file $srcdir/configure"; then
3646 # If neither matched, then we have a broken ls. This can happen
3647 # if, for instance, CONFIG_SHELL is bash and it inherits a
3648 # broken ls alias from the environment. This has actually
3649 # happened. Such a system could not be considered "sane".
3650 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3651 alias in your environment" "$LINENO" 5
3653 if test "$2" = conftest.file || test $am_try -eq 2; then
3660 test "$2" = conftest.file
3666 as_fn_error $? "newly created file is older than distributed files!
3667 Check your system clock" "$LINENO" 5
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3670 $as_echo "yes" >&6; }
3671 # If we didn't sleep, we still need to ensure time stamps of config.status and
3672 # generated files are strictly newer.
3674 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3681 test "$program_prefix" != NONE &&
3682 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3683 # Use a double $ so make ignores it.
3684 test "$program_suffix" != NONE &&
3685 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3686 # Double any \ or $.
3687 # By default was `s,x,x', remove it if useless.
3688 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3689 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3691 # expand $ac_aux_dir to an absolute path
3692 am_aux_dir=`cd $ac_aux_dir && pwd`
3694 if test x"${MISSING+set}" != xset; then
3697 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3699 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3702 # Use eval to expand $SHELL
3703 if eval "$MISSING --is-lightweight"; then
3704 am_missing_run="$MISSING "
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3708 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3711 if test x"${install_sh}" != xset; then
3714 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3716 install_sh="\${SHELL} $am_aux_dir/install-sh"
3720 # Installed binaries are usually stripped using 'strip' when the user
3721 # run "make install-strip". However 'strip' might not be the right
3722 # tool to use in cross-compilation environments, therefore Automake
3723 # will honor the 'STRIP' environment variable to overrule this program.
3724 if test "$cross_compiling" != no; then
3725 if test -n "$ac_tool_prefix"; then
3726 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3727 set dummy ${ac_tool_prefix}strip; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_STRIP+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$STRIP"; then
3734 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 STRIP=$ac_cv_prog_STRIP
3754 if test -n "$STRIP"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3756 $as_echo "$STRIP" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3764 if test -z "$ac_cv_prog_STRIP"; then
3766 # Extract the first word of "strip", so it can be a program name with args.
3767 set dummy strip; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$ac_ct_STRIP"; then
3774 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_prog_ac_ct_STRIP="strip"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3794 if test -n "$ac_ct_STRIP"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3796 $as_echo "$ac_ct_STRIP" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3802 if test "x$ac_ct_STRIP" = x; then
3805 case $cross_compiling:$ac_tool_warned in
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3809 ac_tool_warned=yes ;;
3814 STRIP="$ac_cv_prog_STRIP"
3818 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3821 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3822 if test -z "$MKDIR_P"; then
3823 if ${ac_cv_path_mkdir+:} false; then :
3824 $as_echo_n "(cached) " >&6
3826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3827 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3830 test -z "$as_dir" && as_dir=.
3831 for ac_prog in mkdir gmkdir; do
3832 for ac_exec_ext in '' $ac_executable_extensions; do
3833 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3834 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3835 'mkdir (GNU coreutils) '* | \
3836 'mkdir (coreutils) '* | \
3837 'mkdir (fileutils) '4.1*)
3838 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3848 test -d ./--version && rmdir ./--version
3849 if test "${ac_cv_path_mkdir+set}" = set; then
3850 MKDIR_P="$ac_cv_path_mkdir -p"
3852 # As a last resort, use the slow shell script. Don't cache a
3853 # value for MKDIR_P within a source directory, because that will
3854 # break other packages using the cache if that directory is
3855 # removed, or if the value is a relative name.
3856 MKDIR_P="$ac_install_sh -d"
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3860 $as_echo "$MKDIR_P" >&6; }
3862 for ac_prog in gawk mawk nawk awk
3864 # Extract the first word of "$ac_prog", so it can be a program name with args.
3865 set dummy $ac_prog; ac_word=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if ${ac_cv_prog_AWK+:} false; then :
3869 $as_echo_n "(cached) " >&6
3871 if test -n "$AWK"; then
3872 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_AWK="$ac_prog"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 if test -n "$AWK"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3894 $as_echo "$AWK" >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3901 test -n "$AWK" && break
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3905 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3907 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3908 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3909 $as_echo_n "(cached) " >&6
3911 cat >conftest.make <<\_ACEOF
3914 @echo '@@@%%%=$(MAKE)=@@@%%%'
3916 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3919 eval ac_cv_prog_make_${ac_make}_set=yes;;
3921 eval ac_cv_prog_make_${ac_make}_set=no;;
3925 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3927 $as_echo "yes" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3932 SET_MAKE="MAKE=${MAKE-make}"
3935 rm -rf .tst 2>/dev/null
3936 mkdir .tst 2>/dev/null
3937 if test -d .tst; then
3942 rmdir .tst 2>/dev/null
3944 # Check whether --enable-silent-rules was given.
3945 if test "${enable_silent_rules+set}" = set; then :
3946 enableval=$enable_silent_rules;
3949 case $enable_silent_rules in # (((
3950 yes) AM_DEFAULT_VERBOSITY=0;;
3951 no) AM_DEFAULT_VERBOSITY=1;;
3952 *) AM_DEFAULT_VERBOSITY=1;;
3954 am_make=${MAKE-make}
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3956 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3957 if ${am_cv_make_support_nested_variables+:} false; then :
3958 $as_echo_n "(cached) " >&6
3960 if $as_echo 'TRUE=$(BAR$(V))
3966 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3967 am_cv_make_support_nested_variables=yes
3969 am_cv_make_support_nested_variables=no
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3973 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3974 if test $am_cv_make_support_nested_variables = yes; then
3976 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3978 AM_V=$AM_DEFAULT_VERBOSITY
3979 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3983 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3984 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3985 # is not polluted with repeated "-I."
3986 am__isrc=' -I$(srcdir)'
3987 # test to see if srcdir already configured
3988 if test -f $srcdir/config.status; then
3989 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3993 # test whether we have cygpath
3994 if test -z "$CYGPATH_W"; then
3995 if (cygpath --version) >/dev/null 2>/dev/null; then
3996 CYGPATH_W='cygpath -w'
4003 # Define the identity of the package.
4008 cat >>confdefs.h <<_ACEOF
4009 #define PACKAGE "$PACKAGE"
4013 cat >>confdefs.h <<_ACEOF
4014 #define VERSION "$VERSION"
4017 # Some tools Automake needs.
4019 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4022 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4025 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4028 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4031 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4033 # For better backward compatibility. To be removed once Automake 1.9.x
4034 # dies out for good. For more background, see:
4035 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4036 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4037 mkdir_p='$(MKDIR_P)'
4039 # We need awk for the "check" target. The system "awk" is bad on
4041 # Always define AMTAR for backward compatibility. Yes, it's still used
4042 # in the wild :-( We should find a proper way to deprecate it ...
4046 # We'll loop over all known methods to create a tar archive until one works.
4047 _am_tools='gnutar pax cpio none'
4049 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4056 # Check whether --enable-silent-rules was given.
4057 if test "${enable_silent_rules+set}" = set; then :
4058 enableval=$enable_silent_rules;
4061 case $enable_silent_rules in # (((
4062 yes) AM_DEFAULT_VERBOSITY=0;;
4063 no) AM_DEFAULT_VERBOSITY=1;;
4064 *) AM_DEFAULT_VERBOSITY=0;;
4066 am_make=${MAKE-make}
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4068 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4069 if ${am_cv_make_support_nested_variables+:} false; then :
4070 $as_echo_n "(cached) " >&6
4072 if $as_echo 'TRUE=$(BAR$(V))
4078 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4079 am_cv_make_support_nested_variables=yes
4081 am_cv_make_support_nested_variables=no
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4085 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4086 if test $am_cv_make_support_nested_variables = yes; then
4088 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4090 AM_V=$AM_DEFAULT_VERBOSITY
4091 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4096 DEPDIR="${am__leading_dot}deps"
4098 ac_config_commands="$ac_config_commands depfiles"
4101 am_make=${MAKE-make}
4102 cat > confinc << 'END'
4104 @echo this is the am__doit target
4107 # If we don't find an include directive, just comment out the code.
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4109 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4113 # First try GNU make style include.
4114 echo "include confinc" > confmf
4115 # Ignore all kinds of additional output from 'make'.
4116 case `$am_make -s -f confmf 2> /dev/null` in #(
4117 *the\ am__doit\ target*)
4123 # Now try BSD make style include.
4124 if test "$am__include" = "#"; then
4125 echo '.include "confinc"' > confmf
4126 case `$am_make -s -f confmf 2> /dev/null` in #(
4127 *the\ am__doit\ target*)
4128 am__include=.include
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4137 $as_echo "$_am_result" >&6; }
4138 rm -f confinc confmf
4140 # Check whether --enable-dependency-tracking was given.
4141 if test "${enable_dependency_tracking+set}" = set; then :
4142 enableval=$enable_dependency_tracking;
4145 if test "x$enable_dependency_tracking" != xno; then
4146 am_depcomp="$ac_aux_dir/depcomp"
4150 if test "x$enable_dependency_tracking" != xno; then
4160 ac_cpp='$CPP $CPPFLAGS'
4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164 if test -n "$ac_tool_prefix"; then
4165 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4166 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168 $as_echo_n "checking for $ac_word... " >&6; }
4169 if ${ac_cv_prog_CC+:} false; then :
4170 $as_echo_n "(cached) " >&6
4172 if test -n "$CC"; then
4173 ac_cv_prog_CC="$CC" # Let the user override the test.
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193 if test -n "$CC"; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4195 $as_echo "$CC" >&6; }
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4203 if test -z "$ac_cv_prog_CC"; then
4205 # Extract the first word of "gcc", so it can be a program name with args.
4206 set dummy gcc; ac_word=$2
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4210 $as_echo_n "(cached) " >&6
4212 if test -n "$ac_ct_CC"; then
4213 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir=.
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4222 ac_cv_prog_ac_ct_CC="gcc"
4223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4233 if test -n "$ac_ct_CC"; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4235 $as_echo "$ac_ct_CC" >&6; }
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4241 if test "x$ac_ct_CC" = x; then
4244 case $cross_compiling:$ac_tool_warned in
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned=yes ;;
4256 if test -z "$CC"; then
4257 if test -n "$ac_tool_prefix"; then
4258 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4259 set dummy ${ac_tool_prefix}cc; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_CC+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$CC"; then
4266 ac_cv_prog_CC="$CC" # Let the user override the test.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_CC="${ac_tool_prefix}cc"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 if test -n "$CC"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4288 $as_echo "$CC" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4297 if test -z "$CC"; then
4298 # Extract the first word of "cc", so it can be a program name with args.
4299 set dummy cc; ac_word=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if ${ac_cv_prog_CC+:} false; then :
4303 $as_echo_n "(cached) " >&6
4305 if test -n "$CC"; then
4306 ac_cv_prog_CC="$CC" # Let the user override the test.
4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir=.
4314 for ac_exec_ext in '' $ac_executable_extensions; do
4315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4316 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4317 ac_prog_rejected=yes
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 if test $ac_prog_rejected = yes; then
4329 # We found a bogon in the path, so make sure we never use it.
4330 set dummy $ac_cv_prog_CC
4332 if test $# != 0; then
4333 # We chose a different compiler from the bogus one.
4334 # However, it has the same basename, so the bogon will be chosen
4335 # first if we set CC to just the basename; use the full file name.
4337 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4343 if test -n "$CC"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4345 $as_echo "$CC" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4353 if test -z "$CC"; then
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in cl.exe
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if ${ac_cv_prog_CC+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 if test -n "$CC"; then
4365 ac_cv_prog_CC="$CC" # Let the user override the test.
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4374 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 if test -n "$CC"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4387 $as_echo "$CC" >&6; }
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CC" && break
4397 if test -z "$CC"; then
4399 for ac_prog in cl.exe
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$ac_ct_CC"; then
4409 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4418 ac_cv_prog_ac_ct_CC="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4429 if test -n "$ac_ct_CC"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4431 $as_echo "$ac_ct_CC" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CC" && break
4441 if test "x$ac_ct_CC" = x; then
4444 case $cross_compiling:$ac_tool_warned in
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4457 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4459 as_fn_error $? "no acceptable C compiler found in \$PATH
4460 See \`config.log' for more details" "$LINENO" 5; }
4462 # Provide some information about the compiler.
4463 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4466 for ac_option in --version -v -V -qversion; do
4467 { { ac_try="$ac_compiler $ac_option >&5"
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 if test -s conftest.err; then
4478 ... rest of stderr output deleted ...
4479 10q' conftest.err >conftest.er1
4480 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4484 test $ac_status = 0; }
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4498 ac_clean_files_save=$ac_clean_files
4499 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4500 # Try to create an executable without -o first, disregard a.out.
4501 # It will help us diagnose broken compilers, and finding out an intuition
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4504 $as_echo_n "checking whether the C compiler works... " >&6; }
4505 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4507 # The possible output files:
4508 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4511 for ac_file in $ac_files
4514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4515 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4520 if { { ac_try="$ac_link_default"
4522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4526 $as_echo "$ac_try_echo"; } >&5
4527 (eval "$ac_link_default") 2>&5
4529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4530 test $ac_status = 0; }; then :
4531 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4532 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4533 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4534 # so that the user can short-circuit this test for compilers unknown to
4536 for ac_file in $ac_files ''
4538 test -f "$ac_file" || continue
4540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4543 # We found the default executable, but exeext='' is most
4547 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4549 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4551 # We set ac_cv_exeext here because the later test for it is not
4552 # safe: cross compilers may not add the suffix if given an `-o'
4553 # argument, so we may need to know it at that point already.
4554 # Even if this section looks crufty: it has the advantage of
4561 test "$ac_cv_exeext" = no && ac_cv_exeext=
4566 if test -z "$ac_file"; then :
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4569 $as_echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4574 as_fn_error 77 "C compiler cannot create executables
4575 See \`config.log' for more details" "$LINENO" 5; }
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4578 $as_echo "yes" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4581 $as_echo_n "checking for C compiler default output file name... " >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4583 $as_echo "$ac_file" >&6; }
4584 ac_exeext=$ac_cv_exeext
4586 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4587 ac_clean_files=$ac_clean_files_save
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4589 $as_echo_n "checking for suffix of executables... " >&6; }
4590 if { { ac_try="$ac_link"
4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4593 *) ac_try_echo=$ac_try;;
4595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4596 $as_echo "$ac_try_echo"; } >&5
4597 (eval "$ac_link") 2>&5
4599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4600 test $ac_status = 0; }; then :
4601 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4602 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4603 # work properly (i.e., refer to `conftest.exe'), while it won't with
4605 for ac_file in conftest.exe conftest conftest.*; do
4606 test -f "$ac_file" || continue
4608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4609 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4617 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4618 See \`config.log' for more details" "$LINENO" 5; }
4620 rm -f conftest conftest$ac_cv_exeext
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4622 $as_echo "$ac_cv_exeext" >&6; }
4624 rm -f conftest.$ac_ext
4625 EXEEXT=$ac_cv_exeext
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4633 FILE *f = fopen ("conftest.out", "w");
4634 return ferror (f) || fclose (f) != 0;
4640 ac_clean_files="$ac_clean_files conftest.out"
4641 # Check that the compiler produces executables we can run. If not, either
4642 # the compiler is broken, or we cross compile.
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4644 $as_echo_n "checking whether we are cross compiling... " >&6; }
4645 if test "$cross_compiling" != yes; then
4646 { { ac_try="$ac_link"
4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4652 $as_echo "$ac_try_echo"; } >&5
4653 (eval "$ac_link") 2>&5
4655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4656 test $ac_status = 0; }
4657 if { ac_try='./conftest$ac_cv_exeext'
4658 { { case "(($ac_try" in
4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4660 *) ac_try_echo=$ac_try;;
4662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4663 $as_echo "$ac_try_echo"; } >&5
4664 (eval "$ac_try") 2>&5
4666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4667 test $ac_status = 0; }; }; then
4670 if test "$cross_compiling" = maybe; then
4673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4675 as_fn_error $? "cannot run C compiled programs.
4676 If you meant to cross compile, use \`--host'.
4677 See \`config.log' for more details" "$LINENO" 5; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4682 $as_echo "$cross_compiling" >&6; }
4684 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4685 ac_clean_files=$ac_clean_files_save
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4687 $as_echo_n "checking for suffix of object files... " >&6; }
4688 if ${ac_cv_objext+:} false; then :
4689 $as_echo_n "(cached) " >&6
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4692 /* end confdefs.h. */
4702 rm -f conftest.o conftest.obj
4703 if { { ac_try="$ac_compile"
4705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4706 *) ac_try_echo=$ac_try;;
4708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4709 $as_echo "$ac_try_echo"; } >&5
4710 (eval "$ac_compile") 2>&5
4712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4713 test $ac_status = 0; }; then :
4714 for ac_file in conftest.o conftest.obj conftest.*; do
4715 test -f "$ac_file" || continue;
4717 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4718 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4723 $as_echo "$as_me: failed program was:" >&5
4724 sed 's/^/| /' conftest.$ac_ext >&5
4726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4728 as_fn_error $? "cannot compute suffix of object files: cannot compile
4729 See \`config.log' for more details" "$LINENO" 5; }
4731 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4734 $as_echo "$ac_cv_objext" >&6; }
4735 OBJEXT=$ac_cv_objext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4738 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4739 if ${ac_cv_c_compiler_gnu+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4756 if ac_fn_c_try_compile "$LINENO"; then :
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4766 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4767 if test $ac_compiler_gnu = yes; then
4772 ac_test_CFLAGS=${CFLAGS+set}
4773 ac_save_CFLAGS=$CFLAGS
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4775 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4776 if ${ac_cv_prog_cc_g+:} false; then :
4777 $as_echo_n "(cached) " >&6
4779 ac_save_c_werror_flag=$ac_c_werror_flag
4780 ac_c_werror_flag=yes
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4794 if ac_fn_c_try_compile "$LINENO"; then :
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4799 /* end confdefs.h. */
4809 if ac_fn_c_try_compile "$LINENO"; then :
4812 ac_c_werror_flag=$ac_save_c_werror_flag
4814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4815 /* end confdefs.h. */
4825 if ac_fn_c_try_compile "$LINENO"; then :
4828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 ac_c_werror_flag=$ac_save_c_werror_flag
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4836 $as_echo "$ac_cv_prog_cc_g" >&6; }
4837 if test "$ac_test_CFLAGS" = set; then
4838 CFLAGS=$ac_save_CFLAGS
4839 elif test $ac_cv_prog_cc_g = yes; then
4840 if test "$GCC" = yes; then
4846 if test "$GCC" = yes; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4853 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4854 if ${ac_cv_prog_cc_c89+:} false; then :
4855 $as_echo_n "(cached) " >&6
4857 ac_cv_prog_cc_c89=no
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4865 struct buf { int x; };
4866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4867 static char *e (p, i)
4873 static char *f (char * (*g) (char **, int), char **p, ...)
4878 s = g (p, va_arg (v,int));
4883 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4884 function prototypes and stuff, but not '\xHH' hex character constants.
4885 These don't provoke an error unfortunately, instead are silently treated
4886 as 'x'. The following induces an error, until -std is added to get
4887 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4888 array size at least. It's necessary to write '\x00'==0 to get something
4889 that's true only with -std. */
4890 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4892 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4893 inside strings and character constants. */
4895 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4897 int test (int i, double x);
4898 struct s1 {int (*f) (int a);};
4899 struct s2 {int (*f) (double a);};
4900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4906 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4911 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4912 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4914 CC="$ac_save_CC $ac_arg"
4915 if ac_fn_c_try_compile "$LINENO"; then :
4916 ac_cv_prog_cc_c89=$ac_arg
4918 rm -f core conftest.err conftest.$ac_objext
4919 test "x$ac_cv_prog_cc_c89" != "xno" && break
4921 rm -f conftest.$ac_ext
4926 case "x$ac_cv_prog_cc_c89" in
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4929 $as_echo "none needed" >&6; } ;;
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4932 $as_echo "unsupported" >&6; } ;;
4934 CC="$CC $ac_cv_prog_cc_c89"
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4936 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4938 if test "x$ac_cv_prog_cc_c89" != xno; then :
4943 ac_cpp='$CPP $CPPFLAGS'
4944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4948 depcc="$CC" am_compiler_list=
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4951 $as_echo_n "checking dependency style of $depcc... " >&6; }
4952 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4953 $as_echo_n "(cached) " >&6
4955 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4956 # We make a subdir and do the tests there. Otherwise we can end up
4957 # making bogus files that we don't know about and never remove. For
4958 # instance it was reported that on HP-UX the gcc test will end up
4959 # making a dummy file named 'D' -- because '-MD' means "put the output
4963 # Copy depcomp to subdir because otherwise we won't find it if we're
4964 # using a relative directory.
4965 cp "$am_depcomp" conftest.dir
4967 # We will build objects and dependencies in a subdirectory because
4968 # it helps to detect inapplicable dependency modes. For instance
4969 # both Tru64's cc and ICC support -MD to output dependencies as a
4970 # side effect of compilation, but ICC will put the dependencies in
4971 # the current directory while Tru64 will put them in the object
4975 am_cv_CC_dependencies_compiler_type=none
4976 if test "$am_compiler_list" = ""; then
4977 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4980 case " $depcc " in #(
4981 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4984 for depmode in $am_compiler_list; do
4985 # Setup a source with many dependencies, because some compilers
4986 # like to wrap large dependency lists on column 80 (with \), and
4987 # we should not choose a depcomp mode which is confused by this.
4989 # We need to recreate these files for each test, as the compiler may
4990 # overwrite some of them when testing with obscure command lines.
4991 # This happens at least with the AIX C compiler.
4993 for i in 1 2 3 4 5 6; do
4994 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4995 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4996 # Solaris 10 /bin/sh.
4997 echo '/* dummy */' > sub/conftst$i.h
4999 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5001 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5002 # mode. It turns out that the SunPro C++ compiler does not properly
5003 # handle '-M -o', and we need to detect this. Also, some Intel
5004 # versions had trouble with output in subdirs.
5005 am__obj=sub/conftest.${OBJEXT-o}
5006 am__minus_obj="-o $am__obj"
5009 # This depmode causes a compiler race in universal mode.
5010 test "$am__universal" = false || continue
5013 # After this tag, mechanisms are not by side-effect, so they'll
5014 # only be used when explicitly requested.
5015 if test "x$enable_dependency_tracking" = xyes; then
5021 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5022 # This compiler won't grok '-c -o', but also, the minuso test has
5023 # not run yet. These depmodes are late enough in the game, and
5024 # so weak that their functioning should not be impacted.
5025 am__obj=conftest.${OBJEXT-o}
5030 if depmode=$depmode \
5031 source=sub/conftest.c object=$am__obj \
5032 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5033 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5034 >/dev/null 2>conftest.err &&
5035 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5036 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5037 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5038 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5039 # icc doesn't choke on unknown options, it will just issue warnings
5040 # or remarks (even with -Werror). So we grep stderr for any message
5041 # that says an option was ignored or not supported.
5042 # When given -MP, icc 7.0 and 7.1 complain thusly:
5043 # icc: Command line warning: ignoring option '-M'; no argument required
5044 # The diagnosis changed in icc 8.0:
5045 # icc: Command line remark: option '-MP' not supported
5046 if (grep 'ignoring option' conftest.err ||
5047 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5048 am_cv_CC_dependencies_compiler_type=$depmode
5057 am_cv_CC_dependencies_compiler_type=none
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5062 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5063 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5066 test "x$enable_dependency_tracking" != xno \
5067 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5069 am__fastdepCC_FALSE='#'
5071 am__fastdepCC_TRUE='#'
5072 am__fastdepCC_FALSE=
5078 ac_cpp='$CPP $CPPFLAGS'
5079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5083 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5084 # On Suns, sometimes $CPP names a directory.
5085 if test -n "$CPP" && test -d "$CPP"; then
5088 if test -z "$CPP"; then
5089 if ${ac_cv_prog_CPP+:} false; then :
5090 $as_echo_n "(cached) " >&6
5092 # Double quotes because CPP needs to be expanded
5093 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5096 for ac_c_preproc_warn_flag in '' yes
5098 # Use a header file that comes with gcc, so configuring glibc
5099 # with a fresh cross-compiler works.
5100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5101 # <limits.h> exists even on freestanding compilers.
5102 # On the NeXT, cc -E runs the code through the compiler's parser,
5103 # not just through cpp. "Syntax error" is here to catch this case.
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5107 # include <limits.h>
5109 # include <assert.h>
5113 if ac_fn_c_try_cpp "$LINENO"; then :
5116 # Broken: fails on valid input.
5119 rm -f conftest.err conftest.i conftest.$ac_ext
5121 # OK, works on sane cases. Now check whether nonexistent headers
5122 # can be detected and how.
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 #include <ac_nonexistent.h>
5127 if ac_fn_c_try_cpp "$LINENO"; then :
5128 # Broken: success on invalid input.
5131 # Passes both tests.
5135 rm -f conftest.err conftest.i conftest.$ac_ext
5138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5139 rm -f conftest.i conftest.err conftest.$ac_ext
5140 if $ac_preproc_ok; then :
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5153 $as_echo "$CPP" >&6; }
5155 for ac_c_preproc_warn_flag in '' yes
5157 # Use a header file that comes with gcc, so configuring glibc
5158 # with a fresh cross-compiler works.
5159 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5160 # <limits.h> exists even on freestanding compilers.
5161 # On the NeXT, cc -E runs the code through the compiler's parser,
5162 # not just through cpp. "Syntax error" is here to catch this case.
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5166 # include <limits.h>
5168 # include <assert.h>
5172 if ac_fn_c_try_cpp "$LINENO"; then :
5175 # Broken: fails on valid input.
5178 rm -f conftest.err conftest.i conftest.$ac_ext
5180 # OK, works on sane cases. Now check whether nonexistent headers
5181 # can be detected and how.
5182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5183 /* end confdefs.h. */
5184 #include <ac_nonexistent.h>
5186 if ac_fn_c_try_cpp "$LINENO"; then :
5187 # Broken: success on invalid input.
5190 # Passes both tests.
5194 rm -f conftest.err conftest.i conftest.$ac_ext
5197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5198 rm -f conftest.i conftest.err conftest.$ac_ext
5199 if $ac_preproc_ok; then :
5202 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5204 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5205 See \`config.log' for more details" "$LINENO" 5; }
5209 ac_cpp='$CPP $CPPFLAGS'
5210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5216 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5217 if ${ac_cv_path_GREP+:} false; then :
5218 $as_echo_n "(cached) " >&6
5220 if test -z "$GREP"; then
5221 ac_path_GREP_found=false
5222 # Loop through the user's path and test for each of PROGNAME-LIST
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5227 test -z "$as_dir" && as_dir=.
5228 for ac_prog in grep ggrep; do
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5231 as_fn_executable_p "$ac_path_GREP" || continue
5232 # Check for GNU ac_path_GREP and select it if it is found.
5233 # Check for GNU $ac_path_GREP
5234 case `"$ac_path_GREP" --version 2>&1` in
5236 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5239 $as_echo_n 0123456789 >"conftest.in"
5242 cat "conftest.in" "conftest.in" >"conftest.tmp"
5243 mv "conftest.tmp" "conftest.in"
5244 cp "conftest.in" "conftest.nl"
5245 $as_echo 'GREP' >> "conftest.nl"
5246 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5247 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5248 as_fn_arith $ac_count + 1 && ac_count=$as_val
5249 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5250 # Best one so far, save it but keep looking for a better one
5251 ac_cv_path_GREP="$ac_path_GREP"
5252 ac_path_GREP_max=$ac_count
5254 # 10*(2^10) chars as input seems more than enough
5255 test $ac_count -gt 10 && break
5257 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5260 $ac_path_GREP_found && break 3
5265 if test -z "$ac_cv_path_GREP"; then
5266 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5269 ac_cv_path_GREP=$GREP
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5274 $as_echo "$ac_cv_path_GREP" >&6; }
5275 GREP="$ac_cv_path_GREP"
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5279 $as_echo_n "checking for egrep... " >&6; }
5280 if ${ac_cv_path_EGREP+:} false; then :
5281 $as_echo_n "(cached) " >&6
5283 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5284 then ac_cv_path_EGREP="$GREP -E"
5286 if test -z "$EGREP"; then
5287 ac_path_EGREP_found=false
5288 # Loop through the user's path and test for each of PROGNAME-LIST
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5293 test -z "$as_dir" && as_dir=.
5294 for ac_prog in egrep; do
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5297 as_fn_executable_p "$ac_path_EGREP" || continue
5298 # Check for GNU ac_path_EGREP and select it if it is found.
5299 # Check for GNU $ac_path_EGREP
5300 case `"$ac_path_EGREP" --version 2>&1` in
5302 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5305 $as_echo_n 0123456789 >"conftest.in"
5308 cat "conftest.in" "conftest.in" >"conftest.tmp"
5309 mv "conftest.tmp" "conftest.in"
5310 cp "conftest.in" "conftest.nl"
5311 $as_echo 'EGREP' >> "conftest.nl"
5312 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5313 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5314 as_fn_arith $ac_count + 1 && ac_count=$as_val
5315 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5316 # Best one so far, save it but keep looking for a better one
5317 ac_cv_path_EGREP="$ac_path_EGREP"
5318 ac_path_EGREP_max=$ac_count
5320 # 10*(2^10) chars as input seems more than enough
5321 test $ac_count -gt 10 && break
5323 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5326 $ac_path_EGREP_found && break 3
5331 if test -z "$ac_cv_path_EGREP"; then
5332 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5335 ac_cv_path_EGREP=$EGREP
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5341 $as_echo "$ac_cv_path_EGREP" >&6; }
5342 EGREP="$ac_cv_path_EGREP"
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5346 $as_echo_n "checking for ANSI C header files... " >&6; }
5347 if ${ac_cv_header_stdc+:} false; then :
5348 $as_echo_n "(cached) " >&6
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5365 if ac_fn_c_try_compile "$LINENO"; then :
5366 ac_cv_header_stdc=yes
5368 ac_cv_header_stdc=no
5370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5372 if test $ac_cv_header_stdc = yes; then
5373 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5380 $EGREP "memchr" >/dev/null 2>&1; then :
5383 ac_cv_header_stdc=no
5389 if test $ac_cv_header_stdc = yes; then
5390 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5397 $EGREP "free" >/dev/null 2>&1; then :
5400 ac_cv_header_stdc=no
5406 if test $ac_cv_header_stdc = yes; then
5407 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5408 if test "$cross_compiling" = yes; then :
5411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5415 #if ((' ' & 0x0FF) == 0x020)
5416 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5417 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5419 # define ISLOWER(c) \
5420 (('a' <= (c) && (c) <= 'i') \
5421 || ('j' <= (c) && (c) <= 'r') \
5422 || ('s' <= (c) && (c) <= 'z'))
5423 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5426 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5431 for (i = 0; i < 256; i++)
5432 if (XOR (islower (i), ISLOWER (i))
5433 || toupper (i) != TOUPPER (i))
5438 if ac_fn_c_try_run "$LINENO"; then :
5441 ac_cv_header_stdc=no
5443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5444 conftest.$ac_objext conftest.beam conftest.$ac_ext
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5450 $as_echo "$ac_cv_header_stdc" >&6; }
5451 if test $ac_cv_header_stdc = yes; then
5453 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5457 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5458 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5459 inttypes.h stdint.h unistd.h
5461 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5462 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5464 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5465 cat >>confdefs.h <<_ACEOF
5466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5475 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5476 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5483 if test "$MINIX" = yes; then
5485 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5488 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5491 $as_echo "#define _MINIX 1" >>confdefs.h
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5497 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5498 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5499 $as_echo_n "(cached) " >&6
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5504 # define __EXTENSIONS__ 1
5505 $ac_includes_default
5514 if ac_fn_c_try_compile "$LINENO"; then :
5515 ac_cv_safe_to_define___extensions__=yes
5517 ac_cv_safe_to_define___extensions__=no
5519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5522 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5523 test $ac_cv_safe_to_define___extensions__ = yes &&
5524 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5526 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5528 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5530 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5532 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5537 # Make sure we can run config.sub.
5538 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5539 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5542 $as_echo_n "checking build system type... " >&6; }
5543 if ${ac_cv_build+:} false; then :
5544 $as_echo_n "(cached) " >&6
5546 ac_build_alias=$build_alias
5547 test "x$ac_build_alias" = x &&
5548 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5549 test "x$ac_build_alias" = x &&
5550 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5551 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5552 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5556 $as_echo "$ac_cv_build" >&6; }
5557 case $ac_cv_build in
5559 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5562 ac_save_IFS=$IFS; IFS='-'
5568 # Remember, the first character of IFS is used to create $*,
5569 # except with old shells:
5572 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5576 $as_echo_n "checking host system type... " >&6; }
5577 if ${ac_cv_host+:} false; then :
5578 $as_echo_n "(cached) " >&6
5580 if test "x$host_alias" = x; then
5581 ac_cv_host=$ac_cv_build
5583 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5584 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5589 $as_echo "$ac_cv_host" >&6; }
5592 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5595 ac_save_IFS=$IFS; IFS='-'
5601 # Remember, the first character of IFS is used to create $*,
5602 # except with old shells:
5605 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5608 enable_win32_dll=yes
5611 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5612 if test -n "$ac_tool_prefix"; then
5613 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5614 set dummy ${ac_tool_prefix}as; ac_word=$2
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5616 $as_echo_n "checking for $ac_word... " >&6; }
5617 if ${ac_cv_prog_AS+:} false; then :
5618 $as_echo_n "(cached) " >&6
5620 if test -n "$AS"; then
5621 ac_cv_prog_AS="$AS" # Let the user override the test.
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 test -z "$as_dir" && as_dir=.
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5630 ac_cv_prog_AS="${ac_tool_prefix}as"
5631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 if test -n "$AS"; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5643 $as_echo "$AS" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5651 if test -z "$ac_cv_prog_AS"; then
5653 # Extract the first word of "as", so it can be a program name with args.
5654 set dummy as; ac_word=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5658 $as_echo_n "(cached) " >&6
5660 if test -n "$ac_ct_AS"; then
5661 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_ac_ct_AS="as"
5671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5681 if test -n "$ac_ct_AS"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5683 $as_echo "$ac_ct_AS" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }
5689 if test "x$ac_ct_AS" = x; then
5692 case $cross_compiling:$ac_tool_warned in
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5696 ac_tool_warned=yes ;;
5704 if test -n "$ac_tool_prefix"; then
5705 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5706 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_DLLTOOL+:} false; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$DLLTOOL"; then
5713 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 DLLTOOL=$ac_cv_prog_DLLTOOL
5733 if test -n "$DLLTOOL"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5735 $as_echo "$DLLTOOL" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5743 if test -z "$ac_cv_prog_DLLTOOL"; then
5744 ac_ct_DLLTOOL=$DLLTOOL
5745 # Extract the first word of "dlltool", so it can be a program name with args.
5746 set dummy dlltool; ac_word=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$ac_ct_DLLTOOL"; then
5753 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir=.
5760 for ac_exec_ext in '' $ac_executable_extensions; do
5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5762 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5773 if test -n "$ac_ct_DLLTOOL"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5775 $as_echo "$ac_ct_DLLTOOL" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5781 if test "x$ac_ct_DLLTOOL" = x; then
5784 case $cross_compiling:$ac_tool_warned in
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5788 ac_tool_warned=yes ;;
5790 DLLTOOL=$ac_ct_DLLTOOL
5793 DLLTOOL="$ac_cv_prog_DLLTOOL"
5796 if test -n "$ac_tool_prefix"; then
5797 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5798 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_prog_OBJDUMP+:} false; then :
5802 $as_echo_n "(cached) " >&6
5804 if test -n "$OBJDUMP"; then
5805 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 OBJDUMP=$ac_cv_prog_OBJDUMP
5825 if test -n "$OBJDUMP"; then
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5827 $as_echo "$OBJDUMP" >&6; }
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5830 $as_echo "no" >&6; }
5835 if test -z "$ac_cv_prog_OBJDUMP"; then
5836 ac_ct_OBJDUMP=$OBJDUMP
5837 # Extract the first word of "objdump", so it can be a program name with args.
5838 set dummy objdump; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5842 $as_echo_n "(cached) " >&6
5844 if test -n "$ac_ct_OBJDUMP"; then
5845 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5865 if test -n "$ac_ct_OBJDUMP"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5867 $as_echo "$ac_ct_OBJDUMP" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5873 if test "x$ac_ct_OBJDUMP" = x; then
5876 case $cross_compiling:$ac_tool_warned in
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5880 ac_tool_warned=yes ;;
5882 OBJDUMP=$ac_ct_OBJDUMP
5885 OBJDUMP="$ac_cv_prog_OBJDUMP"
5891 test -z "$AS" && AS=as
5897 test -z "$DLLTOOL" && DLLTOOL=dlltool
5903 test -z "$OBJDUMP" && OBJDUMP=objdump
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5914 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5919 macro_version='2.4.2'
5920 macro_revision='1.3337'
5934 ltmain="$ac_aux_dir/ltmain.sh"
5936 # Backslashify metacharacters that are still active within
5937 # double-quoted strings.
5938 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5940 # Same as above, but do not quote variable references.
5941 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5943 # Sed substitution to delay expansion of an escaped shell variable in a
5944 # double_quote_subst'ed string.
5945 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5947 # Sed substitution to delay expansion of an escaped single quote.
5948 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5950 # Sed substitution to avoid accidental globbing in evaled expressions
5951 no_glob_subst='s/\*/\\\*/g'
5953 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5954 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5958 $as_echo_n "checking how to print strings... " >&6; }
5959 # Test print first, because it will be a builtin if present.
5960 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5961 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5963 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5966 # Use this function as a fallback that always works.
5967 func_fallback_echo ()
5969 eval 'cat <<_LTECHO_EOF
5973 ECHO='func_fallback_echo'
5976 # func_echo_all arg...
5977 # Invoke $ECHO with all args, space-separated.
5984 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5985 $as_echo "printf" >&6; } ;;
5986 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5987 $as_echo "print -r" >&6; } ;;
5988 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5989 $as_echo "cat" >&6; } ;;
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6006 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6007 if ${ac_cv_path_SED+:} false; then :
6008 $as_echo_n "(cached) " >&6
6010 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6011 for ac_i in 1 2 3 4 5 6 7; do
6012 ac_script="$ac_script$as_nl$ac_script"
6014 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6015 { ac_script=; unset ac_script;}
6016 if test -z "$SED"; then
6017 ac_path_SED_found=false
6018 # Loop through the user's path and test for each of PROGNAME-LIST
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir=.
6024 for ac_prog in sed gsed; do
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6027 as_fn_executable_p "$ac_path_SED" || continue
6028 # Check for GNU ac_path_SED and select it if it is found.
6029 # Check for GNU $ac_path_SED
6030 case `"$ac_path_SED" --version 2>&1` in
6032 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6035 $as_echo_n 0123456789 >"conftest.in"
6038 cat "conftest.in" "conftest.in" >"conftest.tmp"
6039 mv "conftest.tmp" "conftest.in"
6040 cp "conftest.in" "conftest.nl"
6041 $as_echo '' >> "conftest.nl"
6042 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6043 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6044 as_fn_arith $ac_count + 1 && ac_count=$as_val
6045 if test $ac_count -gt ${ac_path_SED_max-0}; then
6046 # Best one so far, save it but keep looking for a better one
6047 ac_cv_path_SED="$ac_path_SED"
6048 ac_path_SED_max=$ac_count
6050 # 10*(2^10) chars as input seems more than enough
6051 test $ac_count -gt 10 && break
6053 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6056 $ac_path_SED_found && break 3
6061 if test -z "$ac_cv_path_SED"; then
6062 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6070 $as_echo "$ac_cv_path_SED" >&6; }
6071 SED="$ac_cv_path_SED"
6074 test -z "$SED" && SED=sed
6075 Xsed="$SED -e 1s/^X//"
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6088 $as_echo_n "checking for fgrep... " >&6; }
6089 if ${ac_cv_path_FGREP+:} false; then :
6090 $as_echo_n "(cached) " >&6
6092 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6093 then ac_cv_path_FGREP="$GREP -F"
6095 if test -z "$FGREP"; then
6096 ac_path_FGREP_found=false
6097 # Loop through the user's path and test for each of PROGNAME-LIST
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6102 test -z "$as_dir" && as_dir=.
6103 for ac_prog in fgrep; do
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6106 as_fn_executable_p "$ac_path_FGREP" || continue
6107 # Check for GNU ac_path_FGREP and select it if it is found.
6108 # Check for GNU $ac_path_FGREP
6109 case `"$ac_path_FGREP" --version 2>&1` in
6111 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6114 $as_echo_n 0123456789 >"conftest.in"
6117 cat "conftest.in" "conftest.in" >"conftest.tmp"
6118 mv "conftest.tmp" "conftest.in"
6119 cp "conftest.in" "conftest.nl"
6120 $as_echo 'FGREP' >> "conftest.nl"
6121 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6122 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6123 as_fn_arith $ac_count + 1 && ac_count=$as_val
6124 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6125 # Best one so far, save it but keep looking for a better one
6126 ac_cv_path_FGREP="$ac_path_FGREP"
6127 ac_path_FGREP_max=$ac_count
6129 # 10*(2^10) chars as input seems more than enough
6130 test $ac_count -gt 10 && break
6132 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6135 $ac_path_FGREP_found && break 3
6140 if test -z "$ac_cv_path_FGREP"; then
6141 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6144 ac_cv_path_FGREP=$FGREP
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6150 $as_echo "$ac_cv_path_FGREP" >&6; }
6151 FGREP="$ac_cv_path_FGREP"
6154 test -z "$GREP" && GREP=grep
6174 # Check whether --with-gnu-ld was given.
6175 if test "${with_gnu_ld+set}" = set; then :
6176 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6182 if test "$GCC" = yes; then
6183 # Check if gcc -print-prog-name=ld gives a path.
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6185 $as_echo_n "checking for ld used by $CC... " >&6; }
6188 # gcc leaves a trailing carriage return which upsets mingw
6189 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6191 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6194 # Accept absolute paths.
6196 re_direlt='/[^/][^/]*/\.\./'
6197 # Canonicalize the pathname of ld
6198 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6199 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6200 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6202 test -z "$LD" && LD="$ac_prog"
6205 # If it fails, then pretend we aren't using GCC.
6209 # If it is relative, then search for the first ld in PATH.
6213 elif test "$with_gnu_ld" = yes; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6215 $as_echo_n "checking for GNU ld... " >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6218 $as_echo_n "checking for non-GNU ld... " >&6; }
6220 if ${lt_cv_path_LD+:} false; then :
6221 $as_echo_n "(cached) " >&6
6223 if test -z "$LD"; then
6224 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6225 for ac_dir in $PATH; do
6227 test -z "$ac_dir" && ac_dir=.
6228 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6229 lt_cv_path_LD="$ac_dir/$ac_prog"
6230 # Check to see if the program is GNU ld. I'd rather use --version,
6231 # but apparently some variants of GNU ld only accept -v.
6232 # Break only if it was the GNU/non-GNU ld that we prefer.
6233 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6234 *GNU* | *'with BFD'*)
6235 test "$with_gnu_ld" != no && break
6238 test "$with_gnu_ld" != yes && break
6245 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6250 if test -n "$LD"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6252 $as_echo "$LD" >&6; }
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6257 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6259 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6260 if ${lt_cv_prog_gnu_ld+:} false; then :
6261 $as_echo_n "(cached) " >&6
6263 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6264 case `$LD -v 2>&1 </dev/null` in
6265 *GNU* | *'with BFD'*)
6266 lt_cv_prog_gnu_ld=yes
6269 lt_cv_prog_gnu_ld=no
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6274 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6275 with_gnu_ld=$lt_cv_prog_gnu_ld
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6286 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6287 if ${lt_cv_path_NM+:} false; then :
6288 $as_echo_n "(cached) " >&6
6290 if test -n "$NM"; then
6291 # Let the user override the test.
6294 lt_nm_to_check="${ac_tool_prefix}nm"
6295 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6296 lt_nm_to_check="$lt_nm_to_check nm"
6298 for lt_tmp_nm in $lt_nm_to_check; do
6299 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6300 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6302 test -z "$ac_dir" && ac_dir=.
6303 tmp_nm="$ac_dir/$lt_tmp_nm"
6304 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6305 # Check to see if the nm accepts a BSD-compat flag.
6306 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6307 # nm: unknown option "B" ignored
6308 # Tru64's nm complains that /dev/null is an invalid object file
6309 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6310 */dev/null* | *'Invalid file or object type'*)
6311 lt_cv_path_NM="$tmp_nm -B"
6315 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6317 lt_cv_path_NM="$tmp_nm -p"
6321 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6322 continue # so that we can try to find one that supports BSD flags
6331 : ${lt_cv_path_NM=no}
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6335 $as_echo "$lt_cv_path_NM" >&6; }
6336 if test "$lt_cv_path_NM" != "no"; then
6339 # Didn't find any BSD compatible name lister, look for dumpbin.
6340 if test -n "$DUMPBIN"; then :
6341 # Let the user override the test.
6343 if test -n "$ac_tool_prefix"; then
6344 for ac_prog in dumpbin "link -dump"
6346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if ${ac_cv_prog_DUMPBIN+:} false; then :
6351 $as_echo_n "(cached) " >&6
6353 if test -n "$DUMPBIN"; then
6354 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6363 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 DUMPBIN=$ac_cv_prog_DUMPBIN
6374 if test -n "$DUMPBIN"; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6376 $as_echo "$DUMPBIN" >&6; }
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6383 test -n "$DUMPBIN" && break
6386 if test -z "$DUMPBIN"; then
6387 ac_ct_DUMPBIN=$DUMPBIN
6388 for ac_prog in dumpbin "link -dump"
6390 # Extract the first word of "$ac_prog", so it can be a program name with args.
6391 set dummy $ac_prog; ac_word=$2
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6393 $as_echo_n "checking for $ac_word... " >&6; }
6394 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6395 $as_echo_n "(cached) " >&6
6397 if test -n "$ac_ct_DUMPBIN"; then
6398 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 test -z "$as_dir" && as_dir=.
6405 for ac_exec_ext in '' $ac_executable_extensions; do
6406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6407 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6418 if test -n "$ac_ct_DUMPBIN"; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6420 $as_echo "$ac_ct_DUMPBIN" >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6423 $as_echo "no" >&6; }
6427 test -n "$ac_ct_DUMPBIN" && break
6430 if test "x$ac_ct_DUMPBIN" = x; then
6433 case $cross_compiling:$ac_tool_warned in
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6437 ac_tool_warned=yes ;;
6439 DUMPBIN=$ac_ct_DUMPBIN
6443 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6445 DUMPBIN="$DUMPBIN -symbols"
6453 if test "$DUMPBIN" != ":"; then
6457 test -z "$NM" && NM=nm
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6465 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6466 if ${lt_cv_nm_interface+:} false; then :
6467 $as_echo_n "(cached) " >&6
6469 lt_cv_nm_interface="BSD nm"
6470 echo "int some_variable = 0;" > conftest.$ac_ext
6471 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6472 (eval "$ac_compile" 2>conftest.err)
6473 cat conftest.err >&5
6474 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6475 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6476 cat conftest.err >&5
6477 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6478 cat conftest.out >&5
6479 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6480 lt_cv_nm_interface="MS dumpbin"
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6485 $as_echo "$lt_cv_nm_interface" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6488 $as_echo_n "checking whether ln -s works... " >&6; }
6490 if test "$LN_S" = "ln -s"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6492 $as_echo "yes" >&6; }
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6495 $as_echo "no, using $LN_S" >&6; }
6498 # find the maximum length of command line arguments
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6500 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6501 if ${lt_cv_sys_max_cmd_len+:} false; then :
6502 $as_echo_n "(cached) " >&6
6509 # On DJGPP, this test can blow up pretty badly due to problems in libc
6510 # (any single argument exceeding 2000 bytes causes a buffer overrun
6511 # during glob expansion). Even if it were fixed, the result of this
6512 # check would be larger than it should be.
6513 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6517 # Under GNU Hurd, this test is not required because there is
6518 # no limit to the length of command line arguments.
6519 # Libtool will interpret -1 as no limit whatsoever
6520 lt_cv_sys_max_cmd_len=-1;
6523 cygwin* | mingw* | cegcc*)
6524 # On Win9x/ME, this test blows up -- it succeeds, but takes
6525 # about 5 minutes as the teststring grows exponentially.
6526 # Worse, since 9x/ME are not pre-emptively multitasking,
6527 # you end up with a "frozen" computer, even though with patience
6528 # the test eventually succeeds (with a max line length of 256k).
6529 # Instead, let's just punt: use the minimum linelength reported by
6530 # all of the supported platforms: 8192 (on NT/2K/XP).
6531 lt_cv_sys_max_cmd_len=8192;
6535 # On MiNT this can take a long time and run out of memory.
6536 lt_cv_sys_max_cmd_len=8192;
6540 # On AmigaOS with pdksh, this test takes hours, literally.
6541 # So we just punt and use a minimum line length of 8192.
6542 lt_cv_sys_max_cmd_len=8192;
6545 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6546 # This has been around since 386BSD, at least. Likely further.
6547 if test -x /sbin/sysctl; then
6548 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6549 elif test -x /usr/sbin/sysctl; then
6550 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6552 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6554 # And add a safety zone
6555 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6556 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6560 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6561 lt_cv_sys_max_cmd_len=196608
6565 # The test takes a long time on OS/2.
6566 lt_cv_sys_max_cmd_len=8192
6570 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6571 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6572 # nice to cause kernel panics so lets avoid the loop below.
6573 # First set a reasonable default.
6574 lt_cv_sys_max_cmd_len=16384
6576 if test -x /sbin/sysconfig; then
6577 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6578 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6583 lt_cv_sys_max_cmd_len=102400
6585 sysv5* | sco5v6* | sysv4.2uw2*)
6586 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6587 if test -n "$kargmax"; then
6588 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6590 lt_cv_sys_max_cmd_len=32768
6594 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6595 if test -n "$lt_cv_sys_max_cmd_len"; then
6596 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6597 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6599 # Make teststring a little bigger before we do anything with it.
6600 # a 1K string should be a reasonable start.
6601 for i in 1 2 3 4 5 6 7 8 ; do
6602 teststring=$teststring$teststring
6604 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6605 # If test is not a shell built-in, we'll probably end up computing a
6606 # maximum length that is only half of the actual maximum length, but
6608 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6609 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6610 test $i != 17 # 1/2 MB should be enough
6613 teststring=$teststring$teststring
6615 # Only check the string length outside the loop.
6616 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6618 # Add a significant safety factor because C++ compilers can tack on
6619 # massive amounts of additional arguments before passing them to the
6620 # linker. It appears as though 1/2 is a usable value.
6621 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6628 if test -n $lt_cv_sys_max_cmd_len ; then
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6630 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6633 $as_echo "none" >&6; }
6635 max_cmd_len=$lt_cv_sys_max_cmd_len
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6647 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6648 # Try some XSI features
6651 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6653 && eval 'test $(( 1 + 1 )) -eq 2 \
6654 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6657 $as_echo "$xsi_shell" >&6; }
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6661 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6663 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6665 && lt_shell_append=yes
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6667 $as_echo "$lt_shell_append" >&6; }
6670 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6680 # test EBCDIC or ASCII
6681 case `echo X|tr X '\101'` in
6682 A) # ASCII based system
6683 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6684 lt_SP2NL='tr \040 \012'
6685 lt_NL2SP='tr \015\012 \040\040'
6687 *) # EBCDIC based system
6688 lt_SP2NL='tr \100 \n'
6689 lt_NL2SP='tr \r\n \100\100'
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6702 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6703 if ${lt_cv_to_host_file_cmd+:} false; then :
6704 $as_echo_n "(cached) " >&6
6709 *-*-mingw* ) # actually msys
6710 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6713 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6715 * ) # otherwise, assume *nix
6716 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6722 *-*-mingw* ) # actually msys
6723 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6726 lt_cv_to_host_file_cmd=func_convert_file_noop
6728 * ) # otherwise, assume *nix
6729 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6733 * ) # unhandled hosts (and "normal" native builds)
6734 lt_cv_to_host_file_cmd=func_convert_file_noop
6740 to_host_file_cmd=$lt_cv_to_host_file_cmd
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6742 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6749 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6750 if ${lt_cv_to_tool_file_cmd+:} false; then :
6751 $as_echo_n "(cached) " >&6
6753 #assume ordinary cross tools, or native build.
6754 lt_cv_to_tool_file_cmd=func_convert_file_noop
6758 *-*-mingw* ) # actually msys
6759 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6767 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6769 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6776 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6777 if ${lt_cv_ld_reload_flag+:} false; then :
6778 $as_echo_n "(cached) " >&6
6780 lt_cv_ld_reload_flag='-r'
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6783 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6784 reload_flag=$lt_cv_ld_reload_flag
6785 case $reload_flag in
6787 *) reload_flag=" $reload_flag" ;;
6789 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6791 cygwin* | mingw* | pw32* | cegcc*)
6792 if test "$GCC" != yes; then
6797 if test "$GCC" = yes; then
6798 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6800 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6813 if test -n "$ac_tool_prefix"; then
6814 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6815 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 $as_echo_n "checking for $ac_word... " >&6; }
6818 if ${ac_cv_prog_OBJDUMP+:} false; then :
6819 $as_echo_n "(cached) " >&6
6821 if test -n "$OBJDUMP"; then
6822 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 test -z "$as_dir" && as_dir=.
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6841 OBJDUMP=$ac_cv_prog_OBJDUMP
6842 if test -n "$OBJDUMP"; then
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6844 $as_echo "$OBJDUMP" >&6; }
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 $as_echo "no" >&6; }
6852 if test -z "$ac_cv_prog_OBJDUMP"; then
6853 ac_ct_OBJDUMP=$OBJDUMP
6854 # Extract the first word of "objdump", so it can be a program name with args.
6855 set dummy objdump; ac_word=$2
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 $as_echo_n "checking for $ac_word... " >&6; }
6858 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6859 $as_echo_n "(cached) " >&6
6861 if test -n "$ac_ct_OBJDUMP"; then
6862 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 test -z "$as_dir" && as_dir=.
6869 for ac_exec_ext in '' $ac_executable_extensions; do
6870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6871 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6881 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6882 if test -n "$ac_ct_OBJDUMP"; then
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6884 $as_echo "$ac_ct_OBJDUMP" >&6; }
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6887 $as_echo "no" >&6; }
6890 if test "x$ac_ct_OBJDUMP" = x; then
6893 case $cross_compiling:$ac_tool_warned in
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6897 ac_tool_warned=yes ;;
6899 OBJDUMP=$ac_ct_OBJDUMP
6902 OBJDUMP="$ac_cv_prog_OBJDUMP"
6905 test -z "$OBJDUMP" && OBJDUMP=objdump
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6913 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6914 if ${lt_cv_deplibs_check_method+:} false; then :
6915 $as_echo_n "(cached) " >&6
6917 lt_cv_file_magic_cmd='$MAGIC_CMD'
6918 lt_cv_file_magic_test_file=
6919 lt_cv_deplibs_check_method='unknown'
6920 # Need to set the preceding variable on all platforms that support
6921 # interlibrary dependencies.
6922 # 'none' -- dependencies not supported.
6923 # `unknown' -- same as none, but documents that we really don't know.
6924 # 'pass_all' -- all dependencies passed with no checks.
6925 # 'test_compile' -- check by making test program.
6926 # 'file_magic [[regex]]' -- check by looking for files in library path
6927 # which responds to the $file_magic_cmd with a given extended regex.
6928 # If you have `file' or equivalent on your system and you're not sure
6929 # whether `pass_all' will *always* work, you probably want this one.
6933 lt_cv_deplibs_check_method=pass_all
6937 lt_cv_deplibs_check_method=pass_all
6941 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6942 lt_cv_file_magic_cmd='/usr/bin/file -L'
6943 lt_cv_file_magic_test_file=/shlib/libc.so
6947 # func_win32_libid is a shell function defined in ltmain.sh
6948 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6949 lt_cv_file_magic_cmd='func_win32_libid'
6953 # Base MSYS/MinGW do not provide the 'file' command needed by
6954 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6955 # unless we find 'file', for example because we are cross-compiling.
6956 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6957 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6958 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6959 lt_cv_file_magic_cmd='func_win32_libid'
6961 # Keep this pattern in sync with the one in func_win32_libid.
6962 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6963 lt_cv_file_magic_cmd='$OBJDUMP -f'
6968 # use the weaker test based on 'objdump'. See mingw*.
6969 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6970 lt_cv_file_magic_cmd='$OBJDUMP -f'
6973 darwin* | rhapsody*)
6974 lt_cv_deplibs_check_method=pass_all
6977 freebsd* | dragonfly*)
6978 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6981 # Not sure whether the presence of OpenBSD here was a mistake.
6982 # Let's accept both of them until this is cleared up.
6983 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6984 lt_cv_file_magic_cmd=/usr/bin/file
6985 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6989 lt_cv_deplibs_check_method=pass_all
6994 lt_cv_deplibs_check_method=pass_all
6998 lt_cv_deplibs_check_method=pass_all
7001 hpux10.20* | hpux11*)
7002 lt_cv_file_magic_cmd=/usr/bin/file
7005 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7006 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7009 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]'
7010 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7013 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7014 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7020 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7021 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7024 irix5* | irix6* | nonstopux*)
7026 *-32|*"-32 ") libmagic=32-bit;;
7027 *-n32|*"-n32 ") libmagic=N32;;
7028 *-64|*"-64 ") libmagic=64-bit;;
7029 *) libmagic=never-match;;
7031 lt_cv_deplibs_check_method=pass_all
7034 # This must be glibc/ELF.
7035 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7036 lt_cv_deplibs_check_method=pass_all
7040 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7041 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7043 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7049 lt_cv_file_magic_cmd=/usr/bin/file
7050 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7054 lt_cv_deplibs_check_method=pass_all
7058 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7061 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7065 osf3* | osf4* | osf5*)
7066 lt_cv_deplibs_check_method=pass_all
7070 lt_cv_deplibs_check_method=pass_all
7074 lt_cv_deplibs_check_method=pass_all
7077 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7078 lt_cv_deplibs_check_method=pass_all
7082 case $host_vendor in
7084 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]'
7085 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7088 lt_cv_deplibs_check_method=pass_all
7091 lt_cv_file_magic_cmd='/bin/file'
7092 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7095 lt_cv_file_magic_cmd='/bin/file'
7096 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7097 lt_cv_file_magic_test_file=/lib/libc.so
7100 lt_cv_deplibs_check_method=pass_all
7103 lt_cv_deplibs_check_method=pass_all
7109 lt_cv_deplibs_check_method=pass_all
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7115 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7119 if test "$build" = "$host"; then
7122 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7125 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7131 file_magic_cmd=$lt_cv_file_magic_cmd
7132 deplibs_check_method=$lt_cv_deplibs_check_method
7133 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7156 if test -n "$ac_tool_prefix"; then
7157 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7158 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_DLLTOOL+:} false; then :
7162 $as_echo_n "(cached) " >&6
7164 if test -n "$DLLTOOL"; then
7165 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 test -z "$as_dir" && as_dir=.
7172 for ac_exec_ext in '' $ac_executable_extensions; do
7173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 DLLTOOL=$ac_cv_prog_DLLTOOL
7185 if test -n "$DLLTOOL"; then
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7187 $as_echo "$DLLTOOL" >&6; }
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7195 if test -z "$ac_cv_prog_DLLTOOL"; then
7196 ac_ct_DLLTOOL=$DLLTOOL
7197 # Extract the first word of "dlltool", so it can be a program name with args.
7198 set dummy dlltool; ac_word=$2
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 $as_echo_n "checking for $ac_word... " >&6; }
7201 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7202 $as_echo_n "(cached) " >&6
7204 if test -n "$ac_ct_DLLTOOL"; then
7205 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 test -z "$as_dir" && as_dir=.
7212 for ac_exec_ext in '' $ac_executable_extensions; do
7213 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7214 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7225 if test -n "$ac_ct_DLLTOOL"; then
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7227 $as_echo "$ac_ct_DLLTOOL" >&6; }
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7230 $as_echo "no" >&6; }
7233 if test "x$ac_ct_DLLTOOL" = x; then
7236 case $cross_compiling:$ac_tool_warned in
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7240 ac_tool_warned=yes ;;
7242 DLLTOOL=$ac_ct_DLLTOOL
7245 DLLTOOL="$ac_cv_prog_DLLTOOL"
7248 test -z "$DLLTOOL" && DLLTOOL=dlltool
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7257 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7258 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7259 $as_echo_n "(cached) " >&6
7261 lt_cv_sharedlib_from_linklib_cmd='unknown'
7264 cygwin* | mingw* | pw32* | cegcc*)
7265 # two different shell functions defined in ltmain.sh
7266 # decide which to use based on capabilities of $DLLTOOL
7267 case `$DLLTOOL --help 2>&1` in
7268 *--identify-strict*)
7269 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7272 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7277 # fallback: assume linklib IS sharedlib
7278 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7284 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7285 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7286 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7294 if test -n "$ac_tool_prefix"; then
7297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7298 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 $as_echo_n "checking for $ac_word... " >&6; }
7301 if ${ac_cv_prog_AR+:} false; then :
7302 $as_echo_n "(cached) " >&6
7304 if test -n "$AR"; then
7305 ac_cv_prog_AR="$AR" # Let the user override the test.
7307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7311 test -z "$as_dir" && as_dir=.
7312 for ac_exec_ext in '' $ac_executable_extensions; do
7313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7314 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7325 if test -n "$AR"; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7327 $as_echo "$AR" >&6; }
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7334 test -n "$AR" && break
7337 if test -z "$AR"; then
7341 # Extract the first word of "$ac_prog", so it can be a program name with args.
7342 set dummy $ac_prog; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7346 $as_echo_n "(cached) " >&6
7348 if test -n "$ac_ct_AR"; then
7349 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_ac_ct_AR="$ac_prog"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7369 if test -n "$ac_ct_AR"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7371 $as_echo "$ac_ct_AR" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7378 test -n "$ac_ct_AR" && break
7381 if test "x$ac_ct_AR" = x; then
7384 case $cross_compiling:$ac_tool_warned in
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7408 $as_echo_n "checking for archiver @FILE support... " >&6; }
7409 if ${lt_cv_ar_at_file+:} false; then :
7410 $as_echo_n "(cached) " >&6
7413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414 /* end confdefs.h. */
7424 if ac_fn_c_try_compile "$LINENO"; then :
7425 echo conftest.$ac_objext > conftest.lst
7426 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7427 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7428 (eval $lt_ar_try) 2>&5
7430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7431 test $ac_status = 0; }
7432 if test "$ac_status" -eq 0; then
7433 # Ensure the archiver fails upon bogus file names.
7434 rm -f conftest.$ac_objext libconftest.a
7435 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7436 (eval $lt_ar_try) 2>&5
7438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7439 test $ac_status = 0; }
7440 if test "$ac_status" -ne 0; then
7444 rm -f conftest.* libconftest.a
7447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7451 $as_echo "$lt_cv_ar_at_file" >&6; }
7453 if test "x$lt_cv_ar_at_file" = xno; then
7456 archiver_list_spec=$lt_cv_ar_at_file
7465 if test -n "$ac_tool_prefix"; then
7466 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7467 set dummy ${ac_tool_prefix}strip; ac_word=$2
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7469 $as_echo_n "checking for $ac_word... " >&6; }
7470 if ${ac_cv_prog_STRIP+:} false; then :
7471 $as_echo_n "(cached) " >&6
7473 if test -n "$STRIP"; then
7474 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7483 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7493 STRIP=$ac_cv_prog_STRIP
7494 if test -n "$STRIP"; then
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7496 $as_echo "$STRIP" >&6; }
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 $as_echo "no" >&6; }
7504 if test -z "$ac_cv_prog_STRIP"; then
7506 # Extract the first word of "strip", so it can be a program name with args.
7507 set dummy strip; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7511 $as_echo_n "(cached) " >&6
7513 if test -n "$ac_ct_STRIP"; then
7514 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_ac_ct_STRIP="strip"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7534 if test -n "$ac_ct_STRIP"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7536 $as_echo "$ac_ct_STRIP" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7542 if test "x$ac_ct_STRIP" = x; then
7545 case $cross_compiling:$ac_tool_warned in
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7549 ac_tool_warned=yes ;;
7554 STRIP="$ac_cv_prog_STRIP"
7557 test -z "$STRIP" && STRIP=:
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_RANLIB+:} false; then :
7570 $as_echo_n "(cached) " >&6
7572 if test -n "$RANLIB"; then
7573 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir=.
7580 for ac_exec_ext in '' $ac_executable_extensions; do
7581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 RANLIB=$ac_cv_prog_RANLIB
7593 if test -n "$RANLIB"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7595 $as_echo "$RANLIB" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7603 if test -z "$ac_cv_prog_RANLIB"; then
7604 ac_ct_RANLIB=$RANLIB
7605 # Extract the first word of "ranlib", so it can be a program name with args.
7606 set dummy ranlib; ac_word=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7610 $as_echo_n "(cached) " >&6
7612 if test -n "$ac_ct_RANLIB"; then
7613 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir=.
7620 for ac_exec_ext in '' $ac_executable_extensions; do
7621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_ac_ct_RANLIB="ranlib"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7633 if test -n "$ac_ct_RANLIB"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7635 $as_echo "$ac_ct_RANLIB" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7641 if test "x$ac_ct_RANLIB" = x; then
7644 case $cross_compiling:$ac_tool_warned in
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned=yes ;;
7650 RANLIB=$ac_ct_RANLIB
7653 RANLIB="$ac_cv_prog_RANLIB"
7656 test -z "$RANLIB" && RANLIB=:
7663 # Determine commands to create old-style static archives.
7664 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7665 old_postinstall_cmds='chmod 644 $oldlib'
7666 old_postuninstall_cmds=
7668 if test -n "$RANLIB"; then
7671 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7674 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7677 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7682 lock_old_archive_extraction=yes ;;
7684 lock_old_archive_extraction=no ;;
7725 # If no C compiler was specified, use CC.
7728 # If no C compiler flags were specified, use CFLAGS.
7729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7731 # Allow CC to be a program name with arguments.
7735 # Check for command to grab the raw symbol name followed by C symbol from nm.
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7737 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7738 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7739 $as_echo_n "(cached) " >&6
7742 # These are sane defaults that work on at least a few old systems.
7743 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7745 # Character class describing NM global symbol codes.
7746 symcode='[BCDEGRST]'
7748 # Regexp to match symbols that can be accessed directly from C.
7749 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7751 # Define system-specific variables.
7756 cygwin* | mingw* | pw32* | cegcc*)
7757 symcode='[ABCDGISTW]'
7760 if test "$host_cpu" = ia64; then
7761 symcode='[ABCDEGRST]'
7765 symcode='[BCDEGRST]'
7768 symcode='[BCDEGQRST]'
7779 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7787 # If we're using GNU nm, then use its standard symbol codes.
7788 case `$NM -V 2>&1` in
7789 *GNU* | *'with BFD'*)
7790 symcode='[ABCDGIRSTW]' ;;
7793 # Transform an extracted symbol line into a proper C declaration.
7794 # Some systems (esp. on ia64) link data and code symbols differently,
7795 # so use this general approach.
7796 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7798 # Transform an extracted symbol line into symbol name and symbol address
7799 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7800 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'"
7802 # Handle CRLF in mingw tool chain
7806 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7810 # Try without a prefix underscore, then with it.
7811 for ac_symprfx in "" "_"; do
7813 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7814 symxfrm="\\1 $ac_symprfx\\2 \\2"
7816 # Write the raw and C identifiers.
7817 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7818 # Fake it for dumpbin and say T for any non-static function
7819 # and D for any global variable.
7820 # Also find C++ and __fastcall symbols from MSVC++,
7821 # which start with @ or ?.
7822 lt_cv_sys_global_symbol_pipe="$AWK '"\
7823 " {last_section=section; section=\$ 3};"\
7824 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7825 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7826 " \$ 0!~/External *\|/{next};"\
7827 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7828 " {if(hide[section]) next};"\
7829 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7830 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7831 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7832 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7833 " ' prfx=^$ac_symprfx"
7835 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7837 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7839 # Check to see that the pipe works correctly.
7843 cat > conftest.$ac_ext <<_LT_EOF
7848 void nm_test_func(void);
7849 void nm_test_func(void){}
7853 int main(){nm_test_var='a';nm_test_func();return(0);}
7856 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7857 (eval $ac_compile) 2>&5
7859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7860 test $ac_status = 0; }; then
7861 # Now try to grab the symbols.
7863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7864 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7867 test $ac_status = 0; } && test -s "$nlist"; then
7868 # Try sorting and uniquifying the output.
7869 if sort "$nlist" | uniq > "$nlist"T; then
7870 mv -f "$nlist"T "$nlist"
7875 # Make sure that we snagged all the symbols we need.
7876 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7877 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7878 cat <<_LT_EOF > conftest.$ac_ext
7879 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7880 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7881 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7882 relocations are performed -- see ld's documentation on pseudo-relocs. */
7883 # define LT_DLSYM_CONST
7884 #elif defined(__osf__)
7885 /* This system does not cope well with relocations in const data. */
7886 # define LT_DLSYM_CONST
7888 # define LT_DLSYM_CONST const
7896 # Now generate the symbol file.
7897 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7899 cat <<_LT_EOF >> conftest.$ac_ext
7901 /* The mapping between symbol names and symbols. */
7902 LT_DLSYM_CONST struct {
7906 lt__PROGRAM__LTX_preloaded_symbols[] =
7908 { "@PROGRAM@", (void *) 0 },
7910 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7911 cat <<\_LT_EOF >> conftest.$ac_ext
7915 /* This works around a problem in FreeBSD linker */
7916 #ifdef FREEBSD_WORKAROUND
7917 static const void *lt_preloaded_setup() {
7918 return lt__PROGRAM__LTX_preloaded_symbols;
7926 # Now try linking the two files.
7927 mv conftest.$ac_objext conftstm.$ac_objext
7928 lt_globsym_save_LIBS=$LIBS
7929 lt_globsym_save_CFLAGS=$CFLAGS
7930 LIBS="conftstm.$ac_objext"
7931 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7933 (eval $ac_link) 2>&5
7935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7936 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7939 LIBS=$lt_globsym_save_LIBS
7940 CFLAGS=$lt_globsym_save_CFLAGS
7942 echo "cannot find nm_test_func in $nlist" >&5
7945 echo "cannot find nm_test_var in $nlist" >&5
7948 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7951 echo "$progname: failed program was:" >&5
7952 cat conftest.$ac_ext >&5
7954 rm -rf conftest* conftst*
7956 # Do not use the global_symbol_pipe unless it works.
7957 if test "$pipe_works" = yes; then
7960 lt_cv_sys_global_symbol_pipe=
7966 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7967 lt_cv_sys_global_symbol_to_cdecl=
7969 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7971 $as_echo "failed" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7974 $as_echo "ok" >&6; }
7977 # Response file support.
7978 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7979 nm_file_list_spec='@'
7980 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7981 nm_file_list_spec='@'
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8011 $as_echo_n "checking for sysroot... " >&6; }
8013 # Check whether --with-sysroot was given.
8014 if test "${with_sysroot+set}" = set; then :
8015 withval=$with_sysroot;
8022 case ${with_sysroot} in #(
8024 if test "$GCC" = yes; then
8025 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8029 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8035 $as_echo "${with_sysroot}" >&6; }
8036 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8041 $as_echo "${lt_sysroot:-no}" >&6; }
8047 # Check whether --enable-libtool-lock was given.
8048 if test "${enable_libtool_lock+set}" = set; then :
8049 enableval=$enable_libtool_lock;
8052 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8054 # Some flags need to be propagated to the compiler or linker for good
8058 # Find out which ABI we are using.
8059 echo 'int i;' > conftest.$ac_ext
8060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8061 (eval $ac_compile) 2>&5
8063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8064 test $ac_status = 0; }; then
8065 case `/usr/bin/file conftest.$ac_objext` in
8077 # Find out which ABI we are using.
8078 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8080 (eval $ac_compile) 2>&5
8082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8083 test $ac_status = 0; }; then
8084 if test "$lt_cv_prog_gnu_ld" = yes; then
8085 case `/usr/bin/file conftest.$ac_objext` in
8087 LD="${LD-ld} -melf32bsmip"
8090 LD="${LD-ld} -melf32bmipn32"
8093 LD="${LD-ld} -melf64bmip"
8097 case `/usr/bin/file conftest.$ac_objext` in
8113 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8114 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8115 # Find out which ABI we are using.
8116 echo 'int i;' > conftest.$ac_ext
8117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8118 (eval $ac_compile) 2>&5
8120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8121 test $ac_status = 0; }; then
8122 case `/usr/bin/file conftest.o` in
8125 x86_64-*kfreebsd*-gnu)
8126 LD="${LD-ld} -m elf_i386_fbsd"
8129 LD="${LD-ld} -m elf_i386"
8131 ppc64-*linux*|powerpc64-*linux*)
8132 LD="${LD-ld} -m elf32ppclinux"
8135 LD="${LD-ld} -m elf_s390"
8138 LD="${LD-ld} -m elf32_sparc"
8144 x86_64-*kfreebsd*-gnu)
8145 LD="${LD-ld} -m elf_x86_64_fbsd"
8148 LD="${LD-ld} -m elf_x86_64"
8150 ppc*-*linux*|powerpc*-*linux*)
8151 LD="${LD-ld} -m elf64ppc"
8153 s390*-*linux*|s390*-*tpf*)
8154 LD="${LD-ld} -m elf64_s390"
8157 LD="${LD-ld} -m elf64_sparc"
8167 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8168 SAVE_CFLAGS="$CFLAGS"
8169 CFLAGS="$CFLAGS -belf"
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8171 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8172 if ${lt_cv_cc_needs_belf+:} false; then :
8173 $as_echo_n "(cached) " >&6
8176 ac_cpp='$CPP $CPPFLAGS'
8177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8192 if ac_fn_c_try_link "$LINENO"; then :
8193 lt_cv_cc_needs_belf=yes
8195 lt_cv_cc_needs_belf=no
8197 rm -f core conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8200 ac_cpp='$CPP $CPPFLAGS'
8201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8207 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8208 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8209 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8210 CFLAGS="$SAVE_CFLAGS"
8214 # Find out which ABI we are using.
8215 echo 'int i;' > conftest.$ac_ext
8216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8217 (eval $ac_compile) 2>&5
8219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8220 test $ac_status = 0; }; then
8221 case `/usr/bin/file conftest.o` in
8223 case $lt_cv_prog_gnu_ld in
8227 LD="${LD-ld} -m elf_x86_64"
8230 LD="${LD-ld} -m elf64_sparc"
8233 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8234 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8239 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8251 need_locks="$enable_libtool_lock"
8253 if test -n "$ac_tool_prefix"; then
8254 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8255 set dummy ${ac_tool_prefix}mt; ac_word=$2
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8257 $as_echo_n "checking for $ac_word... " >&6; }
8258 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8259 $as_echo_n "(cached) " >&6
8261 if test -n "$MANIFEST_TOOL"; then
8262 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268 test -z "$as_dir" && as_dir=.
8269 for ac_exec_ext in '' $ac_executable_extensions; do
8270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8271 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8281 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8282 if test -n "$MANIFEST_TOOL"; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8284 $as_echo "$MANIFEST_TOOL" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8287 $as_echo "no" >&6; }
8292 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8293 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8294 # Extract the first word of "mt", so it can be a program name with args.
8295 set dummy mt; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8299 $as_echo_n "(cached) " >&6
8301 if test -n "$ac_ct_MANIFEST_TOOL"; then
8302 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8322 if test -n "$ac_ct_MANIFEST_TOOL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8324 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8330 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8333 case $cross_compiling:$ac_tool_warned in
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8337 ac_tool_warned=yes ;;
8339 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8342 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8345 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8347 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8348 if ${lt_cv_path_mainfest_tool+:} false; then :
8349 $as_echo_n "(cached) " >&6
8351 lt_cv_path_mainfest_tool=no
8352 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8353 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8354 cat conftest.err >&5
8355 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8356 lt_cv_path_mainfest_tool=yes
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8361 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8362 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8372 rhapsody* | darwin*)
8373 if test -n "$ac_tool_prefix"; then
8374 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8379 $as_echo_n "(cached) " >&6
8381 if test -n "$DSYMUTIL"; then
8382 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8388 test -z "$as_dir" && as_dir=.
8389 for ac_exec_ext in '' $ac_executable_extensions; do
8390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8391 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8402 if test -n "$DSYMUTIL"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8404 $as_echo "$DSYMUTIL" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8412 if test -z "$ac_cv_prog_DSYMUTIL"; then
8413 ac_ct_DSYMUTIL=$DSYMUTIL
8414 # Extract the first word of "dsymutil", so it can be a program name with args.
8415 set dummy dsymutil; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8419 $as_echo_n "(cached) " >&6
8421 if test -n "$ac_ct_DSYMUTIL"; then
8422 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8441 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8442 if test -n "$ac_ct_DSYMUTIL"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8444 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8450 if test "x$ac_ct_DSYMUTIL" = x; then
8453 case $cross_compiling:$ac_tool_warned in
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8457 ac_tool_warned=yes ;;
8459 DSYMUTIL=$ac_ct_DSYMUTIL
8462 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8465 if test -n "$ac_tool_prefix"; then
8466 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8467 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_prog_NMEDIT+:} false; then :
8471 $as_echo_n "(cached) " >&6
8473 if test -n "$NMEDIT"; then
8474 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8493 NMEDIT=$ac_cv_prog_NMEDIT
8494 if test -n "$NMEDIT"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8496 $as_echo "$NMEDIT" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8504 if test -z "$ac_cv_prog_NMEDIT"; then
8505 ac_ct_NMEDIT=$NMEDIT
8506 # Extract the first word of "nmedit", so it can be a program name with args.
8507 set dummy nmedit; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8511 $as_echo_n "(cached) " >&6
8513 if test -n "$ac_ct_NMEDIT"; then
8514 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8520 test -z "$as_dir" && as_dir=.
8521 for ac_exec_ext in '' $ac_executable_extensions; do
8522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8533 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8534 if test -n "$ac_ct_NMEDIT"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8536 $as_echo "$ac_ct_NMEDIT" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8542 if test "x$ac_ct_NMEDIT" = x; then
8545 case $cross_compiling:$ac_tool_warned in
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8549 ac_tool_warned=yes ;;
8551 NMEDIT=$ac_ct_NMEDIT
8554 NMEDIT="$ac_cv_prog_NMEDIT"
8557 if test -n "$ac_tool_prefix"; then
8558 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8559 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if ${ac_cv_prog_LIPO+:} false; then :
8563 $as_echo_n "(cached) " >&6
8565 if test -n "$LIPO"; then
8566 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir=.
8573 for ac_exec_ext in '' $ac_executable_extensions; do
8574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8575 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8585 LIPO=$ac_cv_prog_LIPO
8586 if test -n "$LIPO"; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8588 $as_echo "$LIPO" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8596 if test -z "$ac_cv_prog_LIPO"; then
8598 # Extract the first word of "lipo", so it can be a program name with args.
8599 set dummy lipo; ac_word=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8603 $as_echo_n "(cached) " >&6
8605 if test -n "$ac_ct_LIPO"; then
8606 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 test -z "$as_dir" && as_dir=.
8613 for ac_exec_ext in '' $ac_executable_extensions; do
8614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615 ac_cv_prog_ac_ct_LIPO="lipo"
8616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8625 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8626 if test -n "$ac_ct_LIPO"; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8628 $as_echo "$ac_ct_LIPO" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631 $as_echo "no" >&6; }
8634 if test "x$ac_ct_LIPO" = x; then
8637 case $cross_compiling:$ac_tool_warned in
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8641 ac_tool_warned=yes ;;
8646 LIPO="$ac_cv_prog_LIPO"
8649 if test -n "$ac_tool_prefix"; then
8650 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8651 set dummy ${ac_tool_prefix}otool; ac_word=$2
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8653 $as_echo_n "checking for $ac_word... " >&6; }
8654 if ${ac_cv_prog_OTOOL+:} false; then :
8655 $as_echo_n "(cached) " >&6
8657 if test -n "$OTOOL"; then
8658 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir=.
8665 for ac_exec_ext in '' $ac_executable_extensions; do
8666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8667 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8677 OTOOL=$ac_cv_prog_OTOOL
8678 if test -n "$OTOOL"; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8680 $as_echo "$OTOOL" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8683 $as_echo "no" >&6; }
8688 if test -z "$ac_cv_prog_OTOOL"; then
8690 # Extract the first word of "otool", so it can be a program name with args.
8691 set dummy otool; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8693 $as_echo_n "checking for $ac_word... " >&6; }
8694 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8695 $as_echo_n "(cached) " >&6
8697 if test -n "$ac_ct_OTOOL"; then
8698 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir=.
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8707 ac_cv_prog_ac_ct_OTOOL="otool"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8717 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8718 if test -n "$ac_ct_OTOOL"; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8720 $as_echo "$ac_ct_OTOOL" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8723 $as_echo "no" >&6; }
8726 if test "x$ac_ct_OTOOL" = x; then
8729 case $cross_compiling:$ac_tool_warned in
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8733 ac_tool_warned=yes ;;
8738 OTOOL="$ac_cv_prog_OTOOL"
8741 if test -n "$ac_tool_prefix"; then
8742 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8743 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8745 $as_echo_n "checking for $ac_word... " >&6; }
8746 if ${ac_cv_prog_OTOOL64+:} false; then :
8747 $as_echo_n "(cached) " >&6
8749 if test -n "$OTOOL64"; then
8750 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8756 test -z "$as_dir" && as_dir=.
8757 for ac_exec_ext in '' $ac_executable_extensions; do
8758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8759 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8769 OTOOL64=$ac_cv_prog_OTOOL64
8770 if test -n "$OTOOL64"; then
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8772 $as_echo "$OTOOL64" >&6; }
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8775 $as_echo "no" >&6; }
8780 if test -z "$ac_cv_prog_OTOOL64"; then
8781 ac_ct_OTOOL64=$OTOOL64
8782 # Extract the first word of "otool64", so it can be a program name with args.
8783 set dummy otool64; ac_word=$2
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8785 $as_echo_n "checking for $ac_word... " >&6; }
8786 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8787 $as_echo_n "(cached) " >&6
8789 if test -n "$ac_ct_OTOOL64"; then
8790 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8796 test -z "$as_dir" && as_dir=.
8797 for ac_exec_ext in '' $ac_executable_extensions; do
8798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8799 ac_cv_prog_ac_ct_OTOOL64="otool64"
8800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8810 if test -n "$ac_ct_OTOOL64"; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8812 $as_echo "$ac_ct_OTOOL64" >&6; }
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8815 $as_echo "no" >&6; }
8818 if test "x$ac_ct_OTOOL64" = x; then
8821 case $cross_compiling:$ac_tool_warned in
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8825 ac_tool_warned=yes ;;
8827 OTOOL64=$ac_ct_OTOOL64
8830 OTOOL64="$ac_cv_prog_OTOOL64"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8860 $as_echo_n "checking for -single_module linker flag... " >&6; }
8861 if ${lt_cv_apple_cc_single_mod+:} false; then :
8862 $as_echo_n "(cached) " >&6
8864 lt_cv_apple_cc_single_mod=no
8865 if test -z "${LT_MULTI_MODULE}"; then
8866 # By default we will add the -single_module flag. You can override
8867 # by either setting the environment variable LT_MULTI_MODULE
8868 # non-empty at configure time, or by adding -multi_module to the
8870 rm -rf libconftest.dylib*
8871 echo "int foo(void){return 1;}" > conftest.c
8872 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8873 -dynamiclib -Wl,-single_module conftest.c" >&5
8874 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8875 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8877 # If there is a non-empty error log, and "single_module"
8878 # appears in it, assume the flag caused a linker warning
8879 if test -s conftest.err && $GREP single_module conftest.err; then
8880 cat conftest.err >&5
8881 # Otherwise, if the output was created with a 0 exit code from
8882 # the compiler, it worked.
8883 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8884 lt_cv_apple_cc_single_mod=yes
8886 cat conftest.err >&5
8888 rm -rf libconftest.dylib*
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8893 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8896 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8897 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8898 $as_echo_n "(cached) " >&6
8900 lt_cv_ld_exported_symbols_list=no
8901 save_LDFLAGS=$LDFLAGS
8902 echo "_main" > conftest.sym
8903 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8915 if ac_fn_c_try_link "$LINENO"; then :
8916 lt_cv_ld_exported_symbols_list=yes
8918 lt_cv_ld_exported_symbols_list=no
8920 rm -f core conftest.err conftest.$ac_objext \
8921 conftest$ac_exeext conftest.$ac_ext
8922 LDFLAGS="$save_LDFLAGS"
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8926 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8929 $as_echo_n "checking for -force_load linker flag... " >&6; }
8930 if ${lt_cv_ld_force_load+:} false; then :
8931 $as_echo_n "(cached) " >&6
8933 lt_cv_ld_force_load=no
8934 cat > conftest.c << _LT_EOF
8935 int forced_loaded() { return 2;}
8937 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8938 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8939 echo "$AR cru libconftest.a conftest.o" >&5
8940 $AR cru libconftest.a conftest.o 2>&5
8941 echo "$RANLIB libconftest.a" >&5
8942 $RANLIB libconftest.a 2>&5
8943 cat > conftest.c << _LT_EOF
8944 int main() { return 0;}
8946 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8947 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8949 if test -s conftest.err && $GREP force_load conftest.err; then
8950 cat conftest.err >&5
8951 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8952 lt_cv_ld_force_load=yes
8954 cat conftest.err >&5
8956 rm -f conftest.err libconftest.a conftest conftest.c
8957 rm -rf conftest.dSYM
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8961 $as_echo "$lt_cv_ld_force_load" >&6; }
8963 rhapsody* | darwin1.[012])
8964 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8966 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8967 darwin*) # darwin 5.x on
8968 # if running on 10.5 or later, the deployment target defaults
8969 # to the OS version, if on x86, and 10.4, the deployment
8970 # target defaults to 10.4. Don't you love it?
8971 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8972 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8973 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8975 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8977 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8981 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8982 _lt_dar_single_mod='$single_module'
8984 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8985 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8987 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8989 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8990 _lt_dsymutil='~$DSYMUTIL $lib || :'
8997 for ac_header in dlfcn.h
8999 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9001 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9002 cat >>confdefs.h <<_ACEOF
9003 #define HAVE_DLFCN_H 1
9022 # Check whether --enable-shared was given.
9023 if test "${enable_shared+set}" = set; then :
9024 enableval=$enable_shared; p=${PACKAGE-default}
9026 yes) enable_shared=yes ;;
9027 no) enable_shared=no ;;
9030 # Look at the argument we got. We use all the common list separators.
9031 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9032 for pkg in $enableval; do
9034 if test "X$pkg" = "X$p"; then
9053 # Check whether --enable-static was given.
9054 if test "${enable_static+set}" = set; then :
9055 enableval=$enable_static; p=${PACKAGE-default}
9057 yes) enable_static=yes ;;
9058 no) enable_static=no ;;
9061 # Look at the argument we got. We use all the common list separators.
9062 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9063 for pkg in $enableval; do
9065 if test "X$pkg" = "X$p"; then
9085 # Check whether --with-pic was given.
9086 if test "${with_pic+set}" = set; then :
9087 withval=$with_pic; lt_p=${PACKAGE-default}
9089 yes|no) pic_mode=$withval ;;
9092 # Look at the argument we got. We use all the common list separators.
9093 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9094 for lt_pkg in $withval; do
9096 if test "X$lt_pkg" = "X$lt_p"; then
9108 test -z "$pic_mode" && pic_mode=default
9116 # Check whether --enable-fast-install was given.
9117 if test "${enable_fast_install+set}" = set; then :
9118 enableval=$enable_fast_install; p=${PACKAGE-default}
9120 yes) enable_fast_install=yes ;;
9121 no) enable_fast_install=no ;;
9123 enable_fast_install=no
9124 # Look at the argument we got. We use all the common list separators.
9125 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9126 for pkg in $enableval; do
9128 if test "X$pkg" = "X$p"; then
9129 enable_fast_install=yes
9136 enable_fast_install=yes
9149 # This can be used to rebuild libtool when needed
9150 LIBTOOL_DEPS="$ltmain"
9152 # Always use our own libtool.
9153 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9184 test -z "$LN_S" && LN_S="ln -s"
9199 if test -n "${ZSH_VERSION+set}" ; then
9200 setopt NO_GLOB_SUBST
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9204 $as_echo_n "checking for objdir... " >&6; }
9205 if ${lt_cv_objdir+:} false; then :
9206 $as_echo_n "(cached) " >&6
9208 rm -f .libs 2>/dev/null
9209 mkdir .libs 2>/dev/null
9210 if test -d .libs; then
9213 # MS-DOS does not allow filenames that begin with a dot.
9216 rmdir .libs 2>/dev/null
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9219 $as_echo "$lt_cv_objdir" >&6; }
9220 objdir=$lt_cv_objdir
9226 cat >>confdefs.h <<_ACEOF
9227 #define LT_OBJDIR "$lt_cv_objdir/"
9235 # AIX sometimes has problems with the GCC collect2 program. For some
9236 # reason, if we set the COLLECT_NAMES environment variable, the problems
9237 # vanish in a puff of smoke.
9238 if test "X${COLLECT_NAMES+set}" != Xset; then
9240 export COLLECT_NAMES
9247 can_build_shared=yes
9249 # All known linkers require a `.a' archive for static linking (except MSVC,
9250 # which needs '.lib').
9253 with_gnu_ld="$lt_cv_prog_gnu_ld"
9256 old_CFLAGS="$CFLAGS"
9258 # Set sane defaults for various variables
9259 test -z "$CC" && CC=cc
9260 test -z "$LTCC" && LTCC=$CC
9261 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9262 test -z "$LD" && LD=ld
9263 test -z "$ac_objext" && ac_objext=o
9265 for cc_temp in $compiler""; do
9267 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9268 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9273 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9276 # Only perform the check for file, if the check method requires it
9277 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9278 case $deplibs_check_method in
9280 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9282 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9283 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9284 $as_echo_n "(cached) " >&6
9288 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9291 lt_save_MAGIC_CMD="$MAGIC_CMD"
9292 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9293 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9294 for ac_dir in $ac_dummy; do
9296 test -z "$ac_dir" && ac_dir=.
9297 if test -f $ac_dir/${ac_tool_prefix}file; then
9298 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9299 if test -n "$file_magic_test_file"; then
9300 case $deplibs_check_method in
9302 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9304 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9305 $EGREP "$file_magic_regex" > /dev/null; then
9310 *** Warning: the command libtool uses to detect shared libraries,
9311 *** $file_magic_cmd, produces output that libtool cannot recognize.
9312 *** The result is that libtool may fail to recognize shared libraries
9313 *** as such. This will affect the creation of libtool libraries that
9314 *** depend on shared libraries, but programs linked with such libtool
9315 *** libraries will work regardless of this problem. Nevertheless, you
9316 *** may want to report the problem to your system manager and/or to
9317 *** bug-libtool@gnu.org
9327 MAGIC_CMD="$lt_save_MAGIC_CMD"
9332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9333 if test -n "$MAGIC_CMD"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9335 $as_echo "$MAGIC_CMD" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9338 $as_echo "no" >&6; }
9345 if test -z "$lt_cv_path_MAGIC_CMD"; then
9346 if test -n "$ac_tool_prefix"; then
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9348 $as_echo_n "checking for file... " >&6; }
9349 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9350 $as_echo_n "(cached) " >&6
9354 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9357 lt_save_MAGIC_CMD="$MAGIC_CMD"
9358 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9359 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9360 for ac_dir in $ac_dummy; do
9362 test -z "$ac_dir" && ac_dir=.
9363 if test -f $ac_dir/file; then
9364 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9365 if test -n "$file_magic_test_file"; then
9366 case $deplibs_check_method in
9368 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9369 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9370 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9371 $EGREP "$file_magic_regex" > /dev/null; then
9376 *** Warning: the command libtool uses to detect shared libraries,
9377 *** $file_magic_cmd, produces output that libtool cannot recognize.
9378 *** The result is that libtool may fail to recognize shared libraries
9379 *** as such. This will affect the creation of libtool libraries that
9380 *** depend on shared libraries, but programs linked with such libtool
9381 *** libraries will work regardless of this problem. Nevertheless, you
9382 *** may want to report the problem to your system manager and/or to
9383 *** bug-libtool@gnu.org
9393 MAGIC_CMD="$lt_save_MAGIC_CMD"
9398 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9399 if test -n "$MAGIC_CMD"; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9401 $as_echo "$MAGIC_CMD" >&6; }
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9404 $as_echo "no" >&6; }
9417 # Use C for the default configuration in the libtool script
9421 ac_cpp='$CPP $CPPFLAGS'
9422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9427 # Source file extension for C test sources.
9430 # Object file extension for compiled C test sources.
9434 # Code to be used in simple compile tests
9435 lt_simple_compile_test_code="int some_variable = 0;"
9437 # Code to be used in simple link tests
9438 lt_simple_link_test_code='int main(){return(0);}'
9446 # If no C compiler was specified, use CC.
9449 # If no C compiler flags were specified, use CFLAGS.
9450 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9452 # Allow CC to be a program name with arguments.
9455 # Save the default compiler, since it gets overwritten when the other
9456 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9457 compiler_DEFAULT=$CC
9459 # save warnings/boilerplate of simple test code
9460 ac_outfile=conftest.$ac_objext
9461 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9462 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9463 _lt_compiler_boilerplate=`cat conftest.err`
9466 ac_outfile=conftest.$ac_objext
9467 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9468 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9469 _lt_linker_boilerplate=`cat conftest.err`
9473 if test -n "$compiler"; then
9475 lt_prog_compiler_no_builtin_flag=
9477 if test "$GCC" = yes; then
9478 case $cc_basename in
9480 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9482 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9486 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9487 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9488 $as_echo_n "(cached) " >&6
9490 lt_cv_prog_compiler_rtti_exceptions=no
9491 ac_outfile=conftest.$ac_objext
9492 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9493 lt_compiler_flag="-fno-rtti -fno-exceptions"
9494 # Insert the option either (1) after the last *FLAGS variable, or
9495 # (2) before a word containing "conftest.", or (3) at the end.
9496 # Note that $ac_compile itself does not contain backslashes and begins
9497 # with a dollar sign (not a hyphen), so the echo should work correctly.
9498 # The option is referenced via a variable to avoid confusing sed.
9499 lt_compile=`echo "$ac_compile" | $SED \
9500 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9502 -e 's:$: $lt_compiler_flag:'`
9503 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9504 (eval "$lt_compile" 2>conftest.err)
9506 cat conftest.err >&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 if (exit $ac_status) && test -s "$ac_outfile"; then
9509 # The compiler can only warn and ignore the option if not recognized
9510 # So say no if there are warnings other than the usual output.
9511 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9512 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9513 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9514 lt_cv_prog_compiler_rtti_exceptions=yes
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9521 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9523 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9524 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9536 lt_prog_compiler_wl=
9537 lt_prog_compiler_pic=
9538 lt_prog_compiler_static=
9541 if test "$GCC" = yes; then
9542 lt_prog_compiler_wl='-Wl,'
9543 lt_prog_compiler_static='-static'
9547 # All AIX code is PIC.
9548 if test "$host_cpu" = ia64; then
9549 # AIX 5 now supports IA64 processor
9550 lt_prog_compiler_static='-Bstatic'
9557 # see comment about AmigaOS4 .so support
9558 lt_prog_compiler_pic='-fPIC'
9561 # FIXME: we need at least 68020 code to build shared libraries, but
9562 # adding the `-m68020' flag to GCC prevents building anything better,
9564 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9569 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9570 # PIC is the default for these OSes.
9573 mingw* | cygwin* | pw32* | os2* | cegcc*)
9574 # This hack is so that the source file can tell whether it is being
9575 # built for inclusion in a dll (and should export symbols for example).
9576 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9577 # (--disable-auto-import) libraries
9578 lt_prog_compiler_pic='-DDLL_EXPORT'
9581 darwin* | rhapsody*)
9582 # PIC is the default on this platform
9583 # Common symbols not allowed in MH_DYLIB files
9584 lt_prog_compiler_pic='-fno-common'
9588 # PIC is the default for Haiku.
9589 # The "-static" flag exists, but is broken.
9590 lt_prog_compiler_static=
9594 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9595 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9596 # sets the default TLS model and affects inlining.
9602 lt_prog_compiler_pic='-fPIC'
9608 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9609 # Instead, we relocate shared libraries at runtime.
9613 # Just because we use GCC doesn't mean we suddenly get shared libraries
9614 # on systems that don't support them.
9615 lt_prog_compiler_can_build_shared=no
9620 # QNX uses GNU C++, but need to define -shared option too, otherwise
9622 lt_prog_compiler_pic='-fPIC -shared'
9626 if test -d /usr/nec; then
9627 lt_prog_compiler_pic=-Kconform_pic
9632 lt_prog_compiler_pic='-fPIC'
9636 case $cc_basename in
9637 nvcc*) # Cuda Compiler Driver 2.2
9638 lt_prog_compiler_wl='-Xlinker '
9639 if test -n "$lt_prog_compiler_pic"; then
9640 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9645 # PORTME Check for flag to pass linker flags through the system compiler.
9648 lt_prog_compiler_wl='-Wl,'
9649 if test "$host_cpu" = ia64; then
9650 # AIX 5 now supports IA64 processor
9651 lt_prog_compiler_static='-Bstatic'
9653 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9657 mingw* | cygwin* | pw32* | os2* | cegcc*)
9658 # This hack is so that the source file can tell whether it is being
9659 # built for inclusion in a dll (and should export symbols for example).
9660 lt_prog_compiler_pic='-DDLL_EXPORT'
9663 hpux9* | hpux10* | hpux11*)
9664 lt_prog_compiler_wl='-Wl,'
9665 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9672 lt_prog_compiler_pic='+Z'
9675 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9676 lt_prog_compiler_static='${wl}-a ${wl}archive'
9679 irix5* | irix6* | nonstopux*)
9680 lt_prog_compiler_wl='-Wl,'
9681 # PIC (with -KPIC) is the default.
9682 lt_prog_compiler_static='-non_shared'
9685 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9686 case $cc_basename in
9687 # old Intel for x86_64 which still supported -KPIC.
9689 lt_prog_compiler_wl='-Wl,'
9690 lt_prog_compiler_pic='-KPIC'
9691 lt_prog_compiler_static='-static'
9693 # icc used to be incompatible with GCC.
9694 # ICC 10 doesn't accept -KPIC any more.
9696 lt_prog_compiler_wl='-Wl,'
9697 lt_prog_compiler_pic='-fPIC'
9698 lt_prog_compiler_static='-static'
9700 # Lahey Fortran 8.1.
9702 lt_prog_compiler_wl='-Wl,'
9703 lt_prog_compiler_pic='--shared'
9704 lt_prog_compiler_static='--static'
9707 # NAG Fortran compiler
9708 lt_prog_compiler_wl='-Wl,-Wl,,'
9709 lt_prog_compiler_pic='-PIC'
9710 lt_prog_compiler_static='-Bstatic'
9712 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9713 # Portland Group compilers (*not* the Pentium gcc compiler,
9714 # which looks to be a dead project)
9715 lt_prog_compiler_wl='-Wl,'
9716 lt_prog_compiler_pic='-fpic'
9717 lt_prog_compiler_static='-Bstatic'
9720 lt_prog_compiler_wl='-Wl,'
9721 # All Alpha code is PIC.
9722 lt_prog_compiler_static='-non_shared'
9724 xl* | bgxl* | bgf* | mpixl*)
9725 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9726 lt_prog_compiler_wl='-Wl,'
9727 lt_prog_compiler_pic='-qpic'
9728 lt_prog_compiler_static='-qstaticlink'
9731 case `$CC -V 2>&1 | sed 5q` in
9732 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9733 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9734 lt_prog_compiler_pic='-KPIC'
9735 lt_prog_compiler_static='-Bstatic'
9736 lt_prog_compiler_wl=''
9738 *Sun\ F* | *Sun*Fortran*)
9739 lt_prog_compiler_pic='-KPIC'
9740 lt_prog_compiler_static='-Bstatic'
9741 lt_prog_compiler_wl='-Qoption ld '
9745 lt_prog_compiler_pic='-KPIC'
9746 lt_prog_compiler_static='-Bstatic'
9747 lt_prog_compiler_wl='-Wl,'
9749 *Intel*\ [CF]*Compiler*)
9750 lt_prog_compiler_wl='-Wl,'
9751 lt_prog_compiler_pic='-fPIC'
9752 lt_prog_compiler_static='-static'
9755 lt_prog_compiler_wl='-Wl,'
9756 lt_prog_compiler_pic='-fpic'
9757 lt_prog_compiler_static='-Bstatic'
9765 lt_prog_compiler_pic='-KPIC'
9766 lt_prog_compiler_static='-Bstatic'
9770 # QNX uses GNU C++, but need to define -shared option too, otherwise
9772 lt_prog_compiler_pic='-fPIC -shared'
9775 osf3* | osf4* | osf5*)
9776 lt_prog_compiler_wl='-Wl,'
9777 # All OSF/1 code is PIC.
9778 lt_prog_compiler_static='-non_shared'
9782 lt_prog_compiler_static='-non_shared'
9786 lt_prog_compiler_pic='-KPIC'
9787 lt_prog_compiler_static='-Bstatic'
9788 case $cc_basename in
9789 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9790 lt_prog_compiler_wl='-Qoption ld ';;
9792 lt_prog_compiler_wl='-Wl,';;
9797 lt_prog_compiler_wl='-Qoption ld '
9798 lt_prog_compiler_pic='-PIC'
9799 lt_prog_compiler_static='-Bstatic'
9802 sysv4 | sysv4.2uw2* | sysv4.3*)
9803 lt_prog_compiler_wl='-Wl,'
9804 lt_prog_compiler_pic='-KPIC'
9805 lt_prog_compiler_static='-Bstatic'
9809 if test -d /usr/nec ;then
9810 lt_prog_compiler_pic='-Kconform_pic'
9811 lt_prog_compiler_static='-Bstatic'
9815 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9816 lt_prog_compiler_wl='-Wl,'
9817 lt_prog_compiler_pic='-KPIC'
9818 lt_prog_compiler_static='-Bstatic'
9822 lt_prog_compiler_wl='-Wl,'
9823 lt_prog_compiler_can_build_shared=no
9827 lt_prog_compiler_pic='-pic'
9828 lt_prog_compiler_static='-Bstatic'
9832 lt_prog_compiler_can_build_shared=no
9838 # For platforms which do not support PIC, -DPIC is meaningless:
9840 lt_prog_compiler_pic=
9843 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9848 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9849 if ${lt_cv_prog_compiler_pic+:} false; then :
9850 $as_echo_n "(cached) " >&6
9852 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9855 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9856 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9859 # Check to make sure the PIC flag actually works.
9861 if test -n "$lt_prog_compiler_pic"; then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9863 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9864 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9865 $as_echo_n "(cached) " >&6
9867 lt_cv_prog_compiler_pic_works=no
9868 ac_outfile=conftest.$ac_objext
9869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9870 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9871 # Insert the option either (1) after the last *FLAGS variable, or
9872 # (2) before a word containing "conftest.", or (3) at the end.
9873 # Note that $ac_compile itself does not contain backslashes and begins
9874 # with a dollar sign (not a hyphen), so the echo should work correctly.
9875 # The option is referenced via a variable to avoid confusing sed.
9876 lt_compile=`echo "$ac_compile" | $SED \
9877 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9878 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9879 -e 's:$: $lt_compiler_flag:'`
9880 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9881 (eval "$lt_compile" 2>conftest.err)
9883 cat conftest.err >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 if (exit $ac_status) && test -s "$ac_outfile"; then
9886 # The compiler can only warn and ignore the option if not recognized
9887 # So say no if there are warnings other than the usual output.
9888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9889 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9890 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9891 lt_cv_prog_compiler_pic_works=yes
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9898 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9900 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9901 case $lt_prog_compiler_pic in
9903 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9906 lt_prog_compiler_pic=
9907 lt_prog_compiler_can_build_shared=no
9923 # Check to make sure the static flag actually works.
9925 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9927 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9928 if ${lt_cv_prog_compiler_static_works+:} false; then :
9929 $as_echo_n "(cached) " >&6
9931 lt_cv_prog_compiler_static_works=no
9932 save_LDFLAGS="$LDFLAGS"
9933 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9934 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9935 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9936 # The linker can only warn and ignore the option if not recognized
9937 # So say no if there are warnings
9938 if test -s conftest.err; then
9939 # Append any errors to the config.log.
9940 cat conftest.err 1>&5
9941 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9942 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9943 if diff conftest.exp conftest.er2 >/dev/null; then
9944 lt_cv_prog_compiler_static_works=yes
9947 lt_cv_prog_compiler_static_works=yes
9951 LDFLAGS="$save_LDFLAGS"
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9955 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9957 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9960 lt_prog_compiler_static=
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9970 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9971 if ${lt_cv_prog_compiler_c_o+:} false; then :
9972 $as_echo_n "(cached) " >&6
9974 lt_cv_prog_compiler_c_o=no
9975 $RM -r conftest 2>/dev/null
9979 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9981 lt_compiler_flag="-o out/conftest2.$ac_objext"
9982 # Insert the option either (1) after the last *FLAGS variable, or
9983 # (2) before a word containing "conftest.", or (3) at the end.
9984 # Note that $ac_compile itself does not contain backslashes and begins
9985 # with a dollar sign (not a hyphen), so the echo should work correctly.
9986 lt_compile=`echo "$ac_compile" | $SED \
9987 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9988 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9989 -e 's:$: $lt_compiler_flag:'`
9990 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9991 (eval "$lt_compile" 2>out/conftest.err)
9993 cat out/conftest.err >&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9997 # The compiler can only warn and ignore the option if not recognized
9998 # So say no if there are warnings
9999 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10000 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10001 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10002 lt_cv_prog_compiler_c_o=yes
10007 # SGI C++ compiler will create directory out/ii_files/ for
10008 # template instantiation
10009 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10010 $RM out/* && rmdir out
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10017 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10026 if ${lt_cv_prog_compiler_c_o+:} false; then :
10027 $as_echo_n "(cached) " >&6
10029 lt_cv_prog_compiler_c_o=no
10030 $RM -r conftest 2>/dev/null
10034 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10036 lt_compiler_flag="-o out/conftest2.$ac_objext"
10037 # Insert the option either (1) after the last *FLAGS variable, or
10038 # (2) before a word containing "conftest.", or (3) at the end.
10039 # Note that $ac_compile itself does not contain backslashes and begins
10040 # with a dollar sign (not a hyphen), so the echo should work correctly.
10041 lt_compile=`echo "$ac_compile" | $SED \
10042 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10043 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10044 -e 's:$: $lt_compiler_flag:'`
10045 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10046 (eval "$lt_compile" 2>out/conftest.err)
10048 cat out/conftest.err >&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10052 # The compiler can only warn and ignore the option if not recognized
10053 # So say no if there are warnings
10054 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10055 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10056 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10057 lt_cv_prog_compiler_c_o=yes
10062 # SGI C++ compiler will create directory out/ii_files/ for
10063 # template instantiation
10064 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10065 $RM out/* && rmdir out
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10072 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10077 hard_links="nottested"
10078 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10079 # do not overwrite the value of need_locks provided by the user
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10081 $as_echo_n "checking if we can lock with hard links... " >&6; }
10084 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10086 ln conftest.a conftest.b 2>&5 || hard_links=no
10087 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10089 $as_echo "$hard_links" >&6; }
10090 if test "$hard_links" = no; then
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10092 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10105 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10108 allow_undefined_flag=
10109 always_export_symbols=no
10111 archive_expsym_cmds=
10112 compiler_needs_object=no
10113 enable_shared_with_static_runtimes=no
10114 export_dynamic_flag_spec=
10115 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10116 hardcode_automatic=no
10118 hardcode_direct_absolute=no
10119 hardcode_libdir_flag_spec=
10120 hardcode_libdir_separator=
10121 hardcode_minus_L=no
10122 hardcode_shlibpath_var=unsupported
10124 link_all_deplibs=unknown
10126 module_expsym_cmds=
10127 old_archive_from_new_cmds=
10128 old_archive_from_expsyms_cmds=
10129 thread_safe_flag_spec=
10130 whole_archive_flag_spec=
10131 # include_expsyms should be a list of space-separated symbols to be *always*
10132 # included in the symbol list
10134 # exclude_expsyms can be an extended regexp of symbols to exclude
10135 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10136 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10137 # as well as any symbol that contains `d'.
10138 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10139 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10140 # platforms (ab)use it in PIC code, but their linkers get confused if
10141 # the symbol is explicitly referenced. Since portable code cannot
10142 # rely on this symbol name, it's probably fine to never include it in
10143 # preloaded symbol tables.
10144 # Exclude shared library initialization/finalization symbols.
10145 extract_expsyms_cmds=
10148 cygwin* | mingw* | pw32* | cegcc*)
10149 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10150 # When not using gcc, we currently assume that we are using
10151 # Microsoft Visual C++.
10152 if test "$GCC" != yes; then
10157 # we just hope/assume this is gcc and not c89 (= MSVC++)
10167 # On some targets, GNU ld is compatible enough with the native linker
10168 # that we're better off using the native interface for both.
10169 lt_use_gnu_ld_interface=no
10170 if test "$with_gnu_ld" = yes; then
10173 # The AIX port of GNU ld has always aspired to compatibility
10174 # with the native linker. However, as the warning in the GNU ld
10175 # block says, versions before 2.19.5* couldn't really create working
10176 # shared libraries, regardless of the interface used.
10177 case `$LD -v 2>&1` in
10178 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10179 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10180 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10182 lt_use_gnu_ld_interface=yes
10187 lt_use_gnu_ld_interface=yes
10192 if test "$lt_use_gnu_ld_interface" = yes; then
10193 # If archive_cmds runs LD, not CC, wlarc should be empty
10196 # Set some defaults for GNU ld with shared library support. These
10197 # are reset later if shared libraries are not supported. Putting them
10198 # here allows them to be overridden if necessary.
10199 runpath_var=LD_RUN_PATH
10200 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10201 export_dynamic_flag_spec='${wl}--export-dynamic'
10202 # ancient GNU ld didn't support --whole-archive et. al.
10203 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10204 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10206 whole_archive_flag_spec=
10208 supports_anon_versioning=no
10209 case `$LD -v 2>&1` in
10210 *GNU\ gold*) supports_anon_versioning=yes ;;
10211 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10212 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10213 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10214 *\ 2.11.*) ;; # other 2.11 versions
10215 *) supports_anon_versioning=yes ;;
10218 # See if GNU ld supports shared libraries.
10221 # On AIX/PPC, the GNU linker is very broken
10222 if test "$host_cpu" != ia64; then
10226 *** Warning: the GNU linker, at least up to release 2.19, is reported
10227 *** to be unable to reliably create shared libraries on AIX.
10228 *** Therefore, libtool is disabling shared libraries support. If you
10229 *** really care for shared libraries, you may want to install binutils
10230 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10231 *** You will then need to restart the configuration process.
10240 # see comment about AmigaOS4 .so support
10241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10242 archive_expsym_cmds=''
10245 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)'
10246 hardcode_libdir_flag_spec='-L$libdir'
10247 hardcode_minus_L=yes
10253 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10254 allow_undefined_flag=unsupported
10255 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10256 # support --undefined. This deserves some investigation. FIXME
10257 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10263 cygwin* | mingw* | pw32* | cegcc*)
10264 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10265 # as there is no search path for DLLs.
10266 hardcode_libdir_flag_spec='-L$libdir'
10267 export_dynamic_flag_spec='${wl}--export-all-symbols'
10268 allow_undefined_flag=unsupported
10269 always_export_symbols=no
10270 enable_shared_with_static_runtimes=yes
10271 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'
10272 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10274 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10275 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10276 # If the export-symbols file already is a .def file (1st line
10277 # is EXPORTS), use it as is; otherwise, prepend...
10278 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10279 cp $export_symbols $output_objdir/$soname.def;
10281 echo EXPORTS > $output_objdir/$soname.def;
10282 cat $export_symbols >> $output_objdir/$soname.def;
10284 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10291 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10292 link_all_deplibs=yes
10297 hardcode_shlibpath_var=no
10298 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10299 export_dynamic_flag_spec='${wl}-E'
10300 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10301 # Instead, shared libraries are loaded at an image base (0x10000000 by
10302 # default) and relocated if they conflict, which is a slow very memory
10303 # consuming and fragmenting process. To avoid this, we pick a random,
10304 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10305 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10306 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10307 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'
10310 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10312 if test "$host_os" = linux-dietlibc; then
10313 case $cc_basename in
10314 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10317 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10318 && test "$tmp_diet" = no
10320 tmp_addflag=' $pic_flag'
10321 tmp_sharedflag='-shared'
10322 case $cc_basename,$host_cpu in
10323 pgcc*) # Portland Group C compiler
10324 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'
10325 tmp_addflag=' $pic_flag'
10327 pgf77* | pgf90* | pgf95* | pgfortran*)
10328 # Portland Group f77 and f90 compilers
10329 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'
10330 tmp_addflag=' $pic_flag -Mnomain' ;;
10331 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10332 tmp_addflag=' -i_dynamic' ;;
10333 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10334 tmp_addflag=' -i_dynamic -nofor_main' ;;
10335 ifc* | ifort*) # Intel Fortran compiler
10336 tmp_addflag=' -nofor_main' ;;
10337 lf95*) # Lahey Fortran 8.1
10338 whole_archive_flag_spec=
10339 tmp_sharedflag='--shared' ;;
10340 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10341 tmp_sharedflag='-qmkshrobj'
10343 nvcc*) # Cuda Compiler Driver 2.2
10344 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'
10345 compiler_needs_object=yes
10348 case `$CC -V 2>&1 | sed 5q` in
10349 *Sun\ C*) # Sun C 5.9
10350 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'
10351 compiler_needs_object=yes
10352 tmp_sharedflag='-G' ;;
10353 *Sun\ F*) # Sun Fortran 8.3
10354 tmp_sharedflag='-G' ;;
10356 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10358 if test "x$supports_anon_versioning" = xyes; then
10359 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10360 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10361 echo "local: *; };" >> $output_objdir/$libname.ver~
10362 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10365 case $cc_basename in
10366 xlf* | bgf* | bgxlf* | mpixlf*)
10367 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10368 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10369 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10370 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10371 if test "x$supports_anon_versioning" = xyes; then
10372 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10373 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10374 echo "local: *; };" >> $output_objdir/$libname.ver~
10375 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10385 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10386 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10389 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10390 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10395 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10399 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10400 *** create shared libraries on Solaris systems. Therefore, libtool
10401 *** is disabling shared libraries support. We urge you to upgrade GNU
10402 *** binutils to release 2.9.1 or newer. Another option is to modify
10403 *** your PATH or compiler configuration so that the native linker is
10404 *** used, and then restart.
10407 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10408 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10409 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10415 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10416 case `$LD -v 2>&1` in
10417 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10421 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10422 *** reliably create shared libraries on SCO systems. Therefore, libtool
10423 *** is disabling shared libraries support. We urge you to upgrade GNU
10424 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10425 *** your PATH or compiler configuration so that the native linker is
10426 *** used, and then restart.
10431 # For security reasons, it is highly recommended that you always
10432 # use absolute paths for naming shared libraries, and exclude the
10433 # DT_RUNPATH tag from executables and libraries. But doing so
10434 # requires that you compile everything twice, which is a pain.
10435 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10436 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10437 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10438 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10447 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10449 hardcode_direct=yes
10450 hardcode_shlibpath_var=no
10454 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10455 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10456 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10463 if test "$ld_shlibs" = no; then
10465 hardcode_libdir_flag_spec=
10466 export_dynamic_flag_spec=
10467 whole_archive_flag_spec=
10470 # PORTME fill in a description of your system's linker (not GNU ld)
10473 allow_undefined_flag=unsupported
10474 always_export_symbols=yes
10475 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'
10476 # Note: this linker hardcodes the directories in LIBPATH if there
10477 # are no directories specified by -L.
10478 hardcode_minus_L=yes
10479 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10480 # Neither direct hardcoding nor static linking is supported with a
10482 hardcode_direct=unsupported
10487 if test "$host_cpu" = ia64; then
10488 # On IA64, the linker does run time linking by default, so we don't
10489 # have to do anything special.
10490 aix_use_runtimelinking=no
10491 exp_sym_flag='-Bexport'
10494 # If we're using GNU nm, then we don't want the "-C" option.
10495 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10496 # Also, AIX nm treats weak defined symbols like other global
10497 # defined symbols, whereas GNU nm marks them as "W".
10498 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10499 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'
10501 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'
10503 aix_use_runtimelinking=no
10505 # Test if we are trying to use run time linking or normal
10506 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10507 # need to do runtime linking.
10508 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10509 for ld_flag in $LDFLAGS; do
10510 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10511 aix_use_runtimelinking=yes
10518 exp_sym_flag='-bexport'
10519 no_entry_flag='-bnoentry'
10522 # When large executables or shared objects are built, AIX ld can
10523 # have problems creating the table of contents. If linking a library
10524 # or program results in "error TOC overflow" add -mminimal-toc to
10525 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10526 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10529 hardcode_direct=yes
10530 hardcode_direct_absolute=yes
10531 hardcode_libdir_separator=':'
10532 link_all_deplibs=yes
10533 file_list_spec='${wl}-f,'
10535 if test "$GCC" = yes; then
10536 case $host_os in aix4.[012]|aix4.[012].*)
10537 # We only want to do this on AIX 4.2 and lower, the check
10538 # below for broken collect2 doesn't work under 4.3+
10539 collect2name=`${CC} -print-prog-name=collect2`
10540 if test -f "$collect2name" &&
10541 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10543 # We have reworked collect2
10546 # We have old collect2
10547 hardcode_direct=unsupported
10548 # It fails to find uninstalled libraries when the uninstalled
10549 # path is not listed in the libpath. Setting hardcode_minus_L
10550 # to unsupported forces relinking
10551 hardcode_minus_L=yes
10552 hardcode_libdir_flag_spec='-L$libdir'
10553 hardcode_libdir_separator=
10557 shared_flag='-shared'
10558 if test "$aix_use_runtimelinking" = yes; then
10559 shared_flag="$shared_flag "'${wl}-G'
10563 if test "$host_cpu" = ia64; then
10564 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10565 # chokes on -Wl,-G. The following line is correct:
10568 if test "$aix_use_runtimelinking" = yes; then
10569 shared_flag='${wl}-G'
10571 shared_flag='${wl}-bM:SRE'
10576 export_dynamic_flag_spec='${wl}-bexpall'
10577 # It seems that -bexpall does not export symbols beginning with
10578 # underscore (_), so it is better to generate a list of symbols to export.
10579 always_export_symbols=yes
10580 if test "$aix_use_runtimelinking" = yes; then
10581 # Warning - without using the other runtime loading flags (-brtl),
10582 # -berok will link without error, but may produce a broken library.
10583 allow_undefined_flag='-berok'
10584 # Determine the default libpath from the value encoded in an
10585 # empty executable.
10586 if test "${lt_cv_aix_libpath+set}" = set; then
10587 aix_libpath=$lt_cv_aix_libpath
10589 if ${lt_cv_aix_libpath_+:} false; then :
10590 $as_echo_n "(cached) " >&6
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10603 if ac_fn_c_try_link "$LINENO"; then :
10605 lt_aix_libpath_sed='
10606 /Import File Strings/,/^$/ {
10608 s/^0 *\([^ ]*\) *$/\1/
10612 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10613 # Check for a 64-bit object if we didn't find anything.
10614 if test -z "$lt_cv_aix_libpath_"; then
10615 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10618 rm -f core conftest.err conftest.$ac_objext \
10619 conftest$ac_exeext conftest.$ac_ext
10620 if test -z "$lt_cv_aix_libpath_"; then
10621 lt_cv_aix_libpath_="/usr/lib:/lib"
10626 aix_libpath=$lt_cv_aix_libpath_
10629 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10630 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"
10632 if test "$host_cpu" = ia64; then
10633 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10634 allow_undefined_flag="-z nodefs"
10635 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"
10637 # Determine the default libpath from the value encoded in an
10638 # empty executable.
10639 if test "${lt_cv_aix_libpath+set}" = set; then
10640 aix_libpath=$lt_cv_aix_libpath
10642 if ${lt_cv_aix_libpath_+:} false; then :
10643 $as_echo_n "(cached) " >&6
10645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10646 /* end confdefs.h. */
10656 if ac_fn_c_try_link "$LINENO"; then :
10658 lt_aix_libpath_sed='
10659 /Import File Strings/,/^$/ {
10661 s/^0 *\([^ ]*\) *$/\1/
10665 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10666 # Check for a 64-bit object if we didn't find anything.
10667 if test -z "$lt_cv_aix_libpath_"; then
10668 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10671 rm -f core conftest.err conftest.$ac_objext \
10672 conftest$ac_exeext conftest.$ac_ext
10673 if test -z "$lt_cv_aix_libpath_"; then
10674 lt_cv_aix_libpath_="/usr/lib:/lib"
10679 aix_libpath=$lt_cv_aix_libpath_
10682 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10683 # Warning - without using the other run time loading flags,
10684 # -berok will link without error, but may produce a broken library.
10685 no_undefined_flag=' ${wl}-bernotok'
10686 allow_undefined_flag=' ${wl}-berok'
10687 if test "$with_gnu_ld" = yes; then
10688 # We only use this code for GNU lds that support --whole-archive.
10689 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10691 # Exported symbols can be pulled into shared objects from archives
10692 whole_archive_flag_spec='$convenience'
10694 archive_cmds_need_lc=yes
10695 # This is similar to how AIX traditionally builds its shared libraries.
10696 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'
10704 # see comment about AmigaOS4 .so support
10705 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10706 archive_expsym_cmds=''
10709 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)'
10710 hardcode_libdir_flag_spec='-L$libdir'
10711 hardcode_minus_L=yes
10717 export_dynamic_flag_spec=-rdynamic
10720 cygwin* | mingw* | pw32* | cegcc*)
10721 # When not using gcc, we currently assume that we are using
10722 # Microsoft Visual C++.
10723 # hardcode_libdir_flag_spec is actually meaningless, as there is
10724 # no search path for DLLs.
10725 case $cc_basename in
10728 hardcode_libdir_flag_spec=' '
10729 allow_undefined_flag=unsupported
10730 always_export_symbols=yes
10732 # Tell ltmain to make .lib files, not .a files.
10734 # Tell ltmain to make .dll files, not .so files.
10736 # FIXME: Setting linknames here is a bad hack.
10737 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10738 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10739 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10741 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10743 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10745 # The linker will not automatically build a static lib if we build a DLL.
10746 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10747 enable_shared_with_static_runtimes=yes
10748 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10749 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10751 old_postinstall_cmds='chmod 644 $oldlib'
10752 postlink_cmds='lt_outputfile="@OUTPUT@"~
10753 lt_tool_outputfile="@TOOL_OUTPUT@"~
10754 case $lt_outputfile in
10757 lt_outputfile="$lt_outputfile.exe"
10758 lt_tool_outputfile="$lt_tool_outputfile.exe"
10761 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10762 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10763 $RM "$lt_outputfile.manifest";
10767 # Assume MSVC wrapper
10768 hardcode_libdir_flag_spec=' '
10769 allow_undefined_flag=unsupported
10770 # Tell ltmain to make .lib files, not .a files.
10772 # Tell ltmain to make .dll files, not .so files.
10774 # FIXME: Setting linknames here is a bad hack.
10775 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10776 # The linker will automatically build a .lib file if we build a DLL.
10777 old_archive_from_new_cmds='true'
10778 # FIXME: Should let the user specify the lib program.
10779 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10780 enable_shared_with_static_runtimes=yes
10785 darwin* | rhapsody*)
10788 archive_cmds_need_lc=no
10790 hardcode_automatic=yes
10791 hardcode_shlibpath_var=unsupported
10792 if test "$lt_cv_ld_force_load" = "yes"; then
10793 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\"`'
10796 whole_archive_flag_spec=''
10798 link_all_deplibs=yes
10799 allow_undefined_flag="$_lt_dar_allow_undefined"
10800 case $cc_basename in
10801 ifort*) _lt_dar_can_shared=yes ;;
10802 *) _lt_dar_can_shared=$GCC ;;
10804 if test "$_lt_dar_can_shared" = "yes"; then
10805 output_verbose_link_cmd=func_echo_all
10806 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10807 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10808 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}"
10809 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}"
10818 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819 hardcode_libdir_flag_spec='-L$libdir'
10820 hardcode_shlibpath_var=no
10823 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10824 # support. Future versions do this automatically, but an explicit c++rt0.o
10825 # does not break anything, and helps significantly (at the cost of a little
10828 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10829 hardcode_libdir_flag_spec='-R$libdir'
10830 hardcode_direct=yes
10831 hardcode_shlibpath_var=no
10834 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10836 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10837 hardcode_direct=yes
10838 hardcode_minus_L=yes
10839 hardcode_shlibpath_var=no
10842 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10843 freebsd* | dragonfly*)
10844 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10845 hardcode_libdir_flag_spec='-R$libdir'
10846 hardcode_direct=yes
10847 hardcode_shlibpath_var=no
10851 if test "$GCC" = yes; then
10852 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'
10854 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'
10856 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10857 hardcode_libdir_separator=:
10858 hardcode_direct=yes
10860 # hardcode_minus_L: Not really in the search PATH,
10861 # but as the default location of the library.
10862 hardcode_minus_L=yes
10863 export_dynamic_flag_spec='${wl}-E'
10867 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10868 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10870 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10872 if test "$with_gnu_ld" = no; then
10873 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10874 hardcode_libdir_separator=:
10875 hardcode_direct=yes
10876 hardcode_direct_absolute=yes
10877 export_dynamic_flag_spec='${wl}-E'
10878 # hardcode_minus_L: Not really in the search PATH,
10879 # but as the default location of the library.
10880 hardcode_minus_L=yes
10885 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10888 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10891 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10894 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10900 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10903 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10907 # Older versions of the 11.00 compiler do not understand -b yet
10908 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10910 $as_echo_n "checking if $CC understands -b... " >&6; }
10911 if ${lt_cv_prog_compiler__b+:} false; then :
10912 $as_echo_n "(cached) " >&6
10914 lt_cv_prog_compiler__b=no
10915 save_LDFLAGS="$LDFLAGS"
10916 LDFLAGS="$LDFLAGS -b"
10917 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10918 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10919 # The linker can only warn and ignore the option if not recognized
10920 # So say no if there are warnings
10921 if test -s conftest.err; then
10922 # Append any errors to the config.log.
10923 cat conftest.err 1>&5
10924 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10925 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10926 if diff conftest.exp conftest.er2 >/dev/null; then
10927 lt_cv_prog_compiler__b=yes
10930 lt_cv_prog_compiler__b=yes
10934 LDFLAGS="$save_LDFLAGS"
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10938 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10940 if test x"$lt_cv_prog_compiler__b" = xyes; then
10941 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10943 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10949 if test "$with_gnu_ld" = no; then
10950 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10951 hardcode_libdir_separator=:
10956 hardcode_shlibpath_var=no
10959 hardcode_direct=yes
10960 hardcode_direct_absolute=yes
10961 export_dynamic_flag_spec='${wl}-E'
10963 # hardcode_minus_L: Not really in the search PATH,
10964 # but as the default location of the library.
10965 hardcode_minus_L=yes
10971 irix5* | irix6* | nonstopux*)
10972 if test "$GCC" = yes; then
10973 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'
10974 # Try to use the -exported_symbol ld option, if it does not
10975 # work, assume that -exports_file does not work either and
10976 # implicitly export all symbols.
10977 # This should be the same for all languages, so no per-tag cache variable.
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10979 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10980 if ${lt_cv_irix_exported_symbol+:} false; then :
10981 $as_echo_n "(cached) " >&6
10983 save_LDFLAGS="$LDFLAGS"
10984 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10987 int foo (void) { return 0; }
10989 if ac_fn_c_try_link "$LINENO"; then :
10990 lt_cv_irix_exported_symbol=yes
10992 lt_cv_irix_exported_symbol=no
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 LDFLAGS="$save_LDFLAGS"
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10999 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11000 if test "$lt_cv_irix_exported_symbol" = yes; then
11001 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'
11004 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'
11005 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'
11007 archive_cmds_need_lc='no'
11008 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11009 hardcode_libdir_separator=:
11011 link_all_deplibs=yes
11015 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11018 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11020 hardcode_libdir_flag_spec='-R$libdir'
11021 hardcode_direct=yes
11022 hardcode_shlibpath_var=no
11026 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11027 hardcode_direct=yes
11028 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11029 hardcode_libdir_separator=:
11030 hardcode_shlibpath_var=no
11037 if test -f /usr/libexec/ld.so; then
11038 hardcode_direct=yes
11039 hardcode_shlibpath_var=no
11040 hardcode_direct_absolute=yes
11041 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11042 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11043 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11044 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11045 export_dynamic_flag_spec='${wl}-E'
11048 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11049 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11050 hardcode_libdir_flag_spec='-R$libdir'
11053 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11054 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11064 hardcode_libdir_flag_spec='-L$libdir'
11065 hardcode_minus_L=yes
11066 allow_undefined_flag=unsupported
11067 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'
11068 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11072 if test "$GCC" = yes; then
11073 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11074 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'
11076 allow_undefined_flag=' -expect_unresolved \*'
11077 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'
11079 archive_cmds_need_lc='no'
11080 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11081 hardcode_libdir_separator=:
11084 osf4* | osf5*) # as osf3* with the addition of -msym flag
11085 if test "$GCC" = yes; then
11086 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11087 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'
11088 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11090 allow_undefined_flag=' -expect_unresolved \*'
11091 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'
11092 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~
11093 $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'
11095 # Both c and cxx compiler support -rpath directly
11096 hardcode_libdir_flag_spec='-rpath $libdir'
11098 archive_cmds_need_lc='no'
11099 hardcode_libdir_separator=:
11103 no_undefined_flag=' -z defs'
11104 if test "$GCC" = yes; then
11106 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11107 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11108 $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'
11110 case `$CC -V 2>&1` in
11113 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11115 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11119 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11120 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11121 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11125 hardcode_libdir_flag_spec='-R$libdir'
11126 hardcode_shlibpath_var=no
11128 solaris2.[0-5] | solaris2.[0-5].*) ;;
11130 # The compiler driver will combine and reorder linker options,
11131 # but understands `-z linker_flag'. GCC discards it without `$wl',
11132 # but is careful enough not to reorder.
11133 # Supported since Solaris 2.6 (maybe 2.5.1?)
11134 if test "$GCC" = yes; then
11135 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11137 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11141 link_all_deplibs=yes
11145 if test "x$host_vendor" = xsequent; then
11146 # Use $CC to link under sequent, because it throws in some extra .o
11147 # files that make .init and .fini sections work.
11148 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11150 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11152 hardcode_libdir_flag_spec='-L$libdir'
11153 hardcode_direct=yes
11154 hardcode_minus_L=yes
11155 hardcode_shlibpath_var=no
11159 case $host_vendor in
11161 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11162 hardcode_direct=yes # is this really true???
11165 ## LD is ld it makes a PLAMLIB
11166 ## CC just makes a GrossModule.
11167 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11168 reload_cmds='$CC -r -o $output$reload_objs'
11172 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11173 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11176 runpath_var='LD_RUN_PATH'
11177 hardcode_shlibpath_var=no
11181 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11182 hardcode_shlibpath_var=no
11183 export_dynamic_flag_spec='-Bexport'
11187 if test -d /usr/nec; then
11188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11189 hardcode_shlibpath_var=no
11190 runpath_var=LD_RUN_PATH
11191 hardcode_runpath_var=yes
11196 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11197 no_undefined_flag='${wl}-z,text'
11198 archive_cmds_need_lc=no
11199 hardcode_shlibpath_var=no
11200 runpath_var='LD_RUN_PATH'
11202 if test "$GCC" = yes; then
11203 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11204 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11206 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11207 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11211 sysv5* | sco3.2v5* | sco5v6*)
11212 # Note: We can NOT use -z defs as we might desire, because we do not
11213 # link with -lc, and that would cause any symbols used from libc to
11214 # always be unresolved, which means just about no library would
11215 # ever link correctly. If we're not using GNU ld we use -z text
11216 # though, which does catch some bad symbols but isn't as heavy-handed
11218 no_undefined_flag='${wl}-z,text'
11219 allow_undefined_flag='${wl}-z,nodefs'
11220 archive_cmds_need_lc=no
11221 hardcode_shlibpath_var=no
11222 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11223 hardcode_libdir_separator=':'
11224 link_all_deplibs=yes
11225 export_dynamic_flag_spec='${wl}-Bexport'
11226 runpath_var='LD_RUN_PATH'
11228 if test "$GCC" = yes; then
11229 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11232 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11233 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11238 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11239 hardcode_libdir_flag_spec='-L$libdir'
11240 hardcode_shlibpath_var=no
11248 if test x$host_vendor = xsni; then
11250 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11251 export_dynamic_flag_spec='${wl}-Blargedynsym'
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11258 $as_echo "$ld_shlibs" >&6; }
11259 test "$ld_shlibs" = no && can_build_shared=no
11261 with_gnu_ld=$with_gnu_ld
11278 # Do we need to explicitly link libc?
11280 case "x$archive_cmds_need_lc" in
11282 # Assume -lc should be added
11283 archive_cmds_need_lc=yes
11285 if test "$enable_shared" = yes && test "$GCC" = yes; then
11286 case $archive_cmds in
11288 # FIXME: we may have to deal with multi-command sequences.
11291 # Test whether the compiler implicitly links with -lc since on some
11292 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11293 # to ld, don't add -lc before -lgcc.
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11295 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11296 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11297 $as_echo_n "(cached) " >&6
11300 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11303 (eval $ac_compile) 2>&5
11305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11306 test $ac_status = 0; } 2>conftest.err; then
11309 libobjs=conftest.$ac_objext
11311 wl=$lt_prog_compiler_wl
11312 pic_flag=$lt_prog_compiler_pic
11318 lt_save_allow_undefined_flag=$allow_undefined_flag
11319 allow_undefined_flag=
11320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11321 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11324 test $ac_status = 0; }
11326 lt_cv_archive_cmds_need_lc=no
11328 lt_cv_archive_cmds_need_lc=yes
11330 allow_undefined_flag=$lt_save_allow_undefined_flag
11332 cat conftest.err 1>&5
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11338 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11339 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11498 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11500 if test "$GCC" = yes; then
11502 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11503 *) lt_awk_arg="/^libraries:/" ;;
11506 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11507 *) lt_sed_strip_eq="s,=/,/,g" ;;
11509 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11510 case $lt_search_path_spec in
11512 # if the path contains ";" then we assume it to be the separator
11513 # otherwise default to the standard path separator (i.e. ":") - it is
11514 # assumed that no part of a normal pathname contains ";" but that should
11515 # okay in the real world where ";" in dirpaths is itself problematic.
11516 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11519 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11522 # Ok, now we have the path, separated by spaces, we can step through it
11523 # and add multilib dir if necessary.
11524 lt_tmp_lt_search_path_spec=
11525 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11526 for lt_sys_path in $lt_search_path_spec; do
11527 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11528 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11530 test -d "$lt_sys_path" && \
11531 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11534 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11535 BEGIN {RS=" "; FS="/|\n";} {
11538 for (lt_i = NF; lt_i > 0; lt_i--) {
11539 if ($lt_i != "" && $lt_i != ".") {
11540 if ($lt_i == "..") {
11543 if (lt_count == 0) {
11544 lt_foo="/" $lt_i lt_foo;
11551 if (lt_foo != "") { lt_freq[lt_foo]++; }
11552 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11554 # AWK program above erroneously prepends '/' to C:/dos/paths
11557 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11558 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11560 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11562 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11564 library_names_spec=
11565 libname_spec='lib$name'
11569 postuninstall_cmds=
11573 shlibpath_overrides_runpath=unknown
11575 dynamic_linker="$host_os ld.so"
11576 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11577 need_lib_prefix=unknown
11578 hardcode_into_libs=no
11580 # when you set need_version to no, make sure it does not cause -set_version
11581 # flags to be left without arguments
11582 need_version=unknown
11586 version_type=linux # correct to gnu/linux during the next big refactor
11587 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11588 shlibpath_var=LIBPATH
11590 # AIX 3 has no versioning support, so we append a major version to the name.
11591 soname_spec='${libname}${release}${shared_ext}$major'
11595 version_type=linux # correct to gnu/linux during the next big refactor
11598 hardcode_into_libs=yes
11599 if test "$host_cpu" = ia64; then
11600 # AIX 5 supports IA64
11601 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11602 shlibpath_var=LD_LIBRARY_PATH
11604 # With GCC up to 2.95.x, collect2 would create an import file
11605 # for dependence libraries. The import file would start with
11606 # the line `#! .'. This would cause the generated library to
11607 # depend on `.', always an invalid library. This was fixed in
11608 # development snapshots of GCC prior to 3.0.
11610 aix4 | aix4.[01] | aix4.[01].*)
11611 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11613 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11616 can_build_shared=no
11620 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11621 # soname into executable. Probably we can add versioning support to
11622 # collect2, so additional links can be useful in future.
11623 if test "$aix_use_runtimelinking" = yes; then
11624 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11625 # instead of lib<name>.a to let people know that these are not
11626 # typical AIX shared libraries.
11627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 # We preserve .a as extension for shared libraries through AIX4.2
11630 # and later when we are not doing run time linking.
11631 library_names_spec='${libname}${release}.a $libname.a'
11632 soname_spec='${libname}${release}${shared_ext}$major'
11634 shlibpath_var=LIBPATH
11641 # Since July 2007 AmigaOS4 officially supports .so libraries.
11642 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 library_names_spec='$libname.ixlibrary $libname.a'
11647 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11648 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'
11654 library_names_spec='${libname}${shared_ext}'
11655 dynamic_linker="$host_os ld.so"
11656 shlibpath_var=LIBRARY_PATH
11660 version_type=linux # correct to gnu/linux during the next big refactor
11662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11663 soname_spec='${libname}${release}${shared_ext}$major'
11664 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11665 shlibpath_var=LD_LIBRARY_PATH
11666 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11667 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11668 # the default ld.so.conf also contains /usr/contrib/lib and
11669 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11670 # libtool to hard-code these into programs
11673 cygwin* | mingw* | pw32* | cegcc*)
11674 version_type=windows
11679 case $GCC,$cc_basename in
11682 library_names_spec='$libname.dll.a'
11683 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11684 postinstall_cmds='base_file=`basename \${file}`~
11685 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11686 dldir=$destdir/`dirname \$dlpath`~
11687 test -d \$dldir || mkdir -p \$dldir~
11688 $install_prog $dir/$dlname \$dldir/$dlname~
11689 chmod a+x \$dldir/$dlname~
11690 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11691 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11693 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11694 dlpath=$dir/\$dldll~
11696 shlibpath_overrides_runpath=yes
11700 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11701 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11703 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11706 # MinGW DLLs use traditional 'lib' prefix
11707 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11710 # pw32 DLLs use 'pw' prefix rather than 'lib'
11711 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11714 dynamic_linker='Win32 ld.exe'
11719 libname_spec='$name'
11720 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11721 library_names_spec='${libname}.dll.lib'
11725 sys_lib_search_path_spec=
11728 for lt_path in $LIB
11731 # Let DOS variable expansion print the short 8.3 style file name.
11732 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11733 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11736 # Convert to MSYS style.
11737 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11740 # Convert to unix form, then to dos form, then back to unix form
11741 # but this time dos style (no spaces!) so that the unix form looks
11742 # like /cygdrive/c/PROGRA~1:/cygdr...
11743 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11744 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11745 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11748 sys_lib_search_path_spec="$LIB"
11749 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11750 # It is most probably a Windows format PATH.
11751 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11753 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11755 # FIXME: find the short name or the path components, as spaces are
11756 # common. (e.g. "Program Files" -> "PROGRA~1")
11760 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11761 postinstall_cmds='base_file=`basename \${file}`~
11762 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11763 dldir=$destdir/`dirname \$dlpath`~
11764 test -d \$dldir || mkdir -p \$dldir~
11765 $install_prog $dir/$dlname \$dldir/$dlname'
11766 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11767 dlpath=$dir/\$dldll~
11769 shlibpath_overrides_runpath=yes
11770 dynamic_linker='Win32 link.exe'
11774 # Assume MSVC wrapper
11775 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11776 dynamic_linker='Win32 ld.exe'
11779 # FIXME: first we should search . and the directory the executable is in
11783 darwin* | rhapsody*)
11784 dynamic_linker="$host_os dyld"
11785 version_type=darwin
11788 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11789 soname_spec='${libname}${release}${major}$shared_ext'
11790 shlibpath_overrides_runpath=yes
11791 shlibpath_var=DYLD_LIBRARY_PATH
11792 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11794 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11795 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11799 version_type=linux # correct to gnu/linux during the next big refactor
11802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11803 soname_spec='${libname}${release}${shared_ext}$major'
11804 shlibpath_var=LD_LIBRARY_PATH
11807 freebsd* | dragonfly*)
11808 # DragonFly does not have aout. When/if they implement a new
11809 # versioning mechanism, adjust this.
11810 if test -x /usr/bin/objformat; then
11811 objformat=`/usr/bin/objformat`
11814 freebsd[23].*) objformat=aout ;;
11815 *) objformat=elf ;;
11818 version_type=freebsd-$objformat
11819 case $version_type in
11821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11826 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11830 shlibpath_var=LD_LIBRARY_PATH
11833 shlibpath_overrides_runpath=yes
11835 freebsd3.[01]* | freebsdelf3.[01]*)
11836 shlibpath_overrides_runpath=yes
11837 hardcode_into_libs=yes
11839 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11840 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11841 shlibpath_overrides_runpath=no
11842 hardcode_into_libs=yes
11844 *) # from 4.6 on, and DragonFly
11845 shlibpath_overrides_runpath=yes
11846 hardcode_into_libs=yes
11852 version_type=linux # correct to gnu/linux during the next big refactor
11855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11856 soname_spec='${libname}${release}${shared_ext}$major'
11857 shlibpath_var=LD_LIBRARY_PATH
11858 shlibpath_overrides_runpath=no
11859 hardcode_into_libs=yes
11863 version_type=linux # correct to gnu/linux during the next big refactor
11866 dynamic_linker="$host_os runtime_loader"
11867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11868 soname_spec='${libname}${release}${shared_ext}$major'
11869 shlibpath_var=LIBRARY_PATH
11870 shlibpath_overrides_runpath=yes
11871 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11872 hardcode_into_libs=yes
11875 hpux9* | hpux10* | hpux11*)
11876 # Give a soname corresponding to the major version so that dld.sl refuses to
11877 # link against other versions.
11884 hardcode_into_libs=yes
11885 dynamic_linker="$host_os dld.so"
11886 shlibpath_var=LD_LIBRARY_PATH
11887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11889 soname_spec='${libname}${release}${shared_ext}$major'
11890 if test "X$HPUX_IA64_MODE" = X32; then
11891 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11893 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11895 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11899 hardcode_into_libs=yes
11900 dynamic_linker="$host_os dld.sl"
11901 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11902 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11904 soname_spec='${libname}${release}${shared_ext}$major'
11905 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11906 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11910 dynamic_linker="$host_os dld.sl"
11911 shlibpath_var=SHLIB_PATH
11912 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11914 soname_spec='${libname}${release}${shared_ext}$major'
11917 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11918 postinstall_cmds='chmod 555 $lib'
11919 # or fails outright, so override atomically:
11920 install_override_mode=555
11924 version_type=linux # correct to gnu/linux during the next big refactor
11927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11928 soname_spec='${libname}${release}${shared_ext}$major'
11929 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11930 shlibpath_var=LD_LIBRARY_PATH
11931 shlibpath_overrides_runpath=no
11932 hardcode_into_libs=yes
11935 irix5* | irix6* | nonstopux*)
11937 nonstopux*) version_type=nonstopux ;;
11939 if test "$lt_cv_prog_gnu_ld" = yes; then
11940 version_type=linux # correct to gnu/linux during the next big refactor
11947 soname_spec='${libname}${release}${shared_ext}$major'
11948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11950 irix5* | nonstopux*)
11951 libsuff= shlibsuff=
11954 case $LD in # libtool.m4 will add one of these switches to LD
11955 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11956 libsuff= shlibsuff= libmagic=32-bit;;
11957 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11958 libsuff=32 shlibsuff=N32 libmagic=N32;;
11959 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11960 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11961 *) libsuff= shlibsuff= libmagic=never-match;;
11965 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11966 shlibpath_overrides_runpath=no
11967 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11968 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11969 hardcode_into_libs=yes
11972 # No shared lib support for Linux oldld, aout, or coff.
11973 linux*oldld* | linux*aout* | linux*coff*)
11977 # This must be glibc/ELF.
11978 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11979 version_type=linux # correct to gnu/linux during the next big refactor
11982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11983 soname_spec='${libname}${release}${shared_ext}$major'
11984 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11985 shlibpath_var=LD_LIBRARY_PATH
11986 shlibpath_overrides_runpath=no
11988 # Some binutils ld are patched to set DT_RUNPATH
11989 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11990 $as_echo_n "(cached) " >&6
11992 lt_cv_shlibpath_overrides_runpath=no
11993 save_LDFLAGS=$LDFLAGS
11994 save_libdir=$libdir
11995 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11996 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12008 if ac_fn_c_try_link "$LINENO"; then :
12009 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12010 lt_cv_shlibpath_overrides_runpath=yes
12013 rm -f core conftest.err conftest.$ac_objext \
12014 conftest$ac_exeext conftest.$ac_ext
12015 LDFLAGS=$save_LDFLAGS
12016 libdir=$save_libdir
12020 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12022 # This implies no fast_install, which is unacceptable.
12023 # Some rework will be needed to allow for fast_install
12024 # before this can be enabled.
12025 hardcode_into_libs=yes
12027 # Add ABI-specific directories to the system library path.
12028 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12030 # Append ld.so.conf contents to the search path
12031 if test -f /etc/ld.so.conf; then
12032 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' ' '`
12033 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12037 # We used to test for /lib/ld.so.1 and disable shared libraries on
12038 # powerpc, because MkLinux only supported shared libraries with the
12039 # GNU dynamic linker. Since this was broken with cross compilers,
12040 # most powerpc-linux boxes support dynamic linking these days and
12041 # people can always --disable-shared, the test was removed, and we
12042 # assume the GNU/Linux dynamic linker is in use.
12043 dynamic_linker='GNU/Linux ld.so'
12050 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12052 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12053 dynamic_linker='NetBSD (a.out) ld.so'
12055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12056 soname_spec='${libname}${release}${shared_ext}$major'
12057 dynamic_linker='NetBSD ld.elf_so'
12059 shlibpath_var=LD_LIBRARY_PATH
12060 shlibpath_overrides_runpath=yes
12061 hardcode_into_libs=yes
12065 version_type=linux # correct to gnu/linux during the next big refactor
12066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12067 shlibpath_var=LD_LIBRARY_PATH
12068 shlibpath_overrides_runpath=yes
12075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12076 soname_spec='${libname}${release}${shared_ext}$major'
12077 shlibpath_var=LD_LIBRARY_PATH
12078 shlibpath_overrides_runpath=no
12079 hardcode_into_libs=yes
12080 dynamic_linker='ldqnx.so'
12085 sys_lib_dlsearch_path_spec="/usr/lib"
12087 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12089 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12090 *) need_version=no ;;
12092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12093 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12094 shlibpath_var=LD_LIBRARY_PATH
12095 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12097 openbsd2.[89] | openbsd2.[89].*)
12098 shlibpath_overrides_runpath=no
12101 shlibpath_overrides_runpath=yes
12105 shlibpath_overrides_runpath=yes
12110 libname_spec='$name'
12113 library_names_spec='$libname${shared_ext} $libname.a'
12114 dynamic_linker='OS/2 ld.exe'
12115 shlibpath_var=LIBPATH
12118 osf3* | osf4* | osf5*)
12122 soname_spec='${libname}${release}${shared_ext}$major'
12123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12124 shlibpath_var=LD_LIBRARY_PATH
12125 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12126 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12134 version_type=linux # correct to gnu/linux during the next big refactor
12137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12138 soname_spec='${libname}${release}${shared_ext}$major'
12139 shlibpath_var=LD_LIBRARY_PATH
12140 shlibpath_overrides_runpath=yes
12141 hardcode_into_libs=yes
12142 # ldd complains unless libraries are executable
12143 postinstall_cmds='chmod +x $lib'
12148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12149 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12150 shlibpath_var=LD_LIBRARY_PATH
12151 shlibpath_overrides_runpath=yes
12152 if test "$with_gnu_ld" = yes; then
12159 version_type=linux # correct to gnu/linux during the next big refactor
12160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12161 soname_spec='${libname}${release}${shared_ext}$major'
12162 shlibpath_var=LD_LIBRARY_PATH
12163 case $host_vendor in
12165 shlibpath_overrides_runpath=no
12167 runpath_var=LD_RUN_PATH
12175 shlibpath_overrides_runpath=no
12176 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12182 if test -d /usr/nec ;then
12183 version_type=linux # correct to gnu/linux during the next big refactor
12184 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12185 soname_spec='$libname${shared_ext}.$major'
12186 shlibpath_var=LD_LIBRARY_PATH
12190 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12191 version_type=freebsd-elf
12194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12195 soname_spec='${libname}${release}${shared_ext}$major'
12196 shlibpath_var=LD_LIBRARY_PATH
12197 shlibpath_overrides_runpath=yes
12198 hardcode_into_libs=yes
12199 if test "$with_gnu_ld" = yes; then
12200 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12202 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12205 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12209 sys_lib_dlsearch_path_spec='/usr/lib'
12213 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12214 version_type=linux # correct to gnu/linux during the next big refactor
12217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12218 shlibpath_var=LD_LIBRARY_PATH
12219 shlibpath_overrides_runpath=no
12220 hardcode_into_libs=yes
12224 version_type=linux # correct to gnu/linux during the next big refactor
12225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12226 soname_spec='${libname}${release}${shared_ext}$major'
12227 shlibpath_var=LD_LIBRARY_PATH
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12235 $as_echo "$dynamic_linker" >&6; }
12236 test "$dynamic_linker" = no && can_build_shared=no
12238 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12239 if test "$GCC" = yes; then
12240 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12243 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12244 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12246 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12247 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12342 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12344 if test -n "$hardcode_libdir_flag_spec" ||
12345 test -n "$runpath_var" ||
12346 test "X$hardcode_automatic" = "Xyes" ; then
12348 # We can hardcode non-existent directories.
12349 if test "$hardcode_direct" != no &&
12350 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12351 # have to relink, otherwise we might link with an installed library
12352 # when we should be linking with a yet-to-be-installed one
12353 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12354 test "$hardcode_minus_L" != no; then
12355 # Linking always hardcodes the temporary library directory.
12356 hardcode_action=relink
12358 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12359 hardcode_action=immediate
12362 # We cannot hardcode anything, or else we can only hardcode existing
12364 hardcode_action=unsupported
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12367 $as_echo "$hardcode_action" >&6; }
12369 if test "$hardcode_action" = relink ||
12370 test "$inherit_rpath" = yes; then
12371 # Fast installation is not supported
12372 enable_fast_install=no
12373 elif test "$shlibpath_overrides_runpath" = yes ||
12374 test "$enable_shared" = no; then
12375 # Fast installation is not necessary
12376 enable_fast_install=needless
12384 if test "x$enable_dlopen" != xyes; then
12385 enable_dlopen=unknown
12386 enable_dlopen_self=unknown
12387 enable_dlopen_self_static=unknown
12394 lt_cv_dlopen="load_add_on"
12396 lt_cv_dlopen_self=yes
12399 mingw* | pw32* | cegcc*)
12400 lt_cv_dlopen="LoadLibrary"
12405 lt_cv_dlopen="dlopen"
12410 # if libdl is installed we need to link against it
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12412 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12413 if ${ac_cv_lib_dl_dlopen+:} false; then :
12414 $as_echo_n "(cached) " >&6
12416 ac_check_lib_save_LIBS=$LIBS
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 ac_cv_lib_dl_dlopen=yes
12439 ac_cv_lib_dl_dlopen=no
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12446 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12447 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12448 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12451 lt_cv_dlopen="dyld"
12453 lt_cv_dlopen_self=yes
12460 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12461 if test "x$ac_cv_func_shl_load" = xyes; then :
12462 lt_cv_dlopen="shl_load"
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12465 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12466 if ${ac_cv_lib_dld_shl_load+:} false; then :
12467 $as_echo_n "(cached) " >&6
12469 ac_check_lib_save_LIBS=$LIBS
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12484 return shl_load ();
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 ac_cv_lib_dld_shl_load=yes
12492 ac_cv_lib_dld_shl_load=no
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 LIBS=$ac_check_lib_save_LIBS
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12499 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12500 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12501 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12503 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12504 if test "x$ac_cv_func_dlopen" = xyes; then :
12505 lt_cv_dlopen="dlopen"
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12508 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12509 if ${ac_cv_lib_dl_dlopen+:} false; then :
12510 $as_echo_n "(cached) " >&6
12512 ac_check_lib_save_LIBS=$LIBS
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12517 /* Override any GCC internal prototype to avoid an error.
12518 Use char because int might match the return type of a GCC
12519 builtin and then its argument prototype would still apply. */
12532 if ac_fn_c_try_link "$LINENO"; then :
12533 ac_cv_lib_dl_dlopen=yes
12535 ac_cv_lib_dl_dlopen=no
12537 rm -f core conftest.err conftest.$ac_objext \
12538 conftest$ac_exeext conftest.$ac_ext
12539 LIBS=$ac_check_lib_save_LIBS
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12542 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12543 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12544 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12547 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12548 if ${ac_cv_lib_svld_dlopen+:} false; then :
12549 $as_echo_n "(cached) " >&6
12551 ac_check_lib_save_LIBS=$LIBS
12552 LIBS="-lsvld $LIBS"
12553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12571 if ac_fn_c_try_link "$LINENO"; then :
12572 ac_cv_lib_svld_dlopen=yes
12574 ac_cv_lib_svld_dlopen=no
12576 rm -f core conftest.err conftest.$ac_objext \
12577 conftest$ac_exeext conftest.$ac_ext
12578 LIBS=$ac_check_lib_save_LIBS
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12581 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12582 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12583 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12586 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12587 if ${ac_cv_lib_dld_dld_link+:} false; then :
12588 $as_echo_n "(cached) " >&6
12590 ac_check_lib_save_LIBS=$LIBS
12592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h. */
12595 /* Override any GCC internal prototype to avoid an error.
12596 Use char because int might match the return type of a GCC
12597 builtin and then its argument prototype would still apply. */
12605 return dld_link ();
12610 if ac_fn_c_try_link "$LINENO"; then :
12611 ac_cv_lib_dld_dld_link=yes
12613 ac_cv_lib_dld_dld_link=no
12615 rm -f core conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_lib_save_LIBS
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12620 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12621 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12622 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12643 if test "x$lt_cv_dlopen" != xno; then
12649 case $lt_cv_dlopen in
12651 save_CPPFLAGS="$CPPFLAGS"
12652 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12654 save_LDFLAGS="$LDFLAGS"
12655 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12658 LIBS="$lt_cv_dlopen_libs $LIBS"
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12661 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12662 if ${lt_cv_dlopen_self+:} false; then :
12663 $as_echo_n "(cached) " >&6
12665 if test "$cross_compiling" = yes; then :
12666 lt_cv_dlopen_self=cross
12668 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12669 lt_status=$lt_dlunknown
12670 cat > conftest.$ac_ext <<_LT_EOF
12671 #line $LINENO "configure"
12672 #include "confdefs.h"
12681 # define LT_DLGLOBAL RTLD_GLOBAL
12684 # define LT_DLGLOBAL DL_GLOBAL
12686 # define LT_DLGLOBAL 0
12690 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12691 find out it does not work in some platform. */
12692 #ifndef LT_DLLAZY_OR_NOW
12694 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12697 # define LT_DLLAZY_OR_NOW DL_LAZY
12700 # define LT_DLLAZY_OR_NOW RTLD_NOW
12703 # define LT_DLLAZY_OR_NOW DL_NOW
12705 # define LT_DLLAZY_OR_NOW 0
12712 /* When -fvisbility=hidden is used, assume the code has been annotated
12713 correspondingly for the symbols needed. */
12714 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12715 int fnord () __attribute__((visibility("default")));
12718 int fnord () { return 42; }
12721 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12722 int status = $lt_dlunknown;
12726 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12729 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12730 else puts (dlerror ());
12732 /* dlclose (self); */
12740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12741 (eval $ac_link) 2>&5
12743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12745 (./conftest; exit; ) >&5 2>/dev/null
12747 case x$lt_status in
12748 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12749 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12750 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12753 # compilation failed
12754 lt_cv_dlopen_self=no
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12762 $as_echo "$lt_cv_dlopen_self" >&6; }
12764 if test "x$lt_cv_dlopen_self" = xyes; then
12765 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12767 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12768 if ${lt_cv_dlopen_self_static+:} false; then :
12769 $as_echo_n "(cached) " >&6
12771 if test "$cross_compiling" = yes; then :
12772 lt_cv_dlopen_self_static=cross
12774 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12775 lt_status=$lt_dlunknown
12776 cat > conftest.$ac_ext <<_LT_EOF
12777 #line $LINENO "configure"
12778 #include "confdefs.h"
12787 # define LT_DLGLOBAL RTLD_GLOBAL
12790 # define LT_DLGLOBAL DL_GLOBAL
12792 # define LT_DLGLOBAL 0
12796 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12797 find out it does not work in some platform. */
12798 #ifndef LT_DLLAZY_OR_NOW
12800 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12803 # define LT_DLLAZY_OR_NOW DL_LAZY
12806 # define LT_DLLAZY_OR_NOW RTLD_NOW
12809 # define LT_DLLAZY_OR_NOW DL_NOW
12811 # define LT_DLLAZY_OR_NOW 0
12818 /* When -fvisbility=hidden is used, assume the code has been annotated
12819 correspondingly for the symbols needed. */
12820 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12821 int fnord () __attribute__((visibility("default")));
12824 int fnord () { return 42; }
12827 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12828 int status = $lt_dlunknown;
12832 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12835 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12836 else puts (dlerror ());
12838 /* dlclose (self); */
12846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12847 (eval $ac_link) 2>&5
12849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12850 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12851 (./conftest; exit; ) >&5 2>/dev/null
12853 case x$lt_status in
12854 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12855 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12856 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12859 # compilation failed
12860 lt_cv_dlopen_self_static=no
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12868 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12871 CPPFLAGS="$save_CPPFLAGS"
12872 LDFLAGS="$save_LDFLAGS"
12877 case $lt_cv_dlopen_self in
12878 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12879 *) enable_dlopen_self=unknown ;;
12882 case $lt_cv_dlopen_self_static in
12883 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12884 *) enable_dlopen_self_static=unknown ;;
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12907 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12908 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12909 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12910 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912 $as_echo "yes" >&6; }
12914 # FIXME - insert some real tests, host_os isn't really good enough
12917 if test -n "$STRIP" ; then
12918 striplib="$STRIP -x"
12919 old_striplib="$STRIP -S"
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12921 $as_echo "yes" >&6; }
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12924 $as_echo "no" >&6; }
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12945 # Report which library types will actually be built
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12947 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12949 $as_echo "$can_build_shared" >&6; }
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12952 $as_echo_n "checking whether to build shared libraries... " >&6; }
12953 test "$can_build_shared" = "no" && enable_shared=no
12955 # On AIX, shared libraries and static libraries use the same namespace, and
12956 # are all built from PIC.
12959 test "$enable_shared" = yes && enable_static=no
12960 if test -n "$RANLIB"; then
12961 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12962 postinstall_cmds='$RANLIB $lib'
12967 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12968 test "$enable_shared" = yes && enable_static=no
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12973 $as_echo "$enable_shared" >&6; }
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12976 $as_echo_n "checking whether to build static libraries... " >&6; }
12977 # Make sure either enable_shared or enable_static is yes.
12978 test "$enable_shared" = yes || enable_static=yes
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12980 $as_echo "$enable_static" >&6; }
12987 ac_cpp='$CPP $CPPFLAGS'
12988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13008 ac_config_commands="$ac_config_commands libtool"
13013 # Only expand once:
13017 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13018 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13022 cat >>confdefs.h <<_ACEOF
13027 cat >>confdefs.h <<_ACEOF
13032 cat >>confdefs.h <<_ACEOF
13037 cat >>confdefs.h <<_ACEOF
13041 version_info="8:8:7"
13045 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13046 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13050 ### Needed information
13057 MODULE_ARCH="$host_os-$host_cpu"
13060 MODULE_ARCH="$host_os-$host_cpu-1.7.8"
13065 cat >>confdefs.h <<_ACEOF
13066 #define MODULE_ARCH "$MODULE_ARCH"
13070 want_fontconfig="auto"
13071 want_fribidi="auto"
13072 want_harfbuzz="auto"
13074 want_evas_cserve="yes"
13075 want_evas_cserve2="yes"
13077 want_evas_engine_buffer="yes"
13078 want_evas_engine_software_xlib="no"
13079 want_evas_engine_software_xcb="no"
13080 want_evas_engine_software_gdi="no"
13081 want_evas_engine_software_ddraw="no"
13082 want_evas_engine_software_8_x11="no"
13083 want_evas_engine_software_16_x11="no"
13084 want_evas_engine_software_16_wince="no"
13085 want_evas_engine_software_16_sdl="no"
13086 want_evas_engine_gl_xlib="no"
13087 want_evas_engine_gl_xcb="no"
13088 want_evas_engine_gl_sdl="no"
13089 want_evas_engine_gl_cocoa="no"
13090 want_evas_engine_direct3d="no"
13091 want_evas_engine_fb="no"
13092 want_evas_engine_directfb="no"
13093 want_evas_engine_psl1ght="no"
13094 want_evas_engine_wayland_shm="no"
13095 want_evas_engine_wayland_egl="no"
13097 want_evas_image_loader_edb="yes"
13098 want_evas_image_loader_eet="yes"
13099 want_evas_image_loader_gif="yes"
13100 want_evas_image_loader_jpeg="yes"
13101 want_evas_image_loader_pmaps="yes"
13102 want_evas_image_loader_png="yes"
13103 want_evas_image_loader_svg="yes"
13104 want_evas_image_loader_tiff="yes"
13105 want_evas_image_loader_xpm="yes"
13106 want_evas_image_loader_bmp="yes"
13107 want_evas_image_loader_tga="yes"
13108 want_evas_image_loader_wbmp="yes"
13109 want_evas_image_loader_ico="yes"
13110 want_evas_image_loader_psd="yes"
13111 want_evas_image_loader_generic="yes"
13113 want_evas_font_loader_eet="yes"
13117 want_fontconfig="no"
13118 want_evas_engine_software_16_wince="yes"
13119 want_evas_image_loader_edb="no"
13120 want_evas_image_loader_gif="no"
13121 want_evas_image_loader_svg="no"
13122 want_evas_image_loader_tiff="no"
13125 want_evas_engine_software_gdi="yes"
13126 want_evas_engine_software_ddraw="yes"
13127 want_evas_engine_direct3d="yes"
13128 want_evas_image_loader_edb="no"
13129 want_evas_image_loader_svg="no"
13132 want_evas_engine_software_xlib="auto"
13133 want_evas_engine_gl_cocoa="auto"
13136 want_evas_engine_software_xlib="auto"
13137 want_evas_engine_gl_xlib="auto"
13138 want_evas_engine_software_xcb="no"
13139 want_evas_engine_gl_xcb="no"
13140 want_evas_engine_fb="auto"
13141 want_evas_engine_wayland_shm="auto"
13142 want_evas_engine_wayland_egl="auto"
13143 ### no - not ready/usable/complete
13144 # want_evas_engine_software_8_x11="auto"
13145 # want_evas_engine_software_16_x11="auto"
13149 case "$host_vendor" in
13151 want_evas_engine_psl1ght="static"
13155 requirement_evas=""
13158 ### Additional options to configure
13160 # when used, that option makes configure script fails when
13161 # a requirement is selected, but not met.
13163 # Check whether --enable-strict was given.
13164 if test "${enable_strict+set}" = set; then :
13165 enableval=$enable_strict; use_strict="yes"
13171 # Simple X11 build/link
13172 # Check whether --enable-simple-x11 was given.
13173 if test "${enable_simple_x11+set}" = set; then :
13174 enableval=$enable_simple_x11;
13175 if test "x${enableval}" = "xyes" ; then
13176 want_evas_simple_x11="yes"
13178 want_evas_simple_x11="no"
13185 ### Checks for programs
13189 ac_cpp='$OBJCPP $CPPFLAGS'
13190 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13193 if test -n "$ac_tool_prefix"; then
13194 for ac_prog in gcc objcc objc cc CC
13196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13199 $as_echo_n "checking for $ac_word... " >&6; }
13200 if ${ac_cv_prog_OBJC+:} false; then :
13201 $as_echo_n "(cached) " >&6
13203 if test -n "$OBJC"; then
13204 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
13206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13207 for as_dir in $PATH
13210 test -z "$as_dir" && as_dir=.
13211 for ac_exec_ext in '' $ac_executable_extensions; do
13212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13213 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
13214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13223 OBJC=$ac_cv_prog_OBJC
13224 if test -n "$OBJC"; then
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
13226 $as_echo "$OBJC" >&6; }
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13229 $as_echo "no" >&6; }
13233 test -n "$OBJC" && break
13236 if test -z "$OBJC"; then
13238 for ac_prog in gcc objcc objc cc CC
13240 # Extract the first word of "$ac_prog", so it can be a program name with args.
13241 set dummy $ac_prog; ac_word=$2
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13243 $as_echo_n "checking for $ac_word... " >&6; }
13244 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
13245 $as_echo_n "(cached) " >&6
13247 if test -n "$ac_ct_OBJC"; then
13248 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
13250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13251 for as_dir in $PATH
13254 test -z "$as_dir" && as_dir=.
13255 for ac_exec_ext in '' $ac_executable_extensions; do
13256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13257 ac_cv_prog_ac_ct_OBJC="$ac_prog"
13258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13267 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
13268 if test -n "$ac_ct_OBJC"; then
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
13270 $as_echo "$ac_ct_OBJC" >&6; }
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13273 $as_echo "no" >&6; }
13277 test -n "$ac_ct_OBJC" && break
13280 if test "x$ac_ct_OBJC" = x; then
13283 case $cross_compiling:$ac_tool_warned in
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13286 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13287 ac_tool_warned=yes ;;
13293 # Provide some information about the compiler.
13294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
13297 for ac_option in --version -v -V -qversion; do
13298 { { ac_try="$ac_compiler $ac_option >&5"
13299 case "(($ac_try" in
13300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13301 *) ac_try_echo=$ac_try;;
13303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13304 $as_echo "$ac_try_echo"; } >&5
13305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13307 if test -s conftest.err; then
13309 ... rest of stderr output deleted ...
13310 10q' conftest.err >conftest.er1
13311 cat conftest.er1 >&5
13313 rm -f conftest.er1 conftest.err
13314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13315 test $ac_status = 0; }
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
13319 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
13320 if ${ac_cv_objc_compiler_gnu+:} false; then :
13321 $as_echo_n "(cached) " >&6
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13337 if ac_fn_objc_try_compile "$LINENO"; then :
13338 ac_compiler_gnu=yes
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13343 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
13347 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
13348 if test $ac_compiler_gnu = yes; then
13353 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
13354 ac_save_OBJCFLAGS=$OBJCFLAGS
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
13356 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
13357 if ${ac_cv_prog_objc_g+:} false; then :
13358 $as_echo_n "(cached) " >&6
13360 ac_save_objc_werror_flag=$ac_objc_werror_flag
13361 ac_objc_werror_flag=yes
13362 ac_cv_prog_objc_g=no
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13375 if ac_fn_objc_try_compile "$LINENO"; then :
13376 ac_cv_prog_objc_g=yes
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13390 if ac_fn_objc_try_compile "$LINENO"; then :
13393 ac_objc_werror_flag=$ac_save_objc_werror_flag
13395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13406 if ac_fn_objc_try_compile "$LINENO"; then :
13407 ac_cv_prog_objc_g=yes
13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13414 ac_objc_werror_flag=$ac_save_objc_werror_flag
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
13417 $as_echo "$ac_cv_prog_objc_g" >&6; }
13418 if test "$ac_test_OBJCFLAGS" = set; then
13419 OBJCFLAGS=$ac_save_OBJCFLAGS
13420 elif test $ac_cv_prog_objc_g = yes; then
13421 if test "$GOBJC" = yes; then
13427 if test "$GOBJC" = yes; then
13434 ac_cpp='$CPP $CPPFLAGS'
13435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13439 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13442 $as_echo_n "checking dependency style of $depcc... " >&6; }
13443 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13444 $as_echo_n "(cached) " >&6
13446 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13447 # We make a subdir and do the tests there. Otherwise we can end up
13448 # making bogus files that we don't know about and never remove. For
13449 # instance it was reported that on HP-UX the gcc test will end up
13450 # making a dummy file named 'D' -- because '-MD' means "put the output
13452 rm -rf conftest.dir
13454 # Copy depcomp to subdir because otherwise we won't find it if we're
13455 # using a relative directory.
13456 cp "$am_depcomp" conftest.dir
13458 # We will build objects and dependencies in a subdirectory because
13459 # it helps to detect inapplicable dependency modes. For instance
13460 # both Tru64's cc and ICC support -MD to output dependencies as a
13461 # side effect of compilation, but ICC will put the dependencies in
13462 # the current directory while Tru64 will put them in the object
13466 am_cv_OBJC_dependencies_compiler_type=none
13467 if test "$am_compiler_list" = ""; then
13468 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13470 am__universal=false
13473 for depmode in $am_compiler_list; do
13474 # Setup a source with many dependencies, because some compilers
13475 # like to wrap large dependency lists on column 80 (with \), and
13476 # we should not choose a depcomp mode which is confused by this.
13478 # We need to recreate these files for each test, as the compiler may
13479 # overwrite some of them when testing with obscure command lines.
13480 # This happens at least with the AIX C compiler.
13482 for i in 1 2 3 4 5 6; do
13483 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13484 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13485 # Solaris 10 /bin/sh.
13486 echo '/* dummy */' > sub/conftst$i.h
13488 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13490 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13491 # mode. It turns out that the SunPro C++ compiler does not properly
13492 # handle '-M -o', and we need to detect this. Also, some Intel
13493 # versions had trouble with output in subdirs.
13494 am__obj=sub/conftest.${OBJEXT-o}
13495 am__minus_obj="-o $am__obj"
13498 # This depmode causes a compiler race in universal mode.
13499 test "$am__universal" = false || continue
13502 # After this tag, mechanisms are not by side-effect, so they'll
13503 # only be used when explicitly requested.
13504 if test "x$enable_dependency_tracking" = xyes; then
13510 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13511 # This compiler won't grok '-c -o', but also, the minuso test has
13512 # not run yet. These depmodes are late enough in the game, and
13513 # so weak that their functioning should not be impacted.
13514 am__obj=conftest.${OBJEXT-o}
13519 if depmode=$depmode \
13520 source=sub/conftest.c object=$am__obj \
13521 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13522 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13523 >/dev/null 2>conftest.err &&
13524 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13525 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13526 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13527 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13528 # icc doesn't choke on unknown options, it will just issue warnings
13529 # or remarks (even with -Werror). So we grep stderr for any message
13530 # that says an option was ignored or not supported.
13531 # When given -MP, icc 7.0 and 7.1 complain thusly:
13532 # icc: Command line warning: ignoring option '-M'; no argument required
13533 # The diagnosis changed in icc 8.0:
13534 # icc: Command line remark: option '-MP' not supported
13535 if (grep 'ignoring option' conftest.err ||
13536 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13537 am_cv_OBJC_dependencies_compiler_type=$depmode
13544 rm -rf conftest.dir
13546 am_cv_OBJC_dependencies_compiler_type=none
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13551 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13552 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13555 test "x$enable_dependency_tracking" != xno \
13556 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13557 am__fastdepOBJC_TRUE=
13558 am__fastdepOBJC_FALSE='#'
13560 am__fastdepOBJC_TRUE='#'
13561 am__fastdepOBJC_FALSE=
13566 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13569 $as_echo_n "checking dependency style of $depcc... " >&6; }
13570 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13571 $as_echo_n "(cached) " >&6
13573 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13574 # We make a subdir and do the tests there. Otherwise we can end up
13575 # making bogus files that we don't know about and never remove. For
13576 # instance it was reported that on HP-UX the gcc test will end up
13577 # making a dummy file named 'D' -- because '-MD' means "put the output
13579 rm -rf conftest.dir
13581 # Copy depcomp to subdir because otherwise we won't find it if we're
13582 # using a relative directory.
13583 cp "$am_depcomp" conftest.dir
13585 # We will build objects and dependencies in a subdirectory because
13586 # it helps to detect inapplicable dependency modes. For instance
13587 # both Tru64's cc and ICC support -MD to output dependencies as a
13588 # side effect of compilation, but ICC will put the dependencies in
13589 # the current directory while Tru64 will put them in the object
13593 am_cv_OBJC_dependencies_compiler_type=none
13594 if test "$am_compiler_list" = ""; then
13595 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13597 am__universal=false
13600 for depmode in $am_compiler_list; do
13601 # Setup a source with many dependencies, because some compilers
13602 # like to wrap large dependency lists on column 80 (with \), and
13603 # we should not choose a depcomp mode which is confused by this.
13605 # We need to recreate these files for each test, as the compiler may
13606 # overwrite some of them when testing with obscure command lines.
13607 # This happens at least with the AIX C compiler.
13609 for i in 1 2 3 4 5 6; do
13610 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13611 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
13612 # Solaris 10 /bin/sh.
13613 echo '/* dummy */' > sub/conftst$i.h
13615 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13617 # We check with '-c' and '-o' for the sake of the "dashmstdout"
13618 # mode. It turns out that the SunPro C++ compiler does not properly
13619 # handle '-M -o', and we need to detect this. Also, some Intel
13620 # versions had trouble with output in subdirs.
13621 am__obj=sub/conftest.${OBJEXT-o}
13622 am__minus_obj="-o $am__obj"
13625 # This depmode causes a compiler race in universal mode.
13626 test "$am__universal" = false || continue
13629 # After this tag, mechanisms are not by side-effect, so they'll
13630 # only be used when explicitly requested.
13631 if test "x$enable_dependency_tracking" = xyes; then
13637 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13638 # This compiler won't grok '-c -o', but also, the minuso test has
13639 # not run yet. These depmodes are late enough in the game, and
13640 # so weak that their functioning should not be impacted.
13641 am__obj=conftest.${OBJEXT-o}
13646 if depmode=$depmode \
13647 source=sub/conftest.c object=$am__obj \
13648 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13649 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13650 >/dev/null 2>conftest.err &&
13651 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13652 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13653 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13654 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13655 # icc doesn't choke on unknown options, it will just issue warnings
13656 # or remarks (even with -Werror). So we grep stderr for any message
13657 # that says an option was ignored or not supported.
13658 # When given -MP, icc 7.0 and 7.1 complain thusly:
13659 # icc: Command line warning: ignoring option '-M'; no argument required
13660 # The diagnosis changed in icc 8.0:
13661 # icc: Command line remark: option '-MP' not supported
13662 if (grep 'ignoring option' conftest.err ||
13663 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13664 am_cv_OBJC_dependencies_compiler_type=$depmode
13671 rm -rf conftest.dir
13673 am_cv_OBJC_dependencies_compiler_type=none
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13678 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13679 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13682 test "x$enable_dependency_tracking" != xno \
13683 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13684 am__fastdepOBJC_TRUE=
13685 am__fastdepOBJC_FALSE='#'
13687 am__fastdepOBJC_TRUE='#'
13688 am__fastdepOBJC_FALSE=
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
13696 $as_echo_n "checking whether the Objective C compiler works... " >&6; }
13697 if ${rw_cv_prog_objc_works+:} false; then :
13698 $as_echo_n "(cached) " >&6
13701 ac_cpp='$OBJCPP $CPPFLAGS'
13702 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13703 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13704 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13717 if ac_fn_objc_try_link "$LINENO"; then :
13718 rw_cv_prog_objc_works=yes
13720 rw_cv_prog_objc_works=no
13722 rm -f core conftest.err conftest.$ac_objext \
13723 conftest$ac_exeext conftest.$ac_ext
13725 ac_cpp='$CPP $CPPFLAGS'
13726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
13732 $as_echo "$rw_cv_prog_objc_works" >&6; }
13736 ac_cpp='$CXXCPP $CPPFLAGS'
13737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13740 if test -z "$CXX"; then
13741 if test -n "$CCC"; then
13744 if test -n "$ac_tool_prefix"; then
13745 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13750 $as_echo_n "checking for $ac_word... " >&6; }
13751 if ${ac_cv_prog_CXX+:} false; then :
13752 $as_echo_n "(cached) " >&6
13754 if test -n "$CXX"; then
13755 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13758 for as_dir in $PATH
13761 test -z "$as_dir" && as_dir=.
13762 for ac_exec_ext in '' $ac_executable_extensions; do
13763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13764 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13774 CXX=$ac_cv_prog_CXX
13775 if test -n "$CXX"; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13777 $as_echo "$CXX" >&6; }
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13780 $as_echo "no" >&6; }
13784 test -n "$CXX" && break
13787 if test -z "$CXX"; then
13789 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13791 # Extract the first word of "$ac_prog", so it can be a program name with args.
13792 set dummy $ac_prog; ac_word=$2
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13794 $as_echo_n "checking for $ac_word... " >&6; }
13795 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13796 $as_echo_n "(cached) " >&6
13798 if test -n "$ac_ct_CXX"; then
13799 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13802 for as_dir in $PATH
13805 test -z "$as_dir" && as_dir=.
13806 for ac_exec_ext in '' $ac_executable_extensions; do
13807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13808 ac_cv_prog_ac_ct_CXX="$ac_prog"
13809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13818 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13819 if test -n "$ac_ct_CXX"; then
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13821 $as_echo "$ac_ct_CXX" >&6; }
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13824 $as_echo "no" >&6; }
13828 test -n "$ac_ct_CXX" && break
13831 if test "x$ac_ct_CXX" = x; then
13834 case $cross_compiling:$ac_tool_warned in
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13838 ac_tool_warned=yes ;;
13846 # Provide some information about the compiler.
13847 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13850 for ac_option in --version -v -V -qversion; do
13851 { { ac_try="$ac_compiler $ac_option >&5"
13852 case "(($ac_try" in
13853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13854 *) ac_try_echo=$ac_try;;
13856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13857 $as_echo "$ac_try_echo"; } >&5
13858 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13860 if test -s conftest.err; then
13862 ... rest of stderr output deleted ...
13863 10q' conftest.err >conftest.er1
13864 cat conftest.er1 >&5
13866 rm -f conftest.er1 conftest.err
13867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13868 test $ac_status = 0; }
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13872 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13873 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13874 $as_echo_n "(cached) " >&6
13876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13890 if ac_fn_cxx_try_compile "$LINENO"; then :
13891 ac_compiler_gnu=yes
13895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13896 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13900 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13901 if test $ac_compiler_gnu = yes; then
13906 ac_test_CXXFLAGS=${CXXFLAGS+set}
13907 ac_save_CXXFLAGS=$CXXFLAGS
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13909 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13910 if ${ac_cv_prog_cxx_g+:} false; then :
13911 $as_echo_n "(cached) " >&6
13913 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13914 ac_cxx_werror_flag=yes
13915 ac_cv_prog_cxx_g=no
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13928 if ac_fn_cxx_try_compile "$LINENO"; then :
13929 ac_cv_prog_cxx_g=yes
13932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13943 if ac_fn_cxx_try_compile "$LINENO"; then :
13946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13959 if ac_fn_cxx_try_compile "$LINENO"; then :
13960 ac_cv_prog_cxx_g=yes
13962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13967 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13970 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13971 if test "$ac_test_CXXFLAGS" = set; then
13972 CXXFLAGS=$ac_save_CXXFLAGS
13973 elif test $ac_cv_prog_cxx_g = yes; then
13974 if test "$GXX" = yes; then
13980 if test "$GXX" = yes; then
13987 ac_cpp='$CPP $CPPFLAGS'
13988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13992 depcc="$CXX" am_compiler_list=
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13995 $as_echo_n "checking dependency style of $depcc... " >&6; }
13996 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13997 $as_echo_n "(cached) " >&6
13999 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14000 # We make a subdir and do the tests there. Otherwise we can end up
14001 # making bogus files that we don't know about and never remove. For
14002 # instance it was reported that on HP-UX the gcc test will end up
14003 # making a dummy file named 'D' -- because '-MD' means "put the output
14005 rm -rf conftest.dir
14007 # Copy depcomp to subdir because otherwise we won't find it if we're
14008 # using a relative directory.
14009 cp "$am_depcomp" conftest.dir
14011 # We will build objects and dependencies in a subdirectory because
14012 # it helps to detect inapplicable dependency modes. For instance
14013 # both Tru64's cc and ICC support -MD to output dependencies as a
14014 # side effect of compilation, but ICC will put the dependencies in
14015 # the current directory while Tru64 will put them in the object
14019 am_cv_CXX_dependencies_compiler_type=none
14020 if test "$am_compiler_list" = ""; then
14021 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14023 am__universal=false
14024 case " $depcc " in #(
14025 *\ -arch\ *\ -arch\ *) am__universal=true ;;
14028 for depmode in $am_compiler_list; do
14029 # Setup a source with many dependencies, because some compilers
14030 # like to wrap large dependency lists on column 80 (with \), and
14031 # we should not choose a depcomp mode which is confused by this.
14033 # We need to recreate these files for each test, as the compiler may
14034 # overwrite some of them when testing with obscure command lines.
14035 # This happens at least with the AIX C compiler.
14037 for i in 1 2 3 4 5 6; do
14038 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14039 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
14040 # Solaris 10 /bin/sh.
14041 echo '/* dummy */' > sub/conftst$i.h
14043 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14045 # We check with '-c' and '-o' for the sake of the "dashmstdout"
14046 # mode. It turns out that the SunPro C++ compiler does not properly
14047 # handle '-M -o', and we need to detect this. Also, some Intel
14048 # versions had trouble with output in subdirs.
14049 am__obj=sub/conftest.${OBJEXT-o}
14050 am__minus_obj="-o $am__obj"
14053 # This depmode causes a compiler race in universal mode.
14054 test "$am__universal" = false || continue
14057 # After this tag, mechanisms are not by side-effect, so they'll
14058 # only be used when explicitly requested.
14059 if test "x$enable_dependency_tracking" = xyes; then
14065 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
14066 # This compiler won't grok '-c -o', but also, the minuso test has
14067 # not run yet. These depmodes are late enough in the game, and
14068 # so weak that their functioning should not be impacted.
14069 am__obj=conftest.${OBJEXT-o}
14074 if depmode=$depmode \
14075 source=sub/conftest.c object=$am__obj \
14076 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14077 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14078 >/dev/null 2>conftest.err &&
14079 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14080 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14081 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14082 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14083 # icc doesn't choke on unknown options, it will just issue warnings
14084 # or remarks (even with -Werror). So we grep stderr for any message
14085 # that says an option was ignored or not supported.
14086 # When given -MP, icc 7.0 and 7.1 complain thusly:
14087 # icc: Command line warning: ignoring option '-M'; no argument required
14088 # The diagnosis changed in icc 8.0:
14089 # icc: Command line remark: option '-MP' not supported
14090 if (grep 'ignoring option' conftest.err ||
14091 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14092 am_cv_CXX_dependencies_compiler_type=$depmode
14099 rm -rf conftest.dir
14101 am_cv_CXX_dependencies_compiler_type=none
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14106 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14107 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14110 test "x$enable_dependency_tracking" != xno \
14111 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14112 am__fastdepCXX_TRUE=
14113 am__fastdepCXX_FALSE='#'
14115 am__fastdepCXX_TRUE='#'
14116 am__fastdepCXX_FALSE=
14122 func_stripname_cnf ()
14125 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14126 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14128 } # func_stripname_cnf
14130 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14131 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14132 (test "X$CXX" != "Xg++"))) ; then
14134 ac_cpp='$CXXCPP $CPPFLAGS'
14135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14139 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14140 if test -z "$CXXCPP"; then
14141 if ${ac_cv_prog_CXXCPP+:} false; then :
14142 $as_echo_n "(cached) " >&6
14144 # Double quotes because CXXCPP needs to be expanded
14145 for CXXCPP in "$CXX -E" "/lib/cpp"
14147 ac_preproc_ok=false
14148 for ac_cxx_preproc_warn_flag in '' yes
14150 # Use a header file that comes with gcc, so configuring glibc
14151 # with a fresh cross-compiler works.
14152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14153 # <limits.h> exists even on freestanding compilers.
14154 # On the NeXT, cc -E runs the code through the compiler's parser,
14155 # not just through cpp. "Syntax error" is here to catch this case.
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14159 # include <limits.h>
14161 # include <assert.h>
14165 if ac_fn_cxx_try_cpp "$LINENO"; then :
14168 # Broken: fails on valid input.
14171 rm -f conftest.err conftest.i conftest.$ac_ext
14173 # OK, works on sane cases. Now check whether nonexistent headers
14174 # can be detected and how.
14175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14177 #include <ac_nonexistent.h>
14179 if ac_fn_cxx_try_cpp "$LINENO"; then :
14180 # Broken: success on invalid input.
14183 # Passes both tests.
14187 rm -f conftest.err conftest.i conftest.$ac_ext
14190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14191 rm -f conftest.i conftest.err conftest.$ac_ext
14192 if $ac_preproc_ok; then :
14197 ac_cv_prog_CXXCPP=$CXXCPP
14200 CXXCPP=$ac_cv_prog_CXXCPP
14202 ac_cv_prog_CXXCPP=$CXXCPP
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14205 $as_echo "$CXXCPP" >&6; }
14206 ac_preproc_ok=false
14207 for ac_cxx_preproc_warn_flag in '' yes
14209 # Use a header file that comes with gcc, so configuring glibc
14210 # with a fresh cross-compiler works.
14211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14212 # <limits.h> exists even on freestanding compilers.
14213 # On the NeXT, cc -E runs the code through the compiler's parser,
14214 # not just through cpp. "Syntax error" is here to catch this case.
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14218 # include <limits.h>
14220 # include <assert.h>
14224 if ac_fn_cxx_try_cpp "$LINENO"; then :
14227 # Broken: fails on valid input.
14230 rm -f conftest.err conftest.i conftest.$ac_ext
14232 # OK, works on sane cases. Now check whether nonexistent headers
14233 # can be detected and how.
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 #include <ac_nonexistent.h>
14238 if ac_fn_cxx_try_cpp "$LINENO"; then :
14239 # Broken: success on invalid input.
14242 # Passes both tests.
14246 rm -f conftest.err conftest.i conftest.$ac_ext
14249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14250 rm -f conftest.i conftest.err conftest.$ac_ext
14251 if $ac_preproc_ok; then :
14254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14256 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14257 See \`config.log' for more details" "$LINENO" 5; }
14261 ac_cpp='$CPP $CPPFLAGS'
14262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14267 _lt_caught_CXX_error=yes
14271 ac_cpp='$CXXCPP $CPPFLAGS'
14272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14276 archive_cmds_need_lc_CXX=no
14277 allow_undefined_flag_CXX=
14278 always_export_symbols_CXX=no
14279 archive_expsym_cmds_CXX=
14280 compiler_needs_object_CXX=no
14281 export_dynamic_flag_spec_CXX=
14282 hardcode_direct_CXX=no
14283 hardcode_direct_absolute_CXX=no
14284 hardcode_libdir_flag_spec_CXX=
14285 hardcode_libdir_separator_CXX=
14286 hardcode_minus_L_CXX=no
14287 hardcode_shlibpath_var_CXX=unsupported
14288 hardcode_automatic_CXX=no
14289 inherit_rpath_CXX=no
14291 module_expsym_cmds_CXX=
14292 link_all_deplibs_CXX=unknown
14293 old_archive_cmds_CXX=$old_archive_cmds
14294 reload_flag_CXX=$reload_flag
14295 reload_cmds_CXX=$reload_cmds
14296 no_undefined_flag_CXX=
14297 whole_archive_flag_spec_CXX=
14298 enable_shared_with_static_runtimes_CXX=no
14300 # Source file extension for C++ test sources.
14303 # Object file extension for compiled C++ test sources.
14307 # No sense in running all these tests if we already determined that
14308 # the CXX compiler isn't working. Some variables (like enable_shared)
14309 # are currently assumed to apply to all compilers on this platform,
14310 # and will be corrupted by setting them based on a non-working compiler.
14311 if test "$_lt_caught_CXX_error" != yes; then
14312 # Code to be used in simple compile tests
14313 lt_simple_compile_test_code="int some_variable = 0;"
14315 # Code to be used in simple link tests
14316 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14318 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14325 # If no C compiler was specified, use CC.
14328 # If no C compiler flags were specified, use CFLAGS.
14329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14331 # Allow CC to be a program name with arguments.
14335 # save warnings/boilerplate of simple test code
14336 ac_outfile=conftest.$ac_objext
14337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14339 _lt_compiler_boilerplate=`cat conftest.err`
14342 ac_outfile=conftest.$ac_objext
14343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14345 _lt_linker_boilerplate=`cat conftest.err`
14349 # Allow CC to be a program name with arguments.
14351 lt_save_CFLAGS=$CFLAGS
14355 lt_save_with_gnu_ld=$with_gnu_ld
14356 lt_save_path_LD=$lt_cv_path_LD
14357 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14358 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14360 $as_unset lt_cv_prog_gnu_ld
14362 if test -n "${lt_cv_path_LDCXX+set}"; then
14363 lt_cv_path_LD=$lt_cv_path_LDCXX
14365 $as_unset lt_cv_path_LD
14367 test -z "${LDCXX+set}" || LD=$LDCXX
14372 for cc_temp in $compiler""; do
14374 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14375 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14380 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14383 if test -n "$compiler"; then
14384 # We don't want -fno-exception when compiling C++ code, so set the
14385 # no_builtin_flag separately
14386 if test "$GXX" = yes; then
14387 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14389 lt_prog_compiler_no_builtin_flag_CXX=
14392 if test "$GXX" = yes; then
14393 # Set up default GNU C++ configuration
14397 # Check whether --with-gnu-ld was given.
14398 if test "${with_gnu_ld+set}" = set; then :
14399 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14405 if test "$GCC" = yes; then
14406 # Check if gcc -print-prog-name=ld gives a path.
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14408 $as_echo_n "checking for ld used by $CC... " >&6; }
14411 # gcc leaves a trailing carriage return which upsets mingw
14412 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14414 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14417 # Accept absolute paths.
14419 re_direlt='/[^/][^/]*/\.\./'
14420 # Canonicalize the pathname of ld
14421 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14422 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14423 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14425 test -z "$LD" && LD="$ac_prog"
14428 # If it fails, then pretend we aren't using GCC.
14432 # If it is relative, then search for the first ld in PATH.
14433 with_gnu_ld=unknown
14436 elif test "$with_gnu_ld" = yes; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14438 $as_echo_n "checking for GNU ld... " >&6; }
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14441 $as_echo_n "checking for non-GNU ld... " >&6; }
14443 if ${lt_cv_path_LD+:} false; then :
14444 $as_echo_n "(cached) " >&6
14446 if test -z "$LD"; then
14447 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14448 for ac_dir in $PATH; do
14450 test -z "$ac_dir" && ac_dir=.
14451 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14452 lt_cv_path_LD="$ac_dir/$ac_prog"
14453 # Check to see if the program is GNU ld. I'd rather use --version,
14454 # but apparently some variants of GNU ld only accept -v.
14455 # Break only if it was the GNU/non-GNU ld that we prefer.
14456 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14457 *GNU* | *'with BFD'*)
14458 test "$with_gnu_ld" != no && break
14461 test "$with_gnu_ld" != yes && break
14468 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14472 LD="$lt_cv_path_LD"
14473 if test -n "$LD"; then
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14475 $as_echo "$LD" >&6; }
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14478 $as_echo "no" >&6; }
14480 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14482 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14483 if ${lt_cv_prog_gnu_ld+:} false; then :
14484 $as_echo_n "(cached) " >&6
14486 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14487 case `$LD -v 2>&1 </dev/null` in
14488 *GNU* | *'with BFD'*)
14489 lt_cv_prog_gnu_ld=yes
14492 lt_cv_prog_gnu_ld=no
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14497 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14498 with_gnu_ld=$lt_cv_prog_gnu_ld
14506 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14507 # archiving commands below assume that GNU ld is being used.
14508 if test "$with_gnu_ld" = yes; then
14509 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14510 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14512 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14513 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14515 # If archive_cmds runs LD, not CC, wlarc should be empty
14516 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14517 # investigate it a little bit more. (MM)
14520 # ancient GNU ld didn't support --whole-archive et. al.
14521 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14522 $GREP 'no-whole-archive' > /dev/null; then
14523 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14525 whole_archive_flag_spec_CXX=
14531 # A generic and very simple default shared library creation
14532 # command for GNU C++ for the case where it uses the native
14533 # linker, instead of GNU ld. If possible, this setting should
14534 # overridden to take advantage of the native linker features on
14535 # the platform it is being used on.
14536 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14539 # Commands to make compiler produce verbose output that lists
14540 # what "hidden" libraries, object files and flags are used when
14541 # linking a shared library.
14542 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14550 # PORTME: fill in a description of your system's C++ link characteristics
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14552 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14556 # FIXME: insert proper C++ library support
14560 if test "$host_cpu" = ia64; then
14561 # On IA64, the linker does run time linking by default, so we don't
14562 # have to do anything special.
14563 aix_use_runtimelinking=no
14564 exp_sym_flag='-Bexport'
14567 aix_use_runtimelinking=no
14569 # Test if we are trying to use run time linking or normal
14570 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14571 # need to do runtime linking.
14572 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14573 for ld_flag in $LDFLAGS; do
14576 aix_use_runtimelinking=yes
14584 exp_sym_flag='-bexport'
14585 no_entry_flag='-bnoentry'
14588 # When large executables or shared objects are built, AIX ld can
14589 # have problems creating the table of contents. If linking a library
14590 # or program results in "error TOC overflow" add -mminimal-toc to
14591 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14592 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14594 archive_cmds_CXX=''
14595 hardcode_direct_CXX=yes
14596 hardcode_direct_absolute_CXX=yes
14597 hardcode_libdir_separator_CXX=':'
14598 link_all_deplibs_CXX=yes
14599 file_list_spec_CXX='${wl}-f,'
14601 if test "$GXX" = yes; then
14602 case $host_os in aix4.[012]|aix4.[012].*)
14603 # We only want to do this on AIX 4.2 and lower, the check
14604 # below for broken collect2 doesn't work under 4.3+
14605 collect2name=`${CC} -print-prog-name=collect2`
14606 if test -f "$collect2name" &&
14607 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14609 # We have reworked collect2
14612 # We have old collect2
14613 hardcode_direct_CXX=unsupported
14614 # It fails to find uninstalled libraries when the uninstalled
14615 # path is not listed in the libpath. Setting hardcode_minus_L
14616 # to unsupported forces relinking
14617 hardcode_minus_L_CXX=yes
14618 hardcode_libdir_flag_spec_CXX='-L$libdir'
14619 hardcode_libdir_separator_CXX=
14622 shared_flag='-shared'
14623 if test "$aix_use_runtimelinking" = yes; then
14624 shared_flag="$shared_flag "'${wl}-G'
14628 if test "$host_cpu" = ia64; then
14629 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14630 # chokes on -Wl,-G. The following line is correct:
14633 if test "$aix_use_runtimelinking" = yes; then
14634 shared_flag='${wl}-G'
14636 shared_flag='${wl}-bM:SRE'
14641 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14642 # It seems that -bexpall does not export symbols beginning with
14643 # underscore (_), so it is better to generate a list of symbols to
14645 always_export_symbols_CXX=yes
14646 if test "$aix_use_runtimelinking" = yes; then
14647 # Warning - without using the other runtime loading flags (-brtl),
14648 # -berok will link without error, but may produce a broken library.
14649 allow_undefined_flag_CXX='-berok'
14650 # Determine the default libpath from the value encoded in an empty
14652 if test "${lt_cv_aix_libpath+set}" = set; then
14653 aix_libpath=$lt_cv_aix_libpath
14655 if ${lt_cv_aix_libpath__CXX+:} false; then :
14656 $as_echo_n "(cached) " >&6
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14669 if ac_fn_cxx_try_link "$LINENO"; then :
14671 lt_aix_libpath_sed='
14672 /Import File Strings/,/^$/ {
14674 s/^0 *\([^ ]*\) *$/\1/
14678 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14679 # Check for a 64-bit object if we didn't find anything.
14680 if test -z "$lt_cv_aix_libpath__CXX"; then
14681 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 if test -z "$lt_cv_aix_libpath__CXX"; then
14687 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14692 aix_libpath=$lt_cv_aix_libpath__CXX
14695 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14697 archive_expsym_cmds_CXX='$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"
14699 if test "$host_cpu" = ia64; then
14700 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14701 allow_undefined_flag_CXX="-z nodefs"
14702 archive_expsym_cmds_CXX="\$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"
14704 # Determine the default libpath from the value encoded in an
14705 # empty executable.
14706 if test "${lt_cv_aix_libpath+set}" = set; then
14707 aix_libpath=$lt_cv_aix_libpath
14709 if ${lt_cv_aix_libpath__CXX+:} false; then :
14710 $as_echo_n "(cached) " >&6
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14723 if ac_fn_cxx_try_link "$LINENO"; then :
14725 lt_aix_libpath_sed='
14726 /Import File Strings/,/^$/ {
14728 s/^0 *\([^ ]*\) *$/\1/
14732 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14733 # Check for a 64-bit object if we didn't find anything.
14734 if test -z "$lt_cv_aix_libpath__CXX"; then
14735 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 if test -z "$lt_cv_aix_libpath__CXX"; then
14741 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14746 aix_libpath=$lt_cv_aix_libpath__CXX
14749 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14750 # Warning - without using the other run time loading flags,
14751 # -berok will link without error, but may produce a broken library.
14752 no_undefined_flag_CXX=' ${wl}-bernotok'
14753 allow_undefined_flag_CXX=' ${wl}-berok'
14754 if test "$with_gnu_ld" = yes; then
14755 # We only use this code for GNU lds that support --whole-archive.
14756 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14758 # Exported symbols can be pulled into shared objects from archives
14759 whole_archive_flag_spec_CXX='$convenience'
14761 archive_cmds_need_lc_CXX=yes
14762 # This is similar to how AIX traditionally builds its shared
14764 archive_expsym_cmds_CXX="\$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'
14770 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14771 allow_undefined_flag_CXX=unsupported
14772 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14773 # support --undefined. This deserves some investigation. FIXME
14774 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14781 case $cc_basename in
14783 # FIXME: insert proper C++ library support
14789 cygwin* | mingw* | pw32* | cegcc*)
14790 case $GXX,$cc_basename in
14793 # hardcode_libdir_flag_spec is actually meaningless, as there is
14794 # no search path for DLLs.
14795 hardcode_libdir_flag_spec_CXX=' '
14796 allow_undefined_flag_CXX=unsupported
14797 always_export_symbols_CXX=yes
14798 file_list_spec_CXX='@'
14799 # Tell ltmain to make .lib files, not .a files.
14801 # Tell ltmain to make .dll files, not .so files.
14803 # FIXME: Setting linknames here is a bad hack.
14804 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14805 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14806 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14808 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14810 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14812 # The linker will not automatically build a static lib if we build a DLL.
14813 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14814 enable_shared_with_static_runtimes_CXX=yes
14816 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14817 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14818 lt_tool_outputfile="@TOOL_OUTPUT@"~
14819 case $lt_outputfile in
14822 lt_outputfile="$lt_outputfile.exe"
14823 lt_tool_outputfile="$lt_tool_outputfile.exe"
14826 func_to_tool_file "$lt_outputfile"~
14827 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14828 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14829 $RM "$lt_outputfile.manifest";
14834 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14835 # as there is no search path for DLLs.
14836 hardcode_libdir_flag_spec_CXX='-L$libdir'
14837 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14838 allow_undefined_flag_CXX=unsupported
14839 always_export_symbols_CXX=no
14840 enable_shared_with_static_runtimes_CXX=yes
14842 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14843 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14844 # If the export-symbols file already is a .def file (1st line
14845 # is EXPORTS), use it as is; otherwise, prepend...
14846 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14847 cp $export_symbols $output_objdir/$soname.def;
14849 echo EXPORTS > $output_objdir/$soname.def;
14850 cat $export_symbols >> $output_objdir/$soname.def;
14852 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14859 darwin* | rhapsody*)
14862 archive_cmds_need_lc_CXX=no
14863 hardcode_direct_CXX=no
14864 hardcode_automatic_CXX=yes
14865 hardcode_shlibpath_var_CXX=unsupported
14866 if test "$lt_cv_ld_force_load" = "yes"; then
14867 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14870 whole_archive_flag_spec_CXX=''
14872 link_all_deplibs_CXX=yes
14873 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14874 case $cc_basename in
14875 ifort*) _lt_dar_can_shared=yes ;;
14876 *) _lt_dar_can_shared=$GCC ;;
14878 if test "$_lt_dar_can_shared" = "yes"; then
14879 output_verbose_link_cmd=func_echo_all
14880 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14881 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14882 archive_expsym_cmds_CXX="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}"
14883 module_expsym_cmds_CXX="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}"
14884 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14885 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14886 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14896 case $cc_basename in
14898 # FIXME: insert proper C++ library support
14902 # Green Hills C++ Compiler
14903 # FIXME: insert proper C++ library support
14907 # FIXME: insert proper C++ library support
14914 # C++ shared libraries reported to be fairly broken before
14920 archive_cmds_need_lc_CXX=no
14923 freebsd* | dragonfly*)
14924 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14933 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14934 link_all_deplibs_CXX=yes
14938 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14939 hardcode_libdir_separator_CXX=:
14940 export_dynamic_flag_spec_CXX='${wl}-E'
14941 hardcode_direct_CXX=yes
14942 hardcode_minus_L_CXX=yes # Not in the search PATH,
14943 # but as the default
14944 # location of the library.
14946 case $cc_basename in
14948 # FIXME: insert proper C++ library support
14952 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14953 # Commands to make compiler produce verbose output that lists
14954 # what "hidden" libraries, object files and flags are used when
14955 # linking a shared library.
14957 # There doesn't appear to be a way to prevent this compiler from
14958 # explicitly linking system object files so we need to strip them
14959 # from the output so that they don't get included in the library
14961 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14964 if test "$GXX" = yes; then
14965 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14967 # FIXME: insert proper C++ library support
14975 if test $with_gnu_ld = no; then
14976 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14977 hardcode_libdir_separator_CXX=:
14983 export_dynamic_flag_spec_CXX='${wl}-E'
14989 hardcode_direct_CXX=no
14990 hardcode_shlibpath_var_CXX=no
14993 hardcode_direct_CXX=yes
14994 hardcode_direct_absolute_CXX=yes
14995 hardcode_minus_L_CXX=yes # Not in the search PATH,
14996 # but as the default
14997 # location of the library.
15001 case $cc_basename in
15003 # FIXME: insert proper C++ library support
15009 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15012 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15015 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15018 # Commands to make compiler produce verbose output that lists
15019 # what "hidden" libraries, object files and flags are used when
15020 # linking a shared library.
15022 # There doesn't appear to be a way to prevent this compiler from
15023 # explicitly linking system object files so we need to strip them
15024 # from the output so that they don't get included in the library
15026 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15029 if test "$GXX" = yes; then
15030 if test $with_gnu_ld = no; then
15033 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15036 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15039 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15044 # FIXME: insert proper C++ library support
15052 hardcode_direct_CXX=no
15053 hardcode_shlibpath_var_CXX=no
15054 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15055 export_dynamic_flag_spec_CXX='${wl}-E'
15056 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15057 # Instead, shared libraries are loaded at an image base (0x10000000 by
15058 # default) and relocated if they conflict, which is a slow very memory
15059 # consuming and fragmenting process. To avoid this, we pick a random,
15060 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15061 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15062 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15063 archive_expsym_cmds_CXX='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'
15066 case $cc_basename in
15069 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15071 # Archives containing C++ object files must be created using
15072 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15073 # necessary to make sure instantiated templates are included
15075 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15078 if test "$GXX" = yes; then
15079 if test "$with_gnu_ld" = no; then
15080 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
15082 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15085 link_all_deplibs_CXX=yes
15088 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15089 hardcode_libdir_separator_CXX=:
15090 inherit_rpath_CXX=yes
15093 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15094 case $cc_basename in
15096 # Kuck and Associates, Inc. (KAI) C++ Compiler
15098 # KCC will only create a shared library if the output file
15099 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15100 # to its proper name (with version) after linking.
15101 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15102 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15103 # Commands to make compiler produce verbose output that lists
15104 # what "hidden" libraries, object files and flags are used when
15105 # linking a shared library.
15107 # There doesn't appear to be a way to prevent this compiler from
15108 # explicitly linking system object files so we need to strip them
15109 # from the output so that they don't get included in the library
15111 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15113 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15114 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15116 # Archives containing C++ object files must be created using
15117 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15118 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15123 # version 8.0 and above of icpc choke on multiply defined symbols
15124 # if we add $predep_objects and $postdep_objects, however 7.1 and
15125 # earlier do not add the objects themselves.
15126 case `$CC -V 2>&1` in
15128 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15129 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15131 *) # Version 8.0 or newer
15134 ia64*) tmp_idyn=' -i_dynamic';;
15136 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15137 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15140 archive_cmds_need_lc_CXX=no
15141 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15142 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15143 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15146 # Portland Group C++ compiler
15148 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15149 prelink_cmds_CXX='tpldir=Template.dir~
15151 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15152 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15153 old_archive_cmds_CXX='tpldir=Template.dir~
15155 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15156 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15158 archive_cmds_CXX='tpldir=Template.dir~
15160 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15161 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15162 archive_expsym_cmds_CXX='tpldir=Template.dir~
15164 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15165 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15167 *) # Version 6 and above use weak symbols
15168 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15169 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15173 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15174 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15175 whole_archive_flag_spec_CXX='${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'
15179 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15180 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15182 runpath_var=LD_RUN_PATH
15183 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15184 hardcode_libdir_separator_CXX=:
15186 # Commands to make compiler produce verbose output that lists
15187 # what "hidden" libraries, object files and flags are used when
15188 # linking a shared library.
15190 # There doesn't appear to be a way to prevent this compiler from
15191 # explicitly linking system object files so we need to strip them
15192 # from the output so that they don't get included in the library
15194 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15196 xl* | mpixl* | bgxl*)
15197 # IBM XL 8.0 on PPC, with GNU ld
15198 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15199 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15200 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15201 if test "x$supports_anon_versioning" = xyes; then
15202 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15203 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15204 echo "local: *; };" >> $output_objdir/$libname.ver~
15205 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15209 case `$CC -V 2>&1 | sed 5q` in
15212 no_undefined_flag_CXX=' -zdefs'
15213 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15214 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15215 hardcode_libdir_flag_spec_CXX='-R$libdir'
15216 whole_archive_flag_spec_CXX='${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'
15217 compiler_needs_object_CXX=yes
15219 # Not sure whether something based on
15220 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15222 output_verbose_link_cmd='func_echo_all'
15224 # Archives containing C++ object files must be created using
15225 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15226 # necessary to make sure instantiated templates are included
15228 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15236 # FIXME: insert proper C++ library support
15241 # FIXME: insert proper C++ library support
15246 case $cc_basename in
15248 # FIXME: insert proper C++ library support
15252 # FIXME: insert proper C++ library support
15259 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15260 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15262 hardcode_libdir_flag_spec_CXX='-R$libdir'
15263 hardcode_direct_CXX=yes
15264 hardcode_shlibpath_var_CXX=no
15266 # Workaround some broken pre-1.5 toolchains
15267 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15275 # C++ shared libraries are fairly broken
15280 if test -f /usr/libexec/ld.so; then
15281 hardcode_direct_CXX=yes
15282 hardcode_shlibpath_var_CXX=no
15283 hardcode_direct_absolute_CXX=yes
15284 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15285 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15286 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15287 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15288 export_dynamic_flag_spec_CXX='${wl}-E'
15289 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15291 output_verbose_link_cmd=func_echo_all
15297 osf3* | osf4* | osf5*)
15298 case $cc_basename in
15300 # Kuck and Associates, Inc. (KAI) C++ Compiler
15302 # KCC will only create a shared library if the output file
15303 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15304 # to its proper name (with version) after linking.
15305 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15307 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15308 hardcode_libdir_separator_CXX=:
15310 # Archives containing C++ object files must be created using
15311 # the KAI C++ compiler.
15313 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15314 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15318 # Rational C++ 2.4.1
15319 # FIXME: insert proper C++ library support
15325 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15326 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15327 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15330 allow_undefined_flag_CXX=' -expect_unresolved \*'
15331 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15332 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15333 echo "-hidden">> $lib.exp~
15334 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15336 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15340 hardcode_libdir_separator_CXX=:
15342 # Commands to make compiler produce verbose output that lists
15343 # what "hidden" libraries, object files and flags are used when
15344 # linking a shared library.
15346 # There doesn't appear to be a way to prevent this compiler from
15347 # explicitly linking system object files so we need to strip them
15348 # from the output so that they don't get included in the library
15350 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15353 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15354 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15357 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
15360 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
15364 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15365 hardcode_libdir_separator_CXX=:
15367 # Commands to make compiler produce verbose output that lists
15368 # what "hidden" libraries, object files and flags are used when
15369 # linking a shared library.
15370 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15373 # FIXME: insert proper C++ library support
15381 # FIXME: insert proper C++ library support
15386 case $cc_basename in
15389 # FIXME: insert proper C++ library support
15394 # FIXME: insert proper C++ library support
15398 # FIXME: insert proper C++ library support
15405 case $cc_basename in
15407 # Sun C++ 4.2, 5.x and Centerline C++
15408 archive_cmds_need_lc_CXX=yes
15409 no_undefined_flag_CXX=' -zdefs'
15410 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15411 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15412 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15414 hardcode_libdir_flag_spec_CXX='-R$libdir'
15415 hardcode_shlibpath_var_CXX=no
15417 solaris2.[0-5] | solaris2.[0-5].*) ;;
15419 # The compiler driver will combine and reorder linker options,
15420 # but understands `-z linker_flag'.
15421 # Supported since Solaris 2.6 (maybe 2.5.1?)
15422 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15425 link_all_deplibs_CXX=yes
15427 output_verbose_link_cmd='func_echo_all'
15429 # Archives containing C++ object files must be created using
15430 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15431 # necessary to make sure instantiated templates are included
15433 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15436 # Green Hills C++ Compiler
15437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15439 # The C++ compiler must be used to create the archive.
15440 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15443 # GNU C++ compiler with Solaris linker
15444 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15445 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15446 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15447 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15448 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15449 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15451 # Commands to make compiler produce verbose output that lists
15452 # what "hidden" libraries, object files and flags are used when
15453 # linking a shared library.
15454 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15456 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15458 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15459 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15460 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15462 # Commands to make compiler produce verbose output that lists
15463 # what "hidden" libraries, object files and flags are used when
15464 # linking a shared library.
15465 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15468 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15470 solaris2.[0-5] | solaris2.[0-5].*) ;;
15472 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15480 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15481 no_undefined_flag_CXX='${wl}-z,text'
15482 archive_cmds_need_lc_CXX=no
15483 hardcode_shlibpath_var_CXX=no
15484 runpath_var='LD_RUN_PATH'
15486 case $cc_basename in
15488 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15489 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15492 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15493 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15498 sysv5* | sco3.2v5* | sco5v6*)
15499 # Note: We can NOT use -z defs as we might desire, because we do not
15500 # link with -lc, and that would cause any symbols used from libc to
15501 # always be unresolved, which means just about no library would
15502 # ever link correctly. If we're not using GNU ld we use -z text
15503 # though, which does catch some bad symbols but isn't as heavy-handed
15505 no_undefined_flag_CXX='${wl}-z,text'
15506 allow_undefined_flag_CXX='${wl}-z,nodefs'
15507 archive_cmds_need_lc_CXX=no
15508 hardcode_shlibpath_var_CXX=no
15509 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15510 hardcode_libdir_separator_CXX=':'
15511 link_all_deplibs_CXX=yes
15512 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15513 runpath_var='LD_RUN_PATH'
15515 case $cc_basename in
15517 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15518 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15519 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15520 '"$old_archive_cmds_CXX"
15521 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15522 '"$reload_cmds_CXX"
15525 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15526 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15532 case $cc_basename in
15534 # NonStop-UX NCC 3.20
15535 # FIXME: insert proper C++ library support
15539 # FIXME: insert proper C++ library support
15546 # FIXME: insert proper C++ library support
15551 # FIXME: insert proper C++ library support
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15557 $as_echo "$ld_shlibs_CXX" >&6; }
15558 test "$ld_shlibs_CXX" = no && can_build_shared=no
15564 ## There is no encapsulation within the following macros, do not change
15565 ## the running order or otherwise move them around unless you know exactly
15566 ## what you are doing...
15567 # Dependencies to place before and after the object being linked:
15568 predep_objects_CXX=
15569 postdep_objects_CXX=
15572 compiler_lib_search_path_CXX=
15574 cat > conftest.$ac_ext <<_LT_EOF
15578 Foo (void) { a = 0; }
15585 _lt_libdeps_save_CFLAGS=$CFLAGS
15586 case "$CC $CFLAGS " in #(
15587 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15588 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15589 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15593 (eval $ac_compile) 2>&5
15595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15596 test $ac_status = 0; }; then
15597 # Parse the compiler output and extract the necessary
15598 # objects, libraries and library flags.
15600 # Sentinel used to keep track of whether or not we are before
15601 # the conftest object file.
15602 pre_test_object_deps_done=no
15604 for p in `eval "$output_verbose_link_cmd"`; do
15605 case ${prev}${p} in
15608 # Some compilers place space between "-{L,R}" and the path.
15609 # Remove the space.
15610 if test $p = "-L" ||
15611 test $p = "-R"; then
15616 # Expand the sysroot to ease extracting the directories later.
15617 if test -z "$prev"; then
15619 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15620 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15621 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15625 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15627 if test "$pre_test_object_deps_done" = no; then
15630 # Internal compiler library paths should come after those
15631 # provided the user. The postdeps already come after the
15632 # user supplied libs so there is no need to process them.
15633 if test -z "$compiler_lib_search_path_CXX"; then
15634 compiler_lib_search_path_CXX="${prev}${p}"
15636 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15639 # The "-l" case would never come before the object being
15640 # linked, so don't bother handling this case.
15643 if test -z "$postdeps_CXX"; then
15644 postdeps_CXX="${prev}${p}"
15646 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15652 *.lto.$objext) ;; # Ignore GCC LTO objects
15654 # This assumes that the test object file only shows up
15655 # once in the compiler output.
15656 if test "$p" = "conftest.$objext"; then
15657 pre_test_object_deps_done=yes
15661 if test "$pre_test_object_deps_done" = no; then
15662 if test -z "$predep_objects_CXX"; then
15663 predep_objects_CXX="$p"
15665 predep_objects_CXX="$predep_objects_CXX $p"
15668 if test -z "$postdep_objects_CXX"; then
15669 postdep_objects_CXX="$p"
15671 postdep_objects_CXX="$postdep_objects_CXX $p"
15676 *) ;; # Ignore the rest.
15684 echo "libtool.m4: error: problem compiling CXX test program"
15687 $RM -f confest.$objext
15688 CFLAGS=$_lt_libdeps_save_CFLAGS
15690 # PORTME: override above test on systems where it is broken
15693 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15694 # hack all around it, let's just trust "g++" to DTRT.
15695 predep_objects_CXX=
15696 postdep_objects_CXX=
15701 case `$CC -V 2>&1 | sed 5q` in
15705 # The more standards-conforming stlport4 library is
15706 # incompatible with the Cstd library. Avoid specifying
15707 # it if it's in CXXFLAGS. Ignore libCrun as
15708 # -library=stlport4 depends on it.
15709 case " $CXX $CXXFLAGS " in
15710 *" -library=stlport4 "*)
15711 solaris_use_stlport4=yes
15715 if test "$solaris_use_stlport4" != yes; then
15716 postdeps_CXX='-library=Cstd -library=Crun'
15723 case $cc_basename in
15725 # The more standards-conforming stlport4 library is
15726 # incompatible with the Cstd library. Avoid specifying
15727 # it if it's in CXXFLAGS. Ignore libCrun as
15728 # -library=stlport4 depends on it.
15729 case " $CXX $CXXFLAGS " in
15730 *" -library=stlport4 "*)
15731 solaris_use_stlport4=yes
15735 # Adding this requires a known-good setup of shared libraries for
15736 # Sun compiler versions before 5.6, else PIC objects from an old
15737 # archive will be linked into the output, leading to subtle bugs.
15738 if test "$solaris_use_stlport4" != yes; then
15739 postdeps_CXX='-library=Cstd -library=Crun'
15747 case " $postdeps_CXX " in
15748 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15750 compiler_lib_search_dirs_CXX=
15751 if test -n "${compiler_lib_search_path_CXX}"; then
15752 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15785 lt_prog_compiler_wl_CXX=
15786 lt_prog_compiler_pic_CXX=
15787 lt_prog_compiler_static_CXX=
15790 # C++ specific cases for pic, static, wl, etc.
15791 if test "$GXX" = yes; then
15792 lt_prog_compiler_wl_CXX='-Wl,'
15793 lt_prog_compiler_static_CXX='-static'
15797 # All AIX code is PIC.
15798 if test "$host_cpu" = ia64; then
15799 # AIX 5 now supports IA64 processor
15800 lt_prog_compiler_static_CXX='-Bstatic'
15807 # see comment about AmigaOS4 .so support
15808 lt_prog_compiler_pic_CXX='-fPIC'
15811 # FIXME: we need at least 68020 code to build shared libraries, but
15812 # adding the `-m68020' flag to GCC prevents building anything better,
15814 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15819 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15820 # PIC is the default for these OSes.
15822 mingw* | cygwin* | os2* | pw32* | cegcc*)
15823 # This hack is so that the source file can tell whether it is being
15824 # built for inclusion in a dll (and should export symbols for example).
15825 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15826 # (--disable-auto-import) libraries
15827 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15829 darwin* | rhapsody*)
15830 # PIC is the default on this platform
15831 # Common symbols not allowed in MH_DYLIB files
15832 lt_prog_compiler_pic_CXX='-fno-common'
15835 # DJGPP does not support shared libraries at all
15836 lt_prog_compiler_pic_CXX=
15839 # PIC is the default for Haiku.
15840 # The "-static" flag exists, but is broken.
15841 lt_prog_compiler_static_CXX=
15844 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15845 # Instead, we relocate shared libraries at runtime.
15848 if test -d /usr/nec; then
15849 lt_prog_compiler_pic_CXX=-Kconform_pic
15853 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15854 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15855 # sets the default TLS model and affects inlining.
15860 lt_prog_compiler_pic_CXX='-fPIC'
15865 # QNX uses GNU C++, but need to define -shared option too, otherwise
15866 # it will coredump.
15867 lt_prog_compiler_pic_CXX='-fPIC -shared'
15870 lt_prog_compiler_pic_CXX='-fPIC'
15876 # All AIX code is PIC.
15877 if test "$host_cpu" = ia64; then
15878 # AIX 5 now supports IA64 processor
15879 lt_prog_compiler_static_CXX='-Bstatic'
15881 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15885 case $cc_basename in
15887 # Green Hills C++ Compiler
15888 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
15892 mingw* | cygwin* | os2* | pw32* | cegcc*)
15893 # This hack is so that the source file can tell whether it is being
15894 # built for inclusion in a dll (and should export symbols for example).
15895 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15898 case $cc_basename in
15900 lt_prog_compiler_pic_CXX='-KPIC'
15903 # Green Hills C++ Compiler
15904 lt_prog_compiler_pic_CXX='-pic'
15910 freebsd* | dragonfly*)
15911 # FreeBSD uses GNU C++
15913 hpux9* | hpux10* | hpux11*)
15914 case $cc_basename in
15916 lt_prog_compiler_wl_CXX='-Wl,'
15917 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15918 if test "$host_cpu" != ia64; then
15919 lt_prog_compiler_pic_CXX='+Z'
15923 lt_prog_compiler_wl_CXX='-Wl,'
15924 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15930 lt_prog_compiler_pic_CXX='+Z'
15939 # This is c89, which is MS Visual C++ (no shared libs)
15940 # Anyone wants to do a port?
15942 irix5* | irix6* | nonstopux*)
15943 case $cc_basename in
15945 lt_prog_compiler_wl_CXX='-Wl,'
15946 lt_prog_compiler_static_CXX='-non_shared'
15947 # CC pic flag -KPIC is the default.
15953 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15954 case $cc_basename in
15957 lt_prog_compiler_wl_CXX='--backend -Wl,'
15958 lt_prog_compiler_pic_CXX='-fPIC'
15961 # old Intel C++ for x86_64 which still supported -KPIC.
15962 lt_prog_compiler_wl_CXX='-Wl,'
15963 lt_prog_compiler_pic_CXX='-KPIC'
15964 lt_prog_compiler_static_CXX='-static'
15967 # Intel C++, used to be incompatible with GCC.
15968 # ICC 10 doesn't accept -KPIC any more.
15969 lt_prog_compiler_wl_CXX='-Wl,'
15970 lt_prog_compiler_pic_CXX='-fPIC'
15971 lt_prog_compiler_static_CXX='-static'
15974 # Portland Group C++ compiler
15975 lt_prog_compiler_wl_CXX='-Wl,'
15976 lt_prog_compiler_pic_CXX='-fpic'
15977 lt_prog_compiler_static_CXX='-Bstatic'
15981 # Make sure the PIC flag is empty. It appears that all Alpha
15982 # Linux and Compaq Tru64 Unix objects are PIC.
15983 lt_prog_compiler_pic_CXX=
15984 lt_prog_compiler_static_CXX='-non_shared'
15986 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15987 # IBM XL 8.0, 9.0 on PPC and BlueGene
15988 lt_prog_compiler_wl_CXX='-Wl,'
15989 lt_prog_compiler_pic_CXX='-qpic'
15990 lt_prog_compiler_static_CXX='-qstaticlink'
15993 case `$CC -V 2>&1 | sed 5q` in
15996 lt_prog_compiler_pic_CXX='-KPIC'
15997 lt_prog_compiler_static_CXX='-Bstatic'
15998 lt_prog_compiler_wl_CXX='-Qoption ld '
16009 case $cc_basename in
16011 lt_prog_compiler_pic_CXX='-W c,exportall'
16020 # QNX uses GNU C++, but need to define -shared option too, otherwise
16021 # it will coredump.
16022 lt_prog_compiler_pic_CXX='-fPIC -shared'
16024 osf3* | osf4* | osf5*)
16025 case $cc_basename in
16027 lt_prog_compiler_wl_CXX='--backend -Wl,'
16030 # Rational C++ 2.4.1
16031 lt_prog_compiler_pic_CXX='-pic'
16034 # Digital/Compaq C++
16035 lt_prog_compiler_wl_CXX='-Wl,'
16036 # Make sure the PIC flag is empty. It appears that all Alpha
16037 # Linux and Compaq Tru64 Unix objects are PIC.
16038 lt_prog_compiler_pic_CXX=
16039 lt_prog_compiler_static_CXX='-non_shared'
16048 case $cc_basename in
16050 # Sun C++ 4.2, 5.x and Centerline C++
16051 lt_prog_compiler_pic_CXX='-KPIC'
16052 lt_prog_compiler_static_CXX='-Bstatic'
16053 lt_prog_compiler_wl_CXX='-Qoption ld '
16056 # Green Hills C++ Compiler
16057 lt_prog_compiler_pic_CXX='-PIC'
16064 case $cc_basename in
16067 lt_prog_compiler_pic_CXX='-pic'
16068 lt_prog_compiler_static_CXX='-Bstatic'
16072 lt_prog_compiler_pic_CXX='-pic'
16078 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16079 case $cc_basename in
16081 lt_prog_compiler_wl_CXX='-Wl,'
16082 lt_prog_compiler_pic_CXX='-KPIC'
16083 lt_prog_compiler_static_CXX='-Bstatic'
16088 case $cc_basename in
16090 # NonStop-UX NCC 3.20
16091 lt_prog_compiler_pic_CXX='-KPIC'
16100 lt_prog_compiler_can_build_shared_CXX=no
16106 # For platforms which do not support PIC, -DPIC is meaningless:
16108 lt_prog_compiler_pic_CXX=
16111 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16116 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16117 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16118 $as_echo_n "(cached) " >&6
16120 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16123 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16124 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16127 # Check to make sure the PIC flag actually works.
16129 if test -n "$lt_prog_compiler_pic_CXX"; then
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16131 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16132 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16133 $as_echo_n "(cached) " >&6
16135 lt_cv_prog_compiler_pic_works_CXX=no
16136 ac_outfile=conftest.$ac_objext
16137 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16138 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16139 # Insert the option either (1) after the last *FLAGS variable, or
16140 # (2) before a word containing "conftest.", or (3) at the end.
16141 # Note that $ac_compile itself does not contain backslashes and begins
16142 # with a dollar sign (not a hyphen), so the echo should work correctly.
16143 # The option is referenced via a variable to avoid confusing sed.
16144 lt_compile=`echo "$ac_compile" | $SED \
16145 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16146 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16147 -e 's:$: $lt_compiler_flag:'`
16148 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16149 (eval "$lt_compile" 2>conftest.err)
16151 cat conftest.err >&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 if (exit $ac_status) && test -s "$ac_outfile"; then
16154 # The compiler can only warn and ignore the option if not recognized
16155 # So say no if there are warnings other than the usual output.
16156 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16157 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16158 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16159 lt_cv_prog_compiler_pic_works_CXX=yes
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16166 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16168 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16169 case $lt_prog_compiler_pic_CXX in
16171 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16174 lt_prog_compiler_pic_CXX=
16175 lt_prog_compiler_can_build_shared_CXX=no
16185 # Check to make sure the static flag actually works.
16187 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16189 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16190 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16191 $as_echo_n "(cached) " >&6
16193 lt_cv_prog_compiler_static_works_CXX=no
16194 save_LDFLAGS="$LDFLAGS"
16195 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16196 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16197 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16198 # The linker can only warn and ignore the option if not recognized
16199 # So say no if there are warnings
16200 if test -s conftest.err; then
16201 # Append any errors to the config.log.
16202 cat conftest.err 1>&5
16203 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16204 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16205 if diff conftest.exp conftest.er2 >/dev/null; then
16206 lt_cv_prog_compiler_static_works_CXX=yes
16209 lt_cv_prog_compiler_static_works_CXX=yes
16213 LDFLAGS="$save_LDFLAGS"
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16217 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16219 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16222 lt_prog_compiler_static_CXX=
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16229 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16230 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16231 $as_echo_n "(cached) " >&6
16233 lt_cv_prog_compiler_c_o_CXX=no
16234 $RM -r conftest 2>/dev/null
16238 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16240 lt_compiler_flag="-o out/conftest2.$ac_objext"
16241 # Insert the option either (1) after the last *FLAGS variable, or
16242 # (2) before a word containing "conftest.", or (3) at the end.
16243 # Note that $ac_compile itself does not contain backslashes and begins
16244 # with a dollar sign (not a hyphen), so the echo should work correctly.
16245 lt_compile=`echo "$ac_compile" | $SED \
16246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16248 -e 's:$: $lt_compiler_flag:'`
16249 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16250 (eval "$lt_compile" 2>out/conftest.err)
16252 cat out/conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16256 # The compiler can only warn and ignore the option if not recognized
16257 # So say no if there are warnings
16258 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16259 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16260 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16261 lt_cv_prog_compiler_c_o_CXX=yes
16266 # SGI C++ compiler will create directory out/ii_files/ for
16267 # template instantiation
16268 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16269 $RM out/* && rmdir out
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16276 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16281 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16282 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16283 $as_echo_n "(cached) " >&6
16285 lt_cv_prog_compiler_c_o_CXX=no
16286 $RM -r conftest 2>/dev/null
16290 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16292 lt_compiler_flag="-o out/conftest2.$ac_objext"
16293 # Insert the option either (1) after the last *FLAGS variable, or
16294 # (2) before a word containing "conftest.", or (3) at the end.
16295 # Note that $ac_compile itself does not contain backslashes and begins
16296 # with a dollar sign (not a hyphen), so the echo should work correctly.
16297 lt_compile=`echo "$ac_compile" | $SED \
16298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16300 -e 's:$: $lt_compiler_flag:'`
16301 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16302 (eval "$lt_compile" 2>out/conftest.err)
16304 cat out/conftest.err >&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16308 # The compiler can only warn and ignore the option if not recognized
16309 # So say no if there are warnings
16310 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16311 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16312 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16313 lt_cv_prog_compiler_c_o_CXX=yes
16318 # SGI C++ compiler will create directory out/ii_files/ for
16319 # template instantiation
16320 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16321 $RM out/* && rmdir out
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16328 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16333 hard_links="nottested"
16334 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16335 # do not overwrite the value of need_locks provided by the user
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16337 $as_echo_n "checking if we can lock with hard links... " >&6; }
16340 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16342 ln conftest.a conftest.b 2>&5 || hard_links=no
16343 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16345 $as_echo "$hard_links" >&6; }
16346 if test "$hard_links" = no; then
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16348 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16358 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16360 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16361 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16364 # If we're using GNU nm, then we don't want the "-C" option.
16365 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16366 # Also, AIX nm treats weak defined symbols like other global defined
16367 # symbols, whereas GNU nm marks them as "W".
16368 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16369 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16371 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16375 export_symbols_cmds_CXX="$ltdll_cmds"
16377 cygwin* | mingw* | cegcc*)
16378 case $cc_basename in
16380 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16383 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16384 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16389 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16394 $as_echo "$ld_shlibs_CXX" >&6; }
16395 test "$ld_shlibs_CXX" = no && can_build_shared=no
16397 with_gnu_ld_CXX=$with_gnu_ld
16405 # Do we need to explicitly link libc?
16407 case "x$archive_cmds_need_lc_CXX" in
16409 # Assume -lc should be added
16410 archive_cmds_need_lc_CXX=yes
16412 if test "$enable_shared" = yes && test "$GCC" = yes; then
16413 case $archive_cmds_CXX in
16415 # FIXME: we may have to deal with multi-command sequences.
16418 # Test whether the compiler implicitly links with -lc since on some
16419 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16420 # to ld, don't add -lc before -lgcc.
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16422 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16423 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16424 $as_echo_n "(cached) " >&6
16427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16430 (eval $ac_compile) 2>&5
16432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16433 test $ac_status = 0; } 2>conftest.err; then
16436 libobjs=conftest.$ac_objext
16438 wl=$lt_prog_compiler_wl_CXX
16439 pic_flag=$lt_prog_compiler_pic_CXX
16445 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16446 allow_undefined_flag_CXX=
16447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16448 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16451 test $ac_status = 0; }
16453 lt_cv_archive_cmds_need_lc_CXX=no
16455 lt_cv_archive_cmds_need_lc_CXX=yes
16457 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16459 cat conftest.err 1>&5
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16465 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16466 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16535 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16537 library_names_spec=
16538 libname_spec='lib$name'
16542 postuninstall_cmds=
16546 shlibpath_overrides_runpath=unknown
16548 dynamic_linker="$host_os ld.so"
16549 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16550 need_lib_prefix=unknown
16551 hardcode_into_libs=no
16553 # when you set need_version to no, make sure it does not cause -set_version
16554 # flags to be left without arguments
16555 need_version=unknown
16559 version_type=linux # correct to gnu/linux during the next big refactor
16560 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16561 shlibpath_var=LIBPATH
16563 # AIX 3 has no versioning support, so we append a major version to the name.
16564 soname_spec='${libname}${release}${shared_ext}$major'
16568 version_type=linux # correct to gnu/linux during the next big refactor
16571 hardcode_into_libs=yes
16572 if test "$host_cpu" = ia64; then
16573 # AIX 5 supports IA64
16574 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16575 shlibpath_var=LD_LIBRARY_PATH
16577 # With GCC up to 2.95.x, collect2 would create an import file
16578 # for dependence libraries. The import file would start with
16579 # the line `#! .'. This would cause the generated library to
16580 # depend on `.', always an invalid library. This was fixed in
16581 # development snapshots of GCC prior to 3.0.
16583 aix4 | aix4.[01] | aix4.[01].*)
16584 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16586 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16589 can_build_shared=no
16593 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16594 # soname into executable. Probably we can add versioning support to
16595 # collect2, so additional links can be useful in future.
16596 if test "$aix_use_runtimelinking" = yes; then
16597 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16598 # instead of lib<name>.a to let people know that these are not
16599 # typical AIX shared libraries.
16600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16602 # We preserve .a as extension for shared libraries through AIX4.2
16603 # and later when we are not doing run time linking.
16604 library_names_spec='${libname}${release}.a $libname.a'
16605 soname_spec='${libname}${release}${shared_ext}$major'
16607 shlibpath_var=LIBPATH
16614 # Since July 2007 AmigaOS4 officially supports .so libraries.
16615 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16619 library_names_spec='$libname.ixlibrary $libname.a'
16620 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16621 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'
16627 library_names_spec='${libname}${shared_ext}'
16628 dynamic_linker="$host_os ld.so"
16629 shlibpath_var=LIBRARY_PATH
16633 version_type=linux # correct to gnu/linux during the next big refactor
16635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16636 soname_spec='${libname}${release}${shared_ext}$major'
16637 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16638 shlibpath_var=LD_LIBRARY_PATH
16639 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16640 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16641 # the default ld.so.conf also contains /usr/contrib/lib and
16642 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16643 # libtool to hard-code these into programs
16646 cygwin* | mingw* | pw32* | cegcc*)
16647 version_type=windows
16652 case $GCC,$cc_basename in
16655 library_names_spec='$libname.dll.a'
16656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16657 postinstall_cmds='base_file=`basename \${file}`~
16658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16659 dldir=$destdir/`dirname \$dlpath`~
16660 test -d \$dldir || mkdir -p \$dldir~
16661 $install_prog $dir/$dlname \$dldir/$dlname~
16662 chmod a+x \$dldir/$dlname~
16663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16666 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16667 dlpath=$dir/\$dldll~
16669 shlibpath_overrides_runpath=yes
16673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16674 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16678 # MinGW DLLs use traditional 'lib' prefix
16679 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16682 # pw32 DLLs use 'pw' prefix rather than 'lib'
16683 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16686 dynamic_linker='Win32 ld.exe'
16691 libname_spec='$name'
16692 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16693 library_names_spec='${libname}.dll.lib'
16697 sys_lib_search_path_spec=
16700 for lt_path in $LIB
16703 # Let DOS variable expansion print the short 8.3 style file name.
16704 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16705 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16708 # Convert to MSYS style.
16709 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16712 # Convert to unix form, then to dos form, then back to unix form
16713 # but this time dos style (no spaces!) so that the unix form looks
16714 # like /cygdrive/c/PROGRA~1:/cygdr...
16715 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16716 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16717 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16720 sys_lib_search_path_spec="$LIB"
16721 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16722 # It is most probably a Windows format PATH.
16723 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16725 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16727 # FIXME: find the short name or the path components, as spaces are
16728 # common. (e.g. "Program Files" -> "PROGRA~1")
16732 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16733 postinstall_cmds='base_file=`basename \${file}`~
16734 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16735 dldir=$destdir/`dirname \$dlpath`~
16736 test -d \$dldir || mkdir -p \$dldir~
16737 $install_prog $dir/$dlname \$dldir/$dlname'
16738 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16739 dlpath=$dir/\$dldll~
16741 shlibpath_overrides_runpath=yes
16742 dynamic_linker='Win32 link.exe'
16746 # Assume MSVC wrapper
16747 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16748 dynamic_linker='Win32 ld.exe'
16751 # FIXME: first we should search . and the directory the executable is in
16755 darwin* | rhapsody*)
16756 dynamic_linker="$host_os dyld"
16757 version_type=darwin
16760 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16761 soname_spec='${libname}${release}${major}$shared_ext'
16762 shlibpath_overrides_runpath=yes
16763 shlibpath_var=DYLD_LIBRARY_PATH
16764 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16766 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16770 version_type=linux # correct to gnu/linux during the next big refactor
16773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16774 soname_spec='${libname}${release}${shared_ext}$major'
16775 shlibpath_var=LD_LIBRARY_PATH
16778 freebsd* | dragonfly*)
16779 # DragonFly does not have aout. When/if they implement a new
16780 # versioning mechanism, adjust this.
16781 if test -x /usr/bin/objformat; then
16782 objformat=`/usr/bin/objformat`
16785 freebsd[23].*) objformat=aout ;;
16786 *) objformat=elf ;;
16789 version_type=freebsd-$objformat
16790 case $version_type in
16792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16797 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16801 shlibpath_var=LD_LIBRARY_PATH
16804 shlibpath_overrides_runpath=yes
16806 freebsd3.[01]* | freebsdelf3.[01]*)
16807 shlibpath_overrides_runpath=yes
16808 hardcode_into_libs=yes
16810 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16811 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16812 shlibpath_overrides_runpath=no
16813 hardcode_into_libs=yes
16815 *) # from 4.6 on, and DragonFly
16816 shlibpath_overrides_runpath=yes
16817 hardcode_into_libs=yes
16823 version_type=linux # correct to gnu/linux during the next big refactor
16826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16827 soname_spec='${libname}${release}${shared_ext}$major'
16828 shlibpath_var=LD_LIBRARY_PATH
16829 shlibpath_overrides_runpath=no
16830 hardcode_into_libs=yes
16834 version_type=linux # correct to gnu/linux during the next big refactor
16837 dynamic_linker="$host_os runtime_loader"
16838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16839 soname_spec='${libname}${release}${shared_ext}$major'
16840 shlibpath_var=LIBRARY_PATH
16841 shlibpath_overrides_runpath=yes
16842 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16843 hardcode_into_libs=yes
16846 hpux9* | hpux10* | hpux11*)
16847 # Give a soname corresponding to the major version so that dld.sl refuses to
16848 # link against other versions.
16855 hardcode_into_libs=yes
16856 dynamic_linker="$host_os dld.so"
16857 shlibpath_var=LD_LIBRARY_PATH
16858 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16860 soname_spec='${libname}${release}${shared_ext}$major'
16861 if test "X$HPUX_IA64_MODE" = X32; then
16862 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16864 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16866 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16870 hardcode_into_libs=yes
16871 dynamic_linker="$host_os dld.sl"
16872 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16873 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16874 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16875 soname_spec='${libname}${release}${shared_ext}$major'
16876 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16877 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16881 dynamic_linker="$host_os dld.sl"
16882 shlibpath_var=SHLIB_PATH
16883 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16885 soname_spec='${libname}${release}${shared_ext}$major'
16888 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16889 postinstall_cmds='chmod 555 $lib'
16890 # or fails outright, so override atomically:
16891 install_override_mode=555
16895 version_type=linux # correct to gnu/linux during the next big refactor
16898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16899 soname_spec='${libname}${release}${shared_ext}$major'
16900 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16901 shlibpath_var=LD_LIBRARY_PATH
16902 shlibpath_overrides_runpath=no
16903 hardcode_into_libs=yes
16906 irix5* | irix6* | nonstopux*)
16908 nonstopux*) version_type=nonstopux ;;
16910 if test "$lt_cv_prog_gnu_ld" = yes; then
16911 version_type=linux # correct to gnu/linux during the next big refactor
16918 soname_spec='${libname}${release}${shared_ext}$major'
16919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16921 irix5* | nonstopux*)
16922 libsuff= shlibsuff=
16925 case $LD in # libtool.m4 will add one of these switches to LD
16926 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16927 libsuff= shlibsuff= libmagic=32-bit;;
16928 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16929 libsuff=32 shlibsuff=N32 libmagic=N32;;
16930 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16931 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16932 *) libsuff= shlibsuff= libmagic=never-match;;
16936 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16937 shlibpath_overrides_runpath=no
16938 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16939 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16940 hardcode_into_libs=yes
16943 # No shared lib support for Linux oldld, aout, or coff.
16944 linux*oldld* | linux*aout* | linux*coff*)
16948 # This must be glibc/ELF.
16949 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16950 version_type=linux # correct to gnu/linux during the next big refactor
16953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16954 soname_spec='${libname}${release}${shared_ext}$major'
16955 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16956 shlibpath_var=LD_LIBRARY_PATH
16957 shlibpath_overrides_runpath=no
16959 # Some binutils ld are patched to set DT_RUNPATH
16960 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16961 $as_echo_n "(cached) " >&6
16963 lt_cv_shlibpath_overrides_runpath=no
16964 save_LDFLAGS=$LDFLAGS
16965 save_libdir=$libdir
16966 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16967 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16969 /* end confdefs.h. */
16979 if ac_fn_cxx_try_link "$LINENO"; then :
16980 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16981 lt_cv_shlibpath_overrides_runpath=yes
16984 rm -f core conftest.err conftest.$ac_objext \
16985 conftest$ac_exeext conftest.$ac_ext
16986 LDFLAGS=$save_LDFLAGS
16987 libdir=$save_libdir
16991 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16993 # This implies no fast_install, which is unacceptable.
16994 # Some rework will be needed to allow for fast_install
16995 # before this can be enabled.
16996 hardcode_into_libs=yes
16998 # Add ABI-specific directories to the system library path.
16999 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
17001 # Append ld.so.conf contents to the search path
17002 if test -f /etc/ld.so.conf; then
17003 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' ' '`
17004 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17008 # We used to test for /lib/ld.so.1 and disable shared libraries on
17009 # powerpc, because MkLinux only supported shared libraries with the
17010 # GNU dynamic linker. Since this was broken with cross compilers,
17011 # most powerpc-linux boxes support dynamic linking these days and
17012 # people can always --disable-shared, the test was removed, and we
17013 # assume the GNU/Linux dynamic linker is in use.
17014 dynamic_linker='GNU/Linux ld.so'
17021 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17023 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17024 dynamic_linker='NetBSD (a.out) ld.so'
17026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17027 soname_spec='${libname}${release}${shared_ext}$major'
17028 dynamic_linker='NetBSD ld.elf_so'
17030 shlibpath_var=LD_LIBRARY_PATH
17031 shlibpath_overrides_runpath=yes
17032 hardcode_into_libs=yes
17036 version_type=linux # correct to gnu/linux during the next big refactor
17037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17038 shlibpath_var=LD_LIBRARY_PATH
17039 shlibpath_overrides_runpath=yes
17046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17047 soname_spec='${libname}${release}${shared_ext}$major'
17048 shlibpath_var=LD_LIBRARY_PATH
17049 shlibpath_overrides_runpath=no
17050 hardcode_into_libs=yes
17051 dynamic_linker='ldqnx.so'
17056 sys_lib_dlsearch_path_spec="/usr/lib"
17058 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17060 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17061 *) need_version=no ;;
17063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17064 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17065 shlibpath_var=LD_LIBRARY_PATH
17066 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17068 openbsd2.[89] | openbsd2.[89].*)
17069 shlibpath_overrides_runpath=no
17072 shlibpath_overrides_runpath=yes
17076 shlibpath_overrides_runpath=yes
17081 libname_spec='$name'
17084 library_names_spec='$libname${shared_ext} $libname.a'
17085 dynamic_linker='OS/2 ld.exe'
17086 shlibpath_var=LIBPATH
17089 osf3* | osf4* | osf5*)
17093 soname_spec='${libname}${release}${shared_ext}$major'
17094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17095 shlibpath_var=LD_LIBRARY_PATH
17096 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17097 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17105 version_type=linux # correct to gnu/linux during the next big refactor
17108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17109 soname_spec='${libname}${release}${shared_ext}$major'
17110 shlibpath_var=LD_LIBRARY_PATH
17111 shlibpath_overrides_runpath=yes
17112 hardcode_into_libs=yes
17113 # ldd complains unless libraries are executable
17114 postinstall_cmds='chmod +x $lib'
17119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17120 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17121 shlibpath_var=LD_LIBRARY_PATH
17122 shlibpath_overrides_runpath=yes
17123 if test "$with_gnu_ld" = yes; then
17130 version_type=linux # correct to gnu/linux during the next big refactor
17131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17132 soname_spec='${libname}${release}${shared_ext}$major'
17133 shlibpath_var=LD_LIBRARY_PATH
17134 case $host_vendor in
17136 shlibpath_overrides_runpath=no
17138 runpath_var=LD_RUN_PATH
17146 shlibpath_overrides_runpath=no
17147 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17153 if test -d /usr/nec ;then
17154 version_type=linux # correct to gnu/linux during the next big refactor
17155 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17156 soname_spec='$libname${shared_ext}.$major'
17157 shlibpath_var=LD_LIBRARY_PATH
17161 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17162 version_type=freebsd-elf
17165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17166 soname_spec='${libname}${release}${shared_ext}$major'
17167 shlibpath_var=LD_LIBRARY_PATH
17168 shlibpath_overrides_runpath=yes
17169 hardcode_into_libs=yes
17170 if test "$with_gnu_ld" = yes; then
17171 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17173 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17176 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17180 sys_lib_dlsearch_path_spec='/usr/lib'
17184 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17185 version_type=linux # correct to gnu/linux during the next big refactor
17188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17189 shlibpath_var=LD_LIBRARY_PATH
17190 shlibpath_overrides_runpath=no
17191 hardcode_into_libs=yes
17195 version_type=linux # correct to gnu/linux during the next big refactor
17196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17197 soname_spec='${libname}${release}${shared_ext}$major'
17198 shlibpath_var=LD_LIBRARY_PATH
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17206 $as_echo "$dynamic_linker" >&6; }
17207 test "$dynamic_linker" = no && can_build_shared=no
17209 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17210 if test "$GCC" = yes; then
17211 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17214 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17215 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17217 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17218 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17259 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17260 hardcode_action_CXX=
17261 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17262 test -n "$runpath_var_CXX" ||
17263 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17265 # We can hardcode non-existent directories.
17266 if test "$hardcode_direct_CXX" != no &&
17267 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17268 # have to relink, otherwise we might link with an installed library
17269 # when we should be linking with a yet-to-be-installed one
17270 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17271 test "$hardcode_minus_L_CXX" != no; then
17272 # Linking always hardcodes the temporary library directory.
17273 hardcode_action_CXX=relink
17275 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17276 hardcode_action_CXX=immediate
17279 # We cannot hardcode anything, or else we can only hardcode existing
17281 hardcode_action_CXX=unsupported
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17284 $as_echo "$hardcode_action_CXX" >&6; }
17286 if test "$hardcode_action_CXX" = relink ||
17287 test "$inherit_rpath_CXX" = yes; then
17288 # Fast installation is not supported
17289 enable_fast_install=no
17290 elif test "$shlibpath_overrides_runpath" = yes ||
17291 test "$enable_shared" = no; then
17292 # Fast installation is not necessary
17293 enable_fast_install=needless
17302 fi # test -n "$compiler"
17305 CFLAGS=$lt_save_CFLAGS
17309 with_gnu_ld=$lt_save_with_gnu_ld
17310 lt_cv_path_LDCXX=$lt_cv_path_LD
17311 lt_cv_path_LD=$lt_save_path_LD
17312 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17313 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17314 fi # test "$_lt_caught_CXX_error" != yes
17317 ac_cpp='$CPP $CPPFLAGS'
17318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17324 ac_cpp='$CPP $CPPFLAGS'
17325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17328 if test -n "$ac_tool_prefix"; then
17329 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17330 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17332 $as_echo_n "checking for $ac_word... " >&6; }
17333 if ${ac_cv_prog_CC+:} false; then :
17334 $as_echo_n "(cached) " >&6
17336 if test -n "$CC"; then
17337 ac_cv_prog_CC="$CC" # Let the user override the test.
17339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17340 for as_dir in $PATH
17343 test -z "$as_dir" && as_dir=.
17344 for ac_exec_ext in '' $ac_executable_extensions; do
17345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17346 ac_cv_prog_CC="${ac_tool_prefix}gcc"
17347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17357 if test -n "$CC"; then
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17359 $as_echo "$CC" >&6; }
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17362 $as_echo "no" >&6; }
17367 if test -z "$ac_cv_prog_CC"; then
17369 # Extract the first word of "gcc", so it can be a program name with args.
17370 set dummy gcc; ac_word=$2
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17372 $as_echo_n "checking for $ac_word... " >&6; }
17373 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17374 $as_echo_n "(cached) " >&6
17376 if test -n "$ac_ct_CC"; then
17377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17380 for as_dir in $PATH
17383 test -z "$as_dir" && as_dir=.
17384 for ac_exec_ext in '' $ac_executable_extensions; do
17385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17386 ac_cv_prog_ac_ct_CC="gcc"
17387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17396 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17397 if test -n "$ac_ct_CC"; then
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17399 $as_echo "$ac_ct_CC" >&6; }
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17402 $as_echo "no" >&6; }
17405 if test "x$ac_ct_CC" = x; then
17408 case $cross_compiling:$ac_tool_warned in
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17412 ac_tool_warned=yes ;;
17417 CC="$ac_cv_prog_CC"
17420 if test -z "$CC"; then
17421 if test -n "$ac_tool_prefix"; then
17422 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17423 set dummy ${ac_tool_prefix}cc; ac_word=$2
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17425 $as_echo_n "checking for $ac_word... " >&6; }
17426 if ${ac_cv_prog_CC+:} false; then :
17427 $as_echo_n "(cached) " >&6
17429 if test -n "$CC"; then
17430 ac_cv_prog_CC="$CC" # Let the user override the test.
17432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17433 for as_dir in $PATH
17436 test -z "$as_dir" && as_dir=.
17437 for ac_exec_ext in '' $ac_executable_extensions; do
17438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17439 ac_cv_prog_CC="${ac_tool_prefix}cc"
17440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17450 if test -n "$CC"; then
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17452 $as_echo "$CC" >&6; }
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17455 $as_echo "no" >&6; }
17461 if test -z "$CC"; then
17462 # Extract the first word of "cc", so it can be a program name with args.
17463 set dummy cc; ac_word=$2
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17465 $as_echo_n "checking for $ac_word... " >&6; }
17466 if ${ac_cv_prog_CC+:} false; then :
17467 $as_echo_n "(cached) " >&6
17469 if test -n "$CC"; then
17470 ac_cv_prog_CC="$CC" # Let the user override the test.
17472 ac_prog_rejected=no
17473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17474 for as_dir in $PATH
17477 test -z "$as_dir" && as_dir=.
17478 for ac_exec_ext in '' $ac_executable_extensions; do
17479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17480 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17481 ac_prog_rejected=yes
17485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17492 if test $ac_prog_rejected = yes; then
17493 # We found a bogon in the path, so make sure we never use it.
17494 set dummy $ac_cv_prog_CC
17496 if test $# != 0; then
17497 # We chose a different compiler from the bogus one.
17498 # However, it has the same basename, so the bogon will be chosen
17499 # first if we set CC to just the basename; use the full file name.
17501 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17507 if test -n "$CC"; then
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17509 $as_echo "$CC" >&6; }
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17512 $as_echo "no" >&6; }
17517 if test -z "$CC"; then
17518 if test -n "$ac_tool_prefix"; then
17519 for ac_prog in cl.exe
17521 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17522 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17524 $as_echo_n "checking for $ac_word... " >&6; }
17525 if ${ac_cv_prog_CC+:} false; then :
17526 $as_echo_n "(cached) " >&6
17528 if test -n "$CC"; then
17529 ac_cv_prog_CC="$CC" # Let the user override the test.
17531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17532 for as_dir in $PATH
17535 test -z "$as_dir" && as_dir=.
17536 for ac_exec_ext in '' $ac_executable_extensions; do
17537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17538 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17549 if test -n "$CC"; then
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17551 $as_echo "$CC" >&6; }
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17554 $as_echo "no" >&6; }
17558 test -n "$CC" && break
17561 if test -z "$CC"; then
17563 for ac_prog in cl.exe
17565 # Extract the first word of "$ac_prog", so it can be a program name with args.
17566 set dummy $ac_prog; ac_word=$2
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17568 $as_echo_n "checking for $ac_word... " >&6; }
17569 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17570 $as_echo_n "(cached) " >&6
17572 if test -n "$ac_ct_CC"; then
17573 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17576 for as_dir in $PATH
17579 test -z "$as_dir" && as_dir=.
17580 for ac_exec_ext in '' $ac_executable_extensions; do
17581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17582 ac_cv_prog_ac_ct_CC="$ac_prog"
17583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17593 if test -n "$ac_ct_CC"; then
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17595 $as_echo "$ac_ct_CC" >&6; }
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17598 $as_echo "no" >&6; }
17602 test -n "$ac_ct_CC" && break
17605 if test "x$ac_ct_CC" = x; then
17608 case $cross_compiling:$ac_tool_warned in
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17612 ac_tool_warned=yes ;;
17621 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17623 as_fn_error $? "no acceptable C compiler found in \$PATH
17624 See \`config.log' for more details" "$LINENO" 5; }
17626 # Provide some information about the compiler.
17627 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17630 for ac_option in --version -v -V -qversion; do
17631 { { ac_try="$ac_compiler $ac_option >&5"
17632 case "(($ac_try" in
17633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17634 *) ac_try_echo=$ac_try;;
17636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17637 $as_echo "$ac_try_echo"; } >&5
17638 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17640 if test -s conftest.err; then
17642 ... rest of stderr output deleted ...
17643 10q' conftest.err >conftest.er1
17644 cat conftest.er1 >&5
17646 rm -f conftest.er1 conftest.err
17647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17648 test $ac_status = 0; }
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17652 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17653 if ${ac_cv_c_compiler_gnu+:} false; then :
17654 $as_echo_n "(cached) " >&6
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17670 if ac_fn_c_try_compile "$LINENO"; then :
17671 ac_compiler_gnu=yes
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17680 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17681 if test $ac_compiler_gnu = yes; then
17686 ac_test_CFLAGS=${CFLAGS+set}
17687 ac_save_CFLAGS=$CFLAGS
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17689 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17690 if ${ac_cv_prog_cc_g+:} false; then :
17691 $as_echo_n "(cached) " >&6
17693 ac_save_c_werror_flag=$ac_c_werror_flag
17694 ac_c_werror_flag=yes
17697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17698 /* end confdefs.h. */
17708 if ac_fn_c_try_compile "$LINENO"; then :
17709 ac_cv_prog_cc_g=yes
17712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 /* end confdefs.h. */
17723 if ac_fn_c_try_compile "$LINENO"; then :
17726 ac_c_werror_flag=$ac_save_c_werror_flag
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h. */
17739 if ac_fn_c_try_compile "$LINENO"; then :
17740 ac_cv_prog_cc_g=yes
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 ac_c_werror_flag=$ac_save_c_werror_flag
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17750 $as_echo "$ac_cv_prog_cc_g" >&6; }
17751 if test "$ac_test_CFLAGS" = set; then
17752 CFLAGS=$ac_save_CFLAGS
17753 elif test $ac_cv_prog_cc_g = yes; then
17754 if test "$GCC" = yes; then
17760 if test "$GCC" = yes; then
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17767 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17768 if ${ac_cv_prog_cc_c89+:} false; then :
17769 $as_echo_n "(cached) " >&6
17771 ac_cv_prog_cc_c89=no
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 #include <stdarg.h>
17778 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17779 struct buf { int x; };
17780 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17781 static char *e (p, i)
17787 static char *f (char * (*g) (char **, int), char **p, ...)
17792 s = g (p, va_arg (v,int));
17797 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17798 function prototypes and stuff, but not '\xHH' hex character constants.
17799 These don't provoke an error unfortunately, instead are silently treated
17800 as 'x'. The following induces an error, until -std is added to get
17801 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17802 array size at least. It's necessary to write '\x00'==0 to get something
17803 that's true only with -std. */
17804 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17806 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17807 inside strings and character constants. */
17809 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17811 int test (int i, double x);
17812 struct s1 {int (*f) (int a);};
17813 struct s2 {int (*f) (double a);};
17814 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17820 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17825 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17826 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17828 CC="$ac_save_CC $ac_arg"
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 ac_cv_prog_cc_c89=$ac_arg
17832 rm -f core conftest.err conftest.$ac_objext
17833 test "x$ac_cv_prog_cc_c89" != "xno" && break
17835 rm -f conftest.$ac_ext
17840 case "x$ac_cv_prog_cc_c89" in
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17843 $as_echo "none needed" >&6; } ;;
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17846 $as_echo "unsupported" >&6; } ;;
17848 CC="$CC $ac_cv_prog_cc_c89"
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17850 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17852 if test "x$ac_cv_prog_cc_c89" != xno; then :
17857 ac_cpp='$CPP $CPPFLAGS'
17858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17862 depcc="$CC" am_compiler_list=
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17865 $as_echo_n "checking dependency style of $depcc... " >&6; }
17866 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17867 $as_echo_n "(cached) " >&6
17869 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17870 # We make a subdir and do the tests there. Otherwise we can end up
17871 # making bogus files that we don't know about and never remove. For
17872 # instance it was reported that on HP-UX the gcc test will end up
17873 # making a dummy file named 'D' -- because '-MD' means "put the output
17875 rm -rf conftest.dir
17877 # Copy depcomp to subdir because otherwise we won't find it if we're
17878 # using a relative directory.
17879 cp "$am_depcomp" conftest.dir
17881 # We will build objects and dependencies in a subdirectory because
17882 # it helps to detect inapplicable dependency modes. For instance
17883 # both Tru64's cc and ICC support -MD to output dependencies as a
17884 # side effect of compilation, but ICC will put the dependencies in
17885 # the current directory while Tru64 will put them in the object
17889 am_cv_CC_dependencies_compiler_type=none
17890 if test "$am_compiler_list" = ""; then
17891 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17893 am__universal=false
17894 case " $depcc " in #(
17895 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17898 for depmode in $am_compiler_list; do
17899 # Setup a source with many dependencies, because some compilers
17900 # like to wrap large dependency lists on column 80 (with \), and
17901 # we should not choose a depcomp mode which is confused by this.
17903 # We need to recreate these files for each test, as the compiler may
17904 # overwrite some of them when testing with obscure command lines.
17905 # This happens at least with the AIX C compiler.
17907 for i in 1 2 3 4 5 6; do
17908 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17909 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
17910 # Solaris 10 /bin/sh.
17911 echo '/* dummy */' > sub/conftst$i.h
17913 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17915 # We check with '-c' and '-o' for the sake of the "dashmstdout"
17916 # mode. It turns out that the SunPro C++ compiler does not properly
17917 # handle '-M -o', and we need to detect this. Also, some Intel
17918 # versions had trouble with output in subdirs.
17919 am__obj=sub/conftest.${OBJEXT-o}
17920 am__minus_obj="-o $am__obj"
17923 # This depmode causes a compiler race in universal mode.
17924 test "$am__universal" = false || continue
17927 # After this tag, mechanisms are not by side-effect, so they'll
17928 # only be used when explicitly requested.
17929 if test "x$enable_dependency_tracking" = xyes; then
17935 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17936 # This compiler won't grok '-c -o', but also, the minuso test has
17937 # not run yet. These depmodes are late enough in the game, and
17938 # so weak that their functioning should not be impacted.
17939 am__obj=conftest.${OBJEXT-o}
17944 if depmode=$depmode \
17945 source=sub/conftest.c object=$am__obj \
17946 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17947 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17948 >/dev/null 2>conftest.err &&
17949 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17950 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17951 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17952 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17953 # icc doesn't choke on unknown options, it will just issue warnings
17954 # or remarks (even with -Werror). So we grep stderr for any message
17955 # that says an option was ignored or not supported.
17956 # When given -MP, icc 7.0 and 7.1 complain thusly:
17957 # icc: Command line warning: ignoring option '-M'; no argument required
17958 # The diagnosis changed in icc 8.0:
17959 # icc: Command line remark: option '-MP' not supported
17960 if (grep 'ignoring option' conftest.err ||
17961 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17962 am_cv_CC_dependencies_compiler_type=$depmode
17969 rm -rf conftest.dir
17971 am_cv_CC_dependencies_compiler_type=none
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17976 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17977 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17980 test "x$enable_dependency_tracking" != xno \
17981 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17982 am__fastdepCC_TRUE=
17983 am__fastdepCC_FALSE='#'
17985 am__fastdepCC_TRUE='#'
17986 am__fastdepCC_FALSE=
17999 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18000 if test -n "$ac_tool_prefix"; then
18001 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18002 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18004 $as_echo_n "checking for $ac_word... " >&6; }
18005 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18006 $as_echo_n "(cached) " >&6
18008 case $PKG_CONFIG in
18010 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18014 for as_dir in $PATH
18017 test -z "$as_dir" && as_dir=.
18018 for ac_exec_ext in '' $ac_executable_extensions; do
18019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18020 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18031 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18032 if test -n "$PKG_CONFIG"; then
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18034 $as_echo "$PKG_CONFIG" >&6; }
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18037 $as_echo "no" >&6; }
18042 if test -z "$ac_cv_path_PKG_CONFIG"; then
18043 ac_pt_PKG_CONFIG=$PKG_CONFIG
18044 # Extract the first word of "pkg-config", so it can be a program name with args.
18045 set dummy pkg-config; ac_word=$2
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18047 $as_echo_n "checking for $ac_word... " >&6; }
18048 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18049 $as_echo_n "(cached) " >&6
18051 case $ac_pt_PKG_CONFIG in
18053 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18057 for as_dir in $PATH
18060 test -z "$as_dir" && as_dir=.
18061 for ac_exec_ext in '' $ac_executable_extensions; do
18062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18063 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18074 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18075 if test -n "$ac_pt_PKG_CONFIG"; then
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18077 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18080 $as_echo "no" >&6; }
18083 if test "x$ac_pt_PKG_CONFIG" = x; then
18086 case $cross_compiling:$ac_tool_warned in
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18090 ac_tool_warned=yes ;;
18092 PKG_CONFIG=$ac_pt_PKG_CONFIG
18095 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18099 if test -n "$PKG_CONFIG"; then
18100 _pkg_min_version=0.9.0
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18102 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18103 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18105 $as_echo "yes" >&6; }
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18108 $as_echo "no" >&6; }
18113 # Check whether pkg-config supports Requires.private
18114 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
18115 pkgconfig_requires_private="Requires.private"
18117 pkgconfig_requires_private="Requires"
18121 # doxygen program for documentation building
18124 # Check whether --enable-doc was given.
18125 if test "${enable_doc+set}" = set; then :
18126 enableval=$enable_doc;
18127 if test "x${enableval}" = "xyes" ; then
18128 efl_enable_doc="yes"
18130 efl_enable_doc="no"
18134 efl_enable_doc="yes"
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18139 $as_echo_n "checking whether to build documentation... " >&6; }
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
18141 $as_echo "${efl_enable_doc}" >&6; }
18143 if test "x${efl_enable_doc}" = "xyes" ; then
18146 efl_doxygen="doxygen"
18149 # Check whether --with-doxygen was given.
18150 if test "${with_doxygen+set}" = set; then :
18151 withval=$with_doxygen;
18152 efl_doxygen=${withval}
18153 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18154 set dummy ${efl_doxygen}; ac_word=$2
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18156 $as_echo_n "checking for $ac_word... " >&6; }
18157 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18158 $as_echo_n "(cached) " >&6
18160 if test -n "$efl_have_doxygen"; then
18161 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18164 for as_dir in $PATH
18167 test -z "$as_dir" && as_dir=.
18168 for ac_exec_ext in '' $ac_executable_extensions; do
18169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18170 ac_cv_prog_efl_have_doxygen="yes"
18171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18178 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18181 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18182 if test -n "$efl_have_doxygen"; then
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18184 $as_echo "$efl_have_doxygen" >&6; }
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18187 $as_echo "no" >&6; }
18191 if test "x${efl_have_doxygen}" = "xno" ; then
18193 echo "The doxygen program you specified:"
18194 echo "${efl_doxygen}"
18195 echo "was not found. Please check the path and make sure "
18196 echo "the program exists and is executable."
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18198 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18202 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18203 set dummy ${efl_doxygen}; ac_word=$2
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18205 $as_echo_n "checking for $ac_word... " >&6; }
18206 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18207 $as_echo_n "(cached) " >&6
18209 if test -n "$efl_have_doxygen"; then
18210 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18213 for as_dir in $PATH
18216 test -z "$as_dir" && as_dir=.
18217 for ac_exec_ext in '' $ac_executable_extensions; do
18218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18219 ac_cv_prog_efl_have_doxygen="yes"
18220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18227 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18230 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18231 if test -n "$efl_have_doxygen"; then
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18233 $as_echo "$efl_have_doxygen" >&6; }
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18236 $as_echo "no" >&6; }
18240 if test "x${efl_have_doxygen}" = "xno" ; then
18242 echo "The doxygen program was not found in your execute path."
18243 echo "You may have doxygen installed somewhere not covered by your path."
18245 echo "If this is the case make sure you have the packages installed, AND"
18246 echo "that the doxygen program is in your execute path (see your"
18247 echo "shell manual page on setting the \$PATH environment variable), OR"
18248 echo "alternatively, specify the program to use with --with-doxygen."
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18250 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18259 if ! test "x${efl_have_doxygen}" = "xyes" ; then
18260 efl_enable_doc="no"
18263 if test "x${efl_enable_doc}" = "xyes"; then
18264 EFL_BUILD_DOC_TRUE=
18265 EFL_BUILD_DOC_FALSE='#'
18267 EFL_BUILD_DOC_TRUE='#'
18268 EFL_BUILD_DOC_FALSE=
18272 if test "x${efl_enable_doc}" = "xyes" ; then
18281 ### Checks for libraries
18283 # Evil library for compilation on Windows CE
18289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
18290 $as_echo_n "checking for EVIL... " >&6; }
18292 if test -n "$EVIL_CFLAGS"; then
18293 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
18294 elif test -n "$PKG_CONFIG"; then
18295 if test -n "$PKG_CONFIG" && \
18296 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18297 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18300 test $ac_status = 0; }; then
18301 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
18302 test "x$?" != "x0" && pkg_failed=yes
18309 if test -n "$EVIL_LIBS"; then
18310 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
18311 elif test -n "$PKG_CONFIG"; then
18312 if test -n "$PKG_CONFIG" && \
18313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18314 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18317 test $ac_status = 0; }; then
18318 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
18319 test "x$?" != "x0" && pkg_failed=yes
18329 if test $pkg_failed = yes; then
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18331 $as_echo "no" >&6; }
18333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18334 _pkg_short_errors_supported=yes
18336 _pkg_short_errors_supported=no
18338 if test $_pkg_short_errors_supported = yes; then
18339 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18341 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18343 # Put the nasty error message in config.log where it belongs
18344 echo "$EVIL_PKG_ERRORS" >&5
18346 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
18350 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18351 installed software in a non-standard prefix.
18353 Alternatively, you may set the environment variables EVIL_CFLAGS
18354 and EVIL_LIBS to avoid the need to call pkg-config.
18355 See the pkg-config man page for more details." "$LINENO" 5
18356 elif test $pkg_failed = untried; then
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18358 $as_echo "no" >&6; }
18359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18361 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18362 is in your PATH or set the PKG_CONFIG environment variable to the full
18363 path to pkg-config.
18365 Alternatively, you may set the environment variables EVIL_CFLAGS
18366 and EVIL_LIBS to avoid the need to call pkg-config.
18367 See the pkg-config man page for more details.
18369 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18370 See \`config.log' for more details" "$LINENO" 5; }
18372 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
18373 EVIL_LIBS=$pkg_cv_EVIL_LIBS
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18375 $as_echo "yes" >&6; }
18379 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
18381 requirement_evas="evil ${requirement_evas}"
18385 ### Checks for portability layer
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
18390 $as_echo_n "checking for EXOTIC... " >&6; }
18392 if test -n "$EXOTIC_CFLAGS"; then
18393 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
18394 elif test -n "$PKG_CONFIG"; then
18395 if test -n "$PKG_CONFIG" && \
18396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18397 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18400 test $ac_status = 0; }; then
18401 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
18402 test "x$?" != "x0" && pkg_failed=yes
18409 if test -n "$EXOTIC_LIBS"; then
18410 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
18411 elif test -n "$PKG_CONFIG"; then
18412 if test -n "$PKG_CONFIG" && \
18413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18414 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18417 test $ac_status = 0; }; then
18418 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
18419 test "x$?" != "x0" && pkg_failed=yes
18429 if test $pkg_failed = yes; then
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18431 $as_echo "no" >&6; }
18433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18434 _pkg_short_errors_supported=yes
18436 _pkg_short_errors_supported=no
18438 if test $_pkg_short_errors_supported = yes; then
18439 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
18441 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
18443 # Put the nasty error message in config.log where it belongs
18444 echo "$EXOTIC_PKG_ERRORS" >&5
18447 elif test $pkg_failed = untried; then
18448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18449 $as_echo "no" >&6; }
18452 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
18453 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18455 $as_echo "yes" >&6; }
18456 enable_exotic="yes"
18459 if test "x${enable_exotic}" = "xyes"; then
18460 requirement_evas="exotic ${requirement_evas}"
18463 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
18466 if test "x${enable_exotic}" = "xyes"; then
18467 EVAS_HAVE_EXOTIC_TRUE=
18468 EVAS_HAVE_EXOTIC_FALSE='#'
18470 EVAS_HAVE_EXOTIC_TRUE='#'
18471 EVAS_HAVE_EXOTIC_FALSE=
18475 ## strong dependencies
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
18481 $as_echo_n "checking for EINA... " >&6; }
18483 if test -n "$EINA_CFLAGS"; then
18484 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
18485 elif test -n "$PKG_CONFIG"; then
18486 if test -n "$PKG_CONFIG" && \
18487 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
18488 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
18490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18491 test $ac_status = 0; }; then
18492 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.7.8" 2>/dev/null`
18493 test "x$?" != "x0" && pkg_failed=yes
18500 if test -n "$EINA_LIBS"; then
18501 pkg_cv_EINA_LIBS="$EINA_LIBS"
18502 elif test -n "$PKG_CONFIG"; then
18503 if test -n "$PKG_CONFIG" && \
18504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.7.8\""; } >&5
18505 ($PKG_CONFIG --exists --print-errors "eina >= 1.7.8") 2>&5
18507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18508 test $ac_status = 0; }; then
18509 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.7.8" 2>/dev/null`
18510 test "x$?" != "x0" && pkg_failed=yes
18520 if test $pkg_failed = yes; then
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18522 $as_echo "no" >&6; }
18524 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18525 _pkg_short_errors_supported=yes
18527 _pkg_short_errors_supported=no
18529 if test $_pkg_short_errors_supported = yes; then
18530 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
18532 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.7.8" 2>&1`
18534 # Put the nasty error message in config.log where it belongs
18535 echo "$EINA_PKG_ERRORS" >&5
18537 as_fn_error $? "Package requirements (eina >= 1.7.8) were not met:
18541 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18542 installed software in a non-standard prefix.
18544 Alternatively, you may set the environment variables EINA_CFLAGS
18545 and EINA_LIBS to avoid the need to call pkg-config.
18546 See the pkg-config man page for more details." "$LINENO" 5
18547 elif test $pkg_failed = untried; then
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18549 $as_echo "no" >&6; }
18550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18552 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18553 is in your PATH or set the PKG_CONFIG environment variable to the full
18554 path to pkg-config.
18556 Alternatively, you may set the environment variables EINA_CFLAGS
18557 and EINA_LIBS to avoid the need to call pkg-config.
18558 See the pkg-config man page for more details.
18560 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18561 See \`config.log' for more details" "$LINENO" 5; }
18563 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
18564 EINA_LIBS=$pkg_cv_EINA_LIBS
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18566 $as_echo "yes" >&6; }
18569 CPPFLAGS_SAVE="$CPPFLAGS"
18570 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
18571 # The cast to long int works around a bug in the HP C Compiler
18572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18574 # This bug is HP SR number 8606223364.
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
18576 $as_echo_n "checking size of Eina_Unicode... " >&6; }
18577 if ${ac_cv_sizeof_Eina_Unicode+:} false; then :
18578 $as_echo_n "(cached) " >&6
18580 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode" "#include <Eina.h>
18584 if test "$ac_cv_type_Eina_Unicode" = yes; then
18585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18587 as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
18588 See \`config.log' for more details" "$LINENO" 5; }
18590 ac_cv_sizeof_Eina_Unicode=0
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
18596 $as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
18600 cat >>confdefs.h <<_ACEOF
18601 #define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
18605 CPPFLAGS="$CPPFLAGS_SAVE"
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
18611 $as_echo_n "checking for FREETYPE... " >&6; }
18613 if test -n "$FREETYPE_CFLAGS"; then
18614 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
18615 elif test -n "$PKG_CONFIG"; then
18616 if test -n "$PKG_CONFIG" && \
18617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18618 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18621 test $ac_status = 0; }; then
18622 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
18623 test "x$?" != "x0" && pkg_failed=yes
18630 if test -n "$FREETYPE_LIBS"; then
18631 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
18632 elif test -n "$PKG_CONFIG"; then
18633 if test -n "$PKG_CONFIG" && \
18634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18635 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18638 test $ac_status = 0; }; then
18639 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
18640 test "x$?" != "x0" && pkg_failed=yes
18650 if test $pkg_failed = yes; then
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18652 $as_echo "no" >&6; }
18654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18655 _pkg_short_errors_supported=yes
18657 _pkg_short_errors_supported=no
18659 if test $_pkg_short_errors_supported = yes; then
18660 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18662 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18664 # Put the nasty error message in config.log where it belongs
18665 echo "$FREETYPE_PKG_ERRORS" >&5
18667 as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
18669 $FREETYPE_PKG_ERRORS
18671 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18672 installed software in a non-standard prefix.
18674 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18675 and FREETYPE_LIBS to avoid the need to call pkg-config.
18676 See the pkg-config man page for more details." "$LINENO" 5
18677 elif test $pkg_failed = untried; then
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18679 $as_echo "no" >&6; }
18680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18682 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18683 is in your PATH or set the PKG_CONFIG environment variable to the full
18684 path to pkg-config.
18686 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18687 and FREETYPE_LIBS to avoid the need to call pkg-config.
18688 See the pkg-config man page for more details.
18690 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18691 See \`config.log' for more details" "$LINENO" 5; }
18693 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
18694 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18696 $as_echo "yes" >&6; }
18700 requirement_evas="freetype2 eina >= 1.7.8 ${requirement_evas}"
18702 ## optional dependencies
18705 have_fontconfig="no"
18706 # Check whether --enable-fontconfig was given.
18707 if test "${enable_fontconfig+set}" = set; then :
18708 enableval=$enable_fontconfig;
18709 if test "x${enableval}" = "xyes" ; then
18710 want_fontconfig="yes"
18712 want_fontconfig="no"
18719 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18723 $as_echo_n "checking for FONTCONFIG... " >&6; }
18725 if test -n "$FONTCONFIG_CFLAGS"; then
18726 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18727 elif test -n "$PKG_CONFIG"; then
18728 if test -n "$PKG_CONFIG" && \
18729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18730 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18733 test $ac_status = 0; }; then
18734 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
18735 test "x$?" != "x0" && pkg_failed=yes
18742 if test -n "$FONTCONFIG_LIBS"; then
18743 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18744 elif test -n "$PKG_CONFIG"; then
18745 if test -n "$PKG_CONFIG" && \
18746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18747 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18750 test $ac_status = 0; }; then
18751 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
18752 test "x$?" != "x0" && pkg_failed=yes
18762 if test $pkg_failed = yes; then
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18764 $as_echo "no" >&6; }
18766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18767 _pkg_short_errors_supported=yes
18769 _pkg_short_errors_supported=no
18771 if test $_pkg_short_errors_supported = yes; then
18772 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18774 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18776 # Put the nasty error message in config.log where it belongs
18777 echo "$FONTCONFIG_PKG_ERRORS" >&5
18780 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18781 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18784 elif test $pkg_failed = untried; then
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18786 $as_echo "no" >&6; }
18788 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18789 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18793 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18794 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18796 $as_echo "yes" >&6; }
18798 have_fontconfig="yes"
18800 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18802 requirement_evas="fontconfig ${requirement_evas}"
18808 have_linebreak="no"
18809 want_linebreak="yes"
18810 # Check whether --enable-liblinebreak was given.
18811 if test "${enable_liblinebreak+set}" = set; then :
18812 enableval=$enable_liblinebreak;
18813 if test "x${enableval}" = "xyes" ; then
18814 want_linebreak="yes"
18816 want_linebreak="no"
18823 if test "x${want_linebreak}" = "xyes"; then
18824 EVAS_USE_LINEBREAK_TRUE=
18825 EVAS_USE_LINEBREAK_FALSE='#'
18827 EVAS_USE_LINEBREAK_TRUE='#'
18828 EVAS_USE_LINEBREAK_FALSE=
18831 if test "x${want_linebreak}" = "xyes" ; then
18832 have_linebreak="yes"
18833 LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18834 LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18838 $as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18841 have_linebreak="no"
18846 # Check whether --enable-fribidi was given.
18847 if test "${enable_fribidi+set}" = set; then :
18848 enableval=$enable_fribidi;
18849 if test "x${enableval}" = "xyes" ; then
18858 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18862 $as_echo_n "checking for FRIBIDI... " >&6; }
18864 if test -n "$FRIBIDI_CFLAGS"; then
18865 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18866 elif test -n "$PKG_CONFIG"; then
18867 if test -n "$PKG_CONFIG" && \
18868 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18869 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18872 test $ac_status = 0; }; then
18873 pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18874 test "x$?" != "x0" && pkg_failed=yes
18881 if test -n "$FRIBIDI_LIBS"; then
18882 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18883 elif test -n "$PKG_CONFIG"; then
18884 if test -n "$PKG_CONFIG" && \
18885 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18886 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18889 test $ac_status = 0; }; then
18890 pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18891 test "x$?" != "x0" && pkg_failed=yes
18901 if test $pkg_failed = yes; then
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18903 $as_echo "no" >&6; }
18905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18906 _pkg_short_errors_supported=yes
18908 _pkg_short_errors_supported=no
18910 if test $_pkg_short_errors_supported = yes; then
18911 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18913 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18915 # Put the nasty error message in config.log where it belongs
18916 echo "$FRIBIDI_PKG_ERRORS" >&5
18919 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18920 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18923 elif test $pkg_failed = untried; then
18924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18925 $as_echo "no" >&6; }
18927 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18928 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18932 FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18933 FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18935 $as_echo "yes" >&6; }
18939 $as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18941 requirement_evas="fribidi ${requirement_evas}"
18942 CPPFLAGS_SAVE="$CPPFLAGS"
18943 CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18944 # The cast to long int works around a bug in the HP C Compiler
18945 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18946 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18947 # This bug is HP SR number 8606223364.
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18949 $as_echo_n "checking size of FriBidiChar... " >&6; }
18950 if ${ac_cv_sizeof_FriBidiChar+:} false; then :
18951 $as_echo_n "(cached) " >&6
18953 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar" "#include <fribidi.h>
18957 if test "$ac_cv_type_FriBidiChar" = yes; then
18958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18960 as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18961 See \`config.log' for more details" "$LINENO" 5; }
18963 ac_cv_sizeof_FriBidiChar=0
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18969 $as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18973 cat >>confdefs.h <<_ACEOF
18974 #define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18978 CPPFLAGS="$CPPFLAGS_SAVE"
18983 if test "x${have_fribidi}" = "xno"; then
18989 have_harfbuzz_ft="no"
18990 # Check whether --enable-harfbuzz was given.
18991 if test "${enable_harfbuzz+set}" = set; then :
18992 enableval=$enable_harfbuzz;
18993 if test "x${enableval}" = "xyes" ; then
18994 want_harfbuzz="yes"
19002 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
19006 $as_echo_n "checking for HARFBUZZ... " >&6; }
19008 if test -n "$HARFBUZZ_CFLAGS"; then
19009 pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
19010 elif test -n "$PKG_CONFIG"; then
19011 if test -n "$PKG_CONFIG" && \
19012 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
19013 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
19015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19016 test $ac_status = 0; }; then
19017 pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.9.0" 2>/dev/null`
19018 test "x$?" != "x0" && pkg_failed=yes
19025 if test -n "$HARFBUZZ_LIBS"; then
19026 pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
19027 elif test -n "$PKG_CONFIG"; then
19028 if test -n "$PKG_CONFIG" && \
19029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
19030 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
19032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19033 test $ac_status = 0; }; then
19034 pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.9.0" 2>/dev/null`
19035 test "x$?" != "x0" && pkg_failed=yes
19045 if test $pkg_failed = yes; then
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19047 $as_echo "no" >&6; }
19049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19050 _pkg_short_errors_supported=yes
19052 _pkg_short_errors_supported=no
19054 if test $_pkg_short_errors_supported = yes; then
19055 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19057 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19059 # Put the nasty error message in config.log where it belongs
19060 echo "$HARFBUZZ_PKG_ERRORS" >&5
19063 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19064 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19067 elif test $pkg_failed = untried; then
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19069 $as_echo "no" >&6; }
19071 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19072 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19076 HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
19077 HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19079 $as_echo "yes" >&6; }
19081 have_harfbuzz="yes"
19082 requirement_evas="harfbuzz ${requirement_evas}"
19085 if test "x$have_harfbuzz" = "xyes" ; then
19087 CPPFLAGS_SAVE="$CPPFLAGS"
19088 CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
19089 # must have for usage with harfbuzz although harfbuzz may not have it.
19091 ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
19092 if test "x$ac_cv_header_hb_ft_h" = xyes; then :
19094 have_harfbuzz_ft="yes"
19095 #Depend on harfbuzz ft for harfbuzz support
19097 $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
19102 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19103 as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
19110 CPPFLAGS="$CPPFLAGS_SAVE"
19114 if test "x${have_harfbuzz}" = "xno"; then
19120 # Check whether --enable-pixman was given.
19121 if test "${enable_pixman+set}" = set; then :
19122 enableval=$enable_pixman;
19123 if test "x${enableval}" = "xyes" ; then
19133 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
19137 $as_echo_n "checking for PIXMAN... " >&6; }
19139 if test -n "$PIXMAN_CFLAGS"; then
19140 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
19141 elif test -n "$PKG_CONFIG"; then
19142 if test -n "$PKG_CONFIG" && \
19143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19144 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19147 test $ac_status = 0; }; then
19148 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
19149 test "x$?" != "x0" && pkg_failed=yes
19156 if test -n "$PIXMAN_LIBS"; then
19157 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
19158 elif test -n "$PKG_CONFIG"; then
19159 if test -n "$PKG_CONFIG" && \
19160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19161 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19164 test $ac_status = 0; }; then
19165 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
19166 test "x$?" != "x0" && pkg_failed=yes
19176 if test $pkg_failed = yes; then
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19178 $as_echo "no" >&6; }
19180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19181 _pkg_short_errors_supported=yes
19183 _pkg_short_errors_supported=no
19185 if test $_pkg_short_errors_supported = yes; then
19186 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1`
19188 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1`
19190 # Put the nasty error message in config.log where it belongs
19191 echo "$PIXMAN_PKG_ERRORS" >&5
19194 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19195 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19198 elif test $pkg_failed = untried; then
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19200 $as_echo "no" >&6; }
19202 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19203 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19207 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
19208 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19210 $as_echo "yes" >&6; }
19214 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
19216 requirement_evas="pixman-1 ${requirement_evas}"
19221 have_pixman_font="no"
19222 # Check whether --enable-pixman-font was given.
19223 if test "${enable_pixman_font+set}" = set; then :
19224 enableval=$enable_pixman_font;
19225 have_pixman_font="yes"
19227 $as_echo "#define PIXMAN_FONT 1" >>confdefs.h
19234 have_pixman_rect="no"
19235 # Check whether --enable-pixman-rect was given.
19236 if test "${enable_pixman_rect+set}" = set; then :
19237 enableval=$enable_pixman_rect;
19238 have_pixman_rect="yes"
19240 $as_echo "#define PIXMAN_RECT 1" >>confdefs.h
19247 have_pixman_line="no"
19248 # Check whether --enable-pixman-line was given.
19249 if test "${enable_pixman_line+set}" = set; then :
19250 enableval=$enable_pixman_line;
19251 have_pixman_line="yes"
19253 $as_echo "#define PIXMAN_LINE 1" >>confdefs.h
19260 have_pixman_poly="no"
19261 # Check whether --enable-pixman-poly was given.
19262 if test "${enable_pixman_poly+set}" = set; then :
19263 enableval=$enable_pixman_poly;
19264 have_pixman_poly="yes"
19266 $as_echo "#define PIXMAN_POLY 1" >>confdefs.h
19273 have_pixman_image="no"
19274 # Check whether --enable-pixman-image was given.
19275 if test "${enable_pixman_image+set}" = set; then :
19276 enableval=$enable_pixman_image;
19277 have_pixman_image="yes"
19279 $as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
19286 have_pixman_image_scale_sample="no"
19287 # Check whether --enable-pixman-image-scale-sample was given.
19288 if test "${enable_pixman_image_scale_sample+set}" = set; then :
19289 enableval=$enable_pixman_image_scale_sample;
19290 have_pixman_image_scale_sample="yes"
19292 $as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
19299 have_tile_rotate="no"
19300 # Check whether --enable-tile-rotate was given.
19301 if test "${enable_tile_rotate+set}" = set; then :
19302 enableval=$enable_tile_rotate;
19303 have_tile_rotate="yes"
19305 $as_echo "#define TILE_ROTATE 1" >>confdefs.h
19312 ### Checks for header files
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19314 $as_echo_n "checking for ANSI C header files... " >&6; }
19315 if ${ac_cv_header_stdc+:} false; then :
19316 $as_echo_n "(cached) " >&6
19318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19319 /* end confdefs.h. */
19320 #include <stdlib.h>
19321 #include <stdarg.h>
19322 #include <string.h>
19333 if ac_fn_c_try_compile "$LINENO"; then :
19334 ac_cv_header_stdc=yes
19336 ac_cv_header_stdc=no
19338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340 if test $ac_cv_header_stdc = yes; then
19341 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 #include <string.h>
19347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19348 $EGREP "memchr" >/dev/null 2>&1; then :
19351 ac_cv_header_stdc=no
19357 if test $ac_cv_header_stdc = yes; then
19358 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361 #include <stdlib.h>
19364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19365 $EGREP "free" >/dev/null 2>&1; then :
19368 ac_cv_header_stdc=no
19374 if test $ac_cv_header_stdc = yes; then
19375 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19376 if test "$cross_compiling" = yes; then :
19379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h. */
19382 #include <stdlib.h>
19383 #if ((' ' & 0x0FF) == 0x020)
19384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19387 # define ISLOWER(c) \
19388 (('a' <= (c) && (c) <= 'i') \
19389 || ('j' <= (c) && (c) <= 'r') \
19390 || ('s' <= (c) && (c) <= 'z'))
19391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19399 for (i = 0; i < 256; i++)
19400 if (XOR (islower (i), ISLOWER (i))
19401 || toupper (i) != TOUPPER (i))
19406 if ac_fn_c_try_run "$LINENO"; then :
19409 ac_cv_header_stdc=no
19411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19412 conftest.$ac_objext conftest.beam conftest.$ac_ext
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19418 $as_echo "$ac_cv_header_stdc" >&6; }
19419 if test $ac_cv_header_stdc = yes; then
19421 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19425 for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
19427 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19428 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19429 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19430 cat >>confdefs.h <<_ACEOF
19431 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19442 ac_cpp='$CPP $CPPFLAGS'
19443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
19449 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19453 #include <limits.h>
19465 if ac_fn_c_try_compile "$LINENO"; then :
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19467 $as_echo "yes" >&6; }
19471 cat >>confdefs.h <<_ACEOF
19472 #define PATH_MAX ${default_max}
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
19476 $as_echo "no: using ${default_max}" >&6; }
19479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 ac_cpp='$CPP $CPPFLAGS'
19483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19490 ### Checks for types
19491 ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
19493 if test "x$ac_cv_type_struct_sigaction" = xyes; then :
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_STRUCT_SIGACTION 1
19504 ### Checks for structures
19507 ### Checks for compiler characteristics
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19509 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19510 if ${ac_cv_c_const+:} false; then :
19511 $as_echo_n "(cached) " >&6
19513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 /* end confdefs.h. */
19520 #ifndef __cplusplus
19521 /* Ultrix mips cc rejects this sort of thing. */
19522 typedef int charset[2];
19523 const charset cs = { 0, 0 };
19524 /* SunOS 4.1.1 cc rejects this. */
19525 char const *const *pcpcc;
19527 /* NEC SVR4.0.2 mips cc rejects this. */
19528 struct point {int x, y;};
19529 static struct point const zero = {0,0};
19530 /* AIX XL C 1.02.0.0 rejects this.
19531 It does not let you subtract one const X* pointer from another in
19532 an arm of an if-expression whose if-part is not a constant
19534 const char *g = "string";
19535 pcpcc = &g + (g ? g-g : 0);
19536 /* HPUX 7.0 cc rejects these. */
19538 ppc = (char**) pcpcc;
19539 pcpcc = (char const *const *) ppc;
19540 { /* SCO 3.2v4 cc rejects this sort of thing. */
19543 char const *s = 0 ? (char *) 0 : (char const *) 0;
19548 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19549 int x[] = {25, 17};
19550 const int *foo = &x[0];
19553 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19554 typedef const int *iptr;
19558 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
19559 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19560 struct s { int j; const int *ap[3]; } bx;
19561 struct s *b = &bx; b->j = 5;
19563 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19564 const int foo = 10;
19565 if (!foo) return 0;
19567 return !cs[0] && !zero.x;
19574 if ac_fn_c_try_compile "$LINENO"; then :
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19582 $as_echo "$ac_cv_c_const" >&6; }
19583 if test $ac_cv_c_const = no; then
19585 $as_echo "#define const /**/" >>confdefs.h
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
19590 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
19591 if ${ac_cv_c_bigendian+:} false; then :
19592 $as_echo_n "(cached) " >&6
19594 ac_cv_c_bigendian=unknown
19595 # See if we're dealing with a universal compiler.
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h. */
19598 #ifndef __APPLE_CC__
19599 not a universal capable compiler
19604 if ac_fn_c_try_compile "$LINENO"; then :
19606 # Check for potential -arch flags. It is not universal unless
19607 # there are at least two -arch flags with different values.
19610 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
19611 if test -n "$ac_prev"; then
19613 i?86 | x86_64 | ppc | ppc64)
19614 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
19617 ac_cv_c_bigendian=universal
19623 elif test "x$ac_word" = "x-arch"; then
19628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19629 if test $ac_cv_c_bigendian = unknown; then
19630 # See if sys/param.h defines the BYTE_ORDER macro.
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h. */
19633 #include <sys/types.h>
19634 #include <sys/param.h>
19639 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
19640 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
19642 bogus endian macros
19649 if ac_fn_c_try_compile "$LINENO"; then :
19650 # It does; now see whether it defined to BIG_ENDIAN or not.
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #include <sys/types.h>
19654 #include <sys/param.h>
19659 #if BYTE_ORDER != BIG_ENDIAN
19667 if ac_fn_c_try_compile "$LINENO"; then :
19668 ac_cv_c_bigendian=yes
19670 ac_cv_c_bigendian=no
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 if test $ac_cv_c_bigendian = unknown; then
19677 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19680 #include <limits.h>
19685 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
19686 bogus endian macros
19693 if ac_fn_c_try_compile "$LINENO"; then :
19694 # It does; now see whether it defined to _BIG_ENDIAN or not.
19695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19697 #include <limits.h>
19702 #ifndef _BIG_ENDIAN
19710 if ac_fn_c_try_compile "$LINENO"; then :
19711 ac_cv_c_bigendian=yes
19713 ac_cv_c_bigendian=no
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 if test $ac_cv_c_bigendian = unknown; then
19720 # Compile a test program.
19721 if test "$cross_compiling" = yes; then :
19722 # Try to guess by grepping values from an object file.
19723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19725 short int ascii_mm[] =
19726 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19727 short int ascii_ii[] =
19728 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19729 int use_ascii (int i) {
19730 return ascii_mm[i] + ascii_ii[i];
19732 short int ebcdic_ii[] =
19733 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19734 short int ebcdic_mm[] =
19735 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19736 int use_ebcdic (int i) {
19737 return ebcdic_mm[i] + ebcdic_ii[i];
19744 return use_ascii (foo) == use_ebcdic (foo);
19749 if ac_fn_c_try_compile "$LINENO"; then :
19750 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
19751 ac_cv_c_bigendian=yes
19753 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19754 if test "$ac_cv_c_bigendian" = unknown; then
19755 ac_cv_c_bigendian=no
19757 # finding both strings is unlikely to happen, but who knows?
19758 ac_cv_c_bigendian=unknown
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19765 /* end confdefs.h. */
19766 $ac_includes_default
19771 /* Are we little or big endian? From Harbison&Steele. */
19775 char c[sizeof (long int)];
19778 return u.c[sizeof (long int) - 1] == 1;
19784 if ac_fn_c_try_run "$LINENO"; then :
19785 ac_cv_c_bigendian=no
19787 ac_cv_c_bigendian=yes
19789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19790 conftest.$ac_objext conftest.beam conftest.$ac_ext
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19796 $as_echo "$ac_cv_c_bigendian" >&6; }
19797 case $ac_cv_c_bigendian in #(
19799 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19805 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19809 as_fn_error $? "unknown endianness
19810 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19813 case $ac_cv_prog_cc_stdc in #(
19815 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19818 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19819 if ${ac_cv_prog_cc_c99+:} false; then :
19820 $as_echo_n "(cached) " >&6
19822 ac_cv_prog_cc_c99=no
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 #include <stdarg.h>
19827 #include <stdbool.h>
19828 #include <stdlib.h>
19832 // Check varargs macros. These examples are taken from C99 6.10.3.5.
19833 #define debug(...) fprintf (stderr, __VA_ARGS__)
19834 #define showlist(...) puts (#__VA_ARGS__)
19835 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19837 test_varargs_macros (void)
19842 debug ("X = %d\n", x);
19843 showlist (The first, second, and third items.);
19844 report (x>y, "x is %d but y is %d", x, y);
19847 // Check long long types.
19848 #define BIG64 18446744073709551615ull
19849 #define BIG32 4294967295ul
19850 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19852 your preprocessor is broken;
19856 your preprocessor is broken;
19858 static long long int bignum = -9223372036854775807LL;
19859 static unsigned long long int ubignum = BIG64;
19861 struct incomplete_array
19867 struct named_init {
19869 const wchar_t *name;
19873 typedef const char *ccp;
19876 test_restrict (ccp restrict text)
19878 // See if C++-style comments work.
19879 // Iterate through items via the restricted pointer.
19880 // Also check for declarations in for loops.
19881 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19886 // Check varargs and va_copy.
19888 test_varargs (const char *format, ...)
19891 va_start (args, format);
19893 va_copy (args_copy, args);
19903 case 's': // string
19904 str = va_arg (args_copy, const char *);
19907 number = va_arg (args_copy, int);
19910 fnumber = va_arg (args_copy, double);
19916 va_end (args_copy);
19925 _Bool success = false;
19928 if (test_restrict ("String literal") == 0)
19930 char *restrict newvar = "Another string";
19933 test_varargs ("s, d' f .", "string", 65, 34.234);
19934 test_varargs_macros ();
19936 // Check flexible array members.
19937 struct incomplete_array *ia =
19938 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19940 for (int i = 0; i < ia->datasize; ++i)
19941 ia->data[i] = i * 1.234;
19943 // Check named initializers.
19944 struct named_init ni = {
19946 .name = L"Test wide string",
19947 .average = 543.34343,
19952 int dynamic_array[ni.number];
19953 dynamic_array[ni.number - 1] = 543;
19955 // work around unused variable warnings
19956 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19957 || dynamic_array[ni.number - 1] != 543);
19963 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
19965 CC="$ac_save_CC $ac_arg"
19966 if ac_fn_c_try_compile "$LINENO"; then :
19967 ac_cv_prog_cc_c99=$ac_arg
19969 rm -f core conftest.err conftest.$ac_objext
19970 test "x$ac_cv_prog_cc_c99" != "xno" && break
19972 rm -f conftest.$ac_ext
19977 case "x$ac_cv_prog_cc_c99" in
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19980 $as_echo "none needed" >&6; } ;;
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19983 $as_echo "unsupported" >&6; } ;;
19985 CC="$CC $ac_cv_prog_cc_c99"
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19987 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19989 if test "x$ac_cv_prog_cc_c99" != xno; then :
19990 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19993 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19994 if ${ac_cv_prog_cc_c89+:} false; then :
19995 $as_echo_n "(cached) " >&6
19997 ac_cv_prog_cc_c89=no
19999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20000 /* end confdefs.h. */
20001 #include <stdarg.h>
20004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
20005 struct buf { int x; };
20006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20007 static char *e (p, i)
20013 static char *f (char * (*g) (char **, int), char **p, ...)
20018 s = g (p, va_arg (v,int));
20023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20024 function prototypes and stuff, but not '\xHH' hex character constants.
20025 These don't provoke an error unfortunately, instead are silently treated
20026 as 'x'. The following induces an error, until -std is added to get
20027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20028 array size at least. It's necessary to write '\x00'==0 to get something
20029 that's true only with -std. */
20030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20033 inside strings and character constants. */
20035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20037 int test (int i, double x);
20038 struct s1 {int (*f) (int a);};
20039 struct s2 {int (*f) (double a);};
20040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
20051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20052 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20054 CC="$ac_save_CC $ac_arg"
20055 if ac_fn_c_try_compile "$LINENO"; then :
20056 ac_cv_prog_cc_c89=$ac_arg
20058 rm -f core conftest.err conftest.$ac_objext
20059 test "x$ac_cv_prog_cc_c89" != "xno" && break
20061 rm -f conftest.$ac_ext
20066 case "x$ac_cv_prog_cc_c89" in
20068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20069 $as_echo "none needed" >&6; } ;;
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20072 $as_echo "unsupported" >&6; } ;;
20074 CC="$CC $ac_cv_prog_cc_c89"
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
20076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
20078 if test "x$ac_cv_prog_cc_c89" != xno; then :
20079 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
20081 ac_cv_prog_cc_stdc=no
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
20088 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
20089 if ${ac_cv_prog_cc_stdc+:} false; then :
20090 $as_echo_n "(cached) " >&6
20093 case $ac_cv_prog_cc_stdc in #(
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20096 $as_echo "unsupported" >&6; } ;; #(
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20099 $as_echo "none needed" >&6; } ;; #(
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
20102 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
20107 $as_echo_n "checking for __attribute__ ((unused))... " >&6; }
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20111 void foo(int x __attribute__ ((unused))) {}
20122 if ac_fn_c_try_compile "$LINENO"; then :
20123 have_attribute_unused="yes"
20125 have_attribute_unused="no"
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
20129 $as_echo "${have_attribute_unused}" >&6; }
20131 if test "x${have_attribute_unused}" = "xyes" ; then
20133 $as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
20137 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
20143 $as_echo_n "checking for __attribute__ ((vector))... " >&6; }
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20147 typedef int v4si __attribute__ ((vector_size (16)));
20153 if (sizeof(v4si) == 16)
20162 if ac_fn_c_try_compile "$LINENO"; then :
20163 have_attribute_vector="yes"
20165 have_attribute_vector="no"
20167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
20169 $as_echo "${have_attribute_vector}" >&6; }
20171 if test "x${have_attribute_vector}" = "xyes" ; then
20173 $as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
20179 have_attribute_forceinline="no"
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
20182 $as_echo_n "checking for __forceinline... " >&6; }
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20187 #include <windows.h>
20188 static __forceinline void foo(void) {}
20199 if ac_fn_c_try_compile "$LINENO"; then :
20201 have_attribute_always_inline="yes"
20202 have_attribute_forceinline="yes"
20205 have_attribute_always_inline="no"
20207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20210 $as_echo "${have_attribute_always_inline}" >&6; }
20212 if test "x${have_attribute_always_inline}" = "xno" ; then
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
20214 $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
20215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h. */
20218 static __attribute__((__always_inline__)) inline void foo(void) {}
20229 if ac_fn_c_try_compile "$LINENO"; then :
20230 have_attribute_always_inline="yes"
20232 have_attribute_always_inline="no"
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20236 $as_echo "${have_attribute_always_inline}" >&6; }
20239 if test "x${have_attribute_always_inline}" = "xyes" ; then
20240 if test "x${have_attribute_forceinline}" = "xyes" ; then
20242 $as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
20246 $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
20251 $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
20257 ### Checks for linker characteristics
20258 lt_enable_auto_import=""
20259 case "${host_os}" in
20262 $as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
20264 lt_enable_auto_import="-Wl,--enable-auto-import"
20270 ### Checks for library functions
20272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
20273 $as_echo_n "checking for library containing strerror... " >&6; }
20274 if ${ac_cv_search_strerror+:} false; then :
20275 $as_echo_n "(cached) " >&6
20277 ac_func_search_save_LIBS=$LIBS
20278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20279 /* end confdefs.h. */
20281 /* Override any GCC internal prototype to avoid an error.
20282 Use char because int might match the return type of a GCC
20283 builtin and then its argument prototype would still apply. */
20291 return strerror ();
20296 for ac_lib in '' cposix; do
20297 if test -z "$ac_lib"; then
20298 ac_res="none required"
20301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20303 if ac_fn_c_try_link "$LINENO"; then :
20304 ac_cv_search_strerror=$ac_res
20306 rm -f core conftest.err conftest.$ac_objext \
20308 if ${ac_cv_search_strerror+:} false; then :
20312 if ${ac_cv_search_strerror+:} false; then :
20315 ac_cv_search_strerror=no
20317 rm conftest.$ac_ext
20318 LIBS=$ac_func_search_save_LIBS
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
20321 $as_echo "$ac_cv_search_strerror" >&6; }
20322 ac_res=$ac_cv_search_strerror
20323 if test "$ac_res" != no; then :
20324 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20328 for ac_func in siglongjmp fcntl
20330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20333 cat >>confdefs.h <<_ACEOF
20334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20342 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20343 if test "x$ac_cv_type_size_t" = xyes; then :
20347 cat >>confdefs.h <<_ACEOF
20348 #define size_t unsigned int
20353 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20354 # for constant arguments. Useless!
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
20356 $as_echo_n "checking for working alloca.h... " >&6; }
20357 if ${ac_cv_working_alloca_h+:} false; then :
20358 $as_echo_n "(cached) " >&6
20360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h. */
20362 #include <alloca.h>
20366 char *p = (char *) alloca (2 * sizeof (int));
20372 if ac_fn_c_try_link "$LINENO"; then :
20373 ac_cv_working_alloca_h=yes
20375 ac_cv_working_alloca_h=no
20377 rm -f core conftest.err conftest.$ac_objext \
20378 conftest$ac_exeext conftest.$ac_ext
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
20381 $as_echo "$ac_cv_working_alloca_h" >&6; }
20382 if test $ac_cv_working_alloca_h = yes; then
20384 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
20389 $as_echo_n "checking for alloca... " >&6; }
20390 if ${ac_cv_func_alloca_works+:} false; then :
20391 $as_echo_n "(cached) " >&6
20393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20394 /* end confdefs.h. */
20396 # define alloca __builtin_alloca
20399 # include <malloc.h>
20400 # define alloca _alloca
20402 # ifdef HAVE_ALLOCA_H
20403 # include <alloca.h>
20408 # ifndef alloca /* predefined by HP cc +Olibcalls */
20409 void *alloca (size_t);
20419 char *p = (char *) alloca (1);
20425 if ac_fn_c_try_link "$LINENO"; then :
20426 ac_cv_func_alloca_works=yes
20428 ac_cv_func_alloca_works=no
20430 rm -f core conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
20434 $as_echo "$ac_cv_func_alloca_works" >&6; }
20436 if test $ac_cv_func_alloca_works = yes; then
20438 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
20441 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20442 # that cause trouble. Some versions do not even contain alloca or
20443 # contain a buggy version. If you still want to use their alloca,
20444 # use ar to extract alloca.o from them instead of compiling alloca.c.
20446 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20448 $as_echo "#define C_ALLOCA 1" >>confdefs.h
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20452 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20453 if ${ac_cv_os_cray+:} false; then :
20454 $as_echo_n "(cached) " >&6
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20458 #if defined CRAY && ! defined CRAY2
20465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20466 $EGREP "webecray" >/dev/null 2>&1; then :
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
20475 $as_echo "$ac_cv_os_cray" >&6; }
20476 if test $ac_cv_os_cray = yes; then
20477 for ac_func in _getb67 GETB67 getb67; do
20478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20482 cat >>confdefs.h <<_ACEOF
20483 #define CRAY_STACKSEG_END $ac_func
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20493 $as_echo_n "checking stack direction for C alloca... " >&6; }
20494 if ${ac_cv_c_stack_direction+:} false; then :
20495 $as_echo_n "(cached) " >&6
20497 if test "$cross_compiling" = yes; then :
20498 ac_cv_c_stack_direction=0
20500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20501 /* end confdefs.h. */
20502 $ac_includes_default
20504 find_stack_direction (int *addr, int depth)
20506 int dir, dummy = 0;
20509 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
20510 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
20511 return dir + dummy;
20515 main (int argc, char **argv)
20517 return find_stack_direction (0, argc + !argv + 20) < 0;
20520 if ac_fn_c_try_run "$LINENO"; then :
20521 ac_cv_c_stack_direction=1
20523 ac_cv_c_stack_direction=-1
20525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20526 conftest.$ac_objext conftest.beam conftest.$ac_ext
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
20531 $as_echo "$ac_cv_c_stack_direction" >&6; }
20532 cat >>confdefs.h <<_ACEOF
20533 #define STACK_DIRECTION $ac_cv_c_stack_direction
20543 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
20544 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
20545 _efl_have_fnmatch="yes"
20547 _efl_have_fnmatch="no"
20552 if test "x${_efl_have_fnmatch}" = "xyes" ; then
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
20554 $as_echo_n "checking for library containing fnmatch... " >&6; }
20555 if ${ac_cv_search_fnmatch+:} false; then :
20556 $as_echo_n "(cached) " >&6
20558 ac_func_search_save_LIBS=$LIBS
20559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20562 /* Override any GCC internal prototype to avoid an error.
20563 Use char because int might match the return type of a GCC
20564 builtin and then its argument prototype would still apply. */
20577 for ac_lib in '' fnmatch evil exotic iberty; do
20578 if test -z "$ac_lib"; then
20579 ac_res="none required"
20582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20584 if ac_fn_c_try_link "$LINENO"; then :
20585 ac_cv_search_fnmatch=$ac_res
20587 rm -f core conftest.err conftest.$ac_objext \
20589 if ${ac_cv_search_fnmatch+:} false; then :
20593 if ${ac_cv_search_fnmatch+:} false; then :
20596 ac_cv_search_fnmatch=no
20598 rm conftest.$ac_ext
20599 LIBS=$ac_func_search_save_LIBS
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
20602 $as_echo "$ac_cv_search_fnmatch" >&6; }
20603 ac_res=$ac_cv_search_fnmatch
20604 if test "$ac_res" != no; then :
20605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20606 _efl_have_fnmatch="yes"
20608 _efl_have_fnmatch="no"
20613 EFL_FNMATCH_LIBS=""
20615 if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
20616 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
20621 if test "x$_efl_have_fnmatch" = "xyes"; then :
20624 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
20634 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20638 # nothing on mingw platform
20641 for ac_func in dlsym
20643 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
20644 if test "x$ac_cv_func_dlsym" = xyes; then :
20645 cat >>confdefs.h <<_ACEOF
20646 #define HAVE_DLSYM 1
20654 if test "x$res" = "xyes"; then
20655 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
20659 $as_echo_n "checking for dlsym in -ldl... " >&6; }
20660 if ${ac_cv_lib_dl_dlsym+:} false; then :
20661 $as_echo_n "(cached) " >&6
20663 ac_check_lib_save_LIBS=$LIBS
20665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20666 /* end confdefs.h. */
20668 /* Override any GCC internal prototype to avoid an error.
20669 Use char because int might match the return type of a GCC
20670 builtin and then its argument prototype would still apply. */
20683 if ac_fn_c_try_link "$LINENO"; then :
20684 ac_cv_lib_dl_dlsym=yes
20686 ac_cv_lib_dl_dlsym=no
20688 rm -f core conftest.err conftest.$ac_objext \
20689 conftest$ac_exeext conftest.$ac_ext
20690 LIBS=$ac_check_lib_save_LIBS
20692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
20693 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
20694 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
20700 if test "x$res" = "xyes"; then
20702 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20705 want_evas_engine_gl_xlib="no"
20706 want_evas_engine_gl_xcb="no"
20707 want_evas_engine_gl_sdl="no"
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20715 $as_echo_n "checking for lround in -lm... " >&6; }
20716 if ${ac_cv_lib_m_lround+:} false; then :
20717 $as_echo_n "(cached) " >&6
20719 ac_check_lib_save_LIBS=$LIBS
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20724 /* Override any GCC internal prototype to avoid an error.
20725 Use char because int might match the return type of a GCC
20726 builtin and then its argument prototype would still apply. */
20739 if ac_fn_c_try_link "$LINENO"; then :
20740 ac_cv_lib_m_lround=yes
20742 ac_cv_lib_m_lround=no
20744 rm -f core conftest.err conftest.$ac_objext \
20745 conftest$ac_exeext conftest.$ac_ext
20746 LIBS=$ac_check_lib_save_LIBS
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20749 $as_echo "$ac_cv_lib_m_lround" >&6; }
20750 if test "x$ac_cv_lib_m_lround" = xyes; then :
20756 if test "x$res" = "xyes"; then
20758 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20762 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
20764 _efl_have_shm_open="no"
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20768 $as_echo_n "checking for shm_open in libc... " >&6; }
20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20770 /* end confdefs.h. */
20772 #include <sys/mman.h>
20773 #include <sys/stat.h> /* For mode constants */
20774 #include <fcntl.h> /* For O_* constants */
20782 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20788 if ac_fn_c_try_link "$LINENO"; then :
20789 _efl_have_shm_open="yes"
20791 _efl_have_shm_open="no"
20793 rm -f core conftest.err conftest.$ac_objext \
20794 conftest$ac_exeext conftest.$ac_ext
20796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20797 $as_echo "${_efl_have_shm_open}" >&6; }
20799 if test "x${_efl_have_shm_open}" = "xno" ; then
20800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20801 $as_echo_n "checking for shm_open in librt... " >&6; }
20803 LIBS_save="${LIBS}"
20804 LIBS="${LIBS} -lrt"
20805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20808 #include <sys/mman.h>
20809 #include <sys/stat.h> /* For mode constants */
20810 #include <fcntl.h> /* For O_* constants */
20818 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20824 if ac_fn_c_try_link "$LINENO"; then :
20826 EFL_SHM_OPEN_LIBS="-lrt"
20827 _efl_have_shm_open="yes"
20830 _efl_have_shm_open="no"
20832 rm -f core conftest.err conftest.$ac_objext \
20833 conftest$ac_exeext conftest.$ac_ext
20835 LIBS="${LIBS_save}"
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20838 $as_echo "${_efl_have_shm_open}" >&6; }
20843 if test "x${_efl_have_shm_open}" = "xyes" ; then
20845 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20849 if test "x${_efl_have_shm_open}" = "xyes"; then :
20856 # (shm_open (for cache server)
20857 # Check whether --enable-evas-cserve was given.
20858 if test "${enable_evas_cserve+set}" = set; then :
20859 enableval=$enable_evas_cserve;
20860 if test "x${enableval}" = "xyes" ; then
20861 want_evas_cserve="yes"
20863 want_evas_cserve="no"
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20869 $as_echo_n "checking whether to build shared cache server and support... " >&6; }
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20871 $as_echo "${want_evas_cserve}" >&6; }
20873 # (shm_open (for cache server)
20874 # Check whether --enable-evas-cserve2 was given.
20875 if test "${enable_evas_cserve2+set}" = set; then :
20876 enableval=$enable_evas_cserve2;
20877 if test "x${enableval}" = "xyes" ; then
20878 want_evas_cserve2="yes"
20880 want_evas_cserve2="no"
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server 2 and support" >&5
20886 $as_echo_n "checking whether to build shared cache server 2 and support... " >&6; }
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve2}" >&5
20888 $as_echo "${want_evas_cserve2}" >&6; }
20890 # cserve2 only works on Linux so far.
20891 if test "x${want_evas_cserve2}" = "xyes" ; then
20892 for ac_header in sys/epoll.h sys/inotify.h sys/signalfd.h
20894 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20895 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20896 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20897 cat >>confdefs.h <<_ACEOF
20898 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20903 want_evas_cserve2="no"
20912 if test "x${want_evas_cserve2}" = "xyes"; then
20913 want_evas_cserve="no"
20917 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
20919 _efl_have_shm_open="no"
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20923 $as_echo_n "checking for shm_open in libc... " >&6; }
20924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20927 #include <sys/mman.h>
20928 #include <sys/stat.h> /* For mode constants */
20929 #include <fcntl.h> /* For O_* constants */
20937 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20943 if ac_fn_c_try_link "$LINENO"; then :
20944 _efl_have_shm_open="yes"
20946 _efl_have_shm_open="no"
20948 rm -f core conftest.err conftest.$ac_objext \
20949 conftest$ac_exeext conftest.$ac_ext
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20952 $as_echo "${_efl_have_shm_open}" >&6; }
20954 if test "x${_efl_have_shm_open}" = "xno" ; then
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20956 $as_echo_n "checking for shm_open in librt... " >&6; }
20958 LIBS_save="${LIBS}"
20959 LIBS="${LIBS} -lrt"
20960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20961 /* end confdefs.h. */
20963 #include <sys/mman.h>
20964 #include <sys/stat.h> /* For mode constants */
20965 #include <fcntl.h> /* For O_* constants */
20973 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20979 if ac_fn_c_try_link "$LINENO"; then :
20981 EFL_SHM_OPEN_LIBS="-lrt"
20982 _efl_have_shm_open="yes"
20985 _efl_have_shm_open="no"
20987 rm -f core conftest.err conftest.$ac_objext \
20988 conftest$ac_exeext conftest.$ac_ext
20990 LIBS="${LIBS_save}"
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20993 $as_echo "${_efl_have_shm_open}" >&6; }
20998 if test "x${_efl_have_shm_open}" = "xyes" ; then
21000 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
21004 if test "x${_efl_have_shm_open}" = "xyes"; then :
21006 shm_open_libs=${EFL_SHM_OPEN_LIBS}
21010 want_evas_cserve="no"
21011 want_evas_cserve2="no"
21019 if test "x${want_evas_cserve}" = "xyes" ; then
21021 $as_echo "#define EVAS_CSERVE 1" >>confdefs.h
21025 if test "x${want_evas_cserve}" = "xyes"; then
21027 EVAS_CSERVE_FALSE='#'
21029 EVAS_CSERVE_TRUE='#'
21034 if test "x${want_evas_cserve2}" = "xyes" ; then
21036 $as_echo "#define EVAS_CSERVE2 1" >>confdefs.h
21040 if test "x${want_evas_cserve2}" = "xyes"; then
21042 EVAS_CSERVE2_FALSE='#'
21044 EVAS_CSERVE2_TRUE='#'
21045 EVAS_CSERVE2_FALSE=
21051 #######################################
21052 ## GL force flavor gles
21053 gl_flavor_gles="no"
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
21055 $as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
21056 # Check whether --enable-gl-flavor-gles was given.
21057 if test "${enable_gl_flavor_gles+set}" = set; then :
21058 enableval=$enable_gl_flavor_gles;
21059 if test "x$enableval" = "xyes" ; then
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21061 $as_echo "yes" >&6; }
21062 gl_flavor_gles="yes"
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21065 $as_echo "no" >&6; }
21066 gl_flavor_gles="no"
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21072 $as_echo "no" >&6; }
21073 gl_flavor_gles="no"
21079 #######################################
21080 ## GLES variety sgx
21081 gles_variety_sgx="no"
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
21083 $as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
21084 # Check whether --enable-gles-variety-sgx was given.
21085 if test "${enable_gles_variety_sgx+set}" = set; then :
21086 enableval=$enable_gles_variety_sgx;
21087 if test "x$enableval" = "xyes" ; then
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21089 $as_echo "yes" >&6; }
21091 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21093 gles_variety_sgx="yes"
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21096 $as_echo "no" >&6; }
21097 gles_variety_sgx="no"
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21103 $as_echo "no" >&6; }
21104 gles_variety_sgx="no"
21110 #######################################
21111 ## GLES variety s3c6410
21112 gles_variety_s3c6410="no"
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
21114 $as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
21115 # Check whether --enable-gles-variety-s3c6410 was given.
21116 if test "${enable_gles_variety_s3c6410+set}" = set; then :
21117 enableval=$enable_gles_variety_s3c6410;
21118 if test "x$enableval" = "xyes" ; then
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21120 $as_echo "yes" >&6; }
21122 $as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
21124 gles_variety_s3c6410="yes"
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21127 $as_echo "no" >&6; }
21128 gles_variety_s3c6410="no"
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21134 $as_echo "no" >&6; }
21135 gles_variety_s3c6410="no"
21141 if test "x$gl_flavor_gles" = "xyes"; then
21143 if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
21144 if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
21145 if test "x$eng" = "xx"; then
21148 as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
21149 --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
21150 --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
21151 You will also need to enable the OpenGL engine for X11 with:
21152 --enable-gl-xlib or --enable-gl-xcb
21157 #####################################################################
21163 want_engine="${want_evas_engine_buffer}"
21164 want_static_engine="no"
21166 have_evas_engine_buffer="no"
21168 # Check whether --enable-buffer was given.
21169 if test "${enable_buffer+set}" = set; then :
21170 enableval=$enable_buffer;
21171 if test "x${enableval}" = "xyes" ; then
21174 if test "x${enableval}" = "xstatic" ; then
21175 want_engine="static"
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
21185 $as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21187 $as_echo "${want_engine}" >&6; }
21189 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21193 evas_engine_buffer_cflags=""
21194 evas_engine_buffer_libs=""
21199 if test "x${have_dep}" = "xyes" ; then
21208 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21209 as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
21213 $as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21215 $as_echo "${have_engine}" >&6; }
21217 if test "x${have_engine}" = "xyes" ; then
21218 if test "x${want_engine}" = "xstatic" ; then
21219 have_evas_engine_buffer="static"
21220 want_static_engine="yes"
21222 have_evas_engine_buffer="yes"
21226 if test "x${have_engine}" = "xyes" ; then
21228 $as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
21232 if test "x${have_engine}" = "xyes"; then
21233 BUILD_ENGINE_BUFFER_TRUE=
21234 BUILD_ENGINE_BUFFER_FALSE='#'
21236 BUILD_ENGINE_BUFFER_TRUE='#'
21237 BUILD_ENGINE_BUFFER_FALSE=
21241 if test "x${want_static_engine}" = "xyes" ; then
21243 $as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
21245 have_static_module="yes"
21248 if test "x${want_static_engine}" = "xyes"; then
21249 EVAS_STATIC_BUILD_BUFFER_TRUE=
21250 EVAS_STATIC_BUILD_BUFFER_FALSE='#'
21252 EVAS_STATIC_BUILD_BUFFER_TRUE='#'
21253 EVAS_STATIC_BUILD_BUFFER_FALSE=
21265 want_engine="${want_evas_engine_software_gdi}"
21266 want_static_engine="no"
21268 have_evas_engine_software_gdi="no"
21270 # Check whether --enable-software-gdi was given.
21271 if test "${enable_software_gdi+set}" = set; then :
21272 enableval=$enable_software_gdi;
21273 if test "x${enableval}" = "xyes" ; then
21276 if test "x${enableval}" = "xstatic" ; then
21277 want_engine="static"
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
21287 $as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21289 $as_echo "${want_engine}" >&6; }
21291 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21295 evas_engine_software_gdi_cflags=""
21296 evas_engine_software_gdi_libs=""
21298 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
21299 if test "x$ac_cv_header_windows_h" = xyes; then :
21302 evas_engine_software_gdi_libs="-lgdi32"
21312 if test "x${have_dep}" = "xyes" ; then
21321 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21322 as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
21326 $as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21328 $as_echo "${have_engine}" >&6; }
21330 if test "x${have_engine}" = "xyes" ; then
21331 if test "x${want_engine}" = "xstatic" ; then
21332 have_evas_engine_software_gdi="static"
21333 want_static_engine="yes"
21335 have_evas_engine_software_gdi="yes"
21339 if test "x${have_engine}" = "xyes" ; then
21341 $as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
21345 if test "x${have_engine}" = "xyes"; then
21346 BUILD_ENGINE_SOFTWARE_GDI_TRUE=
21347 BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
21349 BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
21350 BUILD_ENGINE_SOFTWARE_GDI_FALSE=
21354 if test "x${want_static_engine}" = "xyes" ; then
21356 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
21358 have_static_module="yes"
21361 if test "x${want_static_engine}" = "xyes"; then
21362 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
21363 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
21365 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
21366 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
21378 want_engine="${want_evas_engine_software_ddraw}"
21379 want_static_engine="no"
21381 have_evas_engine_software_ddraw="no"
21383 # Check whether --enable-software-ddraw was given.
21384 if test "${enable_software_ddraw+set}" = set; then :
21385 enableval=$enable_software_ddraw;
21386 if test "x${enableval}" = "xyes" ; then
21389 if test "x${enableval}" = "xstatic" ; then
21390 want_engine="static"
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
21400 $as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21402 $as_echo "${want_engine}" >&6; }
21404 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21408 evas_engine_software_ddraw_cflags=""
21409 evas_engine_software_ddraw_libs=""
21411 ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
21412 if test "x$ac_cv_header_ddraw_h" = xyes; then :
21415 evas_engine_software_ddraw_libs="-lddraw"
21425 if test "x${have_dep}" = "xyes" ; then
21434 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21435 as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
21439 $as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21441 $as_echo "${have_engine}" >&6; }
21443 if test "x${have_engine}" = "xyes" ; then
21444 if test "x${want_engine}" = "xstatic" ; then
21445 have_evas_engine_software_ddraw="static"
21446 want_static_engine="yes"
21448 have_evas_engine_software_ddraw="yes"
21452 if test "x${have_engine}" = "xyes" ; then
21454 $as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
21458 if test "x${have_engine}" = "xyes"; then
21459 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
21460 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
21462 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
21463 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
21467 if test "x${want_static_engine}" = "xyes" ; then
21469 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
21471 have_static_module="yes"
21474 if test "x${want_static_engine}" = "xyes"; then
21475 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
21476 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
21478 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
21479 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
21491 want_engine="${want_evas_engine_direct3d}"
21492 want_static_engine="no"
21494 have_evas_engine_direct3d="no"
21496 # Check whether --enable-direct3d was given.
21497 if test "${enable_direct3d+set}" = set; then :
21498 enableval=$enable_direct3d;
21499 if test "x${enableval}" = "xyes" ; then
21502 if test "x${enableval}" = "xstatic" ; then
21503 want_engine="static"
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
21513 $as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21515 $as_echo "${want_engine}" >&6; }
21517 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21520 evas_engine_direct3d_cflags=""
21521 evas_engine_direct3d_libs=""
21523 for ac_header in d3d9.h d3dx9.h
21525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21526 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21527 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21528 cat >>confdefs.h <<_ACEOF
21529 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21533 evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
21536 have_dep="no"; break
21546 if test "x${have_dep}" = "xyes" ; then
21555 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21556 as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
21560 $as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21562 $as_echo "${have_engine}" >&6; }
21564 if test "x${have_engine}" = "xyes" ; then
21565 if test "x${want_engine}" = "xstatic" ; then
21566 have_evas_engine_direct3d="static"
21567 want_static_engine="yes"
21569 have_evas_engine_direct3d="yes"
21573 if test "x${have_engine}" = "xyes" ; then
21575 $as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
21579 if test "x${have_engine}" = "xyes"; then
21580 BUILD_ENGINE_DIRECT3D_TRUE=
21581 BUILD_ENGINE_DIRECT3D_FALSE='#'
21583 BUILD_ENGINE_DIRECT3D_TRUE='#'
21584 BUILD_ENGINE_DIRECT3D_FALSE=
21588 if test "x${want_static_engine}" = "xyes" ; then
21590 $as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
21592 have_static_module="yes"
21595 if test "x${want_static_engine}" = "xyes"; then
21596 EVAS_STATIC_BUILD_DIRECT3D_TRUE=
21597 EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
21599 EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
21600 EVAS_STATIC_BUILD_DIRECT3D_FALSE=
21612 want_engine="${want_evas_engine_psl1ght}"
21613 want_static_engine="no"
21615 have_evas_engine_psl1ght="no"
21617 # Check whether --enable-psl1ght was given.
21618 if test "${enable_psl1ght+set}" = set; then :
21619 enableval=$enable_psl1ght;
21620 if test "x${enableval}" = "xyes" ; then
21623 if test "x${enableval}" = "xstatic" ; then
21624 want_engine="static"
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
21634 $as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21636 $as_echo "${want_engine}" >&6; }
21638 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21642 evas_engine_psl1ght_cflags=""
21643 evas_engine_psl1ght_libs=""
21645 ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
21646 if test "x$ac_cv_header_rsx_rsx_h" = xyes; then :
21655 if test "x${have_dep}" = "xyes" ; then
21664 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21665 as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
21669 $as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21671 $as_echo "${have_engine}" >&6; }
21673 if test "x${have_engine}" = "xyes" ; then
21674 if test "x${want_engine}" = "xstatic" ; then
21675 have_evas_engine_psl1ght="static"
21676 want_static_engine="yes"
21678 have_evas_engine_psl1ght="yes"
21682 if test "x${have_engine}" = "xyes" ; then
21684 $as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
21688 if test "x${have_engine}" = "xyes"; then
21689 BUILD_ENGINE_PSL1GHT_TRUE=
21690 BUILD_ENGINE_PSL1GHT_FALSE='#'
21692 BUILD_ENGINE_PSL1GHT_TRUE='#'
21693 BUILD_ENGINE_PSL1GHT_FALSE=
21697 if test "x${want_static_engine}" = "xyes" ; then
21699 $as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
21701 have_static_module="yes"
21704 if test "x${want_static_engine}" = "xyes"; then
21705 EVAS_STATIC_BUILD_PSL1GHT_TRUE=
21706 EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
21708 EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
21709 EVAS_STATIC_BUILD_PSL1GHT_FALSE=
21721 want_engine="${want_evas_engine_gl_sdl}"
21722 want_static_engine="no"
21724 have_evas_engine_gl_sdl="no"
21726 # Check whether --enable-gl-sdl was given.
21727 if test "${enable_gl_sdl+set}" = set; then :
21728 enableval=$enable_gl_sdl;
21729 if test "x${enableval}" = "xyes" ; then
21732 if test "x${enableval}" = "xstatic" ; then
21733 want_engine="static"
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
21743 $as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21745 $as_echo "${want_engine}" >&6; }
21747 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21752 evas_engine_gl_sdl_cflags=""
21753 evas_engine_gl_sdl_libs=""
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
21758 $as_echo_n "checking for SDL... " >&6; }
21760 if test -n "$SDL_CFLAGS"; then
21761 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
21762 elif test -n "$PKG_CONFIG"; then
21763 if test -n "$PKG_CONFIG" && \
21764 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21765 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21768 test $ac_status = 0; }; then
21769 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
21770 test "x$?" != "x0" && pkg_failed=yes
21777 if test -n "$SDL_LIBS"; then
21778 pkg_cv_SDL_LIBS="$SDL_LIBS"
21779 elif test -n "$PKG_CONFIG"; then
21780 if test -n "$PKG_CONFIG" && \
21781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21782 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21785 test $ac_status = 0; }; then
21786 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
21787 test "x$?" != "x0" && pkg_failed=yes
21797 if test $pkg_failed = yes; then
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21799 $as_echo "no" >&6; }
21801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21802 _pkg_short_errors_supported=yes
21804 _pkg_short_errors_supported=no
21806 if test $_pkg_short_errors_supported = yes; then
21807 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21809 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21811 # Put the nasty error message in config.log where it belongs
21812 echo "$SDL_PKG_ERRORS" >&5
21814 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
21818 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21819 installed software in a non-standard prefix.
21821 Alternatively, you may set the environment variables SDL_CFLAGS
21822 and SDL_LIBS to avoid the need to call pkg-config.
21823 See the pkg-config man page for more details." "$LINENO" 5
21824 elif test $pkg_failed = untried; then
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21826 $as_echo "no" >&6; }
21827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21829 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21830 is in your PATH or set the PKG_CONFIG environment variable to the full
21831 path to pkg-config.
21833 Alternatively, you may set the environment variables SDL_CFLAGS
21834 and SDL_LIBS to avoid the need to call pkg-config.
21835 See the pkg-config man page for more details.
21837 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21838 See \`config.log' for more details" "$LINENO" 5; }
21840 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21841 SDL_LIBS=$pkg_cv_SDL_LIBS
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21843 $as_echo "yes" >&6; }
21847 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21848 evas_engine_gl_sdl_libs="${SDL_LIBS}"
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
21857 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
21858 CFLAGS_save="${CFLAGS}"
21859 CFLAGS="${CFLAGS} -pthread"
21860 LIBS_save="${LIBS}"
21861 LIBS="${LIBS} -pthread"
21862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h. */
21865 #include <pthread.h>
21871 pthread_create(NULL, NULL, NULL, NULL);
21877 if ac_fn_c_try_link "$LINENO"; then :
21882 rm -f core conftest.err conftest.$ac_objext \
21883 conftest$ac_exeext conftest.$ac_ext
21884 CFLAGS=${CFLAGS_save}
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
21887 $as_echo "${have_gl_pt}" >&6; }
21889 if test "x$have_gl_pt" = "xyes" ; then
21890 gl_pt_lib=" -pthread"
21893 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
21895 #include <GL/glext.h>
21898 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
21906 if test "x$gl_flavor_gles" = "xyes" ; then
21910 if test "x${have_dep}" = "xyes" ; then
21911 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21912 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
21913 evas_engine_gl_common_libs="-lm $gl_pt_lib"
21915 ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
21916 #include <SDL/SDL_opengles.h>
21917 #include <EGL/egl.h>
21920 if test "x$ac_cv_header_SDL_SDL_opengles_h" = xyes; then :
21927 if test "x${have_egl}" = "xyes" ; then
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
21929 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
21930 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
21931 $as_echo_n "(cached) " >&6
21933 ac_check_lib_save_LIBS=$LIBS
21934 LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
21935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21936 /* end confdefs.h. */
21938 /* Override any GCC internal prototype to avoid an error.
21939 Use char because int might match the return type of a GCC
21940 builtin and then its argument prototype would still apply. */
21944 char glTexImage2D ();
21948 return glTexImage2D ();
21953 if ac_fn_c_try_link "$LINENO"; then :
21954 ac_cv_lib_GLESv2_glTexImage2D=yes
21956 ac_cv_lib_GLESv2_glTexImage2D=no
21958 rm -f core conftest.err conftest.$ac_objext \
21959 conftest$ac_exeext conftest.$ac_ext
21960 LIBS=$ac_check_lib_save_LIBS
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21963 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21964 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
21968 if test "x${have_glesv2}" = "xyes" ; then
21969 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21970 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21971 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21974 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21976 gles_variety_sgx="yes"
21984 if test "x${want_engine}" = "xstatic" ; then
21985 requirement_evas="${requirement} ${requirement_evas}"
21988 if test "x${have_dep}" = "xyes" ; then
21997 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21998 as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
22002 $as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22004 $as_echo "${have_engine}" >&6; }
22006 if test "x${have_engine}" = "xyes" ; then
22007 if test "x${want_engine}" = "xstatic" ; then
22008 have_evas_engine_gl_sdl="static"
22009 want_static_engine="yes"
22011 have_evas_engine_gl_sdl="yes"
22015 if test "x${have_engine}" = "xyes" ; then
22017 $as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
22021 if test "x${have_engine}" = "xyes"; then
22022 BUILD_ENGINE_GL_SDL_TRUE=
22023 BUILD_ENGINE_GL_SDL_FALSE='#'
22025 BUILD_ENGINE_GL_SDL_TRUE='#'
22026 BUILD_ENGINE_GL_SDL_FALSE=
22030 if test "x${want_static_engine}" = "xyes" ; then
22032 $as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
22034 have_static_module="yes"
22037 if test "x${want_static_engine}" = "xyes"; then
22038 EVAS_STATIC_BUILD_GL_SDL_TRUE=
22039 EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
22041 EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
22042 EVAS_STATIC_BUILD_GL_SDL_FALSE=
22054 want_engine="${want_evas_engine_gl_cocoa}"
22055 want_static_engine="no"
22057 have_evas_engine_gl_cocoa="no"
22059 # Check whether --enable-gl-cocoa was given.
22060 if test "${enable_gl_cocoa+set}" = set; then :
22061 enableval=$enable_gl_cocoa;
22062 if test "x${enableval}" = "xyes" ; then
22065 if test "x${enableval}" = "xstatic" ; then
22066 want_engine="static"
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
22076 $as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22078 $as_echo "${want_engine}" >&6; }
22080 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22083 evas_engine_gl_cocoa_cflags=""
22084 evas_engine_gl_cocoa_libs=""
22087 ac_cpp='$OBJCPP $CPPFLAGS'
22088 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22089 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22090 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
22094 LIBS="$LIBS -framework Cocoa"
22095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22096 /* end confdefs.h. */
22098 #include <Cocoa/Cocoa.h>
22105 window = [[NSWindow alloc]
22106 initWithContentRect:NSMakeRect(0, 0, 1, 1)
22107 styleMask:(NSTitledWindowMask)
22108 backing:NSBackingStoreBuffered
22117 if ac_fn_objc_try_link "$LINENO"; then :
22120 evas_engine_gl_cocoa_libs="-framework Cocoa"
22125 rm -f core conftest.err conftest.$ac_objext \
22126 conftest$ac_exeext conftest.$ac_ext
22130 ac_cpp='$CPP $CPPFLAGS'
22131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22136 if test "x${have_dep}" = "xyes" ; then
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
22140 $as_echo_n "checking for GL_EET... " >&6; }
22142 if test -n "$GL_EET_CFLAGS"; then
22143 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
22144 elif test -n "$PKG_CONFIG"; then
22145 if test -n "$PKG_CONFIG" && \
22146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22147 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22150 test $ac_status = 0; }; then
22151 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
22152 test "x$?" != "x0" && pkg_failed=yes
22159 if test -n "$GL_EET_LIBS"; then
22160 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
22161 elif test -n "$PKG_CONFIG"; then
22162 if test -n "$PKG_CONFIG" && \
22163 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22164 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22167 test $ac_status = 0; }; then
22168 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
22169 test "x$?" != "x0" && pkg_failed=yes
22179 if test $pkg_failed = yes; then
22180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22181 $as_echo "no" >&6; }
22183 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22184 _pkg_short_errors_supported=yes
22186 _pkg_short_errors_supported=no
22188 if test $_pkg_short_errors_supported = yes; then
22189 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22191 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22193 # Put the nasty error message in config.log where it belongs
22194 echo "$GL_EET_PKG_ERRORS" >&5
22197 elif test $pkg_failed = untried; then
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22199 $as_echo "no" >&6; }
22202 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
22203 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22205 $as_echo "yes" >&6; }
22213 if test "x${have_dep}" = "xyes" ; then
22222 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22223 as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
22227 $as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22229 $as_echo "${have_engine}" >&6; }
22231 if test "x${have_engine}" = "xyes" ; then
22232 if test "x${want_engine}" = "xstatic" ; then
22233 have_evas_engine_gl_cocoa="static"
22234 want_static_engine="yes"
22236 have_evas_engine_gl_cocoa="yes"
22240 if test "x${have_engine}" = "xyes" ; then
22242 $as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
22246 if test "x${have_engine}" = "xyes"; then
22247 BUILD_ENGINE_GL_COCOA_TRUE=
22248 BUILD_ENGINE_GL_COCOA_FALSE='#'
22250 BUILD_ENGINE_GL_COCOA_TRUE='#'
22251 BUILD_ENGINE_GL_COCOA_FALSE=
22255 if test "x${want_static_engine}" = "xyes" ; then
22257 $as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
22259 have_static_module="yes"
22262 if test "x${want_static_engine}" = "xyes"; then
22263 EVAS_STATIC_BUILD_GL_COCOA_TRUE=
22264 EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
22266 EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
22267 EVAS_STATIC_BUILD_GL_COCOA_FALSE=
22279 want_engine="${want_evas_engine_fb}"
22280 want_static_engine="no"
22282 have_evas_engine_fb="no"
22284 # Check whether --enable-fb was given.
22285 if test "${enable_fb+set}" = set; then :
22286 enableval=$enable_fb;
22287 if test "x${enableval}" = "xyes" ; then
22290 if test "x${enableval}" = "xstatic" ; then
22291 want_engine="static"
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
22301 $as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22303 $as_echo "${want_engine}" >&6; }
22305 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22309 evas_engine_fb_cflags=""
22310 evas_engine_fb_libs=""
22312 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
22313 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
22322 if test "x${have_dep}" = "xyes" ; then
22331 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22332 as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
22336 $as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
22337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22338 $as_echo "${have_engine}" >&6; }
22340 if test "x${have_engine}" = "xyes" ; then
22341 if test "x${want_engine}" = "xstatic" ; then
22342 have_evas_engine_fb="static"
22343 want_static_engine="yes"
22345 have_evas_engine_fb="yes"
22349 if test "x${have_engine}" = "xyes" ; then
22351 $as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
22355 if test "x${have_engine}" = "xyes"; then
22356 BUILD_ENGINE_FB_TRUE=
22357 BUILD_ENGINE_FB_FALSE='#'
22359 BUILD_ENGINE_FB_TRUE='#'
22360 BUILD_ENGINE_FB_FALSE=
22364 if test "x${want_static_engine}" = "xyes" ; then
22366 $as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
22368 have_static_module="yes"
22371 if test "x${want_static_engine}" = "xyes"; then
22372 EVAS_STATIC_BUILD_FB_TRUE=
22373 EVAS_STATIC_BUILD_FB_FALSE='#'
22375 EVAS_STATIC_BUILD_FB_TRUE='#'
22376 EVAS_STATIC_BUILD_FB_FALSE=
22388 want_engine="${want_evas_engine_directfb}"
22389 want_static_engine="no"
22391 have_evas_engine_directfb="no"
22393 # Check whether --enable-directfb was given.
22394 if test "${enable_directfb+set}" = set; then :
22395 enableval=$enable_directfb;
22396 if test "x${enableval}" = "xyes" ; then
22399 if test "x${enableval}" = "xstatic" ; then
22400 want_engine="static"
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
22410 $as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
22411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22412 $as_echo "${want_engine}" >&6; }
22414 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22419 evas_engine_directfb_cflags=""
22420 evas_engine_directfb_libs=""
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
22425 $as_echo_n "checking for DIRECTFB... " >&6; }
22427 if test -n "$DIRECTFB_CFLAGS"; then
22428 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
22429 elif test -n "$PKG_CONFIG"; then
22430 if test -n "$PKG_CONFIG" && \
22431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22432 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22435 test $ac_status = 0; }; then
22436 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
22437 test "x$?" != "x0" && pkg_failed=yes
22444 if test -n "$DIRECTFB_LIBS"; then
22445 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
22446 elif test -n "$PKG_CONFIG"; then
22447 if test -n "$PKG_CONFIG" && \
22448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22449 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22452 test $ac_status = 0; }; then
22453 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
22454 test "x$?" != "x0" && pkg_failed=yes
22464 if test $pkg_failed = yes; then
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22466 $as_echo "no" >&6; }
22468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22469 _pkg_short_errors_supported=yes
22471 _pkg_short_errors_supported=no
22473 if test $_pkg_short_errors_supported = yes; then
22474 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22476 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22478 # Put the nasty error message in config.log where it belongs
22479 echo "$DIRECTFB_PKG_ERRORS" >&5
22481 as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
22483 $DIRECTFB_PKG_ERRORS
22485 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22486 installed software in a non-standard prefix.
22488 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22489 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22490 See the pkg-config man page for more details." "$LINENO" 5
22491 elif test $pkg_failed = untried; then
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22493 $as_echo "no" >&6; }
22494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22496 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22497 is in your PATH or set the PKG_CONFIG environment variable to the full
22498 path to pkg-config.
22500 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22501 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22502 See the pkg-config man page for more details.
22504 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22505 See \`config.log' for more details" "$LINENO" 5; }
22507 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
22508 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22510 $as_echo "yes" >&6; }
22513 requirement="directfb"
22514 evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
22515 evas_engine_directfb_libs="${DIRECTFB_LIBS}"
22523 if test "x${want_engine}" = "xstatic" ; then
22524 requirement_evas="${requirement} ${requirement_evas}"
22527 if test "x${have_dep}" = "xyes" ; then
22536 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22537 as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
22541 $as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22543 $as_echo "${have_engine}" >&6; }
22545 if test "x${have_engine}" = "xyes" ; then
22546 if test "x${want_engine}" = "xstatic" ; then
22547 have_evas_engine_directfb="static"
22548 want_static_engine="yes"
22550 have_evas_engine_directfb="yes"
22554 if test "x${have_engine}" = "xyes" ; then
22556 $as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
22560 if test "x${have_engine}" = "xyes"; then
22561 BUILD_ENGINE_DIRECTFB_TRUE=
22562 BUILD_ENGINE_DIRECTFB_FALSE='#'
22564 BUILD_ENGINE_DIRECTFB_TRUE='#'
22565 BUILD_ENGINE_DIRECTFB_FALSE=
22569 if test "x${want_static_engine}" = "xyes" ; then
22571 $as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
22573 have_static_module="yes"
22576 if test "x${want_static_engine}" = "xyes"; then
22577 EVAS_STATIC_BUILD_DIRECTFB_TRUE=
22578 EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
22580 EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
22581 EVAS_STATIC_BUILD_DIRECTFB_FALSE=
22593 want_engine="${want_evas_engine_software_8_x11}"
22594 want_static_engine="no"
22596 have_evas_engine_software_8_x11="no"
22598 # Check whether --enable-software-8-x11 was given.
22599 if test "${enable_software_8_x11+set}" = set; then :
22600 enableval=$enable_software_8_x11;
22601 if test "x${enableval}" = "xyes" ; then
22604 if test "x${enableval}" = "xstatic" ; then
22605 want_engine="static"
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
22615 $as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22617 $as_echo "${want_engine}" >&6; }
22619 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22623 evas_engine_software_8_x11_cflags=""
22624 evas_engine_software_8_x11_libs=""
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
22629 $as_echo_n "checking for XCB... " >&6; }
22631 if test -n "$XCB_CFLAGS"; then
22632 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
22633 elif test -n "$PKG_CONFIG"; then
22634 if test -n "$PKG_CONFIG" && \
22635 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22636 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22639 test $ac_status = 0; }; then
22640 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22641 test "x$?" != "x0" && pkg_failed=yes
22648 if test -n "$XCB_LIBS"; then
22649 pkg_cv_XCB_LIBS="$XCB_LIBS"
22650 elif test -n "$PKG_CONFIG"; then
22651 if test -n "$PKG_CONFIG" && \
22652 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22653 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22656 test $ac_status = 0; }; then
22657 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22658 test "x$?" != "x0" && pkg_failed=yes
22668 if test $pkg_failed = yes; then
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22670 $as_echo "no" >&6; }
22672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22673 _pkg_short_errors_supported=yes
22675 _pkg_short_errors_supported=no
22677 if test $_pkg_short_errors_supported = yes; then
22678 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22680 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22682 # Put the nasty error message in config.log where it belongs
22683 echo "$XCB_PKG_ERRORS" >&5
22689 elif test $pkg_failed = untried; then
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22691 $as_echo "no" >&6; }
22697 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
22698 XCB_LIBS=$pkg_cv_XCB_LIBS
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22700 $as_echo "yes" >&6; }
22703 requirement="xcb xcb-shm xcb-image pixman-1"
22704 evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
22705 evas_engine_software_8_x11_libs="${XCB_LIBS}"
22712 if test "x${want_engine}" = "xstatic" ; then
22713 requirement_evas="${requirement} ${requirement_evas}"
22716 if test "x${have_dep}" = "xyes" ; then
22725 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22726 as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
22730 $as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22732 $as_echo "${have_engine}" >&6; }
22734 if test "x${have_engine}" = "xyes" ; then
22735 if test "x${want_engine}" = "xstatic" ; then
22736 have_evas_engine_software_8_x11="static"
22737 want_static_engine="yes"
22739 have_evas_engine_software_8_x11="yes"
22743 if test "x${have_engine}" = "xyes" ; then
22745 $as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
22749 if test "x${have_engine}" = "xyes"; then
22750 BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
22751 BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
22753 BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
22754 BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
22758 if test "x${want_static_engine}" = "xyes" ; then
22760 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
22762 have_static_module="yes"
22765 if test "x${want_static_engine}" = "xyes"; then
22766 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
22767 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
22769 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
22770 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
22782 want_engine="${want_evas_engine_software_16_x11}"
22783 want_static_engine="no"
22785 have_evas_engine_software_16_x11="no"
22787 # Check whether --enable-software-16-x11 was given.
22788 if test "${enable_software_16_x11+set}" = set; then :
22789 enableval=$enable_software_16_x11;
22790 if test "x${enableval}" = "xyes" ; then
22793 if test "x${enableval}" = "xstatic" ; then
22794 want_engine="static"
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
22804 $as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22806 $as_echo "${want_engine}" >&6; }
22808 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22812 evas_engine_software_16_x11_cflags=""
22813 evas_engine_software_16_x11_libs=""
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22816 $as_echo_n "checking for X... " >&6; }
22819 # Check whether --with-x was given.
22820 if test "${with_x+set}" = set; then :
22824 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22825 if test "x$with_x" = xno; then
22826 # The user explicitly disabled X.
22829 case $x_includes,$x_libraries in #(
22830 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22831 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22832 $as_echo_n "(cached) " >&6
22834 # One or both of the vars are not set, and there is no cached value.
22835 ac_x_includes=no ac_x_libraries=no
22836 rm -f -r conftest.dir
22837 if mkdir conftest.dir; then
22839 cat >Imakefile <<'_ACEOF'
22841 @echo incroot='${INCROOT}'
22843 @echo usrlibdir='${USRLIBDIR}'
22845 @echo libdir='${LIBDIR}'
22847 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22848 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22849 for ac_var in incroot usrlibdir libdir; do
22850 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22852 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22853 for ac_extension in a so sl dylib la dll; do
22854 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22855 test -f "$ac_im_libdir/libX11.$ac_extension"; then
22856 ac_im_usrlibdir=$ac_im_libdir; break
22859 # Screen out bogus values from the imake configuration. They are
22860 # bogus both because they are the default anyway, and because
22861 # using them would break gcc on systems where it needs fixed includes.
22862 case $ac_im_incroot in
22863 /usr/include) ac_x_includes= ;;
22864 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22866 case $ac_im_usrlibdir in
22867 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22868 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22872 rm -f -r conftest.dir
22875 # Standard set of common directories for X headers.
22876 # Check X11 before X11Rn because it is often a symlink to the current release.
22890 /usr/local/X11/include
22891 /usr/local/X11R7/include
22892 /usr/local/X11R6/include
22893 /usr/local/X11R5/include
22894 /usr/local/X11R4/include
22896 /usr/local/include/X11
22897 /usr/local/include/X11R7
22898 /usr/local/include/X11R6
22899 /usr/local/include/X11R5
22900 /usr/local/include/X11R4
22904 /usr/XFree86/include/X11
22908 /usr/unsupported/include
22909 /usr/athena/include
22910 /usr/local/x11r5/include
22911 /usr/lpp/Xamples/include
22913 /usr/openwin/include
22914 /usr/openwin/share/include'
22916 if test "$ac_x_includes" = no; then
22917 # Guess where to find include files, by looking for Xlib.h.
22918 # First, try using that file with no special directory specified.
22919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22920 /* end confdefs.h. */
22921 #include <X11/Xlib.h>
22923 if ac_fn_c_try_cpp "$LINENO"; then :
22924 # We can compile using X headers with no special include directory.
22927 for ac_dir in $ac_x_header_dirs; do
22928 if test -r "$ac_dir/X11/Xlib.h"; then
22929 ac_x_includes=$ac_dir
22934 rm -f conftest.err conftest.i conftest.$ac_ext
22935 fi # $ac_x_includes = no
22937 if test "$ac_x_libraries" = no; then
22938 # Check for the libraries.
22939 # See if we find them without any special options.
22940 # Don't add to $LIBS permanently.
22943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22944 /* end confdefs.h. */
22945 #include <X11/Xlib.h>
22954 if ac_fn_c_try_link "$LINENO"; then :
22956 # We can link X programs with no special library path.
22960 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22962 # Don't even attempt the hair of trying to link an X program!
22963 for ac_extension in a so sl dylib la dll; do
22964 if test -r "$ac_dir/libX11.$ac_extension"; then
22965 ac_x_libraries=$ac_dir
22971 rm -f core conftest.err conftest.$ac_objext \
22972 conftest$ac_exeext conftest.$ac_ext
22973 fi # $ac_x_libraries = no
22975 case $ac_x_includes,$ac_x_libraries in #(
22976 no,* | *,no | *\'*)
22977 # Didn't find X, or a directory has "'" in its name.
22978 ac_cv_have_x="have_x=no";; #(
22980 # Record where we found X for the cache.
22981 ac_cv_have_x="have_x=yes\
22982 ac_x_includes='$ac_x_includes'\
22983 ac_x_libraries='$ac_x_libraries'"
22989 eval "$ac_cv_have_x"
22992 if test "$have_x" != yes; then
22993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22994 $as_echo "$have_x" >&6; }
22997 # If each of the values was on the command line, it overrides each guess.
22998 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22999 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23000 # Update the cache value to reflect the command line values.
23001 ac_cv_have_x="have_x=yes\
23002 ac_x_includes='$x_includes'\
23003 ac_x_libraries='$x_libraries'"
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
23005 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
23008 if test "$no_x" = yes; then
23009 # Not all programs may use this symbol, but it does not hurt to define it.
23011 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
23013 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23015 if test -n "$x_includes"; then
23016 X_CFLAGS="$X_CFLAGS -I$x_includes"
23019 # It would also be nice to do this for all -L options, not just this one.
23020 if test -n "$x_libraries"; then
23021 X_LIBS="$X_LIBS -L$x_libraries"
23022 # For Solaris; some versions of Sun CC require a space after -R and
23023 # others require no space. Words are not sufficient . . . .
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
23025 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
23026 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23027 ac_xsave_c_werror_flag=$ac_c_werror_flag
23028 ac_c_werror_flag=yes
23029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23040 if ac_fn_c_try_link "$LINENO"; then :
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23042 $as_echo "no" >&6; }
23043 X_LIBS="$X_LIBS -R$x_libraries"
23045 LIBS="$ac_xsave_LIBS -R $x_libraries"
23046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h. */
23057 if ac_fn_c_try_link "$LINENO"; then :
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23059 $as_echo "yes" >&6; }
23060 X_LIBS="$X_LIBS -R $x_libraries"
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
23063 $as_echo "neither works" >&6; }
23065 rm -f core conftest.err conftest.$ac_objext \
23066 conftest$ac_exeext conftest.$ac_ext
23068 rm -f core conftest.err conftest.$ac_objext \
23069 conftest$ac_exeext conftest.$ac_ext
23070 ac_c_werror_flag=$ac_xsave_c_werror_flag
23071 LIBS=$ac_xsave_LIBS
23074 # Check for system-dependent libraries X programs must link with.
23075 # Do this before checking for the system-independent R6 libraries
23076 # (-lICE), since we may need -lsocket or whatever for X linking.
23078 if test "$ISC" = yes; then
23079 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23081 # Martyn Johnson says this is needed for Ultrix, if the X
23082 # libraries were built with DECnet support. And Karl Berry says
23083 # the Alpha needs dnet_stub (dnet does not exist).
23084 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23086 /* end confdefs.h. */
23088 /* Override any GCC internal prototype to avoid an error.
23089 Use char because int might match the return type of a GCC
23090 builtin and then its argument prototype would still apply. */
23094 char XOpenDisplay ();
23098 return XOpenDisplay ();
23103 if ac_fn_c_try_link "$LINENO"; then :
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23107 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23108 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23109 $as_echo_n "(cached) " >&6
23111 ac_check_lib_save_LIBS=$LIBS
23112 LIBS="-ldnet $LIBS"
23113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23114 /* end confdefs.h. */
23116 /* Override any GCC internal prototype to avoid an error.
23117 Use char because int might match the return type of a GCC
23118 builtin and then its argument prototype would still apply. */
23126 return dnet_ntoa ();
23131 if ac_fn_c_try_link "$LINENO"; then :
23132 ac_cv_lib_dnet_dnet_ntoa=yes
23134 ac_cv_lib_dnet_dnet_ntoa=no
23136 rm -f core conftest.err conftest.$ac_objext \
23137 conftest$ac_exeext conftest.$ac_ext
23138 LIBS=$ac_check_lib_save_LIBS
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23141 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23142 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23143 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23146 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23148 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23149 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23150 $as_echo_n "(cached) " >&6
23152 ac_check_lib_save_LIBS=$LIBS
23153 LIBS="-ldnet_stub $LIBS"
23154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h. */
23157 /* Override any GCC internal prototype to avoid an error.
23158 Use char because int might match the return type of a GCC
23159 builtin and then its argument prototype would still apply. */
23167 return dnet_ntoa ();
23172 if ac_fn_c_try_link "$LINENO"; then :
23173 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23175 ac_cv_lib_dnet_stub_dnet_ntoa=no
23177 rm -f core conftest.err conftest.$ac_objext \
23178 conftest$ac_exeext conftest.$ac_ext
23179 LIBS=$ac_check_lib_save_LIBS
23181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23182 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23183 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23184 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23189 rm -f core conftest.err conftest.$ac_objext \
23190 conftest$ac_exeext conftest.$ac_ext
23191 LIBS="$ac_xsave_LIBS"
23193 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23194 # to get the SysV transport functions.
23195 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23197 # The nsl library prevents programs from opening the X display
23198 # on Irix 5.2, according to T.E. Dickey.
23199 # The functions gethostbyname, getservbyname, and inet_addr are
23200 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23201 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23202 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23206 if test $ac_cv_func_gethostbyname = no; then
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23208 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23209 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23210 $as_echo_n "(cached) " >&6
23212 ac_check_lib_save_LIBS=$LIBS
23214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h. */
23217 /* Override any GCC internal prototype to avoid an error.
23218 Use char because int might match the return type of a GCC
23219 builtin and then its argument prototype would still apply. */
23223 char gethostbyname ();
23227 return gethostbyname ();
23232 if ac_fn_c_try_link "$LINENO"; then :
23233 ac_cv_lib_nsl_gethostbyname=yes
23235 ac_cv_lib_nsl_gethostbyname=no
23237 rm -f core conftest.err conftest.$ac_objext \
23238 conftest$ac_exeext conftest.$ac_ext
23239 LIBS=$ac_check_lib_save_LIBS
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23242 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23243 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23247 if test $ac_cv_lib_nsl_gethostbyname = no; then
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23249 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23250 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23251 $as_echo_n "(cached) " >&6
23253 ac_check_lib_save_LIBS=$LIBS
23255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23256 /* end confdefs.h. */
23258 /* Override any GCC internal prototype to avoid an error.
23259 Use char because int might match the return type of a GCC
23260 builtin and then its argument prototype would still apply. */
23264 char gethostbyname ();
23268 return gethostbyname ();
23273 if ac_fn_c_try_link "$LINENO"; then :
23274 ac_cv_lib_bsd_gethostbyname=yes
23276 ac_cv_lib_bsd_gethostbyname=no
23278 rm -f core conftest.err conftest.$ac_objext \
23279 conftest$ac_exeext conftest.$ac_ext
23280 LIBS=$ac_check_lib_save_LIBS
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23283 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23284 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23291 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23292 # socket/setsockopt and other routines are undefined under SCO ODT
23293 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23294 # on later versions), says Simon Leinen: it contains gethostby*
23295 # variants that don't use the name server (or something). -lsocket
23296 # must be given before -lnsl if both are needed. We assume that
23297 # if connect needs -lnsl, so does gethostbyname.
23298 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23299 if test "x$ac_cv_func_connect" = xyes; then :
23303 if test $ac_cv_func_connect = no; then
23304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23305 $as_echo_n "checking for connect in -lsocket... " >&6; }
23306 if ${ac_cv_lib_socket_connect+:} false; then :
23307 $as_echo_n "(cached) " >&6
23309 ac_check_lib_save_LIBS=$LIBS
23310 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23314 /* Override any GCC internal prototype to avoid an error.
23315 Use char because int might match the return type of a GCC
23316 builtin and then its argument prototype would still apply. */
23329 if ac_fn_c_try_link "$LINENO"; then :
23330 ac_cv_lib_socket_connect=yes
23332 ac_cv_lib_socket_connect=no
23334 rm -f core conftest.err conftest.$ac_objext \
23335 conftest$ac_exeext conftest.$ac_ext
23336 LIBS=$ac_check_lib_save_LIBS
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23339 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23340 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23341 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23346 # Guillermo Gomez says -lposix is necessary on A/UX.
23347 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23348 if test "x$ac_cv_func_remove" = xyes; then :
23352 if test $ac_cv_func_remove = no; then
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23354 $as_echo_n "checking for remove in -lposix... " >&6; }
23355 if ${ac_cv_lib_posix_remove+:} false; then :
23356 $as_echo_n "(cached) " >&6
23358 ac_check_lib_save_LIBS=$LIBS
23359 LIBS="-lposix $LIBS"
23360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23361 /* end confdefs.h. */
23363 /* Override any GCC internal prototype to avoid an error.
23364 Use char because int might match the return type of a GCC
23365 builtin and then its argument prototype would still apply. */
23378 if ac_fn_c_try_link "$LINENO"; then :
23379 ac_cv_lib_posix_remove=yes
23381 ac_cv_lib_posix_remove=no
23383 rm -f core conftest.err conftest.$ac_objext \
23384 conftest$ac_exeext conftest.$ac_ext
23385 LIBS=$ac_check_lib_save_LIBS
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23388 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23389 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23395 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23396 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23397 if test "x$ac_cv_func_shmat" = xyes; then :
23401 if test $ac_cv_func_shmat = no; then
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23403 $as_echo_n "checking for shmat in -lipc... " >&6; }
23404 if ${ac_cv_lib_ipc_shmat+:} false; then :
23405 $as_echo_n "(cached) " >&6
23407 ac_check_lib_save_LIBS=$LIBS
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23410 /* end confdefs.h. */
23412 /* Override any GCC internal prototype to avoid an error.
23413 Use char because int might match the return type of a GCC
23414 builtin and then its argument prototype would still apply. */
23427 if ac_fn_c_try_link "$LINENO"; then :
23428 ac_cv_lib_ipc_shmat=yes
23430 ac_cv_lib_ipc_shmat=no
23432 rm -f core conftest.err conftest.$ac_objext \
23433 conftest$ac_exeext conftest.$ac_ext
23434 LIBS=$ac_check_lib_save_LIBS
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23437 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23438 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23445 # Check for libraries that X11R6 Xt/Xaw programs need.
23446 ac_save_LDFLAGS=$LDFLAGS
23447 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23448 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23449 # check for ICE first), but we must link in the order -lSM -lICE or
23450 # we get undefined symbols. So assume we have SM if we have ICE.
23451 # These have to be linked with before -lX11, unlike the other
23452 # libraries we check for below, so use a different variable.
23453 # John Interrante, Karl Berry
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23455 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23456 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23457 $as_echo_n "(cached) " >&6
23459 ac_check_lib_save_LIBS=$LIBS
23460 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h. */
23464 /* Override any GCC internal prototype to avoid an error.
23465 Use char because int might match the return type of a GCC
23466 builtin and then its argument prototype would still apply. */
23470 char IceConnectionNumber ();
23474 return IceConnectionNumber ();
23479 if ac_fn_c_try_link "$LINENO"; then :
23480 ac_cv_lib_ICE_IceConnectionNumber=yes
23482 ac_cv_lib_ICE_IceConnectionNumber=no
23484 rm -f core conftest.err conftest.$ac_objext \
23485 conftest$ac_exeext conftest.$ac_ext
23486 LIBS=$ac_check_lib_save_LIBS
23488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23489 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23490 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23491 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23494 LDFLAGS=$ac_save_LDFLAGS
23499 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23500 if test "x$ac_cv_header_X11_X_h" = xyes; then :
23506 if test "x${have_dep}" = "xyes" ; then
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
23508 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
23509 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
23510 $as_echo_n "(cached) " >&6
23512 ac_check_lib_save_LIBS=$LIBS
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23517 /* Override any GCC internal prototype to avoid an error.
23518 Use char because int might match the return type of a GCC
23519 builtin and then its argument prototype would still apply. */
23523 char XCreateImage ();
23527 return XCreateImage ();
23532 if ac_fn_c_try_link "$LINENO"; then :
23533 ac_cv_lib_X11_XCreateImage=yes
23535 ac_cv_lib_X11_XCreateImage=no
23537 rm -f core conftest.err conftest.$ac_objext \
23538 conftest$ac_exeext conftest.$ac_ext
23539 LIBS=$ac_check_lib_save_LIBS
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
23542 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
23543 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
23551 if test "x${have_dep}" = "xyes" ; then
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
23553 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
23554 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
23555 $as_echo_n "(cached) " >&6
23557 ac_check_lib_save_LIBS=$LIBS
23558 LIBS="-lXext $LIBS"
23559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h. */
23562 /* Override any GCC internal prototype to avoid an error.
23563 Use char because int might match the return type of a GCC
23564 builtin and then its argument prototype would still apply. */
23568 char XShmCreateImage ();
23572 return XShmCreateImage ();
23577 if ac_fn_c_try_link "$LINENO"; then :
23578 ac_cv_lib_Xext_XShmCreateImage=yes
23580 ac_cv_lib_Xext_XShmCreateImage=no
23582 rm -f core conftest.err conftest.$ac_objext \
23583 conftest$ac_exeext conftest.$ac_ext
23584 LIBS=$ac_check_lib_save_LIBS
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
23587 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
23588 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
23596 if test "x${have_dep}" = "xyes" ; then
23597 if test "xno" = "xyes" ; then
23598 x_libs="${x_libs} -lX11 -lXext"
23600 x_dir=${x_dir:-/usr/X11R6}
23601 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23602 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23604 evas_engine_software_16_x11_cflags="${x_cflags}"
23605 evas_engine_software_16_x11_libs="${x_libs}"
23611 if test "x${have_dep}" = "xyes" ; then
23620 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23621 as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
23625 $as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23627 $as_echo "${have_engine}" >&6; }
23629 if test "x${have_engine}" = "xyes" ; then
23630 if test "x${want_engine}" = "xstatic" ; then
23631 have_evas_engine_software_16_x11="static"
23632 want_static_engine="yes"
23634 have_evas_engine_software_16_x11="yes"
23638 if test "x${have_engine}" = "xyes" ; then
23640 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
23644 if test "x${have_engine}" = "xyes"; then
23645 BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
23646 BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
23648 BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
23649 BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
23653 if test "x${want_static_engine}" = "xyes" ; then
23655 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
23657 have_static_module="yes"
23660 if test "x${want_static_engine}" = "xyes"; then
23661 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
23662 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
23664 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
23665 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
23677 want_engine="${want_evas_engine_software_16_wince}"
23678 want_static_engine="no"
23680 have_evas_engine_software_16_wince="no"
23682 # Check whether --enable-software-16-wince was given.
23683 if test "${enable_software_16_wince+set}" = set; then :
23684 enableval=$enable_software_16_wince;
23685 if test "x${enableval}" = "xyes" ; then
23688 if test "x${enableval}" = "xstatic" ; then
23689 want_engine="static"
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
23699 $as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23701 $as_echo "${want_engine}" >&6; }
23703 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23707 evas_engine_software_16_wince_cflags=""
23708 evas_engine_software_16_wince_libs=""
23713 if test "x${have_dep}" = "xyes" ; then
23722 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23723 as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
23727 $as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23729 $as_echo "${have_engine}" >&6; }
23731 if test "x${have_engine}" = "xyes" ; then
23732 if test "x${want_engine}" = "xstatic" ; then
23733 have_evas_engine_software_16_wince="static"
23734 want_static_engine="yes"
23736 have_evas_engine_software_16_wince="yes"
23740 if test "x${have_engine}" = "xyes" ; then
23742 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
23746 if test "x${have_engine}" = "xyes"; then
23747 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
23748 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
23750 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
23751 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
23755 if test "x${want_static_engine}" = "xyes" ; then
23757 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
23759 have_static_module="yes"
23762 if test "x${want_static_engine}" = "xyes"; then
23763 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
23764 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
23766 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
23767 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
23779 want_engine="${want_evas_engine_software_16_sdl}"
23780 want_static_engine="no"
23782 have_evas_engine_software_16_sdl="no"
23784 # Check whether --enable-software-16-sdl was given.
23785 if test "${enable_software_16_sdl+set}" = set; then :
23786 enableval=$enable_software_16_sdl;
23787 if test "x${enableval}" = "xyes" ; then
23790 if test "x${enableval}" = "xstatic" ; then
23791 want_engine="static"
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
23801 $as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23803 $as_echo "${want_engine}" >&6; }
23805 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23810 evas_engine_software_16_sdl_cflags=""
23811 evas_engine_software_16_sdl_libs=""
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23816 $as_echo_n "checking for SDL... " >&6; }
23818 if test -n "$SDL_CFLAGS"; then
23819 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23820 elif test -n "$PKG_CONFIG"; then
23821 if test -n "$PKG_CONFIG" && \
23822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23823 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23826 test $ac_status = 0; }; then
23827 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
23828 test "x$?" != "x0" && pkg_failed=yes
23835 if test -n "$SDL_LIBS"; then
23836 pkg_cv_SDL_LIBS="$SDL_LIBS"
23837 elif test -n "$PKG_CONFIG"; then
23838 if test -n "$PKG_CONFIG" && \
23839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23840 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23843 test $ac_status = 0; }; then
23844 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
23845 test "x$?" != "x0" && pkg_failed=yes
23855 if test $pkg_failed = yes; then
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23857 $as_echo "no" >&6; }
23859 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23860 _pkg_short_errors_supported=yes
23862 _pkg_short_errors_supported=no
23864 if test $_pkg_short_errors_supported = yes; then
23865 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23867 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23869 # Put the nasty error message in config.log where it belongs
23870 echo "$SDL_PKG_ERRORS" >&5
23872 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23876 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23877 installed software in a non-standard prefix.
23879 Alternatively, you may set the environment variables SDL_CFLAGS
23880 and SDL_LIBS to avoid the need to call pkg-config.
23881 See the pkg-config man page for more details." "$LINENO" 5
23882 elif test $pkg_failed = untried; then
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23884 $as_echo "no" >&6; }
23885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23887 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23888 is in your PATH or set the PKG_CONFIG environment variable to the full
23889 path to pkg-config.
23891 Alternatively, you may set the environment variables SDL_CFLAGS
23892 and SDL_LIBS to avoid the need to call pkg-config.
23893 See the pkg-config man page for more details.
23895 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23896 See \`config.log' for more details" "$LINENO" 5; }
23898 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23899 SDL_LIBS=$pkg_cv_SDL_LIBS
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23901 $as_echo "yes" >&6; }
23905 evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23906 evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23914 if test "x${want_engine}" = "xstatic" ; then
23915 requirement_evas="${requirement} ${requirement_evas}"
23918 if test "x${have_dep}" = "xyes" ; then
23927 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23928 as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23932 $as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23934 $as_echo "${have_engine}" >&6; }
23936 if test "x${have_engine}" = "xyes" ; then
23937 if test "x${want_engine}" = "xstatic" ; then
23938 have_evas_engine_software_16_sdl="static"
23939 want_static_engine="yes"
23941 have_evas_engine_software_16_sdl="yes"
23945 if test "x${have_engine}" = "xyes" ; then
23947 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23951 if test "x${have_engine}" = "xyes"; then
23952 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23953 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23955 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23956 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23960 if test "x${want_static_engine}" = "xyes" ; then
23962 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23964 have_static_module="yes"
23967 if test "x${want_static_engine}" = "xyes"; then
23968 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23969 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23971 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23972 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23984 want_engine="${want_evas_engine_wayland_shm}"
23985 want_static_engine="no"
23987 have_evas_engine_wayland_shm="no"
23989 # Check whether --enable-wayland-shm was given.
23990 if test "${enable_wayland_shm+set}" = set; then :
23991 enableval=$enable_wayland_shm;
23992 if test "x${enableval}" = "xyes" ; then
23995 if test "x${enableval}" = "xstatic" ; then
23996 want_engine="static"
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
24006 $as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24008 $as_echo "${want_engine}" >&6; }
24010 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24014 evas_engine_wayland_shm_cflags=""
24015 evas_engine_wayland_shm_libs=""
24020 if test "x${have_dep}" = "xyes" ; then
24029 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24030 as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
24034 $as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24036 $as_echo "${have_engine}" >&6; }
24038 if test "x${have_engine}" = "xyes" ; then
24039 if test "x${want_engine}" = "xstatic" ; then
24040 have_evas_engine_wayland_shm="static"
24041 want_static_engine="yes"
24043 have_evas_engine_wayland_shm="yes"
24047 if test "x${have_engine}" = "xyes" ; then
24049 $as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
24053 if test "x${have_engine}" = "xyes"; then
24054 BUILD_ENGINE_WAYLAND_SHM_TRUE=
24055 BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
24057 BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
24058 BUILD_ENGINE_WAYLAND_SHM_FALSE=
24062 if test "x${want_static_engine}" = "xyes" ; then
24064 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
24066 have_static_module="yes"
24069 if test "x${want_static_engine}" = "xyes"; then
24070 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
24071 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
24073 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
24074 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
24086 want_engine="${want_evas_engine_wayland_egl}"
24087 want_static_engine="no"
24089 have_evas_engine_wayland_egl="no"
24091 # Check whether --enable-wayland-egl was given.
24092 if test "${enable_wayland_egl+set}" = set; then :
24093 enableval=$enable_wayland_egl;
24094 if test "x${enableval}" = "xyes" ; then
24097 if test "x${enableval}" = "xstatic" ; then
24098 want_engine="static"
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
24108 $as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24110 $as_echo "${want_engine}" >&6; }
24112 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24117 evas_engine_wayland_egl_cflags=""
24118 evas_engine_wayland_egl_libs=""
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
24123 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
24125 if test -n "$WAYLAND_EGL_CFLAGS"; then
24126 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
24127 elif test -n "$PKG_CONFIG"; then
24128 if test -n "$PKG_CONFIG" && \
24129 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24130 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24133 test $ac_status = 0; }; then
24134 pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24135 test "x$?" != "x0" && pkg_failed=yes
24142 if test -n "$WAYLAND_EGL_LIBS"; then
24143 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
24144 elif test -n "$PKG_CONFIG"; then
24145 if test -n "$PKG_CONFIG" && \
24146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 wayland-client wayland-egl\""; } >&5
24147 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 wayland-client wayland-egl") 2>&5
24149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24150 test $ac_status = 0; }; then
24151 pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 wayland-client wayland-egl" 2>/dev/null`
24152 test "x$?" != "x0" && pkg_failed=yes
24162 if test $pkg_failed = yes; then
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24164 $as_echo "no" >&6; }
24166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24167 _pkg_short_errors_supported=yes
24169 _pkg_short_errors_supported=no
24171 if test $_pkg_short_errors_supported = yes; then
24172 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24174 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24176 # Put the nasty error message in config.log where it belongs
24177 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
24183 elif test $pkg_failed = untried; then
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24185 $as_echo "no" >&6; }
24191 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
24192 WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24194 $as_echo "yes" >&6; }
24197 requirement="egl >= 7.10 glesv2 wayland-client wayland-egl"
24198 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24199 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
24203 if test "x${have_dep}" = "xyes" ; then
24206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
24207 $as_echo_n "checking for GL_EET... " >&6; }
24209 if test -n "$GL_EET_CFLAGS"; then
24210 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
24211 elif test -n "$PKG_CONFIG"; then
24212 if test -n "$PKG_CONFIG" && \
24213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24214 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24217 test $ac_status = 0; }; then
24218 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
24219 test "x$?" != "x0" && pkg_failed=yes
24226 if test -n "$GL_EET_LIBS"; then
24227 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
24228 elif test -n "$PKG_CONFIG"; then
24229 if test -n "$PKG_CONFIG" && \
24230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24231 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24234 test $ac_status = 0; }; then
24235 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
24236 test "x$?" != "x0" && pkg_failed=yes
24246 if test $pkg_failed = yes; then
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24248 $as_echo "no" >&6; }
24250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24251 _pkg_short_errors_supported=yes
24253 _pkg_short_errors_supported=no
24255 if test $_pkg_short_errors_supported = yes; then
24256 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24258 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24260 # Put the nasty error message in config.log where it belongs
24261 echo "$GL_EET_PKG_ERRORS" >&5
24264 elif test $pkg_failed = untried; then
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24266 $as_echo "no" >&6; }
24269 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
24270 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24272 $as_echo "yes" >&6; }
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
24276 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
24277 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
24278 $as_echo_n "(cached) " >&6
24280 ac_check_lib_save_LIBS=$LIBS
24281 LIBS="-lGLESv2 -lEGL -lm $LIBS"
24282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24283 /* end confdefs.h. */
24285 /* Override any GCC internal prototype to avoid an error.
24286 Use char because int might match the return type of a GCC
24287 builtin and then its argument prototype would still apply. */
24291 char glTexImage2D ();
24295 return glTexImage2D ();
24300 if ac_fn_c_try_link "$LINENO"; then :
24301 ac_cv_lib_GLESv2_glTexImage2D=yes
24303 ac_cv_lib_GLESv2_glTexImage2D=no
24305 rm -f core conftest.err conftest.$ac_objext \
24306 conftest$ac_exeext conftest.$ac_ext
24307 LIBS=$ac_check_lib_save_LIBS
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
24310 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
24311 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
24315 if test "x${have_glesv2}" = "xyes" ; then
24316 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24317 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGLESv2 -lEGL"
24324 if test "x${want_engine}" = "xstatic" ; then
24325 requirement_evas="${requirement} ${requirement_evas}"
24328 if test "x${have_dep}" = "xyes" ; then
24337 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24338 as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
24342 $as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24344 $as_echo "${have_engine}" >&6; }
24346 if test "x${have_engine}" = "xyes" ; then
24347 if test "x${want_engine}" = "xstatic" ; then
24348 have_evas_engine_wayland_egl="static"
24349 want_static_engine="yes"
24351 have_evas_engine_wayland_egl="yes"
24355 if test "x${have_engine}" = "xyes" ; then
24357 $as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
24361 if test "x${have_engine}" = "xyes"; then
24362 BUILD_ENGINE_WAYLAND_EGL_TRUE=
24363 BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
24365 BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
24366 BUILD_ENGINE_WAYLAND_EGL_FALSE=
24370 if test "x${want_static_engine}" = "xyes" ; then
24372 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
24374 have_static_module="yes"
24377 if test "x${want_static_engine}" = "xyes"; then
24378 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
24379 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
24381 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
24382 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
24394 # Check whether --enable-sdl-primitive was given.
24395 if test "${enable_sdl_primitive+set}" = set; then :
24396 enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
24400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
24401 $as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
24403 $as_echo "${sdl_primitive}" >&6; }
24405 if test "x${sdl_primitive}" = "xyes" ; then
24407 $as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
24411 # if software generic need to be build as part of libevas.so
24412 have_static_software_generic="no"
24413 # Check whether --enable-static-software-generic was given.
24414 if test "${enable_static_software_generic+set}" = set; then :
24415 enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
24420 $as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
24422 $as_echo "${have_static_software_generic}" >&6; }
24424 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
24426 $as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
24427 have_static_software_generic="yes"
24430 if test "x${have_static_software_generic}" = "xyes"; then
24431 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
24432 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
24434 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
24435 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
24438 if test "x${have_static_software_generic}" = "xyes"; then
24440 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
24445 ######## Software Engine ########
24446 have_evas_engine_software_x11="no"
24447 have_evas_engine_software_xcb="no"
24448 have_evas_engine_software_xlib="no"
24449 build_software_xcb=
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
24454 $as_echo_n "checking whether to build Software XCB Engine... " >&6; }
24455 # Check whether --enable-software-xcb was given.
24456 if test "${enable_software_xcb+set}" = set; then :
24457 enableval=$enable_software_xcb; want_xcb=$enableval
24461 if test "x$want_xcb" != "xno" ; then
24465 want_engine="${want_evas_engine_software_xcb}"
24466 want_static_engine="no"
24468 have_evas_engine_software_xcb="no"
24470 # Check whether --enable-software-xcb was given.
24471 if test "${enable_software_xcb+set}" = set; then :
24472 enableval=$enable_software_xcb;
24473 if test "x${enableval}" = "xyes" ; then
24476 if test "x${enableval}" = "xstatic" ; then
24477 want_engine="static"
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
24487 $as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24489 $as_echo "${want_engine}" >&6; }
24491 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24496 evas_engine_software_xcb_cflags=""
24497 evas_engine_software_xcb_libs=""
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
24502 $as_echo_n "checking for XCB... " >&6; }
24504 if test -n "$XCB_CFLAGS"; then
24505 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
24506 elif test -n "$PKG_CONFIG"; then
24507 if test -n "$PKG_CONFIG" && \
24508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24509 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24512 test $ac_status = 0; }; then
24513 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24514 test "x$?" != "x0" && pkg_failed=yes
24521 if test -n "$XCB_LIBS"; then
24522 pkg_cv_XCB_LIBS="$XCB_LIBS"
24523 elif test -n "$PKG_CONFIG"; then
24524 if test -n "$PKG_CONFIG" && \
24525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24526 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24529 test $ac_status = 0; }; then
24530 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24531 test "x$?" != "x0" && pkg_failed=yes
24541 if test $pkg_failed = yes; then
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24543 $as_echo "no" >&6; }
24545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24546 _pkg_short_errors_supported=yes
24548 _pkg_short_errors_supported=no
24550 if test $_pkg_short_errors_supported = yes; then
24551 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24553 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24555 # Put the nasty error message in config.log where it belongs
24556 echo "$XCB_PKG_ERRORS" >&5
24562 elif test $pkg_failed = untried; then
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24564 $as_echo "no" >&6; }
24570 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
24571 XCB_LIBS=$pkg_cv_XCB_LIBS
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24573 $as_echo "yes" >&6; }
24576 requirement="xcb xcb-shm xcb-image pixman-1"
24577 evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
24578 evas_engine_software_xcb_libs="${XCB_LIBS}"
24585 if test "x${want_engine}" = "xstatic" ; then
24586 requirement_evas="${requirement} ${requirement_evas}"
24589 if test "x${have_dep}" = "xyes" ; then
24598 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24599 as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
24603 $as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24605 $as_echo "${have_engine}" >&6; }
24607 if test "x${have_engine}" = "xyes" ; then
24608 if test "x${want_engine}" = "xstatic" ; then
24609 have_evas_engine_software_xcb="static"
24610 want_static_engine="yes"
24612 have_evas_engine_software_xcb="yes"
24616 if test "x${have_engine}" = "xyes" ; then
24618 $as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
24622 if test "x${have_engine}" = "xyes"; then
24623 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24624 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24626 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24627 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24631 if test "x${want_static_engine}" = "xyes" ; then
24633 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
24635 have_static_module="yes"
24638 if test "x${want_static_engine}" = "xyes"; then
24639 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24640 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24642 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24643 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24651 if test "x$have_evas_engine_software_xcb" != "xno" ; then
24652 build_software_xcb="yes"
24653 have_evas_engine_software_x11="yes"
24655 cat >>confdefs.h <<_ACEOF
24656 #define BUILD_ENGINE_SOFTWARE_X11 1
24660 cat >>confdefs.h <<_ACEOF
24661 #define BUILD_ENGINE_SOFTWARE_XCB 1
24666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24667 $as_echo "no" >&6; }
24668 build_software_xcb="no"
24671 ## If we are not building XCB, then we can build XLib ##
24673 if test "x$build_software_xcb" = "xno" ; then
24677 want_engine="${want_evas_engine_software_xlib}"
24678 want_static_engine="no"
24680 have_evas_engine_software_xlib="no"
24682 # Check whether --enable-software-xlib was given.
24683 if test "${enable_software_xlib+set}" = set; then :
24684 enableval=$enable_software_xlib;
24685 if test "x${enableval}" = "xyes" ; then
24688 if test "x${enableval}" = "xstatic" ; then
24689 want_engine="static"
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
24699 $as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24701 $as_echo "${want_engine}" >&6; }
24703 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24707 evas_engine_software_xlib_cflags=""
24708 evas_engine_software_xlib_libs=""
24710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24711 $as_echo_n "checking for X... " >&6; }
24714 # Check whether --with-x was given.
24715 if test "${with_x+set}" = set; then :
24719 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24720 if test "x$with_x" = xno; then
24721 # The user explicitly disabled X.
24724 case $x_includes,$x_libraries in #(
24725 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24726 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24727 $as_echo_n "(cached) " >&6
24729 # One or both of the vars are not set, and there is no cached value.
24730 ac_x_includes=no ac_x_libraries=no
24731 rm -f -r conftest.dir
24732 if mkdir conftest.dir; then
24734 cat >Imakefile <<'_ACEOF'
24736 @echo incroot='${INCROOT}'
24738 @echo usrlibdir='${USRLIBDIR}'
24740 @echo libdir='${LIBDIR}'
24742 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24744 for ac_var in incroot usrlibdir libdir; do
24745 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24747 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24748 for ac_extension in a so sl dylib la dll; do
24749 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24750 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24751 ac_im_usrlibdir=$ac_im_libdir; break
24754 # Screen out bogus values from the imake configuration. They are
24755 # bogus both because they are the default anyway, and because
24756 # using them would break gcc on systems where it needs fixed includes.
24757 case $ac_im_incroot in
24758 /usr/include) ac_x_includes= ;;
24759 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24761 case $ac_im_usrlibdir in
24762 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24763 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24767 rm -f -r conftest.dir
24770 # Standard set of common directories for X headers.
24771 # Check X11 before X11Rn because it is often a symlink to the current release.
24785 /usr/local/X11/include
24786 /usr/local/X11R7/include
24787 /usr/local/X11R6/include
24788 /usr/local/X11R5/include
24789 /usr/local/X11R4/include
24791 /usr/local/include/X11
24792 /usr/local/include/X11R7
24793 /usr/local/include/X11R6
24794 /usr/local/include/X11R5
24795 /usr/local/include/X11R4
24799 /usr/XFree86/include/X11
24803 /usr/unsupported/include
24804 /usr/athena/include
24805 /usr/local/x11r5/include
24806 /usr/lpp/Xamples/include
24808 /usr/openwin/include
24809 /usr/openwin/share/include'
24811 if test "$ac_x_includes" = no; then
24812 # Guess where to find include files, by looking for Xlib.h.
24813 # First, try using that file with no special directory specified.
24814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24815 /* end confdefs.h. */
24816 #include <X11/Xlib.h>
24818 if ac_fn_c_try_cpp "$LINENO"; then :
24819 # We can compile using X headers with no special include directory.
24822 for ac_dir in $ac_x_header_dirs; do
24823 if test -r "$ac_dir/X11/Xlib.h"; then
24824 ac_x_includes=$ac_dir
24829 rm -f conftest.err conftest.i conftest.$ac_ext
24830 fi # $ac_x_includes = no
24832 if test "$ac_x_libraries" = no; then
24833 # Check for the libraries.
24834 # See if we find them without any special options.
24835 # Don't add to $LIBS permanently.
24838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24839 /* end confdefs.h. */
24840 #include <X11/Xlib.h>
24849 if ac_fn_c_try_link "$LINENO"; then :
24851 # We can link X programs with no special library path.
24855 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24857 # Don't even attempt the hair of trying to link an X program!
24858 for ac_extension in a so sl dylib la dll; do
24859 if test -r "$ac_dir/libX11.$ac_extension"; then
24860 ac_x_libraries=$ac_dir
24866 rm -f core conftest.err conftest.$ac_objext \
24867 conftest$ac_exeext conftest.$ac_ext
24868 fi # $ac_x_libraries = no
24870 case $ac_x_includes,$ac_x_libraries in #(
24871 no,* | *,no | *\'*)
24872 # Didn't find X, or a directory has "'" in its name.
24873 ac_cv_have_x="have_x=no";; #(
24875 # Record where we found X for the cache.
24876 ac_cv_have_x="have_x=yes\
24877 ac_x_includes='$ac_x_includes'\
24878 ac_x_libraries='$ac_x_libraries'"
24884 eval "$ac_cv_have_x"
24887 if test "$have_x" != yes; then
24888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24889 $as_echo "$have_x" >&6; }
24892 # If each of the values was on the command line, it overrides each guess.
24893 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24894 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24895 # Update the cache value to reflect the command line values.
24896 ac_cv_have_x="have_x=yes\
24897 ac_x_includes='$x_includes'\
24898 ac_x_libraries='$x_libraries'"
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24900 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24903 if test "$no_x" = yes; then
24904 # Not all programs may use this symbol, but it does not hurt to define it.
24906 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24908 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24910 if test -n "$x_includes"; then
24911 X_CFLAGS="$X_CFLAGS -I$x_includes"
24914 # It would also be nice to do this for all -L options, not just this one.
24915 if test -n "$x_libraries"; then
24916 X_LIBS="$X_LIBS -L$x_libraries"
24917 # For Solaris; some versions of Sun CC require a space after -R and
24918 # others require no space. Words are not sufficient . . . .
24919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24920 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24921 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24922 ac_xsave_c_werror_flag=$ac_c_werror_flag
24923 ac_c_werror_flag=yes
24924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24925 /* end confdefs.h. */
24935 if ac_fn_c_try_link "$LINENO"; then :
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24937 $as_echo "no" >&6; }
24938 X_LIBS="$X_LIBS -R$x_libraries"
24940 LIBS="$ac_xsave_LIBS -R $x_libraries"
24941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24942 /* end confdefs.h. */
24952 if ac_fn_c_try_link "$LINENO"; then :
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24954 $as_echo "yes" >&6; }
24955 X_LIBS="$X_LIBS -R $x_libraries"
24957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24958 $as_echo "neither works" >&6; }
24960 rm -f core conftest.err conftest.$ac_objext \
24961 conftest$ac_exeext conftest.$ac_ext
24963 rm -f core conftest.err conftest.$ac_objext \
24964 conftest$ac_exeext conftest.$ac_ext
24965 ac_c_werror_flag=$ac_xsave_c_werror_flag
24966 LIBS=$ac_xsave_LIBS
24969 # Check for system-dependent libraries X programs must link with.
24970 # Do this before checking for the system-independent R6 libraries
24971 # (-lICE), since we may need -lsocket or whatever for X linking.
24973 if test "$ISC" = yes; then
24974 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24976 # Martyn Johnson says this is needed for Ultrix, if the X
24977 # libraries were built with DECnet support. And Karl Berry says
24978 # the Alpha needs dnet_stub (dnet does not exist).
24979 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24981 /* end confdefs.h. */
24983 /* Override any GCC internal prototype to avoid an error.
24984 Use char because int might match the return type of a GCC
24985 builtin and then its argument prototype would still apply. */
24989 char XOpenDisplay ();
24993 return XOpenDisplay ();
24998 if ac_fn_c_try_link "$LINENO"; then :
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25002 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25003 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25004 $as_echo_n "(cached) " >&6
25006 ac_check_lib_save_LIBS=$LIBS
25007 LIBS="-ldnet $LIBS"
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h. */
25011 /* Override any GCC internal prototype to avoid an error.
25012 Use char because int might match the return type of a GCC
25013 builtin and then its argument prototype would still apply. */
25021 return dnet_ntoa ();
25026 if ac_fn_c_try_link "$LINENO"; then :
25027 ac_cv_lib_dnet_dnet_ntoa=yes
25029 ac_cv_lib_dnet_dnet_ntoa=no
25031 rm -f core conftest.err conftest.$ac_objext \
25032 conftest$ac_exeext conftest.$ac_ext
25033 LIBS=$ac_check_lib_save_LIBS
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25036 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25037 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25038 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25041 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25043 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25044 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25045 $as_echo_n "(cached) " >&6
25047 ac_check_lib_save_LIBS=$LIBS
25048 LIBS="-ldnet_stub $LIBS"
25049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25050 /* end confdefs.h. */
25052 /* Override any GCC internal prototype to avoid an error.
25053 Use char because int might match the return type of a GCC
25054 builtin and then its argument prototype would still apply. */
25062 return dnet_ntoa ();
25067 if ac_fn_c_try_link "$LINENO"; then :
25068 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25070 ac_cv_lib_dnet_stub_dnet_ntoa=no
25072 rm -f core conftest.err conftest.$ac_objext \
25073 conftest$ac_exeext conftest.$ac_ext
25074 LIBS=$ac_check_lib_save_LIBS
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25077 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25078 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25079 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25084 rm -f core conftest.err conftest.$ac_objext \
25085 conftest$ac_exeext conftest.$ac_ext
25086 LIBS="$ac_xsave_LIBS"
25088 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25089 # to get the SysV transport functions.
25090 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25092 # The nsl library prevents programs from opening the X display
25093 # on Irix 5.2, according to T.E. Dickey.
25094 # The functions gethostbyname, getservbyname, and inet_addr are
25095 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25096 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25097 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25101 if test $ac_cv_func_gethostbyname = no; then
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25103 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25104 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25105 $as_echo_n "(cached) " >&6
25107 ac_check_lib_save_LIBS=$LIBS
25109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25110 /* end confdefs.h. */
25112 /* Override any GCC internal prototype to avoid an error.
25113 Use char because int might match the return type of a GCC
25114 builtin and then its argument prototype would still apply. */
25118 char gethostbyname ();
25122 return gethostbyname ();
25127 if ac_fn_c_try_link "$LINENO"; then :
25128 ac_cv_lib_nsl_gethostbyname=yes
25130 ac_cv_lib_nsl_gethostbyname=no
25132 rm -f core conftest.err conftest.$ac_objext \
25133 conftest$ac_exeext conftest.$ac_ext
25134 LIBS=$ac_check_lib_save_LIBS
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25137 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25138 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25142 if test $ac_cv_lib_nsl_gethostbyname = no; then
25143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25144 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25145 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25146 $as_echo_n "(cached) " >&6
25148 ac_check_lib_save_LIBS=$LIBS
25150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25151 /* end confdefs.h. */
25153 /* Override any GCC internal prototype to avoid an error.
25154 Use char because int might match the return type of a GCC
25155 builtin and then its argument prototype would still apply. */
25159 char gethostbyname ();
25163 return gethostbyname ();
25168 if ac_fn_c_try_link "$LINENO"; then :
25169 ac_cv_lib_bsd_gethostbyname=yes
25171 ac_cv_lib_bsd_gethostbyname=no
25173 rm -f core conftest.err conftest.$ac_objext \
25174 conftest$ac_exeext conftest.$ac_ext
25175 LIBS=$ac_check_lib_save_LIBS
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25178 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25179 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25180 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25186 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25187 # socket/setsockopt and other routines are undefined under SCO ODT
25188 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25189 # on later versions), says Simon Leinen: it contains gethostby*
25190 # variants that don't use the name server (or something). -lsocket
25191 # must be given before -lnsl if both are needed. We assume that
25192 # if connect needs -lnsl, so does gethostbyname.
25193 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25194 if test "x$ac_cv_func_connect" = xyes; then :
25198 if test $ac_cv_func_connect = no; then
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25200 $as_echo_n "checking for connect in -lsocket... " >&6; }
25201 if ${ac_cv_lib_socket_connect+:} false; then :
25202 $as_echo_n "(cached) " >&6
25204 ac_check_lib_save_LIBS=$LIBS
25205 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25207 /* end confdefs.h. */
25209 /* Override any GCC internal prototype to avoid an error.
25210 Use char because int might match the return type of a GCC
25211 builtin and then its argument prototype would still apply. */
25224 if ac_fn_c_try_link "$LINENO"; then :
25225 ac_cv_lib_socket_connect=yes
25227 ac_cv_lib_socket_connect=no
25229 rm -f core conftest.err conftest.$ac_objext \
25230 conftest$ac_exeext conftest.$ac_ext
25231 LIBS=$ac_check_lib_save_LIBS
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25234 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25235 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25236 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25241 # Guillermo Gomez says -lposix is necessary on A/UX.
25242 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25243 if test "x$ac_cv_func_remove" = xyes; then :
25247 if test $ac_cv_func_remove = no; then
25248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25249 $as_echo_n "checking for remove in -lposix... " >&6; }
25250 if ${ac_cv_lib_posix_remove+:} false; then :
25251 $as_echo_n "(cached) " >&6
25253 ac_check_lib_save_LIBS=$LIBS
25254 LIBS="-lposix $LIBS"
25255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h. */
25258 /* Override any GCC internal prototype to avoid an error.
25259 Use char because int might match the return type of a GCC
25260 builtin and then its argument prototype would still apply. */
25273 if ac_fn_c_try_link "$LINENO"; then :
25274 ac_cv_lib_posix_remove=yes
25276 ac_cv_lib_posix_remove=no
25278 rm -f core conftest.err conftest.$ac_objext \
25279 conftest$ac_exeext conftest.$ac_ext
25280 LIBS=$ac_check_lib_save_LIBS
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25283 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25284 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25285 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25290 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25291 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25292 if test "x$ac_cv_func_shmat" = xyes; then :
25296 if test $ac_cv_func_shmat = no; then
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25298 $as_echo_n "checking for shmat in -lipc... " >&6; }
25299 if ${ac_cv_lib_ipc_shmat+:} false; then :
25300 $as_echo_n "(cached) " >&6
25302 ac_check_lib_save_LIBS=$LIBS
25304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25305 /* end confdefs.h. */
25307 /* Override any GCC internal prototype to avoid an error.
25308 Use char because int might match the return type of a GCC
25309 builtin and then its argument prototype would still apply. */
25322 if ac_fn_c_try_link "$LINENO"; then :
25323 ac_cv_lib_ipc_shmat=yes
25325 ac_cv_lib_ipc_shmat=no
25327 rm -f core conftest.err conftest.$ac_objext \
25328 conftest$ac_exeext conftest.$ac_ext
25329 LIBS=$ac_check_lib_save_LIBS
25331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25332 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25333 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25334 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25340 # Check for libraries that X11R6 Xt/Xaw programs need.
25341 ac_save_LDFLAGS=$LDFLAGS
25342 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25343 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25344 # check for ICE first), but we must link in the order -lSM -lICE or
25345 # we get undefined symbols. So assume we have SM if we have ICE.
25346 # These have to be linked with before -lX11, unlike the other
25347 # libraries we check for below, so use a different variable.
25348 # John Interrante, Karl Berry
25349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25350 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25351 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25352 $as_echo_n "(cached) " >&6
25354 ac_check_lib_save_LIBS=$LIBS
25355 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h. */
25359 /* Override any GCC internal prototype to avoid an error.
25360 Use char because int might match the return type of a GCC
25361 builtin and then its argument prototype would still apply. */
25365 char IceConnectionNumber ();
25369 return IceConnectionNumber ();
25374 if ac_fn_c_try_link "$LINENO"; then :
25375 ac_cv_lib_ICE_IceConnectionNumber=yes
25377 ac_cv_lib_ICE_IceConnectionNumber=no
25379 rm -f core conftest.err conftest.$ac_objext \
25380 conftest$ac_exeext conftest.$ac_ext
25381 LIBS=$ac_check_lib_save_LIBS
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25384 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25385 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25386 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25389 LDFLAGS=$ac_save_LDFLAGS
25394 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
25395 if test "x$ac_cv_header_X11_X_h" = xyes; then :
25401 if test "x${have_dep}" = "xyes" ; then
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
25403 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
25404 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
25405 $as_echo_n "(cached) " >&6
25407 ac_check_lib_save_LIBS=$LIBS
25409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25410 /* end confdefs.h. */
25412 /* Override any GCC internal prototype to avoid an error.
25413 Use char because int might match the return type of a GCC
25414 builtin and then its argument prototype would still apply. */
25418 char XCreateImage ();
25422 return XCreateImage ();
25427 if ac_fn_c_try_link "$LINENO"; then :
25428 ac_cv_lib_X11_XCreateImage=yes
25430 ac_cv_lib_X11_XCreateImage=no
25432 rm -f core conftest.err conftest.$ac_objext \
25433 conftest$ac_exeext conftest.$ac_ext
25434 LIBS=$ac_check_lib_save_LIBS
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
25437 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
25438 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
25446 if test "x${have_dep}" = "xyes" ; then
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
25448 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
25449 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
25450 $as_echo_n "(cached) " >&6
25452 ac_check_lib_save_LIBS=$LIBS
25453 LIBS="-lXext $LIBS"
25454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h. */
25457 /* Override any GCC internal prototype to avoid an error.
25458 Use char because int might match the return type of a GCC
25459 builtin and then its argument prototype would still apply. */
25463 char XShmCreateImage ();
25467 return XShmCreateImage ();
25472 if ac_fn_c_try_link "$LINENO"; then :
25473 ac_cv_lib_Xext_XShmCreateImage=yes
25475 ac_cv_lib_Xext_XShmCreateImage=no
25477 rm -f core conftest.err conftest.$ac_objext \
25478 conftest$ac_exeext conftest.$ac_ext
25479 LIBS=$ac_check_lib_save_LIBS
25481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
25482 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
25483 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
25491 if test "x${have_dep}" = "xyes" ; then
25492 if test "xno" = "xyes" ; then
25493 x_libs="${x_libs} -lX11 -lXext"
25495 x_dir=${x_dir:-/usr/X11R6}
25496 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25497 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
25499 evas_engine_software_xlib_cflags="${x_cflags}"
25500 evas_engine_software_xlib_libs="${x_libs}"
25506 if test "x${have_dep}" = "xyes" ; then
25515 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
25516 as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
25520 $as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
25522 $as_echo "${have_engine}" >&6; }
25524 if test "x${have_engine}" = "xyes" ; then
25525 if test "x${want_engine}" = "xstatic" ; then
25526 have_evas_engine_software_xlib="static"
25527 want_static_engine="yes"
25529 have_evas_engine_software_xlib="yes"
25533 if test "x${have_engine}" = "xyes" ; then
25535 $as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
25539 if test "x${have_engine}" = "xyes"; then
25540 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25541 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25543 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25544 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25548 if test "x${want_static_engine}" = "xyes" ; then
25550 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
25552 have_static_module="yes"
25555 if test "x${want_static_engine}" = "xyes"; then
25556 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25557 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25559 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25560 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25568 # if software_x11 is available, define everything needed for X11
25569 if test "x$have_evas_engine_software_xlib" != "xno" ; then
25570 have_evas_engine_software_x11="yes"
25572 cat >>confdefs.h <<_ACEOF
25573 #define BUILD_ENGINE_SOFTWARE_X11 1
25577 cat >>confdefs.h <<_ACEOF
25578 #define BUILD_ENGINE_SOFTWARE_XLIB 1
25583 have_evas_engine_software_xlib="no"
25586 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
25588 cat >>confdefs.h <<_ACEOF
25589 #define EVAS_STATIC_BUILD_SOFTWARE_X11 1
25597 if test "x${have_evas_engine_software_xlib}" != "xno"; then
25598 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25599 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25601 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25602 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25605 if test "x${have_evas_engine_software_xcb}" != "xno"; then
25606 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
25607 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
25609 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
25610 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
25613 if test "x${have_evas_engine_software_x11}" != "xno"; then
25614 BUILD_ENGINE_SOFTWARE_X11_TRUE=
25615 BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
25617 BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
25618 BUILD_ENGINE_SOFTWARE_X11_FALSE=
25622 if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
25623 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
25624 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
25626 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
25627 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
25630 if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
25631 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25632 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25634 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25635 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25638 if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
25639 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
25640 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
25642 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
25643 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
25650 ######## OpenGL Engine ########
25651 have_evas_engine_gl_x11="no"
25652 have_evas_engine_gl_xcb="no"
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
25658 $as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
25659 # Check whether --enable-gl-xcb was given.
25660 if test "${enable_gl_xcb+set}" = set; then :
25661 enableval=$enable_gl_xcb; want_gl_xcb=$enableval
25665 if test "x$want_gl_xcb" = "xyes" ; then
25669 want_engine="${want_evas_engine_gl_xcb}"
25670 want_static_engine="no"
25672 have_evas_engine_gl_xcb="no"
25674 # Check whether --enable-gl-xcb was given.
25675 if test "${enable_gl_xcb+set}" = set; then :
25676 enableval=$enable_gl_xcb;
25677 if test "x${enableval}" = "xyes" ; then
25680 if test "x${enableval}" = "xstatic" ; then
25681 want_engine="static"
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
25691 $as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
25693 $as_echo "${want_engine}" >&6; }
25695 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
25698 evas_engine_gl_xcb_cflags=""
25699 evas_engine_gl_xcb_libs=""
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
25702 $as_echo_n "checking for X... " >&6; }
25705 # Check whether --with-x was given.
25706 if test "${with_x+set}" = set; then :
25710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25711 if test "x$with_x" = xno; then
25712 # The user explicitly disabled X.
25715 case $x_includes,$x_libraries in #(
25716 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
25717 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
25718 $as_echo_n "(cached) " >&6
25720 # One or both of the vars are not set, and there is no cached value.
25721 ac_x_includes=no ac_x_libraries=no
25722 rm -f -r conftest.dir
25723 if mkdir conftest.dir; then
25725 cat >Imakefile <<'_ACEOF'
25727 @echo incroot='${INCROOT}'
25729 @echo usrlibdir='${USRLIBDIR}'
25731 @echo libdir='${LIBDIR}'
25733 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25734 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
25735 for ac_var in incroot usrlibdir libdir; do
25736 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25738 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25739 for ac_extension in a so sl dylib la dll; do
25740 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25741 test -f "$ac_im_libdir/libX11.$ac_extension"; then
25742 ac_im_usrlibdir=$ac_im_libdir; break
25745 # Screen out bogus values from the imake configuration. They are
25746 # bogus both because they are the default anyway, and because
25747 # using them would break gcc on systems where it needs fixed includes.
25748 case $ac_im_incroot in
25749 /usr/include) ac_x_includes= ;;
25750 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25752 case $ac_im_usrlibdir in
25753 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25754 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25758 rm -f -r conftest.dir
25761 # Standard set of common directories for X headers.
25762 # Check X11 before X11Rn because it is often a symlink to the current release.
25776 /usr/local/X11/include
25777 /usr/local/X11R7/include
25778 /usr/local/X11R6/include
25779 /usr/local/X11R5/include
25780 /usr/local/X11R4/include
25782 /usr/local/include/X11
25783 /usr/local/include/X11R7
25784 /usr/local/include/X11R6
25785 /usr/local/include/X11R5
25786 /usr/local/include/X11R4
25790 /usr/XFree86/include/X11
25794 /usr/unsupported/include
25795 /usr/athena/include
25796 /usr/local/x11r5/include
25797 /usr/lpp/Xamples/include
25799 /usr/openwin/include
25800 /usr/openwin/share/include'
25802 if test "$ac_x_includes" = no; then
25803 # Guess where to find include files, by looking for Xlib.h.
25804 # First, try using that file with no special directory specified.
25805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25806 /* end confdefs.h. */
25807 #include <X11/Xlib.h>
25809 if ac_fn_c_try_cpp "$LINENO"; then :
25810 # We can compile using X headers with no special include directory.
25813 for ac_dir in $ac_x_header_dirs; do
25814 if test -r "$ac_dir/X11/Xlib.h"; then
25815 ac_x_includes=$ac_dir
25820 rm -f conftest.err conftest.i conftest.$ac_ext
25821 fi # $ac_x_includes = no
25823 if test "$ac_x_libraries" = no; then
25824 # Check for the libraries.
25825 # See if we find them without any special options.
25826 # Don't add to $LIBS permanently.
25829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25830 /* end confdefs.h. */
25831 #include <X11/Xlib.h>
25840 if ac_fn_c_try_link "$LINENO"; then :
25842 # We can link X programs with no special library path.
25846 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25848 # Don't even attempt the hair of trying to link an X program!
25849 for ac_extension in a so sl dylib la dll; do
25850 if test -r "$ac_dir/libX11.$ac_extension"; then
25851 ac_x_libraries=$ac_dir
25857 rm -f core conftest.err conftest.$ac_objext \
25858 conftest$ac_exeext conftest.$ac_ext
25859 fi # $ac_x_libraries = no
25861 case $ac_x_includes,$ac_x_libraries in #(
25862 no,* | *,no | *\'*)
25863 # Didn't find X, or a directory has "'" in its name.
25864 ac_cv_have_x="have_x=no";; #(
25866 # Record where we found X for the cache.
25867 ac_cv_have_x="have_x=yes\
25868 ac_x_includes='$ac_x_includes'\
25869 ac_x_libraries='$ac_x_libraries'"
25875 eval "$ac_cv_have_x"
25878 if test "$have_x" != yes; then
25879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25880 $as_echo "$have_x" >&6; }
25883 # If each of the values was on the command line, it overrides each guess.
25884 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25885 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25886 # Update the cache value to reflect the command line values.
25887 ac_cv_have_x="have_x=yes\
25888 ac_x_includes='$x_includes'\
25889 ac_x_libraries='$x_libraries'"
25890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25891 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25894 if test "$no_x" = yes; then
25895 # Not all programs may use this symbol, but it does not hurt to define it.
25897 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25899 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25901 if test -n "$x_includes"; then
25902 X_CFLAGS="$X_CFLAGS -I$x_includes"
25905 # It would also be nice to do this for all -L options, not just this one.
25906 if test -n "$x_libraries"; then
25907 X_LIBS="$X_LIBS -L$x_libraries"
25908 # For Solaris; some versions of Sun CC require a space after -R and
25909 # others require no space. Words are not sufficient . . . .
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25911 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25912 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25913 ac_xsave_c_werror_flag=$ac_c_werror_flag
25914 ac_c_werror_flag=yes
25915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916 /* end confdefs.h. */
25926 if ac_fn_c_try_link "$LINENO"; then :
25927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25928 $as_echo "no" >&6; }
25929 X_LIBS="$X_LIBS -R$x_libraries"
25931 LIBS="$ac_xsave_LIBS -R $x_libraries"
25932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25933 /* end confdefs.h. */
25943 if ac_fn_c_try_link "$LINENO"; then :
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25945 $as_echo "yes" >&6; }
25946 X_LIBS="$X_LIBS -R $x_libraries"
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25949 $as_echo "neither works" >&6; }
25951 rm -f core conftest.err conftest.$ac_objext \
25952 conftest$ac_exeext conftest.$ac_ext
25954 rm -f core conftest.err conftest.$ac_objext \
25955 conftest$ac_exeext conftest.$ac_ext
25956 ac_c_werror_flag=$ac_xsave_c_werror_flag
25957 LIBS=$ac_xsave_LIBS
25960 # Check for system-dependent libraries X programs must link with.
25961 # Do this before checking for the system-independent R6 libraries
25962 # (-lICE), since we may need -lsocket or whatever for X linking.
25964 if test "$ISC" = yes; then
25965 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25967 # Martyn Johnson says this is needed for Ultrix, if the X
25968 # libraries were built with DECnet support. And Karl Berry says
25969 # the Alpha needs dnet_stub (dnet does not exist).
25970 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25972 /* end confdefs.h. */
25974 /* Override any GCC internal prototype to avoid an error.
25975 Use char because int might match the return type of a GCC
25976 builtin and then its argument prototype would still apply. */
25980 char XOpenDisplay ();
25984 return XOpenDisplay ();
25989 if ac_fn_c_try_link "$LINENO"; then :
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25993 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25994 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25995 $as_echo_n "(cached) " >&6
25997 ac_check_lib_save_LIBS=$LIBS
25998 LIBS="-ldnet $LIBS"
25999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26000 /* end confdefs.h. */
26002 /* Override any GCC internal prototype to avoid an error.
26003 Use char because int might match the return type of a GCC
26004 builtin and then its argument prototype would still apply. */
26012 return dnet_ntoa ();
26017 if ac_fn_c_try_link "$LINENO"; then :
26018 ac_cv_lib_dnet_dnet_ntoa=yes
26020 ac_cv_lib_dnet_dnet_ntoa=no
26022 rm -f core conftest.err conftest.$ac_objext \
26023 conftest$ac_exeext conftest.$ac_ext
26024 LIBS=$ac_check_lib_save_LIBS
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26027 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
26028 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
26029 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26032 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
26034 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
26035 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
26036 $as_echo_n "(cached) " >&6
26038 ac_check_lib_save_LIBS=$LIBS
26039 LIBS="-ldnet_stub $LIBS"
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h. */
26043 /* Override any GCC internal prototype to avoid an error.
26044 Use char because int might match the return type of a GCC
26045 builtin and then its argument prototype would still apply. */
26053 return dnet_ntoa ();
26058 if ac_fn_c_try_link "$LINENO"; then :
26059 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26061 ac_cv_lib_dnet_stub_dnet_ntoa=no
26063 rm -f core conftest.err conftest.$ac_objext \
26064 conftest$ac_exeext conftest.$ac_ext
26065 LIBS=$ac_check_lib_save_LIBS
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26068 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26069 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
26070 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26075 rm -f core conftest.err conftest.$ac_objext \
26076 conftest$ac_exeext conftest.$ac_ext
26077 LIBS="$ac_xsave_LIBS"
26079 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26080 # to get the SysV transport functions.
26081 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26083 # The nsl library prevents programs from opening the X display
26084 # on Irix 5.2, according to T.E. Dickey.
26085 # The functions gethostbyname, getservbyname, and inet_addr are
26086 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26087 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
26088 if test "x$ac_cv_func_gethostbyname" = xyes; then :
26092 if test $ac_cv_func_gethostbyname = no; then
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
26094 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26095 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
26096 $as_echo_n "(cached) " >&6
26098 ac_check_lib_save_LIBS=$LIBS
26100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26101 /* end confdefs.h. */
26103 /* Override any GCC internal prototype to avoid an error.
26104 Use char because int might match the return type of a GCC
26105 builtin and then its argument prototype would still apply. */
26109 char gethostbyname ();
26113 return gethostbyname ();
26118 if ac_fn_c_try_link "$LINENO"; then :
26119 ac_cv_lib_nsl_gethostbyname=yes
26121 ac_cv_lib_nsl_gethostbyname=no
26123 rm -f core conftest.err conftest.$ac_objext \
26124 conftest$ac_exeext conftest.$ac_ext
26125 LIBS=$ac_check_lib_save_LIBS
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26128 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26129 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
26130 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26133 if test $ac_cv_lib_nsl_gethostbyname = no; then
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26135 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26136 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
26137 $as_echo_n "(cached) " >&6
26139 ac_check_lib_save_LIBS=$LIBS
26141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h. */
26144 /* Override any GCC internal prototype to avoid an error.
26145 Use char because int might match the return type of a GCC
26146 builtin and then its argument prototype would still apply. */
26150 char gethostbyname ();
26154 return gethostbyname ();
26159 if ac_fn_c_try_link "$LINENO"; then :
26160 ac_cv_lib_bsd_gethostbyname=yes
26162 ac_cv_lib_bsd_gethostbyname=no
26164 rm -f core conftest.err conftest.$ac_objext \
26165 conftest$ac_exeext conftest.$ac_ext
26166 LIBS=$ac_check_lib_save_LIBS
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26169 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26170 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
26171 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26177 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26178 # socket/setsockopt and other routines are undefined under SCO ODT
26179 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26180 # on later versions), says Simon Leinen: it contains gethostby*
26181 # variants that don't use the name server (or something). -lsocket
26182 # must be given before -lnsl if both are needed. We assume that
26183 # if connect needs -lnsl, so does gethostbyname.
26184 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26185 if test "x$ac_cv_func_connect" = xyes; then :
26189 if test $ac_cv_func_connect = no; then
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26191 $as_echo_n "checking for connect in -lsocket... " >&6; }
26192 if ${ac_cv_lib_socket_connect+:} false; then :
26193 $as_echo_n "(cached) " >&6
26195 ac_check_lib_save_LIBS=$LIBS
26196 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26198 /* end confdefs.h. */
26200 /* Override any GCC internal prototype to avoid an error.
26201 Use char because int might match the return type of a GCC
26202 builtin and then its argument prototype would still apply. */
26215 if ac_fn_c_try_link "$LINENO"; then :
26216 ac_cv_lib_socket_connect=yes
26218 ac_cv_lib_socket_connect=no
26220 rm -f core conftest.err conftest.$ac_objext \
26221 conftest$ac_exeext conftest.$ac_ext
26222 LIBS=$ac_check_lib_save_LIBS
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26225 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26226 if test "x$ac_cv_lib_socket_connect" = xyes; then :
26227 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26232 # Guillermo Gomez says -lposix is necessary on A/UX.
26233 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26234 if test "x$ac_cv_func_remove" = xyes; then :
26238 if test $ac_cv_func_remove = no; then
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26240 $as_echo_n "checking for remove in -lposix... " >&6; }
26241 if ${ac_cv_lib_posix_remove+:} false; then :
26242 $as_echo_n "(cached) " >&6
26244 ac_check_lib_save_LIBS=$LIBS
26245 LIBS="-lposix $LIBS"
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26249 /* Override any GCC internal prototype to avoid an error.
26250 Use char because int might match the return type of a GCC
26251 builtin and then its argument prototype would still apply. */
26264 if ac_fn_c_try_link "$LINENO"; then :
26265 ac_cv_lib_posix_remove=yes
26267 ac_cv_lib_posix_remove=no
26269 rm -f core conftest.err conftest.$ac_objext \
26270 conftest$ac_exeext conftest.$ac_ext
26271 LIBS=$ac_check_lib_save_LIBS
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26274 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26275 if test "x$ac_cv_lib_posix_remove" = xyes; then :
26276 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26281 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26282 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26283 if test "x$ac_cv_func_shmat" = xyes; then :
26287 if test $ac_cv_func_shmat = no; then
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26289 $as_echo_n "checking for shmat in -lipc... " >&6; }
26290 if ${ac_cv_lib_ipc_shmat+:} false; then :
26291 $as_echo_n "(cached) " >&6
26293 ac_check_lib_save_LIBS=$LIBS
26295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26296 /* end confdefs.h. */
26298 /* Override any GCC internal prototype to avoid an error.
26299 Use char because int might match the return type of a GCC
26300 builtin and then its argument prototype would still apply. */
26313 if ac_fn_c_try_link "$LINENO"; then :
26314 ac_cv_lib_ipc_shmat=yes
26316 ac_cv_lib_ipc_shmat=no
26318 rm -f core conftest.err conftest.$ac_objext \
26319 conftest$ac_exeext conftest.$ac_ext
26320 LIBS=$ac_check_lib_save_LIBS
26322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26323 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26324 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
26325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26331 # Check for libraries that X11R6 Xt/Xaw programs need.
26332 ac_save_LDFLAGS=$LDFLAGS
26333 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26334 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26335 # check for ICE first), but we must link in the order -lSM -lICE or
26336 # we get undefined symbols. So assume we have SM if we have ICE.
26337 # These have to be linked with before -lX11, unlike the other
26338 # libraries we check for below, so use a different variable.
26339 # John Interrante, Karl Berry
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26341 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26342 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
26343 $as_echo_n "(cached) " >&6
26345 ac_check_lib_save_LIBS=$LIBS
26346 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26348 /* end confdefs.h. */
26350 /* Override any GCC internal prototype to avoid an error.
26351 Use char because int might match the return type of a GCC
26352 builtin and then its argument prototype would still apply. */
26356 char IceConnectionNumber ();
26360 return IceConnectionNumber ();
26365 if ac_fn_c_try_link "$LINENO"; then :
26366 ac_cv_lib_ICE_IceConnectionNumber=yes
26368 ac_cv_lib_ICE_IceConnectionNumber=no
26370 rm -f core conftest.err conftest.$ac_objext \
26371 conftest$ac_exeext conftest.$ac_ext
26372 LIBS=$ac_check_lib_save_LIBS
26374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26375 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26376 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
26377 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26380 LDFLAGS=$ac_save_LDFLAGS
26385 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26387 #include <GL/glext.h>
26388 #include <GL/glx.h>
26391 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26403 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
26404 CFLAGS_save="${CFLAGS}"
26405 CFLAGS="${CFLAGS} -pthread"
26406 LIBS_save="${LIBS}"
26407 LIBS="${LIBS} -pthread"
26408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h. */
26411 #include <pthread.h>
26417 pthread_create(NULL, NULL, NULL, NULL);
26423 if ac_fn_c_try_link "$LINENO"; then :
26428 rm -f core conftest.err conftest.$ac_objext \
26429 conftest$ac_exeext conftest.$ac_ext
26430 CFLAGS=${CFLAGS_save}
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26433 $as_echo "${have_gl_pt}" >&6; }
26435 if test "x$have_gl_pt" = "xyes" ; then
26436 gl_pt_lib=" -pthread"
26439 if test "x${have_dep}" = "xyes" ; then
26440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26441 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26442 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
26443 $as_echo_n "(cached) " >&6
26445 ac_check_lib_save_LIBS=$LIBS
26447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26448 /* end confdefs.h. */
26450 /* Override any GCC internal prototype to avoid an error.
26451 Use char because int might match the return type of a GCC
26452 builtin and then its argument prototype would still apply. */
26456 char XCreateColormap ();
26460 return XCreateColormap ();
26465 if ac_fn_c_try_link "$LINENO"; then :
26466 ac_cv_lib_X11_XCreateColormap=yes
26468 ac_cv_lib_X11_XCreateColormap=no
26470 rm -f core conftest.err conftest.$ac_objext \
26471 conftest$ac_exeext conftest.$ac_ext
26472 LIBS=$ac_check_lib_save_LIBS
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26475 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26476 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
26484 if test "x${have_dep}" = "xyes" ; then
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26486 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26487 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
26488 $as_echo_n "(cached) " >&6
26490 ac_check_lib_save_LIBS=$LIBS
26491 LIBS="-lXrender $LIBS"
26492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26493 /* end confdefs.h. */
26495 /* Override any GCC internal prototype to avoid an error.
26496 Use char because int might match the return type of a GCC
26497 builtin and then its argument prototype would still apply. */
26501 char XRenderCreatePicture ();
26505 return XRenderCreatePicture ();
26510 if ac_fn_c_try_link "$LINENO"; then :
26511 ac_cv_lib_Xrender_XRenderCreatePicture=yes
26513 ac_cv_lib_Xrender_XRenderCreatePicture=no
26515 rm -f core conftest.err conftest.$ac_objext \
26516 conftest$ac_exeext conftest.$ac_ext
26517 LIBS=$ac_check_lib_save_LIBS
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
26520 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
26521 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
26529 if test "x${have_dep}" = "xyes" ; then
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
26531 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
26532 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
26533 $as_echo_n "(cached) " >&6
26535 ac_check_lib_save_LIBS=$LIBS
26536 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
26537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26538 /* end confdefs.h. */
26540 /* Override any GCC internal prototype to avoid an error.
26541 Use char because int might match the return type of a GCC
26542 builtin and then its argument prototype would still apply. */
26546 char glXCreateContext ();
26550 return glXCreateContext ();
26555 if ac_fn_c_try_link "$LINENO"; then :
26556 ac_cv_lib_GL_glXCreateContext=yes
26558 ac_cv_lib_GL_glXCreateContext=no
26560 rm -f core conftest.err conftest.$ac_objext \
26561 conftest$ac_exeext conftest.$ac_ext
26562 LIBS=$ac_check_lib_save_LIBS
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
26565 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
26566 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
26576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
26577 $as_echo_n "checking for XCB_GL... " >&6; }
26579 if test -n "$XCB_GL_CFLAGS"; then
26580 pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
26581 elif test -n "$PKG_CONFIG"; then
26582 if test -n "$PKG_CONFIG" && \
26583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26584 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26587 test $ac_status = 0; }; then
26588 pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26589 test "x$?" != "x0" && pkg_failed=yes
26596 if test -n "$XCB_GL_LIBS"; then
26597 pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
26598 elif test -n "$PKG_CONFIG"; then
26599 if test -n "$PKG_CONFIG" && \
26600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26601 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26604 test $ac_status = 0; }; then
26605 pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26606 test "x$?" != "x0" && pkg_failed=yes
26616 if test $pkg_failed = yes; then
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26618 $as_echo "no" >&6; }
26620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26621 _pkg_short_errors_supported=yes
26623 _pkg_short_errors_supported=no
26625 if test $_pkg_short_errors_supported = yes; then
26626 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26628 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26630 # Put the nasty error message in config.log where it belongs
26631 echo "$XCB_GL_PKG_ERRORS" >&5
26637 elif test $pkg_failed = untried; then
26638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26639 $as_echo "no" >&6; }
26645 XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
26646 XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26648 $as_echo "yes" >&6; }
26651 requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
26652 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
26653 evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
26657 if test "x$gl_flavor_gles" = "xyes" ; then
26661 if test "x${have_dep}" = "xyes" ; then
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26665 $as_echo_n "checking for GL_EET... " >&6; }
26667 if test -n "$GL_EET_CFLAGS"; then
26668 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26669 elif test -n "$PKG_CONFIG"; then
26670 if test -n "$PKG_CONFIG" && \
26671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26672 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26675 test $ac_status = 0; }; then
26676 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26677 test "x$?" != "x0" && pkg_failed=yes
26684 if test -n "$GL_EET_LIBS"; then
26685 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26686 elif test -n "$PKG_CONFIG"; then
26687 if test -n "$PKG_CONFIG" && \
26688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26689 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26692 test $ac_status = 0; }; then
26693 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26694 test "x$?" != "x0" && pkg_failed=yes
26704 if test $pkg_failed = yes; then
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26706 $as_echo "no" >&6; }
26708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26709 _pkg_short_errors_supported=yes
26711 _pkg_short_errors_supported=no
26713 if test $_pkg_short_errors_supported = yes; then
26714 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26716 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26718 # Put the nasty error message in config.log where it belongs
26719 echo "$GL_EET_PKG_ERRORS" >&5
26722 elif test $pkg_failed = untried; then
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26724 $as_echo "no" >&6; }
26727 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26728 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26730 $as_echo "yes" >&6; }
26733 if test "x${have_dep}" = "xyes" ; then
26734 if test "xno" = "xyes" ; then
26735 x_libs="${x_libs} -lX11 -lXext -lXrender"
26737 x_dir=${x_dir:-/usr/X11R6}
26738 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26739 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26741 evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
26742 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
26743 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
26746 if test "xno" = "xyes" ; then
26747 x_libs="${x_libs} -lX11 -lXext -lXrender"
26749 x_dir=${x_dir:-/usr/X11R6}
26750 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26751 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26753 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
26754 #include <GLES2/gl2.h>
26755 #include <GLES2/gl2ext.h>
26756 #include <EGL/egl.h>
26759 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
26766 if test "x${have_egl}" = "xyes" ; then
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
26768 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
26769 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
26770 $as_echo_n "(cached) " >&6
26772 ac_check_lib_save_LIBS=$LIBS
26773 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
26774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26775 /* end confdefs.h. */
26777 /* Override any GCC internal prototype to avoid an error.
26778 Use char because int might match the return type of a GCC
26779 builtin and then its argument prototype would still apply. */
26783 char glTexImage2D ();
26787 return glTexImage2D ();
26792 if ac_fn_c_try_link "$LINENO"; then :
26793 ac_cv_lib_GLESv2_glTexImage2D=yes
26795 ac_cv_lib_GLESv2_glTexImage2D=no
26797 rm -f core conftest.err conftest.$ac_objext \
26798 conftest$ac_exeext conftest.$ac_ext
26799 LIBS=$ac_check_lib_save_LIBS
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
26802 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
26803 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
26807 if test "x${have_glesv2}" = "xyes" ; then
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26811 $as_echo_n "checking for GL_EET... " >&6; }
26813 if test -n "$GL_EET_CFLAGS"; then
26814 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26815 elif test -n "$PKG_CONFIG"; then
26816 if test -n "$PKG_CONFIG" && \
26817 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26818 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26821 test $ac_status = 0; }; then
26822 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26823 test "x$?" != "x0" && pkg_failed=yes
26830 if test -n "$GL_EET_LIBS"; then
26831 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26832 elif test -n "$PKG_CONFIG"; then
26833 if test -n "$PKG_CONFIG" && \
26834 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26835 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26838 test $ac_status = 0; }; then
26839 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26840 test "x$?" != "x0" && pkg_failed=yes
26850 if test $pkg_failed = yes; then
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26852 $as_echo "no" >&6; }
26854 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26855 _pkg_short_errors_supported=yes
26857 _pkg_short_errors_supported=no
26859 if test $_pkg_short_errors_supported = yes; then
26860 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26862 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26864 # Put the nasty error message in config.log where it belongs
26865 echo "$GL_EET_PKG_ERRORS" >&5
26868 elif test $pkg_failed = untried; then
26869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26870 $as_echo "no" >&6; }
26873 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26874 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26876 $as_echo "yes" >&6; }
26879 if test "x${have_dep}" = "xyes" ; then
26880 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26881 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26882 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26885 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26887 gles_variety_sgx="yes"
26896 if test "x${have_dep}" = "xyes" ; then
26905 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26906 as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26910 $as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26912 $as_echo "${have_engine}" >&6; }
26914 if test "x${have_engine}" = "xyes" ; then
26915 if test "x${want_engine}" = "xstatic" ; then
26916 have_evas_engine_gl_xcb="static"
26917 want_static_engine="yes"
26919 have_evas_engine_gl_xcb="yes"
26923 if test "x${have_engine}" = "xyes" ; then
26925 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26929 if test "x${have_engine}" = "xyes"; then
26930 BUILD_ENGINE_GL_XCB_TRUE=
26931 BUILD_ENGINE_GL_XCB_FALSE='#'
26933 BUILD_ENGINE_GL_XCB_TRUE='#'
26934 BUILD_ENGINE_GL_XCB_FALSE=
26938 if test "x${want_static_engine}" = "xyes" ; then
26940 $as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26942 have_static_module="yes"
26945 if test "x${want_static_engine}" = "xyes"; then
26946 EVAS_STATIC_BUILD_GL_XCB_TRUE=
26947 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26949 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26950 EVAS_STATIC_BUILD_GL_XCB_FALSE=
26958 if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26960 have_evas_engine_gl_x11="yes"
26962 $as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26965 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26967 if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26969 $as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26976 $as_echo "no" >&6; }
26980 ## If we are not building XCB, then we can build XLib ##
26982 if test "x$build_gl_xcb" = "xno" ; then
26986 want_engine="${want_evas_engine_gl_xlib}"
26987 want_static_engine="no"
26989 have_evas_engine_gl_xlib="no"
26991 # Check whether --enable-gl-xlib was given.
26992 if test "${enable_gl_xlib+set}" = set; then :
26993 enableval=$enable_gl_xlib;
26994 if test "x${enableval}" = "xyes" ; then
26997 if test "x${enableval}" = "xstatic" ; then
26998 want_engine="static"
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
27008 $as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
27009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
27010 $as_echo "${want_engine}" >&6; }
27012 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
27015 evas_engine_gl_xlib_cflags=""
27016 evas_engine_gl_xlib_libs=""
27018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
27019 $as_echo_n "checking for X... " >&6; }
27022 # Check whether --with-x was given.
27023 if test "${with_x+set}" = set; then :
27027 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27028 if test "x$with_x" = xno; then
27029 # The user explicitly disabled X.
27032 case $x_includes,$x_libraries in #(
27033 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
27034 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
27035 $as_echo_n "(cached) " >&6
27037 # One or both of the vars are not set, and there is no cached value.
27038 ac_x_includes=no ac_x_libraries=no
27039 rm -f -r conftest.dir
27040 if mkdir conftest.dir; then
27042 cat >Imakefile <<'_ACEOF'
27044 @echo incroot='${INCROOT}'
27046 @echo usrlibdir='${USRLIBDIR}'
27048 @echo libdir='${LIBDIR}'
27050 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
27051 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
27052 for ac_var in incroot usrlibdir libdir; do
27053 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
27055 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27056 for ac_extension in a so sl dylib la dll; do
27057 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
27058 test -f "$ac_im_libdir/libX11.$ac_extension"; then
27059 ac_im_usrlibdir=$ac_im_libdir; break
27062 # Screen out bogus values from the imake configuration. They are
27063 # bogus both because they are the default anyway, and because
27064 # using them would break gcc on systems where it needs fixed includes.
27065 case $ac_im_incroot in
27066 /usr/include) ac_x_includes= ;;
27067 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27069 case $ac_im_usrlibdir in
27070 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
27071 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27075 rm -f -r conftest.dir
27078 # Standard set of common directories for X headers.
27079 # Check X11 before X11Rn because it is often a symlink to the current release.
27093 /usr/local/X11/include
27094 /usr/local/X11R7/include
27095 /usr/local/X11R6/include
27096 /usr/local/X11R5/include
27097 /usr/local/X11R4/include
27099 /usr/local/include/X11
27100 /usr/local/include/X11R7
27101 /usr/local/include/X11R6
27102 /usr/local/include/X11R5
27103 /usr/local/include/X11R4
27107 /usr/XFree86/include/X11
27111 /usr/unsupported/include
27112 /usr/athena/include
27113 /usr/local/x11r5/include
27114 /usr/lpp/Xamples/include
27116 /usr/openwin/include
27117 /usr/openwin/share/include'
27119 if test "$ac_x_includes" = no; then
27120 # Guess where to find include files, by looking for Xlib.h.
27121 # First, try using that file with no special directory specified.
27122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27123 /* end confdefs.h. */
27124 #include <X11/Xlib.h>
27126 if ac_fn_c_try_cpp "$LINENO"; then :
27127 # We can compile using X headers with no special include directory.
27130 for ac_dir in $ac_x_header_dirs; do
27131 if test -r "$ac_dir/X11/Xlib.h"; then
27132 ac_x_includes=$ac_dir
27137 rm -f conftest.err conftest.i conftest.$ac_ext
27138 fi # $ac_x_includes = no
27140 if test "$ac_x_libraries" = no; then
27141 # Check for the libraries.
27142 # See if we find them without any special options.
27143 # Don't add to $LIBS permanently.
27146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h. */
27148 #include <X11/Xlib.h>
27157 if ac_fn_c_try_link "$LINENO"; then :
27159 # We can link X programs with no special library path.
27163 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27165 # Don't even attempt the hair of trying to link an X program!
27166 for ac_extension in a so sl dylib la dll; do
27167 if test -r "$ac_dir/libX11.$ac_extension"; then
27168 ac_x_libraries=$ac_dir
27174 rm -f core conftest.err conftest.$ac_objext \
27175 conftest$ac_exeext conftest.$ac_ext
27176 fi # $ac_x_libraries = no
27178 case $ac_x_includes,$ac_x_libraries in #(
27179 no,* | *,no | *\'*)
27180 # Didn't find X, or a directory has "'" in its name.
27181 ac_cv_have_x="have_x=no";; #(
27183 # Record where we found X for the cache.
27184 ac_cv_have_x="have_x=yes\
27185 ac_x_includes='$ac_x_includes'\
27186 ac_x_libraries='$ac_x_libraries'"
27192 eval "$ac_cv_have_x"
27195 if test "$have_x" != yes; then
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
27197 $as_echo "$have_x" >&6; }
27200 # If each of the values was on the command line, it overrides each guess.
27201 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27202 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27203 # Update the cache value to reflect the command line values.
27204 ac_cv_have_x="have_x=yes\
27205 ac_x_includes='$x_includes'\
27206 ac_x_libraries='$x_libraries'"
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
27208 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
27211 if test "$no_x" = yes; then
27212 # Not all programs may use this symbol, but it does not hurt to define it.
27214 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
27216 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27218 if test -n "$x_includes"; then
27219 X_CFLAGS="$X_CFLAGS -I$x_includes"
27222 # It would also be nice to do this for all -L options, not just this one.
27223 if test -n "$x_libraries"; then
27224 X_LIBS="$X_LIBS -L$x_libraries"
27225 # For Solaris; some versions of Sun CC require a space after -R and
27226 # others require no space. Words are not sufficient . . . .
27227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
27228 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
27229 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27230 ac_xsave_c_werror_flag=$ac_c_werror_flag
27231 ac_c_werror_flag=yes
27232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27233 /* end confdefs.h. */
27243 if ac_fn_c_try_link "$LINENO"; then :
27244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27245 $as_echo "no" >&6; }
27246 X_LIBS="$X_LIBS -R$x_libraries"
27248 LIBS="$ac_xsave_LIBS -R $x_libraries"
27249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27250 /* end confdefs.h. */
27260 if ac_fn_c_try_link "$LINENO"; then :
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27262 $as_echo "yes" >&6; }
27263 X_LIBS="$X_LIBS -R $x_libraries"
27265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
27266 $as_echo "neither works" >&6; }
27268 rm -f core conftest.err conftest.$ac_objext \
27269 conftest$ac_exeext conftest.$ac_ext
27271 rm -f core conftest.err conftest.$ac_objext \
27272 conftest$ac_exeext conftest.$ac_ext
27273 ac_c_werror_flag=$ac_xsave_c_werror_flag
27274 LIBS=$ac_xsave_LIBS
27277 # Check for system-dependent libraries X programs must link with.
27278 # Do this before checking for the system-independent R6 libraries
27279 # (-lICE), since we may need -lsocket or whatever for X linking.
27281 if test "$ISC" = yes; then
27282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27284 # Martyn Johnson says this is needed for Ultrix, if the X
27285 # libraries were built with DECnet support. And Karl Berry says
27286 # the Alpha needs dnet_stub (dnet does not exist).
27287 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27289 /* end confdefs.h. */
27291 /* Override any GCC internal prototype to avoid an error.
27292 Use char because int might match the return type of a GCC
27293 builtin and then its argument prototype would still apply. */
27297 char XOpenDisplay ();
27301 return XOpenDisplay ();
27306 if ac_fn_c_try_link "$LINENO"; then :
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
27310 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
27311 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
27312 $as_echo_n "(cached) " >&6
27314 ac_check_lib_save_LIBS=$LIBS
27315 LIBS="-ldnet $LIBS"
27316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27317 /* end confdefs.h. */
27319 /* Override any GCC internal prototype to avoid an error.
27320 Use char because int might match the return type of a GCC
27321 builtin and then its argument prototype would still apply. */
27329 return dnet_ntoa ();
27334 if ac_fn_c_try_link "$LINENO"; then :
27335 ac_cv_lib_dnet_dnet_ntoa=yes
27337 ac_cv_lib_dnet_dnet_ntoa=no
27339 rm -f core conftest.err conftest.$ac_objext \
27340 conftest$ac_exeext conftest.$ac_ext
27341 LIBS=$ac_check_lib_save_LIBS
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27344 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
27345 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
27346 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27349 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
27351 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
27352 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
27353 $as_echo_n "(cached) " >&6
27355 ac_check_lib_save_LIBS=$LIBS
27356 LIBS="-ldnet_stub $LIBS"
27357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h. */
27360 /* Override any GCC internal prototype to avoid an error.
27361 Use char because int might match the return type of a GCC
27362 builtin and then its argument prototype would still apply. */
27370 return dnet_ntoa ();
27375 if ac_fn_c_try_link "$LINENO"; then :
27376 ac_cv_lib_dnet_stub_dnet_ntoa=yes
27378 ac_cv_lib_dnet_stub_dnet_ntoa=no
27380 rm -f core conftest.err conftest.$ac_objext \
27381 conftest$ac_exeext conftest.$ac_ext
27382 LIBS=$ac_check_lib_save_LIBS
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27385 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
27386 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
27387 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27392 rm -f core conftest.err conftest.$ac_objext \
27393 conftest$ac_exeext conftest.$ac_ext
27394 LIBS="$ac_xsave_LIBS"
27396 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27397 # to get the SysV transport functions.
27398 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27400 # The nsl library prevents programs from opening the X display
27401 # on Irix 5.2, according to T.E. Dickey.
27402 # The functions gethostbyname, getservbyname, and inet_addr are
27403 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27404 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
27405 if test "x$ac_cv_func_gethostbyname" = xyes; then :
27409 if test $ac_cv_func_gethostbyname = no; then
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
27411 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
27412 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
27413 $as_echo_n "(cached) " >&6
27415 ac_check_lib_save_LIBS=$LIBS
27417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27418 /* end confdefs.h. */
27420 /* Override any GCC internal prototype to avoid an error.
27421 Use char because int might match the return type of a GCC
27422 builtin and then its argument prototype would still apply. */
27426 char gethostbyname ();
27430 return gethostbyname ();
27435 if ac_fn_c_try_link "$LINENO"; then :
27436 ac_cv_lib_nsl_gethostbyname=yes
27438 ac_cv_lib_nsl_gethostbyname=no
27440 rm -f core conftest.err conftest.$ac_objext \
27441 conftest$ac_exeext conftest.$ac_ext
27442 LIBS=$ac_check_lib_save_LIBS
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
27445 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
27446 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
27447 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27450 if test $ac_cv_lib_nsl_gethostbyname = no; then
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
27452 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
27453 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
27454 $as_echo_n "(cached) " >&6
27456 ac_check_lib_save_LIBS=$LIBS
27458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27459 /* end confdefs.h. */
27461 /* Override any GCC internal prototype to avoid an error.
27462 Use char because int might match the return type of a GCC
27463 builtin and then its argument prototype would still apply. */
27467 char gethostbyname ();
27471 return gethostbyname ();
27476 if ac_fn_c_try_link "$LINENO"; then :
27477 ac_cv_lib_bsd_gethostbyname=yes
27479 ac_cv_lib_bsd_gethostbyname=no
27481 rm -f core conftest.err conftest.$ac_objext \
27482 conftest$ac_exeext conftest.$ac_ext
27483 LIBS=$ac_check_lib_save_LIBS
27485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
27486 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
27487 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
27488 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27494 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27495 # socket/setsockopt and other routines are undefined under SCO ODT
27496 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27497 # on later versions), says Simon Leinen: it contains gethostby*
27498 # variants that don't use the name server (or something). -lsocket
27499 # must be given before -lnsl if both are needed. We assume that
27500 # if connect needs -lnsl, so does gethostbyname.
27501 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
27502 if test "x$ac_cv_func_connect" = xyes; then :
27506 if test $ac_cv_func_connect = no; then
27507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
27508 $as_echo_n "checking for connect in -lsocket... " >&6; }
27509 if ${ac_cv_lib_socket_connect+:} false; then :
27510 $as_echo_n "(cached) " >&6
27512 ac_check_lib_save_LIBS=$LIBS
27513 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27515 /* end confdefs.h. */
27517 /* Override any GCC internal prototype to avoid an error.
27518 Use char because int might match the return type of a GCC
27519 builtin and then its argument prototype would still apply. */
27532 if ac_fn_c_try_link "$LINENO"; then :
27533 ac_cv_lib_socket_connect=yes
27535 ac_cv_lib_socket_connect=no
27537 rm -f core conftest.err conftest.$ac_objext \
27538 conftest$ac_exeext conftest.$ac_ext
27539 LIBS=$ac_check_lib_save_LIBS
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
27542 $as_echo "$ac_cv_lib_socket_connect" >&6; }
27543 if test "x$ac_cv_lib_socket_connect" = xyes; then :
27544 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27549 # Guillermo Gomez says -lposix is necessary on A/UX.
27550 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
27551 if test "x$ac_cv_func_remove" = xyes; then :
27555 if test $ac_cv_func_remove = no; then
27556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
27557 $as_echo_n "checking for remove in -lposix... " >&6; }
27558 if ${ac_cv_lib_posix_remove+:} false; then :
27559 $as_echo_n "(cached) " >&6
27561 ac_check_lib_save_LIBS=$LIBS
27562 LIBS="-lposix $LIBS"
27563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27564 /* end confdefs.h. */
27566 /* Override any GCC internal prototype to avoid an error.
27567 Use char because int might match the return type of a GCC
27568 builtin and then its argument prototype would still apply. */
27581 if ac_fn_c_try_link "$LINENO"; then :
27582 ac_cv_lib_posix_remove=yes
27584 ac_cv_lib_posix_remove=no
27586 rm -f core conftest.err conftest.$ac_objext \
27587 conftest$ac_exeext conftest.$ac_ext
27588 LIBS=$ac_check_lib_save_LIBS
27590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
27591 $as_echo "$ac_cv_lib_posix_remove" >&6; }
27592 if test "x$ac_cv_lib_posix_remove" = xyes; then :
27593 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27598 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27599 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
27600 if test "x$ac_cv_func_shmat" = xyes; then :
27604 if test $ac_cv_func_shmat = no; then
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
27606 $as_echo_n "checking for shmat in -lipc... " >&6; }
27607 if ${ac_cv_lib_ipc_shmat+:} false; then :
27608 $as_echo_n "(cached) " >&6
27610 ac_check_lib_save_LIBS=$LIBS
27612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27613 /* end confdefs.h. */
27615 /* Override any GCC internal prototype to avoid an error.
27616 Use char because int might match the return type of a GCC
27617 builtin and then its argument prototype would still apply. */
27630 if ac_fn_c_try_link "$LINENO"; then :
27631 ac_cv_lib_ipc_shmat=yes
27633 ac_cv_lib_ipc_shmat=no
27635 rm -f core conftest.err conftest.$ac_objext \
27636 conftest$ac_exeext conftest.$ac_ext
27637 LIBS=$ac_check_lib_save_LIBS
27639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
27640 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
27641 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
27642 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27648 # Check for libraries that X11R6 Xt/Xaw programs need.
27649 ac_save_LDFLAGS=$LDFLAGS
27650 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27651 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27652 # check for ICE first), but we must link in the order -lSM -lICE or
27653 # we get undefined symbols. So assume we have SM if we have ICE.
27654 # These have to be linked with before -lX11, unlike the other
27655 # libraries we check for below, so use a different variable.
27656 # John Interrante, Karl Berry
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
27658 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
27659 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
27660 $as_echo_n "(cached) " >&6
27662 ac_check_lib_save_LIBS=$LIBS
27663 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27665 /* end confdefs.h. */
27667 /* Override any GCC internal prototype to avoid an error.
27668 Use char because int might match the return type of a GCC
27669 builtin and then its argument prototype would still apply. */
27673 char IceConnectionNumber ();
27677 return IceConnectionNumber ();
27682 if ac_fn_c_try_link "$LINENO"; then :
27683 ac_cv_lib_ICE_IceConnectionNumber=yes
27685 ac_cv_lib_ICE_IceConnectionNumber=no
27687 rm -f core conftest.err conftest.$ac_objext \
27688 conftest$ac_exeext conftest.$ac_ext
27689 LIBS=$ac_check_lib_save_LIBS
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27692 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27693 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
27694 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27697 LDFLAGS=$ac_save_LDFLAGS
27702 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27704 #include <GL/glext.h>
27705 #include <GL/glx.h>
27706 #include <X11/Xlib.h>
27707 #include <X11/Xatom.h>
27708 #include <X11/Xutil.h>
27709 #include <X11/extensions/Xrender.h>
27710 #include <X11/Xresource.h>
27713 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
27725 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
27726 CFLAGS_save="${CFLAGS}"
27727 CFLAGS="${CFLAGS} -pthread"
27728 LIBS_save="${LIBS}"
27729 LIBS="${LIBS} -pthread"
27730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27731 /* end confdefs.h. */
27733 #include <pthread.h>
27739 pthread_create(NULL, NULL, NULL, NULL);
27745 if ac_fn_c_try_link "$LINENO"; then :
27750 rm -f core conftest.err conftest.$ac_objext \
27751 conftest$ac_exeext conftest.$ac_ext
27752 CFLAGS=${CFLAGS_save}
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
27755 $as_echo "${have_gl_pt}" >&6; }
27757 if test "x$have_gl_pt" = "xyes" ; then
27758 gl_pt_lib=" -pthread"
27761 if test "x${have_dep}" = "xyes" ; then
27762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
27763 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
27764 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
27765 $as_echo_n "(cached) " >&6
27767 ac_check_lib_save_LIBS=$LIBS
27769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 /* end confdefs.h. */
27772 /* Override any GCC internal prototype to avoid an error.
27773 Use char because int might match the return type of a GCC
27774 builtin and then its argument prototype would still apply. */
27778 char XCreateColormap ();
27782 return XCreateColormap ();
27787 if ac_fn_c_try_link "$LINENO"; then :
27788 ac_cv_lib_X11_XCreateColormap=yes
27790 ac_cv_lib_X11_XCreateColormap=no
27792 rm -f core conftest.err conftest.$ac_objext \
27793 conftest$ac_exeext conftest.$ac_ext
27794 LIBS=$ac_check_lib_save_LIBS
27796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
27797 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
27798 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
27806 if test "x${have_dep}" = "xyes" ; then
27807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
27808 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
27809 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
27810 $as_echo_n "(cached) " >&6
27812 ac_check_lib_save_LIBS=$LIBS
27813 LIBS="-lXrender $LIBS"
27814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27815 /* end confdefs.h. */
27817 /* Override any GCC internal prototype to avoid an error.
27818 Use char because int might match the return type of a GCC
27819 builtin and then its argument prototype would still apply. */
27823 char XRenderCreatePicture ();
27827 return XRenderCreatePicture ();
27832 if ac_fn_c_try_link "$LINENO"; then :
27833 ac_cv_lib_Xrender_XRenderCreatePicture=yes
27835 ac_cv_lib_Xrender_XRenderCreatePicture=no
27837 rm -f core conftest.err conftest.$ac_objext \
27838 conftest$ac_exeext conftest.$ac_ext
27839 LIBS=$ac_check_lib_save_LIBS
27841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
27842 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
27843 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
27851 if test "x${have_dep}" = "xyes" ; then
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
27853 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
27854 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
27855 $as_echo_n "(cached) " >&6
27857 ac_check_lib_save_LIBS=$LIBS
27858 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27862 /* Override any GCC internal prototype to avoid an error.
27863 Use char because int might match the return type of a GCC
27864 builtin and then its argument prototype would still apply. */
27868 char glXCreateContext ();
27872 return glXCreateContext ();
27877 if ac_fn_c_try_link "$LINENO"; then :
27878 ac_cv_lib_GL_glXCreateContext=yes
27880 ac_cv_lib_GL_glXCreateContext=no
27882 rm -f core conftest.err conftest.$ac_objext \
27883 conftest$ac_exeext conftest.$ac_ext
27884 LIBS=$ac_check_lib_save_LIBS
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27887 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27888 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
27896 if test "x$gl_flavor_gles" = "xyes" ; then
27900 if test "x${have_dep}" = "xyes" ; then
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27904 $as_echo_n "checking for GL_EET... " >&6; }
27906 if test -n "$GL_EET_CFLAGS"; then
27907 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27908 elif test -n "$PKG_CONFIG"; then
27909 if test -n "$PKG_CONFIG" && \
27910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27911 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27914 test $ac_status = 0; }; then
27915 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27916 test "x$?" != "x0" && pkg_failed=yes
27923 if test -n "$GL_EET_LIBS"; then
27924 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27925 elif test -n "$PKG_CONFIG"; then
27926 if test -n "$PKG_CONFIG" && \
27927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27928 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27931 test $ac_status = 0; }; then
27932 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27933 test "x$?" != "x0" && pkg_failed=yes
27943 if test $pkg_failed = yes; then
27944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27945 $as_echo "no" >&6; }
27947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27948 _pkg_short_errors_supported=yes
27950 _pkg_short_errors_supported=no
27952 if test $_pkg_short_errors_supported = yes; then
27953 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27955 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27957 # Put the nasty error message in config.log where it belongs
27958 echo "$GL_EET_PKG_ERRORS" >&5
27961 elif test $pkg_failed = untried; then
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27963 $as_echo "no" >&6; }
27966 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27967 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27969 $as_echo "yes" >&6; }
27972 if test "x${have_dep}" = "xyes" ; then
27973 if test "xno" = "xyes" ; then
27974 x_libs="${x_libs} -lX11 -lXext -lXrender"
27976 x_dir=${x_dir:-/usr/X11R6}
27977 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27978 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27980 evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27981 evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27982 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27985 if test "xno" = "xyes" ; then
27986 x_libs="${x_libs} -lX11 -lXext -lXrender"
27988 x_dir=${x_dir:-/usr/X11R6}
27989 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27990 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27992 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27993 #include <GLES2/gl2.h>
27994 #include <GLES2/gl2ext.h>
27995 #include <EGL/egl.h>
27996 #include <X11/Xlib.h>
27997 #include <X11/Xatom.h>
27998 #include <X11/Xutil.h>
27999 #include <X11/extensions/Xrender.h>
28000 #include <X11/Xresource.h>
28003 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
28010 if test "x${have_egl}" = "xyes" ; then
28011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
28012 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
28013 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
28014 $as_echo_n "(cached) " >&6
28016 ac_check_lib_save_LIBS=$LIBS
28017 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
28018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28019 /* end confdefs.h. */
28021 /* Override any GCC internal prototype to avoid an error.
28022 Use char because int might match the return type of a GCC
28023 builtin and then its argument prototype would still apply. */
28027 char glTexImage2D ();
28031 return glTexImage2D ();
28036 if ac_fn_c_try_link "$LINENO"; then :
28037 ac_cv_lib_GLESv2_glTexImage2D=yes
28039 ac_cv_lib_GLESv2_glTexImage2D=no
28041 rm -f core conftest.err conftest.$ac_objext \
28042 conftest$ac_exeext conftest.$ac_ext
28043 LIBS=$ac_check_lib_save_LIBS
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
28046 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
28047 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
28051 if test "x${have_glesv2}" = "xyes" ; then
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
28055 $as_echo_n "checking for GL_EET... " >&6; }
28057 if test -n "$GL_EET_CFLAGS"; then
28058 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
28059 elif test -n "$PKG_CONFIG"; then
28060 if test -n "$PKG_CONFIG" && \
28061 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28062 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28065 test $ac_status = 0; }; then
28066 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
28067 test "x$?" != "x0" && pkg_failed=yes
28074 if test -n "$GL_EET_LIBS"; then
28075 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
28076 elif test -n "$PKG_CONFIG"; then
28077 if test -n "$PKG_CONFIG" && \
28078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28079 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28082 test $ac_status = 0; }; then
28083 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
28084 test "x$?" != "x0" && pkg_failed=yes
28094 if test $pkg_failed = yes; then
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28096 $as_echo "no" >&6; }
28098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28099 _pkg_short_errors_supported=yes
28101 _pkg_short_errors_supported=no
28103 if test $_pkg_short_errors_supported = yes; then
28104 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28106 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28108 # Put the nasty error message in config.log where it belongs
28109 echo "$GL_EET_PKG_ERRORS" >&5
28112 elif test $pkg_failed = untried; then
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28114 $as_echo "no" >&6; }
28117 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
28118 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
28119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28120 $as_echo "yes" >&6; }
28123 if test "x${have_dep}" = "xyes" ; then
28124 evas_engine_gl_xlib_cflags="${x_cflags}"
28125 evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
28126 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
28129 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
28131 gles_variety_sgx="yes"
28141 if test "x${have_dep}" = "xyes" ; then
28150 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28151 as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
28154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
28155 $as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
28156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
28157 $as_echo "${have_engine}" >&6; }
28159 if test "x${have_engine}" = "xyes" ; then
28160 if test "x${want_engine}" = "xstatic" ; then
28161 have_evas_engine_gl_xlib="static"
28162 want_static_engine="yes"
28164 have_evas_engine_gl_xlib="yes"
28168 if test "x${have_engine}" = "xyes" ; then
28170 $as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
28174 if test "x${have_engine}" = "xyes"; then
28175 BUILD_ENGINE_GL_XLIB_TRUE=
28176 BUILD_ENGINE_GL_XLIB_FALSE='#'
28178 BUILD_ENGINE_GL_XLIB_TRUE='#'
28179 BUILD_ENGINE_GL_XLIB_FALSE=
28183 if test "x${want_static_engine}" = "xyes" ; then
28185 $as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
28187 have_static_module="yes"
28190 if test "x${want_static_engine}" = "xyes"; then
28191 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28192 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28194 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28195 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28203 if test "x$have_evas_engine_gl_xlib" != "xno" ; then
28204 have_evas_engine_gl_x11="yes"
28206 cat >>confdefs.h <<_ACEOF
28207 #define BUILD_ENGINE_GL_X11 1
28211 cat >>confdefs.h <<_ACEOF
28212 #define BUILD_ENGINE_GL_XLIB 1
28215 if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
28217 cat >>confdefs.h <<_ACEOF
28218 #define EVAS_STATIC_BUILD_GL_X11 1
28224 have_evas_engine_gl_xlib="no"
28228 if test "x${have_evas_engine_gl_xlib}" != "xno"; then
28229 BUILD_ENGINE_GL_XLIB_TRUE=
28230 BUILD_ENGINE_GL_XLIB_FALSE='#'
28232 BUILD_ENGINE_GL_XLIB_TRUE='#'
28233 BUILD_ENGINE_GL_XLIB_FALSE=
28236 if test "x${have_evas_engine_gl_xcb}" != "xno"; then
28237 BUILD_ENGINE_GL_XCB_TRUE=
28238 BUILD_ENGINE_GL_XCB_FALSE='#'
28240 BUILD_ENGINE_GL_XCB_TRUE='#'
28241 BUILD_ENGINE_GL_XCB_FALSE=
28244 if test "x${have_evas_engine_gl_x11}" != "xno"; then
28245 BUILD_ENGINE_GL_X11_TRUE=
28246 BUILD_ENGINE_GL_X11_FALSE='#'
28248 BUILD_ENGINE_GL_X11_TRUE='#'
28249 BUILD_ENGINE_GL_X11_FALSE=
28253 if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28254 EVAS_STATIC_BUILD_GL_X11_TRUE=
28255 EVAS_STATIC_BUILD_GL_X11_FALSE='#'
28257 EVAS_STATIC_BUILD_GL_X11_TRUE='#'
28258 EVAS_STATIC_BUILD_GL_X11_FALSE=
28261 if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28262 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28263 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28265 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28266 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28269 if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
28270 EVAS_STATIC_BUILD_GL_XCB_TRUE=
28271 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
28273 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
28274 EVAS_STATIC_BUILD_GL_XCB_FALSE=
28281 have_evas_engine_gl_common="no"
28282 have_static_evas_engine_gl_common="no"
28283 if test "x$have_evas_engine_gl_xlib" = "xyes" \
28284 || test "x$have_evas_engine_gl_xcb" = "xyes" \
28285 || test "x$have_evas_engine_gl_sdl" = "xyes" \
28286 || test "x$have_evas_engine_gl_cocoa" = "xyes" \
28287 || test "x$have_evas_engine_wayland_egl" = "xyes"; then
28288 have_evas_engine_gl_common="yes"
28290 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
28291 || test "x$have_evas_engine_gl_xcb" = "xstatic" \
28292 || test "x$have_evas_engine_gl_sdl" = "xstatic" \
28293 || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
28294 || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
28295 have_evas_engine_gl_common="yes"
28296 have_static_evas_engine_gl_common="yes"
28299 if test "x$have_evas_engine_gl_common" = "xyes"; then
28300 evas_engine_gl_common_libs=""
28302 $as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
28308 if test "x$have_evas_engine_gl_common" = "xyes"; then
28309 BUILD_ENGINE_GL_COMMON_TRUE=
28310 BUILD_ENGINE_GL_COMMON_FALSE='#'
28312 BUILD_ENGINE_GL_COMMON_TRUE='#'
28313 BUILD_ENGINE_GL_COMMON_FALSE=
28317 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28318 EVAS_STATIC_BUILD_GL_COMMON_TRUE=
28319 EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
28321 EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
28322 EVAS_STATIC_BUILD_GL_COMMON_FALSE=
28325 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28327 $as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
28332 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
28333 ac_fn_c_check_decl "$LINENO" "SDL_GL_CONTEXT_MAJOR_VERSION" "ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" "#include <SDL/SDL_video.h>
28335 if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = xyes; then :
28337 $as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
28343 if test "x$gl_flavor_gles" = "xyes"; then
28344 ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
28346 if test "x$ac_cv_have_decl_SDL_OPENGLES" = xyes; then :
28348 $as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
28354 # if software 16 x11 is enabled - build software_16 (the generic 16bit
28355 # engine). later enable it fb_16 or other "16" bit engines are enabled.
28356 have_evas_engine_software_16="no"
28357 if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
28358 have_evas_engine_software_16="yes"
28360 if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
28361 have_evas_engine_software_16="yes"
28363 if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
28364 have_evas_engine_software_16="yes"
28366 if test "x$have_evas_engine_software_16" = "xyes"; then
28367 BUILD_ENGINE_SOFTWARE_16_TRUE=
28368 BUILD_ENGINE_SOFTWARE_16_FALSE='#'
28370 BUILD_ENGINE_SOFTWARE_16_TRUE='#'
28371 BUILD_ENGINE_SOFTWARE_16_FALSE=
28375 # if software 16 need to be build as part of libevas.so
28376 have_static_software_16="no"
28377 # Check whether --enable-static-software-16 was given.
28378 if test "${enable_static_software_16+set}" = set; then :
28379 enableval=$enable_static_software_16; have_static_software_16=${enableval}
28383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
28384 $as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
28385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
28386 $as_echo "${have_static_software_16}" >&6; }
28388 if test "x${have_static_software_16}" = "xyes"; then
28389 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
28390 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
28392 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
28393 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
28396 if test "x${have_static_software_16}" = "xyes"; then
28398 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
28402 # if software 8 x11 is enabled - build software_8 (the generic 8bit
28404 have_evas_engine_software_8="no"
28405 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
28406 have_evas_engine_software_8="yes"
28408 if test "x$have_evas_engine_software_8" = "xyes"; then
28409 BUILD_ENGINE_SOFTWARE_8_TRUE=
28410 BUILD_ENGINE_SOFTWARE_8_FALSE='#'
28412 BUILD_ENGINE_SOFTWARE_8_TRUE='#'
28413 BUILD_ENGINE_SOFTWARE_8_FALSE=
28417 # if software 8 need to be build as part of libevas.so
28418 have_static_software_8="no"
28419 # Check whether --enable-static-software-8 was given.
28420 if test "${enable_static_software_8+set}" = set; then :
28421 enableval=$enable_static_software_8; have_static_software_8=${enableval}
28425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
28426 $as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
28428 $as_echo "${have_static_software_8}" >&6; }
28430 if test "x${have_static_software_8}" = "xyes"; then
28431 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
28432 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
28434 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
28435 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
28438 if test "x${have_static_software_8}" = "xyes"; then
28440 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
28444 #####################################################################
28452 want_loader="${want_evas_image_loader_edb}"
28453 want_static_loader="no"
28455 have_evas_image_loader_edb="no"
28457 # Check whether --enable-image-loader-edb was given.
28458 if test "${enable_image_loader_edb+set}" = set; then :
28459 enableval=$enable_image_loader_edb;
28460 if test "x${enableval}" = "xyes" ; then
28463 if test "x${enableval}" = "xstatic" ; then
28464 want_loader="static"
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
28475 $as_echo_n "checking whether to enable Edb image loader... " >&6; }
28476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28477 $as_echo "${want_loader}" >&6; }
28479 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28484 evas_image_loader_edb_cflags=""
28485 evas_image_loader_edb_libs=""
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
28490 $as_echo_n "checking for EDB... " >&6; }
28492 if test -n "$EDB_CFLAGS"; then
28493 pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
28494 elif test -n "$PKG_CONFIG"; then
28495 if test -n "$PKG_CONFIG" && \
28496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28497 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28500 test $ac_status = 0; }; then
28501 pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
28502 test "x$?" != "x0" && pkg_failed=yes
28509 if test -n "$EDB_LIBS"; then
28510 pkg_cv_EDB_LIBS="$EDB_LIBS"
28511 elif test -n "$PKG_CONFIG"; then
28512 if test -n "$PKG_CONFIG" && \
28513 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28514 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28517 test $ac_status = 0; }; then
28518 pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
28519 test "x$?" != "x0" && pkg_failed=yes
28529 if test $pkg_failed = yes; then
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28531 $as_echo "no" >&6; }
28533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28534 _pkg_short_errors_supported=yes
28536 _pkg_short_errors_supported=no
28538 if test $_pkg_short_errors_supported = yes; then
28539 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edb" 2>&1`
28541 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edb" 2>&1`
28543 # Put the nasty error message in config.log where it belongs
28544 echo "$EDB_PKG_ERRORS" >&5
28547 elif test $pkg_failed = untried; then
28548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28549 $as_echo "no" >&6; }
28552 EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
28553 EDB_LIBS=$pkg_cv_EDB_LIBS
28554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28555 $as_echo "yes" >&6; }
28556 have_dep="yes" requirement="edb"
28558 evas_image_loader_edb_cflags="${EDB_CFLAGS}"
28559 evas_image_loader_edb_libs="${EDB_LIBS}"
28564 if test "x${want_loader}" = "xstatic" ; then
28565 requirement_evas="${requirement} ${requirement_evas}"
28568 if test "x${have_dep}" = "xyes" ; then
28577 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28578 as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
28582 $as_echo_n "checking whether Edb image loader will be built... " >&6; }
28583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28584 $as_echo "${have_loader}" >&6; }
28586 if test "x${have_loader}" = "xyes" ; then
28587 if test "x${want_loader}" = "xstatic" ; then
28588 have_evas_image_loader_edb="static"
28589 want_static_loader="yes"
28591 have_evas_image_loader_edb="yes"
28595 if test "x${have_loader}" = "xyes" ; then
28597 $as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
28601 if test "x${have_loader}" = "xyes"; then
28602 BUILD_LOADER_EDB_TRUE=
28603 BUILD_LOADER_EDB_FALSE='#'
28605 BUILD_LOADER_EDB_TRUE='#'
28606 BUILD_LOADER_EDB_FALSE=
28610 if test "x${want_static_loader}" = "xyes" ; then
28612 $as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
28614 have_static_module="yes"
28617 if test "x${want_static_loader}" = "xyes"; then
28618 EVAS_STATIC_BUILD_EDB_TRUE=
28619 EVAS_STATIC_BUILD_EDB_FALSE='#'
28621 EVAS_STATIC_BUILD_EDB_TRUE='#'
28622 EVAS_STATIC_BUILD_EDB_FALSE=
28636 want_loader="${want_evas_image_loader_eet}"
28637 want_static_loader="no"
28639 have_evas_image_loader_eet="no"
28641 # Check whether --enable-image-loader-eet was given.
28642 if test "${enable_image_loader_eet+set}" = set; then :
28643 enableval=$enable_image_loader_eet;
28644 if test "x${enableval}" = "xyes" ; then
28647 if test "x${enableval}" = "xstatic" ; then
28648 want_loader="static"
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
28659 $as_echo_n "checking whether to enable Eet image loader... " >&6; }
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28661 $as_echo "${want_loader}" >&6; }
28663 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28668 evas_image_loader_eet_cflags=""
28669 evas_image_loader_eet_libs=""
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28674 $as_echo_n "checking for EET... " >&6; }
28676 if test -n "$EET_CFLAGS"; then
28677 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28678 elif test -n "$PKG_CONFIG"; then
28679 if test -n "$PKG_CONFIG" && \
28680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28681 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28684 test $ac_status = 0; }; then
28685 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28686 test "x$?" != "x0" && pkg_failed=yes
28693 if test -n "$EET_LIBS"; then
28694 pkg_cv_EET_LIBS="$EET_LIBS"
28695 elif test -n "$PKG_CONFIG"; then
28696 if test -n "$PKG_CONFIG" && \
28697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28698 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28701 test $ac_status = 0; }; then
28702 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28703 test "x$?" != "x0" && pkg_failed=yes
28713 if test $pkg_failed = yes; then
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28715 $as_echo "no" >&6; }
28717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28718 _pkg_short_errors_supported=yes
28720 _pkg_short_errors_supported=no
28722 if test $_pkg_short_errors_supported = yes; then
28723 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28725 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28727 # Put the nasty error message in config.log where it belongs
28728 echo "$EET_PKG_ERRORS" >&5
28731 elif test $pkg_failed = untried; then
28732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28733 $as_echo "no" >&6; }
28736 EET_CFLAGS=$pkg_cv_EET_CFLAGS
28737 EET_LIBS=$pkg_cv_EET_LIBS
28738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28739 $as_echo "yes" >&6; }
28740 have_dep="yes" requirement="eet >= 1.4.0"
28742 evas_image_loader_eet_cflags="${EET_CFLAGS}"
28743 evas_image_loader_eet_libs="${EET_LIBS}"
28748 if test "x${want_loader}" = "xstatic" ; then
28749 requirement_evas="${requirement} ${requirement_evas}"
28752 if test "x${have_dep}" = "xyes" ; then
28761 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28762 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
28766 $as_echo_n "checking whether Eet image loader will be built... " >&6; }
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28768 $as_echo "${have_loader}" >&6; }
28770 if test "x${have_loader}" = "xyes" ; then
28771 if test "x${want_loader}" = "xstatic" ; then
28772 have_evas_image_loader_eet="static"
28773 want_static_loader="yes"
28775 have_evas_image_loader_eet="yes"
28779 if test "x${have_loader}" = "xyes" ; then
28781 $as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
28785 if test "x${have_loader}" = "xyes"; then
28786 BUILD_LOADER_EET_TRUE=
28787 BUILD_LOADER_EET_FALSE='#'
28789 BUILD_LOADER_EET_TRUE='#'
28790 BUILD_LOADER_EET_FALSE=
28794 if test "x${want_static_loader}" = "xyes" ; then
28796 $as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
28798 have_static_module="yes"
28801 if test "x${want_static_loader}" = "xyes"; then
28802 EVAS_STATIC_BUILD_EET_TRUE=
28803 EVAS_STATIC_BUILD_EET_FALSE='#'
28805 EVAS_STATIC_BUILD_EET_TRUE='#'
28806 EVAS_STATIC_BUILD_EET_FALSE=
28817 want_loader="${want_evas_font_loader_eet}"
28818 have_evas_font_loader_eet="no"
28820 # Check whether --enable-font-loader-eet was given.
28821 if test "${enable_font_loader_eet+set}" = set; then :
28822 enableval=$enable_font_loader_eet; want_loader=${enableval}
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
28828 $as_echo_n "checking whether to enable Eet font loader... " >&6; }
28829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28830 $as_echo "${want_loader}" >&6; }
28832 if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28836 $as_echo_n "checking for EET... " >&6; }
28838 if test -n "$EET_CFLAGS"; then
28839 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28840 elif test -n "$PKG_CONFIG"; then
28841 if test -n "$PKG_CONFIG" && \
28842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28843 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28846 test $ac_status = 0; }; then
28847 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28848 test "x$?" != "x0" && pkg_failed=yes
28855 if test -n "$EET_LIBS"; then
28856 pkg_cv_EET_LIBS="$EET_LIBS"
28857 elif test -n "$PKG_CONFIG"; then
28858 if test -n "$PKG_CONFIG" && \
28859 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28860 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28863 test $ac_status = 0; }; then
28864 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28865 test "x$?" != "x0" && pkg_failed=yes
28875 if test $pkg_failed = yes; then
28876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28877 $as_echo "no" >&6; }
28879 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28880 _pkg_short_errors_supported=yes
28882 _pkg_short_errors_supported=no
28884 if test $_pkg_short_errors_supported = yes; then
28885 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28887 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28889 # Put the nasty error message in config.log where it belongs
28890 echo "$EET_PKG_ERRORS" >&5
28892 have_evas_font_loader_eet="no"
28893 elif test $pkg_failed = untried; then
28894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28895 $as_echo "no" >&6; }
28896 have_evas_font_loader_eet="no"
28898 EET_CFLAGS=$pkg_cv_EET_CFLAGS
28899 EET_LIBS=$pkg_cv_EET_LIBS
28900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28901 $as_echo "yes" >&6; }
28902 have_evas_font_loader_eet="yes"
28906 if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28907 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28910 if test "x$have_evas_font_loader_eet" = "xyes" ; then
28912 $as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28914 requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28927 want_loader="${want_evas_image_loader_gif}"
28928 want_static_loader="no"
28930 have_evas_image_loader_gif="no"
28932 # Check whether --enable-image-loader-gif was given.
28933 if test "${enable_image_loader_gif+set}" = set; then :
28934 enableval=$enable_image_loader_gif;
28935 if test "x${enableval}" = "xyes" ; then
28938 if test "x${enableval}" = "xstatic" ; then
28939 want_loader="static"
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28950 $as_echo_n "checking whether to enable Gif image loader... " >&6; }
28951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28952 $as_echo "${want_loader}" >&6; }
28954 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28958 evas_image_loader_gif_cflags=""
28959 evas_image_loader_gif_libs=""
28961 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28962 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
28968 if test "x${have_dep}" = "xyes" ; then
28969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28970 $as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28971 if ${ac_cv_lib_gif_DGifOpenFileName+:} false; then :
28972 $as_echo_n "(cached) " >&6
28974 ac_check_lib_save_LIBS=$LIBS
28976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28977 /* end confdefs.h. */
28979 /* Override any GCC internal prototype to avoid an error.
28980 Use char because int might match the return type of a GCC
28981 builtin and then its argument prototype would still apply. */
28985 char DGifOpenFileName ();
28989 return DGifOpenFileName ();
28994 if ac_fn_c_try_link "$LINENO"; then :
28995 ac_cv_lib_gif_DGifOpenFileName=yes
28997 ac_cv_lib_gif_DGifOpenFileName=no
28999 rm -f core conftest.err conftest.$ac_objext \
29000 conftest$ac_exeext conftest.$ac_ext
29001 LIBS=$ac_check_lib_save_LIBS
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
29004 $as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
29005 if test "x$ac_cv_lib_gif_DGifOpenFileName" = xyes; then :
29007 evas_image_loader_gif_libs="-lgif"
29015 if test "x${have_dep}" = "xno" ; then
29016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
29017 $as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
29018 if ${ac_cv_lib_ungif_DGifOpenFileName+:} false; then :
29019 $as_echo_n "(cached) " >&6
29021 ac_check_lib_save_LIBS=$LIBS
29022 LIBS="-lungif $LIBS"
29023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29024 /* end confdefs.h. */
29026 /* Override any GCC internal prototype to avoid an error.
29027 Use char because int might match the return type of a GCC
29028 builtin and then its argument prototype would still apply. */
29032 char DGifOpenFileName ();
29036 return DGifOpenFileName ();
29041 if ac_fn_c_try_link "$LINENO"; then :
29042 ac_cv_lib_ungif_DGifOpenFileName=yes
29044 ac_cv_lib_ungif_DGifOpenFileName=no
29046 rm -f core conftest.err conftest.$ac_objext \
29047 conftest$ac_exeext conftest.$ac_ext
29048 LIBS=$ac_check_lib_save_LIBS
29050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
29051 $as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
29052 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = xyes; then :
29055 evas_image_loader_gif_libs="-lungif"
29066 if test "x${have_dep}" = "xyes" ; then
29075 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29076 as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
29079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
29080 $as_echo_n "checking whether Gif image loader will be built... " >&6; }
29081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29082 $as_echo "${have_loader}" >&6; }
29084 if test "x${have_loader}" = "xyes" ; then
29085 if test "x${want_loader}" = "xstatic" ; then
29086 have_evas_image_loader_gif="static"
29087 want_static_loader="yes"
29089 have_evas_image_loader_gif="yes"
29093 if test "x${have_loader}" = "xyes" ; then
29095 $as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
29099 if test "x${have_loader}" = "xyes"; then
29100 BUILD_LOADER_GIF_TRUE=
29101 BUILD_LOADER_GIF_FALSE='#'
29103 BUILD_LOADER_GIF_TRUE='#'
29104 BUILD_LOADER_GIF_FALSE=
29108 if test "x${want_static_loader}" = "xyes" ; then
29110 $as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
29112 have_static_module="yes"
29115 if test "x${want_static_loader}" = "xyes"; then
29116 EVAS_STATIC_BUILD_GIF_TRUE=
29117 EVAS_STATIC_BUILD_GIF_FALSE='#'
29119 EVAS_STATIC_BUILD_GIF_TRUE='#'
29120 EVAS_STATIC_BUILD_GIF_FALSE=
29129 have_evas_image_saver_jpeg="no"
29135 want_loader="${want_evas_image_loader_jpeg}"
29136 want_static_loader="no"
29138 have_evas_image_loader_jpeg="no"
29140 # Check whether --enable-image-loader-jpeg was given.
29141 if test "${enable_image_loader_jpeg+set}" = set; then :
29142 enableval=$enable_image_loader_jpeg;
29143 if test "x${enableval}" = "xyes" ; then
29146 if test "x${enableval}" = "xstatic" ; then
29147 want_loader="static"
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
29158 $as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29160 $as_echo "${want_loader}" >&6; }
29162 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29166 evas_image_loader_jpeg_cflags=""
29167 evas_image_loader_jpeg_libs=""
29169 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
29170 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
29176 if test "x${have_dep}" = "xyes" ; then
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
29178 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
29179 if ${ac_cv_lib_jpeg_jpeg_CreateDecompress+:} false; then :
29180 $as_echo_n "(cached) " >&6
29182 ac_check_lib_save_LIBS=$LIBS
29183 LIBS="-ljpeg $LIBS"
29184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29185 /* end confdefs.h. */
29187 /* Override any GCC internal prototype to avoid an error.
29188 Use char because int might match the return type of a GCC
29189 builtin and then its argument prototype would still apply. */
29193 char jpeg_CreateDecompress ();
29197 return jpeg_CreateDecompress ();
29202 if ac_fn_c_try_link "$LINENO"; then :
29203 ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
29205 ac_cv_lib_jpeg_jpeg_CreateDecompress=no
29207 rm -f core conftest.err conftest.$ac_objext \
29208 conftest$ac_exeext conftest.$ac_ext
29209 LIBS=$ac_check_lib_save_LIBS
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
29212 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
29213 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = xyes; then :
29215 evas_image_loader_jpeg_libs="-ljpeg"
29216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29217 /* end confdefs.h. */
29220 #include <jpeglib.h>
29221 #include <setjmp.h>
29227 struct jpeg_decompress_struct decomp;
29228 decomp.region_x = 0;
29234 if ac_fn_c_try_compile "$LINENO"; then :
29235 have_jpeg_region="yes"
29237 have_jpeg_region="no"
29239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29246 if test "x${have_jpeg_region}" = "xyes" ; then
29248 $as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
29256 if test "x${have_dep}" = "xyes" ; then
29265 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29266 as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
29270 $as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29272 $as_echo "${have_loader}" >&6; }
29274 if test "x${have_loader}" = "xyes" ; then
29275 if test "x${want_loader}" = "xstatic" ; then
29276 have_evas_image_loader_jpeg="static"
29277 want_static_loader="yes"
29279 have_evas_image_loader_jpeg="yes"
29283 if test "x${have_loader}" = "xyes" ; then
29285 $as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
29289 if test "x${have_loader}" = "xyes"; then
29290 BUILD_LOADER_JPEG_TRUE=
29291 BUILD_LOADER_JPEG_FALSE='#'
29293 BUILD_LOADER_JPEG_TRUE='#'
29294 BUILD_LOADER_JPEG_FALSE=
29298 if test "x${want_static_loader}" = "xyes" ; then
29300 $as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
29302 have_static_module="yes"
29305 if test "x${want_static_loader}" = "xyes"; then
29306 EVAS_STATIC_BUILD_JPEG_TRUE=
29307 EVAS_STATIC_BUILD_JPEG_FALSE='#'
29309 EVAS_STATIC_BUILD_JPEG_TRUE='#'
29310 EVAS_STATIC_BUILD_JPEG_FALSE=
29323 if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
29325 $as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
29327 have_evas_image_saver_jpeg="yes"
29331 if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
29332 BUILD_SAVER_JPEG_TRUE=
29333 BUILD_SAVER_JPEG_FALSE='#'
29335 BUILD_SAVER_JPEG_TRUE='#'
29336 BUILD_SAVER_JPEG_FALSE=
29345 want_loader="${want_evas_image_loader_pmaps}"
29346 want_static_loader="no"
29348 have_evas_image_loader_pmaps="no"
29350 # Check whether --enable-image-loader-pmaps was given.
29351 if test "${enable_image_loader_pmaps+set}" = set; then :
29352 enableval=$enable_image_loader_pmaps;
29353 if test "x${enableval}" = "xyes" ; then
29356 if test "x${enableval}" = "xstatic" ; then
29357 want_loader="static"
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
29368 $as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
29369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29370 $as_echo "${want_loader}" >&6; }
29372 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29376 evas_image_loader_pmaps_cflags=""
29377 evas_image_loader_pmaps_libs=""
29382 if test "x${have_dep}" = "xyes" ; then
29391 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29392 as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
29396 $as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
29397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29398 $as_echo "${have_loader}" >&6; }
29400 if test "x${have_loader}" = "xyes" ; then
29401 if test "x${want_loader}" = "xstatic" ; then
29402 have_evas_image_loader_pmaps="static"
29403 want_static_loader="yes"
29405 have_evas_image_loader_pmaps="yes"
29409 if test "x${have_loader}" = "xyes" ; then
29411 $as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
29415 if test "x${have_loader}" = "xyes"; then
29416 BUILD_LOADER_PMAPS_TRUE=
29417 BUILD_LOADER_PMAPS_FALSE='#'
29419 BUILD_LOADER_PMAPS_TRUE='#'
29420 BUILD_LOADER_PMAPS_FALSE=
29424 if test "x${want_static_loader}" = "xyes" ; then
29426 $as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
29428 have_static_module="yes"
29431 if test "x${want_static_loader}" = "xyes"; then
29432 EVAS_STATIC_BUILD_PMAPS_TRUE=
29433 EVAS_STATIC_BUILD_PMAPS_FALSE='#'
29435 EVAS_STATIC_BUILD_PMAPS_TRUE='#'
29436 EVAS_STATIC_BUILD_PMAPS_FALSE=
29450 want_loader="${want_evas_image_loader_png}"
29451 want_static_loader="no"
29453 have_evas_image_loader_png="no"
29455 # Check whether --enable-image-loader-png was given.
29456 if test "${enable_image_loader_png+set}" = set; then :
29457 enableval=$enable_image_loader_png;
29458 if test "x${enableval}" = "xyes" ; then
29461 if test "x${enableval}" = "xstatic" ; then
29462 want_loader="static"
29472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
29473 $as_echo_n "checking whether to enable PNG image loader... " >&6; }
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29475 $as_echo "${want_loader}" >&6; }
29477 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29482 evas_image_loader_png_cflags=""
29483 evas_image_loader_png_libs=""
29487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29488 $as_echo_n "checking for PNG... " >&6; }
29490 if test -n "$PNG_CFLAGS"; then
29491 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29492 elif test -n "$PKG_CONFIG"; then
29493 if test -n "$PKG_CONFIG" && \
29494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29495 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29498 test $ac_status = 0; }; then
29499 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
29500 test "x$?" != "x0" && pkg_failed=yes
29507 if test -n "$PNG_LIBS"; then
29508 pkg_cv_PNG_LIBS="$PNG_LIBS"
29509 elif test -n "$PKG_CONFIG"; then
29510 if test -n "$PKG_CONFIG" && \
29511 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29512 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29515 test $ac_status = 0; }; then
29516 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
29517 test "x$?" != "x0" && pkg_failed=yes
29527 if test $pkg_failed = yes; then
29528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29529 $as_echo "no" >&6; }
29531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29532 _pkg_short_errors_supported=yes
29534 _pkg_short_errors_supported=no
29536 if test $_pkg_short_errors_supported = yes; then
29537 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29539 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29541 # Put the nasty error message in config.log where it belongs
29542 echo "$PNG_PKG_ERRORS" >&5
29545 elif test $pkg_failed = untried; then
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29547 $as_echo "no" >&6; }
29550 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29551 PNG_LIBS=$pkg_cv_PNG_LIBS
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29553 $as_echo "yes" >&6; }
29554 have_dep="yes" requirement="libpng"
29557 if test "x${have_dep}" = "xno" ; then
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29561 $as_echo_n "checking for PNG... " >&6; }
29563 if test -n "$PNG_CFLAGS"; then
29564 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29565 elif test -n "$PKG_CONFIG"; then
29566 if test -n "$PKG_CONFIG" && \
29567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29568 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29571 test $ac_status = 0; }; then
29572 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
29573 test "x$?" != "x0" && pkg_failed=yes
29580 if test -n "$PNG_LIBS"; then
29581 pkg_cv_PNG_LIBS="$PNG_LIBS"
29582 elif test -n "$PKG_CONFIG"; then
29583 if test -n "$PKG_CONFIG" && \
29584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29585 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29588 test $ac_status = 0; }; then
29589 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
29590 test "x$?" != "x0" && pkg_failed=yes
29600 if test $pkg_failed = yes; then
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29602 $as_echo "no" >&6; }
29604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29605 _pkg_short_errors_supported=yes
29607 _pkg_short_errors_supported=no
29609 if test $_pkg_short_errors_supported = yes; then
29610 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng15" 2>&1`
29612 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng15" 2>&1`
29614 # Put the nasty error message in config.log where it belongs
29615 echo "$PNG_PKG_ERRORS" >&5
29618 elif test $pkg_failed = untried; then
29619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29620 $as_echo "no" >&6; }
29623 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29624 PNG_LIBS=$pkg_cv_PNG_LIBS
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29626 $as_echo "yes" >&6; }
29627 have_dep="yes" requirement="libpng15"
29631 if test "x${have_dep}" = "xno" ; then
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29635 $as_echo_n "checking for PNG... " >&6; }
29637 if test -n "$PNG_CFLAGS"; then
29638 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29639 elif test -n "$PKG_CONFIG"; then
29640 if test -n "$PKG_CONFIG" && \
29641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29642 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29645 test $ac_status = 0; }; then
29646 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
29647 test "x$?" != "x0" && pkg_failed=yes
29654 if test -n "$PNG_LIBS"; then
29655 pkg_cv_PNG_LIBS="$PNG_LIBS"
29656 elif test -n "$PKG_CONFIG"; then
29657 if test -n "$PKG_CONFIG" && \
29658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29659 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29662 test $ac_status = 0; }; then
29663 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
29664 test "x$?" != "x0" && pkg_failed=yes
29674 if test $pkg_failed = yes; then
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29676 $as_echo "no" >&6; }
29678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29679 _pkg_short_errors_supported=yes
29681 _pkg_short_errors_supported=no
29683 if test $_pkg_short_errors_supported = yes; then
29684 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng14" 2>&1`
29686 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng14" 2>&1`
29688 # Put the nasty error message in config.log where it belongs
29689 echo "$PNG_PKG_ERRORS" >&5
29692 elif test $pkg_failed = untried; then
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29694 $as_echo "no" >&6; }
29697 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29698 PNG_LIBS=$pkg_cv_PNG_LIBS
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29700 $as_echo "yes" >&6; }
29701 have_dep="yes" requirement="libpng14"
29705 if test "x${have_dep}" = "xno" ; then
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29709 $as_echo_n "checking for PNG... " >&6; }
29711 if test -n "$PNG_CFLAGS"; then
29712 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29713 elif test -n "$PKG_CONFIG"; then
29714 if test -n "$PKG_CONFIG" && \
29715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29716 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29719 test $ac_status = 0; }; then
29720 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
29721 test "x$?" != "x0" && pkg_failed=yes
29728 if test -n "$PNG_LIBS"; then
29729 pkg_cv_PNG_LIBS="$PNG_LIBS"
29730 elif test -n "$PKG_CONFIG"; then
29731 if test -n "$PKG_CONFIG" && \
29732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29733 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29736 test $ac_status = 0; }; then
29737 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
29738 test "x$?" != "x0" && pkg_failed=yes
29748 if test $pkg_failed = yes; then
29749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29750 $as_echo "no" >&6; }
29752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29753 _pkg_short_errors_supported=yes
29755 _pkg_short_errors_supported=no
29757 if test $_pkg_short_errors_supported = yes; then
29758 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29760 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29762 # Put the nasty error message in config.log where it belongs
29763 echo "$PNG_PKG_ERRORS" >&5
29766 elif test $pkg_failed = untried; then
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29768 $as_echo "no" >&6; }
29771 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29772 PNG_LIBS=$pkg_cv_PNG_LIBS
29773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29774 $as_echo "yes" >&6; }
29775 have_dep="yes" requirement="libpng12"
29779 evas_image_loader_png_cflags="${PNG_CFLAGS}"
29780 evas_image_loader_png_libs="${PNG_LIBS}"
29785 if test "x${want_loader}" = "xstatic" ; then
29786 requirement_evas="${requirement} ${requirement_evas}"
29789 if test "x${have_dep}" = "xyes" ; then
29798 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29799 as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
29802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
29803 $as_echo_n "checking whether PNG image loader will be built... " >&6; }
29804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29805 $as_echo "${have_loader}" >&6; }
29807 if test "x${have_loader}" = "xyes" ; then
29808 if test "x${want_loader}" = "xstatic" ; then
29809 have_evas_image_loader_png="static"
29810 want_static_loader="yes"
29812 have_evas_image_loader_png="yes"
29816 if test "x${have_loader}" = "xyes" ; then
29818 $as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
29822 if test "x${have_loader}" = "xyes"; then
29823 BUILD_LOADER_PNG_TRUE=
29824 BUILD_LOADER_PNG_FALSE='#'
29826 BUILD_LOADER_PNG_TRUE='#'
29827 BUILD_LOADER_PNG_FALSE=
29831 if test "x${want_static_loader}" = "xyes" ; then
29833 $as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
29835 have_static_module="yes"
29838 if test "x${want_static_loader}" = "xyes"; then
29839 EVAS_STATIC_BUILD_PNG_TRUE=
29840 EVAS_STATIC_BUILD_PNG_FALSE='#'
29842 EVAS_STATIC_BUILD_PNG_TRUE='#'
29843 EVAS_STATIC_BUILD_PNG_FALSE=
29857 want_loader="${want_evas_image_loader_svg}"
29858 want_static_loader="no"
29860 have_evas_image_loader_svg="no"
29862 # Check whether --enable-image-loader-svg was given.
29863 if test "${enable_image_loader_svg+set}" = set; then :
29864 enableval=$enable_image_loader_svg;
29865 if test "x${enableval}" = "xyes" ; then
29868 if test "x${enableval}" = "xstatic" ; then
29869 want_loader="static"
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29880 $as_echo_n "checking whether to enable SVG image loader... " >&6; }
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29882 $as_echo "${want_loader}" >&6; }
29884 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29889 evas_image_loader_svg_cflags=""
29890 evas_image_loader_svg_libs=""
29894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29895 $as_echo_n "checking for SVG... " >&6; }
29897 if test -n "$SVG_CFLAGS"; then
29898 pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29899 elif test -n "$PKG_CONFIG"; then
29900 if test -n "$PKG_CONFIG" && \
29901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29902 ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29905 test $ac_status = 0; }; then
29906 pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "esvg >= 0.0.16" 2>/dev/null`
29907 test "x$?" != "x0" && pkg_failed=yes
29914 if test -n "$SVG_LIBS"; then
29915 pkg_cv_SVG_LIBS="$SVG_LIBS"
29916 elif test -n "$PKG_CONFIG"; then
29917 if test -n "$PKG_CONFIG" && \
29918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29919 ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29922 test $ac_status = 0; }; then
29923 pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "esvg >= 0.0.16" 2>/dev/null`
29924 test "x$?" != "x0" && pkg_failed=yes
29934 if test $pkg_failed = yes; then
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29936 $as_echo "no" >&6; }
29938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29939 _pkg_short_errors_supported=yes
29941 _pkg_short_errors_supported=no
29943 if test $_pkg_short_errors_supported = yes; then
29944 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29946 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29948 # Put the nasty error message in config.log where it belongs
29949 echo "$SVG_PKG_ERRORS" >&5
29952 elif test $pkg_failed = untried; then
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29954 $as_echo "no" >&6; }
29957 SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29958 SVG_LIBS=$pkg_cv_SVG_LIBS
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29960 $as_echo "yes" >&6; }
29961 have_dep="yes" have_esvg="yes" requirement="esvg"
29964 if test "x${have_dep}" = "xyes" ; then
29965 evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29966 evas_image_loader_svg_libs="${SVG_LIBS}"
29972 if test "x${want_loader}" = "xstatic" ; then
29973 requirement_evas="${requirement} ${requirement_evas}"
29976 if test "x${have_dep}" = "xyes" ; then
29985 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29986 as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29990 $as_echo_n "checking whether SVG image loader will be built... " >&6; }
29991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29992 $as_echo "${have_loader}" >&6; }
29994 if test "x${have_loader}" = "xyes" ; then
29995 if test "x${want_loader}" = "xstatic" ; then
29996 have_evas_image_loader_svg="static"
29997 want_static_loader="yes"
29999 have_evas_image_loader_svg="yes"
30003 if test "x${have_loader}" = "xyes" ; then
30005 $as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
30009 if test "x${have_loader}" = "xyes"; then
30010 BUILD_LOADER_SVG_TRUE=
30011 BUILD_LOADER_SVG_FALSE='#'
30013 BUILD_LOADER_SVG_TRUE='#'
30014 BUILD_LOADER_SVG_FALSE=
30018 if test "x${want_static_loader}" = "xyes" ; then
30020 $as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
30022 have_static_module="yes"
30025 if test "x${want_static_loader}" = "xyes"; then
30026 EVAS_STATIC_BUILD_SVG_TRUE=
30027 EVAS_STATIC_BUILD_SVG_FALSE='#'
30029 EVAS_STATIC_BUILD_SVG_TRUE='#'
30030 EVAS_STATIC_BUILD_SVG_FALSE=
30044 want_loader="${want_evas_image_loader_tiff}"
30045 want_static_loader="no"
30047 have_evas_image_loader_tiff="no"
30049 # Check whether --enable-image-loader-tiff was given.
30050 if test "${enable_image_loader_tiff+set}" = set; then :
30051 enableval=$enable_image_loader_tiff;
30052 if test "x${enableval}" = "xyes" ; then
30055 if test "x${enableval}" = "xstatic" ; then
30056 want_loader="static"
30066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
30067 $as_echo_n "checking whether to enable Tiff image loader... " >&6; }
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30069 $as_echo "${want_loader}" >&6; }
30071 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30075 evas_image_loader_tiff_cflags=""
30076 evas_image_loader_tiff_libs=""
30078 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
30079 if test "x$ac_cv_header_tiffio_h" = xyes; then :
30085 if test "x${have_dep}" = "xyes" ; then
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30087 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30088 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30089 $as_echo_n "(cached) " >&6
30091 ac_check_lib_save_LIBS=$LIBS
30092 LIBS="-ltiff $LIBS"
30093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30094 /* end confdefs.h. */
30096 /* Override any GCC internal prototype to avoid an error.
30097 Use char because int might match the return type of a GCC
30098 builtin and then its argument prototype would still apply. */
30102 char TIFFReadScanline ();
30106 return TIFFReadScanline ();
30111 if ac_fn_c_try_link "$LINENO"; then :
30112 ac_cv_lib_tiff_TIFFReadScanline=yes
30114 ac_cv_lib_tiff_TIFFReadScanline=no
30116 rm -f core conftest.err conftest.$ac_objext \
30117 conftest$ac_exeext conftest.$ac_ext
30118 LIBS=$ac_check_lib_save_LIBS
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30121 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30122 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30124 evas_image_loader_tiff_libs="-ltiff"
30132 if test "x${have_dep}" = "xno" ; then
30133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30134 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30135 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30136 $as_echo_n "(cached) " >&6
30138 ac_check_lib_save_LIBS=$LIBS
30139 LIBS="-ltiff $LIBS"
30140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30141 /* end confdefs.h. */
30143 /* Override any GCC internal prototype to avoid an error.
30144 Use char because int might match the return type of a GCC
30145 builtin and then its argument prototype would still apply. */
30149 char TIFFReadScanline ();
30153 return TIFFReadScanline ();
30158 if ac_fn_c_try_link "$LINENO"; then :
30159 ac_cv_lib_tiff_TIFFReadScanline=yes
30161 ac_cv_lib_tiff_TIFFReadScanline=no
30163 rm -f core conftest.err conftest.$ac_objext \
30164 conftest$ac_exeext conftest.$ac_ext
30165 LIBS=$ac_check_lib_save_LIBS
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30168 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30169 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30172 evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
30179 if test "x${have_dep}" = "xno" ; then
30180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
30181 $as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
30182 if ${ac_cv_lib_tiff34_TIFFReadScanline+:} false; then :
30183 $as_echo_n "(cached) " >&6
30185 ac_check_lib_save_LIBS=$LIBS
30186 LIBS="-ltiff34 $LIBS"
30187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 /* end confdefs.h. */
30190 /* Override any GCC internal prototype to avoid an error.
30191 Use char because int might match the return type of a GCC
30192 builtin and then its argument prototype would still apply. */
30196 char TIFFReadScanline ();
30200 return TIFFReadScanline ();
30205 if ac_fn_c_try_link "$LINENO"; then :
30206 ac_cv_lib_tiff34_TIFFReadScanline=yes
30208 ac_cv_lib_tiff34_TIFFReadScanline=no
30210 rm -f core conftest.err conftest.$ac_objext \
30211 conftest$ac_exeext conftest.$ac_ext
30212 LIBS=$ac_check_lib_save_LIBS
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
30215 $as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
30216 if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = xyes; then :
30219 evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
30230 if test "x${have_dep}" = "xyes" ; then
30239 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30240 as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
30243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
30244 $as_echo_n "checking whether Tiff image loader will be built... " >&6; }
30245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30246 $as_echo "${have_loader}" >&6; }
30248 if test "x${have_loader}" = "xyes" ; then
30249 if test "x${want_loader}" = "xstatic" ; then
30250 have_evas_image_loader_tiff="static"
30251 want_static_loader="yes"
30253 have_evas_image_loader_tiff="yes"
30257 if test "x${have_loader}" = "xyes" ; then
30259 $as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
30263 if test "x${have_loader}" = "xyes"; then
30264 BUILD_LOADER_TIFF_TRUE=
30265 BUILD_LOADER_TIFF_FALSE='#'
30267 BUILD_LOADER_TIFF_TRUE='#'
30268 BUILD_LOADER_TIFF_FALSE=
30272 if test "x${want_static_loader}" = "xyes" ; then
30274 $as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
30276 have_static_module="yes"
30279 if test "x${want_static_loader}" = "xyes"; then
30280 EVAS_STATIC_BUILD_TIFF_TRUE=
30281 EVAS_STATIC_BUILD_TIFF_FALSE='#'
30283 EVAS_STATIC_BUILD_TIFF_TRUE='#'
30284 EVAS_STATIC_BUILD_TIFF_FALSE=
30298 want_loader="${want_evas_image_loader_xpm}"
30299 want_static_loader="no"
30301 have_evas_image_loader_xpm="no"
30303 # Check whether --enable-image-loader-xpm was given.
30304 if test "${enable_image_loader_xpm+set}" = set; then :
30305 enableval=$enable_image_loader_xpm;
30306 if test "x${enableval}" = "xyes" ; then
30309 if test "x${enableval}" = "xstatic" ; then
30310 want_loader="static"
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
30321 $as_echo_n "checking whether to enable XPM image loader... " >&6; }
30322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30323 $as_echo "${want_loader}" >&6; }
30325 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30329 evas_image_loader_xpm_cflags=""
30330 evas_image_loader_xpm_libs=""
30335 if test "x${have_dep}" = "xyes" ; then
30344 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30345 as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
30348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
30349 $as_echo_n "checking whether XPM image loader will be built... " >&6; }
30350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30351 $as_echo "${have_loader}" >&6; }
30353 if test "x${have_loader}" = "xyes" ; then
30354 if test "x${want_loader}" = "xstatic" ; then
30355 have_evas_image_loader_xpm="static"
30356 want_static_loader="yes"
30358 have_evas_image_loader_xpm="yes"
30362 if test "x${have_loader}" = "xyes" ; then
30364 $as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
30368 if test "x${have_loader}" = "xyes"; then
30369 BUILD_LOADER_XPM_TRUE=
30370 BUILD_LOADER_XPM_FALSE='#'
30372 BUILD_LOADER_XPM_TRUE='#'
30373 BUILD_LOADER_XPM_FALSE=
30377 if test "x${want_static_loader}" = "xyes" ; then
30379 $as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
30381 have_static_module="yes"
30384 if test "x${want_static_loader}" = "xyes"; then
30385 EVAS_STATIC_BUILD_XPM_TRUE=
30386 EVAS_STATIC_BUILD_XPM_FALSE='#'
30388 EVAS_STATIC_BUILD_XPM_TRUE='#'
30389 EVAS_STATIC_BUILD_XPM_FALSE=
30403 want_loader="${want_evas_image_loader_bmp}"
30404 want_static_loader="no"
30406 have_evas_image_loader_bmp="no"
30408 # Check whether --enable-image-loader-bmp was given.
30409 if test "${enable_image_loader_bmp+set}" = set; then :
30410 enableval=$enable_image_loader_bmp;
30411 if test "x${enableval}" = "xyes" ; then
30414 if test "x${enableval}" = "xstatic" ; then
30415 want_loader="static"
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
30426 $as_echo_n "checking whether to enable BMP image loader... " >&6; }
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30428 $as_echo "${want_loader}" >&6; }
30430 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30434 evas_image_loader_bmp_cflags=""
30435 evas_image_loader_bmp_libs=""
30440 if test "x${have_dep}" = "xyes" ; then
30449 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30450 as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
30454 $as_echo_n "checking whether BMP image loader will be built... " >&6; }
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30456 $as_echo "${have_loader}" >&6; }
30458 if test "x${have_loader}" = "xyes" ; then
30459 if test "x${want_loader}" = "xstatic" ; then
30460 have_evas_image_loader_bmp="static"
30461 want_static_loader="yes"
30463 have_evas_image_loader_bmp="yes"
30467 if test "x${have_loader}" = "xyes" ; then
30469 $as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
30473 if test "x${have_loader}" = "xyes"; then
30474 BUILD_LOADER_BMP_TRUE=
30475 BUILD_LOADER_BMP_FALSE='#'
30477 BUILD_LOADER_BMP_TRUE='#'
30478 BUILD_LOADER_BMP_FALSE=
30482 if test "x${want_static_loader}" = "xyes" ; then
30484 $as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
30486 have_static_module="yes"
30489 if test "x${want_static_loader}" = "xyes"; then
30490 EVAS_STATIC_BUILD_BMP_TRUE=
30491 EVAS_STATIC_BUILD_BMP_FALSE='#'
30493 EVAS_STATIC_BUILD_BMP_TRUE='#'
30494 EVAS_STATIC_BUILD_BMP_FALSE=
30508 want_loader="${want_evas_image_loader_tga}"
30509 want_static_loader="no"
30511 have_evas_image_loader_tga="no"
30513 # Check whether --enable-image-loader-tga was given.
30514 if test "${enable_image_loader_tga+set}" = set; then :
30515 enableval=$enable_image_loader_tga;
30516 if test "x${enableval}" = "xyes" ; then
30519 if test "x${enableval}" = "xstatic" ; then
30520 want_loader="static"
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
30531 $as_echo_n "checking whether to enable TGA image loader... " >&6; }
30532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30533 $as_echo "${want_loader}" >&6; }
30535 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30539 evas_image_loader_tga_cflags=""
30540 evas_image_loader_tga_libs=""
30545 if test "x${have_dep}" = "xyes" ; then
30554 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30555 as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
30558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
30559 $as_echo_n "checking whether TGA image loader will be built... " >&6; }
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30561 $as_echo "${have_loader}" >&6; }
30563 if test "x${have_loader}" = "xyes" ; then
30564 if test "x${want_loader}" = "xstatic" ; then
30565 have_evas_image_loader_tga="static"
30566 want_static_loader="yes"
30568 have_evas_image_loader_tga="yes"
30572 if test "x${have_loader}" = "xyes" ; then
30574 $as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
30578 if test "x${have_loader}" = "xyes"; then
30579 BUILD_LOADER_TGA_TRUE=
30580 BUILD_LOADER_TGA_FALSE='#'
30582 BUILD_LOADER_TGA_TRUE='#'
30583 BUILD_LOADER_TGA_FALSE=
30587 if test "x${want_static_loader}" = "xyes" ; then
30589 $as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
30591 have_static_module="yes"
30594 if test "x${want_static_loader}" = "xyes"; then
30595 EVAS_STATIC_BUILD_TGA_TRUE=
30596 EVAS_STATIC_BUILD_TGA_FALSE='#'
30598 EVAS_STATIC_BUILD_TGA_TRUE='#'
30599 EVAS_STATIC_BUILD_TGA_FALSE=
30613 want_loader="${want_evas_image_loader_wbmp}"
30614 want_static_loader="no"
30616 have_evas_image_loader_wbmp="no"
30618 # Check whether --enable-image-loader-wbmp was given.
30619 if test "${enable_image_loader_wbmp+set}" = set; then :
30620 enableval=$enable_image_loader_wbmp;
30621 if test "x${enableval}" = "xyes" ; then
30624 if test "x${enableval}" = "xstatic" ; then
30625 want_loader="static"
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
30636 $as_echo_n "checking whether to enable WBMP image loader... " >&6; }
30637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30638 $as_echo "${want_loader}" >&6; }
30640 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30644 evas_image_loader_wbmp_cflags=""
30645 evas_image_loader_wbmp_libs=""
30650 if test "x${have_dep}" = "xyes" ; then
30659 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30660 as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
30664 $as_echo_n "checking whether WBMP image loader will be built... " >&6; }
30665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30666 $as_echo "${have_loader}" >&6; }
30668 if test "x${have_loader}" = "xyes" ; then
30669 if test "x${want_loader}" = "xstatic" ; then
30670 have_evas_image_loader_wbmp="static"
30671 want_static_loader="yes"
30673 have_evas_image_loader_wbmp="yes"
30677 if test "x${have_loader}" = "xyes" ; then
30679 $as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
30683 if test "x${have_loader}" = "xyes"; then
30684 BUILD_LOADER_WBMP_TRUE=
30685 BUILD_LOADER_WBMP_FALSE='#'
30687 BUILD_LOADER_WBMP_TRUE='#'
30688 BUILD_LOADER_WBMP_FALSE=
30692 if test "x${want_static_loader}" = "xyes" ; then
30694 $as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
30696 have_static_module="yes"
30699 if test "x${want_static_loader}" = "xyes"; then
30700 EVAS_STATIC_BUILD_WBMP_TRUE=
30701 EVAS_STATIC_BUILD_WBMP_FALSE='#'
30703 EVAS_STATIC_BUILD_WBMP_TRUE='#'
30704 EVAS_STATIC_BUILD_WBMP_FALSE=
30718 want_loader="${want_evas_image_loader_ico}"
30719 want_static_loader="no"
30721 have_evas_image_loader_ico="no"
30723 # Check whether --enable-image-loader-ico was given.
30724 if test "${enable_image_loader_ico+set}" = set; then :
30725 enableval=$enable_image_loader_ico;
30726 if test "x${enableval}" = "xyes" ; then
30729 if test "x${enableval}" = "xstatic" ; then
30730 want_loader="static"
30740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
30741 $as_echo_n "checking whether to enable ICO image loader... " >&6; }
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30743 $as_echo "${want_loader}" >&6; }
30745 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30749 evas_image_loader_ico_cflags=""
30750 evas_image_loader_ico_libs=""
30755 if test "x${have_dep}" = "xyes" ; then
30764 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30765 as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
30768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
30769 $as_echo_n "checking whether ICO image loader will be built... " >&6; }
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30771 $as_echo "${have_loader}" >&6; }
30773 if test "x${have_loader}" = "xyes" ; then
30774 if test "x${want_loader}" = "xstatic" ; then
30775 have_evas_image_loader_ico="static"
30776 want_static_loader="yes"
30778 have_evas_image_loader_ico="yes"
30782 if test "x${have_loader}" = "xyes" ; then
30784 $as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
30788 if test "x${have_loader}" = "xyes"; then
30789 BUILD_LOADER_ICO_TRUE=
30790 BUILD_LOADER_ICO_FALSE='#'
30792 BUILD_LOADER_ICO_TRUE='#'
30793 BUILD_LOADER_ICO_FALSE=
30797 if test "x${want_static_loader}" = "xyes" ; then
30799 $as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
30801 have_static_module="yes"
30804 if test "x${want_static_loader}" = "xyes"; then
30805 EVAS_STATIC_BUILD_ICO_TRUE=
30806 EVAS_STATIC_BUILD_ICO_FALSE='#'
30808 EVAS_STATIC_BUILD_ICO_TRUE='#'
30809 EVAS_STATIC_BUILD_ICO_FALSE=
30823 want_loader="${want_evas_image_loader_psd}"
30824 want_static_loader="no"
30826 have_evas_image_loader_psd="no"
30828 # Check whether --enable-image-loader-psd was given.
30829 if test "${enable_image_loader_psd+set}" = set; then :
30830 enableval=$enable_image_loader_psd;
30831 if test "x${enableval}" = "xyes" ; then
30834 if test "x${enableval}" = "xstatic" ; then
30835 want_loader="static"
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
30846 $as_echo_n "checking whether to enable PSD image loader... " >&6; }
30847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30848 $as_echo "${want_loader}" >&6; }
30850 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30854 evas_image_loader_psd_cflags=""
30855 evas_image_loader_psd_libs=""
30860 if test "x${have_dep}" = "xyes" ; then
30869 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30870 as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30874 $as_echo_n "checking whether PSD image loader will be built... " >&6; }
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30876 $as_echo "${have_loader}" >&6; }
30878 if test "x${have_loader}" = "xyes" ; then
30879 if test "x${want_loader}" = "xstatic" ; then
30880 have_evas_image_loader_psd="static"
30881 want_static_loader="yes"
30883 have_evas_image_loader_psd="yes"
30887 if test "x${have_loader}" = "xyes" ; then
30889 $as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30893 if test "x${have_loader}" = "xyes"; then
30894 BUILD_LOADER_PSD_TRUE=
30895 BUILD_LOADER_PSD_FALSE='#'
30897 BUILD_LOADER_PSD_TRUE='#'
30898 BUILD_LOADER_PSD_FALSE=
30902 if test "x${want_static_loader}" = "xyes" ; then
30904 $as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30906 have_static_module="yes"
30909 if test "x${want_static_loader}" = "xyes"; then
30910 EVAS_STATIC_BUILD_PSD_TRUE=
30911 EVAS_STATIC_BUILD_PSD_FALSE='#'
30913 EVAS_STATIC_BUILD_PSD_TRUE='#'
30914 EVAS_STATIC_BUILD_PSD_FALSE=
30928 want_loader="${want_evas_image_loader_generic}"
30929 want_static_loader="no"
30931 have_evas_image_loader_generic="no"
30933 # Check whether --enable-image-loader-generic was given.
30934 if test "${enable_image_loader_generic+set}" = set; then :
30935 enableval=$enable_image_loader_generic;
30936 if test "x${enableval}" = "xyes" ; then
30939 if test "x${enableval}" = "xstatic" ; then
30940 want_loader="static"
30950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30951 $as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30953 $as_echo "${want_loader}" >&6; }
30955 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30959 evas_image_loader_generic_cflags=""
30960 evas_image_loader_generic_libs=""
30965 if test "x${have_dep}" = "xyes" ; then
30974 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30975 as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30979 $as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30981 $as_echo "${have_loader}" >&6; }
30983 if test "x${have_loader}" = "xyes" ; then
30984 if test "x${want_loader}" = "xstatic" ; then
30985 have_evas_image_loader_generic="static"
30986 want_static_loader="yes"
30988 have_evas_image_loader_generic="yes"
30992 if test "x${have_loader}" = "xyes" ; then
30994 $as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30998 if test "x${have_loader}" = "xyes"; then
30999 BUILD_LOADER_GENERIC_TRUE=
31000 BUILD_LOADER_GENERIC_FALSE='#'
31002 BUILD_LOADER_GENERIC_TRUE='#'
31003 BUILD_LOADER_GENERIC_FALSE=
31007 if test "x${want_static_loader}" = "xyes" ; then
31009 $as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
31011 have_static_module="yes"
31014 if test "x${want_static_loader}" = "xyes"; then
31015 EVAS_STATIC_BUILD_GENERIC_TRUE=
31016 EVAS_STATIC_BUILD_GENERIC_FALSE='#'
31018 EVAS_STATIC_BUILD_GENERIC_TRUE='#'
31019 EVAS_STATIC_BUILD_GENERIC_FALSE=
31028 #####################################################################
31029 ## Cpu based optimizations
31031 #######################################
31035 build_pthreads="no"
31038 # basic pthread support
31039 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
31040 if test "x$ac_cv_header_pthread_h" = xyes; then :
31053 # sched_getaffinity pthread_attr_setaffinity_np
31054 for ac_header in pthread.h sched.h
31056 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
31057 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
31058 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
31059 cat >>confdefs.h <<_ACEOF
31060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
31063 CFLAGS_save="${CFLAGS}"
31064 CFLAGS="${CFLAGS} -pthread"
31065 LIBS_save="${LIBS}"
31066 LIBS="${LIBS} -pthread"
31067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31068 /* end confdefs.h. */
31070 #include <pthread.h>
31077 pthread_attr_setaffinity_np(NULL, 0, NULL);
31078 pthread_barrier_wait(NULL);
31084 if ac_fn_c_try_link "$LINENO"; then :
31085 build_pthreads="yes"
31087 build_pthreads="no"
31089 rm -f core conftest.err conftest.$ac_objext \
31090 conftest$ac_exeext conftest.$ac_ext
31091 CFLAGS=${CFLAGS_save}
31095 build_pthreads="no"
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
31102 $as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
31104 $as_echo "${build_pthreads}" >&6; }
31106 #######################################
31108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
31109 $as_echo_n "checking whether to build pthread code... " >&6; }
31110 # Check whether --enable-pthreads was given.
31111 if test "${enable_pthreads+set}" = set; then :
31112 enableval=$enable_pthreads;
31113 if test "x$enableval" = "xyes" ; then
31114 if test "x$build_pthreads" = "xyes"; then
31115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31116 $as_echo "yes" >&6; }
31118 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31120 build_pthreads="yes"
31121 need_pthreads="yes"
31123 if "x$use_strict" = "xyes"; then
31124 as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
31126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
31127 $as_echo "no: pthread headers or functions not found" >&6; }
31131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31132 $as_echo "no" >&6; }
31133 build_pthreads="no"
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
31139 $as_echo "$build_pthreads" >&6; }
31140 if test "x$build_pthreads" = "xyes" ; then
31142 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31144 need_pthreads="yes"
31151 #######################################
31153 build_pipe_render="no"
31155 # Let disable pipe render strongly as it doesn't massively improve performance, but
31156 # just hammer more watt for a few more percent. The code is kept as the understanding
31157 # is that with an async pipeline things will be better.
31159 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
31160 #AC_ARG_ENABLE(pipe-render,
31161 # AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
31162 # [ build_pipe_render=$enableval ]
31164 #AC_MSG_RESULT($build_pipe_render)
31166 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
31167 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
31168 # AC_MSG_RESULT(yes)
31169 # AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
31170 # build_pipe_render="yes"
31171 # need_pthreads="yes"
31173 # AC_MSG_RESULT(no)
31174 # build_pipe_render="no"
31177 #######################################
31179 build_async_events="auto"
31180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
31181 $as_echo_n "checking whether to build Async Events support... " >&6; }
31182 # Check whether --enable-async-events was given.
31183 if test "${enable_async_events+set}" = set; then :
31184 enableval=$enable_async_events; build_async_events=$enableval
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
31189 $as_echo "$build_async_events" >&6; }
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
31192 $as_echo_n "checking whether we can build Async Events support... " >&6; }
31193 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31195 $as_echo "yes" >&6; }
31197 $as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
31199 build_async_events="yes"
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31202 $as_echo "no" >&6; }
31203 build_async_events="no"
31206 #######################################
31207 ## Async image preload
31208 build_async_preload="auto"
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
31210 $as_echo_n "checking whether to build Async Image Preload support... " >&6; }
31211 # Check whether --enable-async-preload was given.
31212 if test "${enable_async_preload+set}" = set; then :
31213 enableval=$enable_async_preload; build_async_preload=$enableval
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
31218 $as_echo "$build_async_preload" >&6; }
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
31221 $as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
31222 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31224 $as_echo "yes" >&6; }
31226 $as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
31228 build_async_preload="yes"
31229 need_pthreads="yes"
31231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31232 $as_echo "no" >&6; }
31233 build_async_preload="no"
31236 #######################################
31237 ## Link with pthread if needed
31238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
31239 $as_echo_n "checking whether we should link with pthread... " >&6; }
31240 if test "x$need_pthreads" = "xyes"; then
31241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31242 $as_echo "yes" >&6; }
31243 pthread_cflags="-pthread"
31244 pthread_libs="-pthread"
31246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31247 $as_echo "no" >&6; }
31250 #######################################
31255 build_cpu_mmx="yes"
31258 build_cpu_mmx="yes"
31261 build_cpu_mmx="yes"
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
31265 $as_echo_n "checking whether to build mmx code... " >&6; }
31266 # Check whether --enable-cpu-mmx was given.
31267 if test "${enable_cpu_mmx+set}" = set; then :
31268 enableval=$enable_cpu_mmx;
31269 if test "x$enableval" = "xyes" ; then
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31271 $as_echo "yes" >&6; }
31273 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31275 build_cpu_mmx="yes"
31277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31278 $as_echo "no" >&6; }
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
31285 $as_echo "$build_cpu_mmx" >&6; }
31286 if test "x$build_cpu_mmx" = "xyes" ; then
31288 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31296 #######################################
31301 build_cpu_sse="yes"
31304 build_cpu_sse="yes"
31307 build_cpu_sse="yes"
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
31311 $as_echo_n "checking whether to build sse code... " >&6; }
31312 # Check whether --enable-cpu-sse was given.
31313 if test "${enable_cpu_sse+set}" = set; then :
31314 enableval=$enable_cpu_sse;
31315 if test "x$enableval" = "xyes" ; then
31316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31317 $as_echo "yes" >&6; }
31319 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31321 build_cpu_sse="yes"
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31324 $as_echo "no" >&6; }
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
31331 $as_echo "$build_cpu_sse" >&6; }
31332 if test "x$build_cpu_sse" = "xyes" ; then
31334 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31342 #######################################
31344 build_cpu_sse3="no"
31347 build_cpu_sse3="yes"
31350 build_cpu_sse3="yes"
31353 build_cpu_sse3="yes"
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
31357 $as_echo_n "checking whether to build sse3 code... " >&6; }
31358 # Check whether --enable-cpu-sse3 was given.
31359 if test "${enable_cpu_sse3+set}" = set; then :
31360 enableval=$enable_cpu_sse3;
31361 if test "x$enableval" = "xyes" ; then
31362 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31363 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31366 $as_echo "yes" >&6; }
31368 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31370 build_cpu_sse3="yes"
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31375 $as_echo "no" >&6; }
31376 build_cpu_sse3="no"
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31383 $as_echo "no" >&6; }
31384 build_cpu_sse3="no"
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
31390 $as_echo "$build_cpu_sse3" >&6; }
31391 if test "x$build_cpu_sse3" = "xyes" ; then
31392 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31393 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31396 $as_echo "yes" >&6; }
31398 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31400 build_cpu_sse3="yes"
31404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31405 $as_echo "no" >&6; }
31406 build_cpu_sse3="no"
31418 # as a big warning flag to anyone doing stuff like this...
31419 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
31420 # build flags in makefiles (from configure or anywhere else)
31421 # EVER as this screws your ability to build 1 binary and
31422 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
31423 # person building choses to add optimization flags themselves
31424 # and decide the minimum baseline cpu arch is X then that's
31425 # their business, but NEVER should it be done here. NEVER.
31426 # I now have to do this due to the way this sse3 code was done - using
31427 # intrinsics and "functions" (opcodes) and types that only compile *IF*
31428 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
31429 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
31430 # off until further notice for 32bit x86.
31431 EVAS_SSE3_CFLAGS=" "
31432 if test "x$build_cpu_sse3" = "xyes" ; then
31433 EVAS_SSE3_CFLAGS="-msse3 "
31434 # CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
31440 #######################################
31442 build_cpu_altivec="no"
31445 build_cpu_altivec="auto"
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
31450 $as_echo_n "checking whether to build altivec code... " >&6; }
31451 # Check whether --enable-cpu-altivec was given.
31452 if test "${enable_cpu_altivec+set}" = set; then :
31453 enableval=$enable_cpu_altivec; build_cpu_altivec=$enableval
31456 if test ! "x$build_cpu_altivec" = "xauto"; then
31457 build_cpu_altivec="no"
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
31464 $as_echo "$build_cpu_altivec" >&6; }
31466 if test "x$build_cpu_altivec" = "xyes"; then
31467 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31468 if test "x$ac_cv_header_altivec_h" = xyes; then :
31471 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31474 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31476 build_cpu_altivec="yes"
31480 save_CFLAGS=$CFLAGS
31481 save_CPPFLAGS=$CPPFLAGS
31482 CFLAGS=$CFLAGS" -maltivec"
31483 CPPFLAGS=$CPPFLAGS" -maltivec"
31484 unset ac_cv_header_altivec_h
31485 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31486 if test "x$ac_cv_header_altivec_h" = xyes; then :
31489 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31492 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31494 build_cpu_altivec="yes"
31498 if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
31499 as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
31501 build_cpu_altivec="no"
31507 CFLAGS=$save_CFLAGS
31508 CPPFLAGS=$save_CPPFLAGS
31516 if test "x$build_cpu_altivec" = "xyes"; then
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
31518 $as_echo_n "checking whether to use altivec compiler flag... " >&6; }
31519 if test "x$GCC" = "xyes"; then
31520 if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
31521 altivec_cflags="-faltivec"
31523 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31525 elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
31526 altivec_cflags="-maltivec"
31528 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
31533 $as_echo "$altivec_cflags" >&6; }
31534 CFLAGS="$CFLAGS $altivec_cflags"
31537 #######################################
31539 build_cpu_neon="no"
31542 build_cpu_neon="yes"
31545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
31546 $as_echo_n "checking whether to build neon code... " >&6; }
31547 # Check whether --enable-cpu-neon was given.
31548 if test "${enable_cpu_neon+set}" = set; then :
31549 enableval=$enable_cpu_neon;
31550 if test "x$enableval" = "xyes" ; then
31551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31552 /* end confdefs.h. */
31557 asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
31562 if ac_fn_c_try_compile "$LINENO"; then :
31564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31565 $as_echo "yes" >&6; }
31567 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31569 build_cpu_neon="yes"
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31574 $as_echo "no" >&6; }
31575 build_cpu_neon="no"
31578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31581 $as_echo "no" >&6; }
31582 build_cpu_neon="no"
31587 if test "x$build_cpu_neon" = "xyes" ; then
31588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31589 /* end confdefs.h. */
31590 #include <arm_neon.h>
31594 asm volatile ("vqadd.u8 d0, d1, d0\n")
31599 if ac_fn_c_try_compile "$LINENO"; then :
31601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31602 $as_echo "yes" >&6; }
31604 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31606 build_cpu_neon="yes"
31610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31611 $as_echo "no" >&6; }
31612 build_cpu_neon="no"
31615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31622 #######################################
31625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
31626 $as_echo_n "checking whether to build c code... " >&6; }
31627 # Check whether --enable-cpu-c was given.
31628 if test "${enable_cpu_c+set}" = set; then :
31629 enableval=$enable_cpu_c;
31630 if test "x$enableval" = "xyes" ; then
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31632 $as_echo "yes" >&6; }
31634 $as_echo "#define BUILD_C 1" >>confdefs.h
31638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31639 $as_echo "no" >&6; }
31645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
31646 $as_echo "$build_cpu_c" >&6; }
31647 if test "x$build_cpu_c" = "xyes" ; then
31649 $as_echo "#define BUILD_C 1" >>confdefs.h
31657 #######################################
31659 want_evas_magic_debug="yes"
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
31661 $as_echo_n "checking whether to check magic for evas object... " >&6; }
31662 # Check whether --enable-evas-magic-debug was given.
31663 if test "${enable_evas_magic_debug+set}" = set; then :
31664 enableval=$enable_evas_magic_debug; want_evas_magic_debug="$enableval"
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
31669 $as_echo "$want_evas_magic_debug" >&6; }
31671 if test "x$want_evas_magic_debug" = "xyes"; then
31672 EVAS_MAGIC_DEBUG_TRUE=
31673 EVAS_MAGIC_DEBUG_FALSE='#'
31675 EVAS_MAGIC_DEBUG_TRUE='#'
31676 EVAS_MAGIC_DEBUG_FALSE=
31679 if test "x$want_evas_magic_debug" = "xyes"; then
31681 $as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
31685 #####################################################################
31686 ## ARGB engine options
31688 #######################################
31689 ## Nearest sampling scaler
31692 # Check whether --enable-scale-sample was given.
31693 if test "${enable_scale_sample+set}" = set; then :
31694 enableval=$enable_scale_sample;
31695 if test "x${enableval}" = "xyes" ; then
31696 _efl_enable_scaler_option_scale_sample="yes"
31698 _efl_enable_scaler_option_scale_sample="no"
31702 _efl_enable_scaler_option_scale_sample="yes"
31706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
31707 $as_echo_n "checking whether to build sampling scaler... " >&6; }
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
31709 $as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
31711 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31713 $as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
31717 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31718 scaler_sample="yes"
31726 ## Smooth super and sub sampling scaler
31729 # Check whether --enable-scale-smooth was given.
31730 if test "${enable_scale_smooth+set}" = set; then :
31731 enableval=$enable_scale_smooth;
31732 if test "x${enableval}" = "xyes" ; then
31733 _efl_enable_scaler_option_scale_smooth="yes"
31735 _efl_enable_scaler_option_scale_smooth="no"
31739 _efl_enable_scaler_option_scale_smooth="yes"
31743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
31744 $as_echo_n "checking whether to build smooth scaler... " >&6; }
31745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
31746 $as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
31748 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31750 $as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
31754 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31755 scaler_smooth="yes"
31764 #######################################
31765 ## YUV -> ARGB converter
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
31769 $as_echo_n "checking whether to build yuv converter code... " >&6; }
31770 # Check whether --enable-convert-yuv was given.
31771 if test "${enable_convert_yuv+set}" = set; then :
31772 enableval=$enable_convert_yuv;
31773 if test "x$enableval" = "xyes" ; then
31774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31775 $as_echo "yes" >&6; }
31777 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31782 $as_echo "no" >&6; }
31788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
31789 $as_echo "$conv_yuv" >&6; }
31790 if test "x$conv_yuv" = "xyes" ; then
31792 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31800 #####################################################################
31801 ## Output rendering features
31803 #######################################
31804 ## Small dither mask instead of big one (lower quality)
31807 # Check whether --enable-small-dither-mask was given.
31808 if test "${enable_small_dither_mask+set}" = set; then :
31809 enableval=$enable_small_dither_mask;
31810 if test "x${enableval}" = "xyes" ; then
31811 _efl_enable_dither_option_small_dither_mask="yes"
31813 _efl_enable_dither_option_small_dither_mask="no"
31817 _efl_enable_dither_option_small_dither_mask="no"
31821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
31822 $as_echo_n "checking whether to build small dither mask... " >&6; }
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
31824 $as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
31826 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31828 $as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
31832 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31833 conv_small_dither="yes"
31835 conv_small_dither="no"
31841 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
31844 # Check whether --enable-line-dither-mask was given.
31845 if test "${enable_line_dither_mask+set}" = set; then :
31846 enableval=$enable_line_dither_mask;
31847 if test "x${enableval}" = "xyes" ; then
31848 _efl_enable_dither_option_line_dither_mask="yes"
31850 _efl_enable_dither_option_line_dither_mask="no"
31854 _efl_enable_dither_option_line_dither_mask="no"
31858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31859 $as_echo_n "checking whether to build line dither mask... " >&6; }
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31861 $as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31863 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31865 $as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31869 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31870 conv_line_dither="yes"
31872 conv_line_dither="no"
31878 ## No dither mask at all for 16bpp
31881 # Check whether --enable-no-dither-mask was given.
31882 if test "${enable_no_dither_mask+set}" = set; then :
31883 enableval=$enable_no_dither_mask;
31884 if test "x${enableval}" = "xyes" ; then
31885 _efl_enable_dither_option_no_dither_mask="yes"
31887 _efl_enable_dither_option_no_dither_mask="no"
31891 _efl_enable_dither_option_no_dither_mask="no"
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31896 $as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31898 $as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31900 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31902 $as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31906 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31907 conv_no_dither="yes"
31909 conv_no_dither="no"
31916 #######################################
31917 ## Convert to 8bpp RGB 332
31920 conv_8_rgb_332="no"
31923 # Check whether --enable-convert-8-rgb-332 was given.
31924 if test "${enable_convert_8_rgb_332+set}" = set; then :
31925 enableval=$enable_convert_8_rgb_332; conv_8_rgb_332=$enableval
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31934 $as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31936 $as_echo "$conv_8_rgb_332" >&6; }
31938 if test "x$conv_8_rgb_332" = "xyes" ; then
31940 $as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31948 ## Convert to 8bpp RGB 666
31951 conv_8_rgb_666="no"
31954 # Check whether --enable-convert-8-rgb-666 was given.
31955 if test "${enable_convert_8_rgb_666+set}" = set; then :
31956 enableval=$enable_convert_8_rgb_666; conv_8_rgb_666=$enableval
31964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31965 $as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31967 $as_echo "$conv_8_rgb_666" >&6; }
31969 if test "x$conv_8_rgb_666" = "xyes" ; then
31971 $as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31979 ## Convert to 8bpp RGB 232
31982 conv_8_rgb_232="no"
31985 # Check whether --enable-convert-8-rgb-232 was given.
31986 if test "${enable_convert_8_rgb_232+set}" = set; then :
31987 enableval=$enable_convert_8_rgb_232; conv_8_rgb_232=$enableval
31995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31996 $as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31998 $as_echo "$conv_8_rgb_232" >&6; }
32000 if test "x$conv_8_rgb_232" = "xyes" ; then
32002 $as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
32010 ## Convert to 8bpp RGB 222
32013 conv_8_rgb_222="no"
32016 # Check whether --enable-convert-8-rgb-222 was given.
32017 if test "${enable_convert_8_rgb_222+set}" = set; then :
32018 enableval=$enable_convert_8_rgb_222; conv_8_rgb_222=$enableval
32026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
32027 $as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
32029 $as_echo "$conv_8_rgb_222" >&6; }
32031 if test "x$conv_8_rgb_222" = "xyes" ; then
32033 $as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
32041 ## Convert to 8bpp RGB 221
32044 conv_8_rgb_221="no"
32047 # Check whether --enable-convert-8-rgb-221 was given.
32048 if test "${enable_convert_8_rgb_221+set}" = set; then :
32049 enableval=$enable_convert_8_rgb_221; conv_8_rgb_221=$enableval
32057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
32058 $as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
32060 $as_echo "$conv_8_rgb_221" >&6; }
32062 if test "x$conv_8_rgb_221" = "xyes" ; then
32064 $as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
32072 ## Convert to 8bpp RGB 121
32075 conv_8_rgb_121="no"
32078 # Check whether --enable-convert-8-rgb-121 was given.
32079 if test "${enable_convert_8_rgb_121+set}" = set; then :
32080 enableval=$enable_convert_8_rgb_121; conv_8_rgb_121=$enableval
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
32089 $as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
32091 $as_echo "$conv_8_rgb_121" >&6; }
32093 if test "x$conv_8_rgb_121" = "xyes" ; then
32095 $as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
32103 ## Convert to 8bpp RGB 111
32106 conv_8_rgb_111="no"
32109 # Check whether --enable-convert-8-rgb-111 was given.
32110 if test "${enable_convert_8_rgb_111+set}" = set; then :
32111 enableval=$enable_convert_8_rgb_111; conv_8_rgb_111=$enableval
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
32120 $as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
32122 $as_echo "$conv_8_rgb_111" >&6; }
32124 if test "x$conv_8_rgb_111" = "xyes" ; then
32126 $as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
32134 ## Convert to 16bpp RGB 565
32137 conv_16_rgb_565="no"
32140 # Check whether --enable-convert-16-rgb-565 was given.
32141 if test "${enable_convert_16_rgb_565+set}" = set; then :
32142 enableval=$enable_convert_16_rgb_565; conv_16_rgb_565=$enableval
32144 conv_16_rgb_565=yes
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
32151 $as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
32152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
32153 $as_echo "$conv_16_rgb_565" >&6; }
32155 if test "x$conv_16_rgb_565" = "xyes" ; then
32157 $as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
32165 ## Convert to 16bpp BGR 565
32168 conv_16_bgr_565="no"
32171 # Check whether --enable-convert-16-bgr-565 was given.
32172 if test "${enable_convert_16_bgr_565+set}" = set; then :
32173 enableval=$enable_convert_16_bgr_565; conv_16_bgr_565=$enableval
32175 conv_16_bgr_565=yes
32181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
32182 $as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
32183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
32184 $as_echo "$conv_16_bgr_565" >&6; }
32186 if test "x$conv_16_bgr_565" = "xyes" ; then
32188 $as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
32196 ## Convert to 16bpp RGB 555
32199 conv_16_rgb_555="no"
32202 # Check whether --enable-convert-16-rgb-555 was given.
32203 if test "${enable_convert_16_rgb_555+set}" = set; then :
32204 enableval=$enable_convert_16_rgb_555; conv_16_rgb_555=$enableval
32206 conv_16_rgb_555=yes
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
32213 $as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
32214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
32215 $as_echo "$conv_16_rgb_555" >&6; }
32217 if test "x$conv_16_rgb_555" = "xyes" ; then
32219 $as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
32227 ## Convert to 16bpp RGB 444
32230 conv_16_rgb_444="no"
32233 # Check whether --enable-convert-16-rgb-444 was given.
32234 if test "${enable_convert_16_rgb_444+set}" = set; then :
32235 enableval=$enable_convert_16_rgb_444; conv_16_rgb_444=$enableval
32237 conv_16_rgb_444=yes
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
32244 $as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
32245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
32246 $as_echo "$conv_16_rgb_444" >&6; }
32248 if test "x$conv_16_rgb_444" = "xyes" ; then
32250 $as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
32259 #######################################
32260 ## Convert to 16bpp RGB 565 (444 ipaq)
32261 conv_16_rgb_ipq="yes"
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
32263 $as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
32264 # Check whether --enable-convert-16-rgb-ipq was given.
32265 if test "${enable_convert_16_rgb_ipq+set}" = set; then :
32266 enableval=$enable_convert_16_rgb_ipq;
32267 if test "x$enableval" = "xyes" ; then
32269 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32271 conv_16_rgb_ipq="yes"
32273 conv_16_rgb_ipq="no"
32278 if test "x$conv_16_rgb_ipq" = "xyes" ; then
32280 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
32288 $as_echo "$conv_16_rgb_ipq" >&6; }
32290 #######################################
32291 ## Convert to 16bpp RGB with rotation of 0
32294 conv_16_rgb_rot_0="no"
32297 # Check whether --enable-convert-16-rgb-rot-0 was given.
32298 if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
32299 enableval=$enable_convert_16_rgb_rot_0; conv_16_rgb_rot_0=$enableval
32301 conv_16_rgb_rot_0=yes
32307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
32308 $as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
32309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
32310 $as_echo "$conv_16_rgb_rot_0" >&6; }
32312 if test "x$conv_16_rgb_rot_0" = "xyes" ; then
32314 $as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
32322 ## Convert to 16bpp RGB with rotation of 180
32325 conv_16_rgb_rot_180="no"
32328 # Check whether --enable-convert-16-rgb-rot-180 was given.
32329 if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
32330 enableval=$enable_convert_16_rgb_rot_180; conv_16_rgb_rot_180=$enableval
32332 conv_16_rgb_rot_180=yes
32338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
32339 $as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
32340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
32341 $as_echo "$conv_16_rgb_rot_180" >&6; }
32343 if test "x$conv_16_rgb_rot_180" = "xyes" ; then
32345 $as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
32353 ## Convert to 16bpp RGB with rotation of 270
32356 conv_16_rgb_rot_270="no"
32359 # Check whether --enable-convert-16-rgb-rot-270 was given.
32360 if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
32361 enableval=$enable_convert_16_rgb_rot_270; conv_16_rgb_rot_270=$enableval
32363 conv_16_rgb_rot_270=yes
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
32370 $as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
32372 $as_echo "$conv_16_rgb_rot_270" >&6; }
32374 if test "x$conv_16_rgb_rot_270" = "xyes" ; then
32376 $as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
32384 ## Convert to 16bpp RGB with rotation of 90
32387 conv_16_rgb_rot_90="no"
32390 # Check whether --enable-convert-16-rgb-rot-90 was given.
32391 if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
32392 enableval=$enable_convert_16_rgb_rot_90; conv_16_rgb_rot_90=$enableval
32394 conv_16_rgb_rot_90=yes
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
32401 $as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
32402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
32403 $as_echo "$conv_16_rgb_rot_90" >&6; }
32405 if test "x$conv_16_rgb_rot_90" = "xyes" ; then
32407 $as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
32416 #######################################
32417 ## Convert to 24bpp RGB 888
32420 conv_24_rgb_888="no"
32423 # Check whether --enable-convert-24-rgb-888 was given.
32424 if test "${enable_convert_24_rgb_888+set}" = set; then :
32425 enableval=$enable_convert_24_rgb_888; conv_24_rgb_888=$enableval
32427 conv_24_rgb_888=yes
32433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
32434 $as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
32436 $as_echo "$conv_24_rgb_888" >&6; }
32438 if test "x$conv_24_rgb_888" = "xyes" ; then
32440 $as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
32448 ## Convert to 24bpp BGR 888
32451 conv_24_bgr_888="no"
32454 # Check whether --enable-convert-24-bgr-888 was given.
32455 if test "${enable_convert_24_bgr_888+set}" = set; then :
32456 enableval=$enable_convert_24_bgr_888; conv_24_bgr_888=$enableval
32458 conv_24_bgr_888=yes
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
32465 $as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
32467 $as_echo "$conv_24_bgr_888" >&6; }
32469 if test "x$conv_24_bgr_888" = "xyes" ; then
32471 $as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
32479 ## Convert to 32bpp RGB 8888
32482 conv_32_rgb_8888="no"
32485 # Check whether --enable-convert-32-rgb-8888 was given.
32486 if test "${enable_convert_32_rgb_8888+set}" = set; then :
32487 enableval=$enable_convert_32_rgb_8888; conv_32_rgb_8888=$enableval
32489 conv_32_rgb_8888=yes
32495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
32496 $as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
32498 $as_echo "$conv_32_rgb_8888" >&6; }
32500 if test "x$conv_32_rgb_8888" = "xyes" ; then
32502 $as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
32510 ## Convert to 32bpp RGBX 8888
32513 conv_32_rgbx_8888="no"
32516 # Check whether --enable-convert-32-rgbx-8888 was given.
32517 if test "${enable_convert_32_rgbx_8888+set}" = set; then :
32518 enableval=$enable_convert_32_rgbx_8888; conv_32_rgbx_8888=$enableval
32520 conv_32_rgbx_8888=yes
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
32527 $as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
32529 $as_echo "$conv_32_rgbx_8888" >&6; }
32531 if test "x$conv_32_rgbx_8888" = "xyes" ; then
32533 $as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
32541 ## Convert to 32bpp BGR 8888
32544 conv_32_bgr_8888="no"
32547 # Check whether --enable-convert-32-bgr-8888 was given.
32548 if test "${enable_convert_32_bgr_8888+set}" = set; then :
32549 enableval=$enable_convert_32_bgr_8888; conv_32_bgr_8888=$enableval
32551 conv_32_bgr_8888=yes
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
32558 $as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
32559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
32560 $as_echo "$conv_32_bgr_8888" >&6; }
32562 if test "x$conv_32_bgr_8888" = "xyes" ; then
32564 $as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
32572 ## Convert to 32bpp BGRX 8888
32575 conv_32_bgrx_8888="no"
32578 # Check whether --enable-convert-32-bgrx-8888 was given.
32579 if test "${enable_convert_32_bgrx_8888+set}" = set; then :
32580 enableval=$enable_convert_32_bgrx_8888; conv_32_bgrx_8888=$enableval
32582 conv_32_bgrx_8888=yes
32588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
32589 $as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
32591 $as_echo "$conv_32_bgrx_8888" >&6; }
32593 if test "x$conv_32_bgrx_8888" = "xyes" ; then
32595 $as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
32604 #######################################
32605 ## Convert to 24bpp RGB 666 (666 ezx)
32606 conv_24_rgb_ezx="yes"
32607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
32608 $as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
32609 # Check whether --enable-convert-24-rgb-ezx was given.
32610 if test "${enable_convert_24_rgb_ezx+set}" = set; then :
32611 enableval=$enable_convert_24_rgb_ezx;
32612 if test "x$enableval" = "xyes" ; then
32614 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32616 conv_24_rgb_ezx="yes"
32618 conv_24_rgb_ezx="no"
32623 if test "x$conv_24_rgb_ezx" = "xyes" ; then
32625 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
32633 $as_echo "$conv_24_rgb_ezx" >&6; }
32635 #######################################
32636 ## Convert to 32bpp RGB 666 (666 ezx)
32637 conv_32_rgb_ezx="yes"
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
32639 $as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
32640 # Check whether --enable-convert-32-rgb-ezx was given.
32641 if test "${enable_convert_32_rgb_ezx+set}" = set; then :
32642 enableval=$enable_convert_32_rgb_ezx;
32643 if test "x$enableval" = "xyes" ; then
32645 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32647 conv_32_rgb_ezx="yes"
32649 conv_32_rgb_ezx="no"
32654 if test "x$conv_32_rgb_ezx" = "xyes" ; then
32656 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
32664 $as_echo "$conv_32_rgb_ezx" >&6; }
32666 #######################################
32667 ## Convert to 32bpp RGB with rotation of 0
32670 conv_32_rgb_rot_0="no"
32673 # Check whether --enable-convert-32-rgb-rot-0 was given.
32674 if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
32675 enableval=$enable_convert_32_rgb_rot_0; conv_32_rgb_rot_0=$enableval
32677 conv_32_rgb_rot_0=yes
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
32684 $as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
32685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
32686 $as_echo "$conv_32_rgb_rot_0" >&6; }
32688 if test "x$conv_32_rgb_rot_0" = "xyes" ; then
32690 $as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
32698 ## Convert to 32bpp RGB with rotation of 180
32701 conv_32_rgb_rot_180="no"
32704 # Check whether --enable-convert-32-rgb-rot-180 was given.
32705 if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
32706 enableval=$enable_convert_32_rgb_rot_180; conv_32_rgb_rot_180=$enableval
32708 conv_32_rgb_rot_180=yes
32714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
32715 $as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
32717 $as_echo "$conv_32_rgb_rot_180" >&6; }
32719 if test "x$conv_32_rgb_rot_180" = "xyes" ; then
32721 $as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
32729 ## Convert to 32bpp RGB with rotation of 270
32732 conv_32_rgb_rot_270="no"
32735 # Check whether --enable-convert-32-rgb-rot-270 was given.
32736 if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
32737 enableval=$enable_convert_32_rgb_rot_270; conv_32_rgb_rot_270=$enableval
32739 conv_32_rgb_rot_270=yes
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
32746 $as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
32748 $as_echo "$conv_32_rgb_rot_270" >&6; }
32750 if test "x$conv_32_rgb_rot_270" = "xyes" ; then
32752 $as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
32760 ## Convert to 32bpp RGB with rotation of 90
32763 conv_32_rgb_rot_90="no"
32766 # Check whether --enable-convert-32-rgb-rot-90 was given.
32767 if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
32768 enableval=$enable_convert_32_rgb_rot_90; conv_32_rgb_rot_90=$enableval
32770 conv_32_rgb_rot_90=yes
32776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
32777 $as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
32778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
32779 $as_echo "$conv_32_rgb_rot_90" >&6; }
32781 if test "x$conv_32_rgb_rot_90" = "xyes" ; then
32783 $as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
32792 #######################################
32793 ## Convert to 8bpp grayscale with 256 value, no palette
32799 # Check whether --enable-convert-8-gry-1 was given.
32800 if test "${enable_convert_8_gry_1+set}" = set; then :
32801 enableval=$enable_convert_8_gry_1; conv_8_gry_1=$enableval
32809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
32810 $as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
32812 $as_echo "$conv_8_gry_1" >&6; }
32814 if test "x$conv_8_gry_1" = "xyes" ; then
32816 $as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
32824 ## Convert to 8bpp grayscale with 16 value, no palette
32830 # Check whether --enable-convert-8-gry-16 was given.
32831 if test "${enable_convert_8_gry_16+set}" = set; then :
32832 enableval=$enable_convert_8_gry_16; conv_8_gry_16=$enableval
32840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32841 $as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32843 $as_echo "$conv_8_gry_16" >&6; }
32845 if test "x$conv_8_gry_16" = "xyes" ; then
32847 $as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32856 #######################################
32857 ## Convert to 8bpp grayscale, 64-palette
32858 conv_8_grayscale_64="yes"
32859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32860 $as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32861 # Check whether --enable-convert-8-grayscale-64 was given.
32862 if test "${enable_convert_8_grayscale_64+set}" = set; then :
32863 enableval=$enable_convert_8_grayscale_64;
32864 if test "x$enableval" = "xyes"; then
32866 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32868 conv_8_grayscale_64="yes"
32870 conv_8_grayscale_64="no"
32875 if test "x$conv_8_grayscale_64" = "xyes"; then
32877 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32885 $as_echo "$conv_8_grayscale_64" >&6; }
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32892 $as_echo_n "checking whether to enable build with valgrind... " >&6; }
32893 # Check whether --enable-valgrind was given.
32894 if test "${enable_valgrind+set}" = set; then :
32895 enableval=$enable_valgrind; want_valgrind=$enableval
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32900 $as_echo "$want_valgrind" >&6; }
32902 if test x$want_valgrind = "xyes"; then
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32906 $as_echo_n "checking for VALGRIND... " >&6; }
32908 if test -n "$VALGRIND_CFLAGS"; then
32909 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32910 elif test -n "$PKG_CONFIG"; then
32911 if test -n "$PKG_CONFIG" && \
32912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32913 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32916 test $ac_status = 0; }; then
32917 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32918 test "x$?" != "x0" && pkg_failed=yes
32925 if test -n "$VALGRIND_LIBS"; then
32926 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32927 elif test -n "$PKG_CONFIG"; then
32928 if test -n "$PKG_CONFIG" && \
32929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32930 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32933 test $ac_status = 0; }; then
32934 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32935 test "x$?" != "x0" && pkg_failed=yes
32945 if test $pkg_failed = yes; then
32946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32947 $as_echo "no" >&6; }
32949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32950 _pkg_short_errors_supported=yes
32952 _pkg_short_errors_supported=no
32954 if test $_pkg_short_errors_supported = yes; then
32955 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32957 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32959 # Put the nasty error message in config.log where it belongs
32960 echo "$VALGRIND_PKG_ERRORS" >&5
32963 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32964 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32968 elif test $pkg_failed = untried; then
32969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32970 $as_echo "no" >&6; }
32972 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32973 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32978 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32979 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32981 $as_echo "yes" >&6; }
32984 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32987 requirement_evas="valgrind ${requirement_evas}"
32994 install_examples="yes"
32995 # Check whether --enable-install-examples was given.
32996 if test "${enable_install_examples+set}" = set; then :
32997 enableval=$enable_install_examples;
32998 if test "x${enableval}" = "xyes" ; then
32999 install_examples="yes"
33001 install_examples="no"
33005 install_examples="yes"
33008 if test "x${install_examples}" = "xyes"; then
33009 INSTALL_EXAMPLES_TRUE=
33010 INSTALL_EXAMPLES_FALSE='#'
33012 INSTALL_EXAMPLES_TRUE='#'
33013 INSTALL_EXAMPLES_FALSE=
33017 build_examples="no"
33018 # Check whether --enable-build-examples was given.
33019 if test "${enable_build_examples+set}" = set; then :
33020 enableval=$enable_build_examples;
33021 if test "x${enableval}" = "xyes" ; then
33022 build_examples="yes"
33023 # put in here the dependencies for Evas' examples. they are
33024 # meant to be 'real world' usage examples, thus one will be
33025 # using higher level libraries on these programs
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
33029 $as_echo_n "checking for ECORE_EVAS... " >&6; }
33031 if test -n "$ECORE_EVAS_CFLAGS"; then
33032 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
33033 elif test -n "$PKG_CONFIG"; then
33034 if test -n "$PKG_CONFIG" && \
33035 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
33036 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
33038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33039 test $ac_status = 0; }; then
33040 pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
33041 test "x$?" != "x0" && pkg_failed=yes
33048 if test -n "$ECORE_EVAS_LIBS"; then
33049 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
33050 elif test -n "$PKG_CONFIG"; then
33051 if test -n "$PKG_CONFIG" && \
33052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
33053 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
33055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33056 test $ac_status = 0; }; then
33057 pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
33058 test "x$?" != "x0" && pkg_failed=yes
33068 if test $pkg_failed = yes; then
33069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33070 $as_echo "no" >&6; }
33072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33073 _pkg_short_errors_supported=yes
33075 _pkg_short_errors_supported=no
33077 if test $_pkg_short_errors_supported = yes; then
33078 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33080 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33082 # Put the nasty error message in config.log where it belongs
33083 echo "$ECORE_EVAS_PKG_ERRORS" >&5
33085 build_examples="no"
33086 elif test $pkg_failed = untried; then
33087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33088 $as_echo "no" >&6; }
33089 build_examples="no"
33091 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
33092 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33094 $as_echo "yes" >&6; }
33099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
33100 $as_echo_n "checking for EDJE... " >&6; }
33102 if test -n "$EDJE_CFLAGS"; then
33103 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
33104 elif test -n "$PKG_CONFIG"; then
33105 if test -n "$PKG_CONFIG" && \
33106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33107 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33110 test $ac_status = 0; }; then
33111 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
33112 test "x$?" != "x0" && pkg_failed=yes
33119 if test -n "$EDJE_LIBS"; then
33120 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
33121 elif test -n "$PKG_CONFIG"; then
33122 if test -n "$PKG_CONFIG" && \
33123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33124 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33127 test $ac_status = 0; }; then
33128 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
33129 test "x$?" != "x0" && pkg_failed=yes
33139 if test $pkg_failed = yes; then
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33141 $as_echo "no" >&6; }
33143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33144 _pkg_short_errors_supported=yes
33146 _pkg_short_errors_supported=no
33148 if test $_pkg_short_errors_supported = yes; then
33149 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje" 2>&1`
33151 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje" 2>&1`
33153 # Put the nasty error message in config.log where it belongs
33154 echo "$EDJE_PKG_ERRORS" >&5
33156 build_examples="no"
33157 elif test $pkg_failed = untried; then
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33159 $as_echo "no" >&6; }
33160 build_examples="no"
33162 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
33163 EDJE_LIBS=$pkg_cv_EDJE_LIBS
33164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33165 $as_echo "yes" >&6; }
33166 edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
33170 build_examples="no"
33174 build_examples="no"
33177 if test "x${build_examples}" = "xyes"; then
33178 BUILD_EXAMPLES_TRUE=
33179 BUILD_EXAMPLES_FALSE='#'
33181 BUILD_EXAMPLES_TRUE='#'
33182 BUILD_EXAMPLES_FALSE=
33186 ## Unit tests, coverage
33191 # Check whether --enable-tests was given.
33192 if test "${enable_tests+set}" = set; then :
33193 enableval=$enable_tests;
33194 if test "x${enableval}" = "xyes" ; then
33195 _efl_enable_tests="yes"
33197 _efl_enable_tests="no"
33201 _efl_enable_tests="no"
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
33206 $as_echo_n "checking whether tests are built... " >&6; }
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
33208 $as_echo "${_efl_enable_tests}" >&6; }
33212 if test "x${_efl_enable_tests}" = "xyes" ; then
33215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
33216 $as_echo_n "checking for CHECK... " >&6; }
33218 if test -n "$CHECK_CFLAGS"; then
33219 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
33220 elif test -n "$PKG_CONFIG"; then
33221 if test -n "$PKG_CONFIG" && \
33222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33223 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33226 test $ac_status = 0; }; then
33227 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
33228 test "x$?" != "x0" && pkg_failed=yes
33235 if test -n "$CHECK_LIBS"; then
33236 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
33237 elif test -n "$PKG_CONFIG"; then
33238 if test -n "$PKG_CONFIG" && \
33239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33240 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33243 test $ac_status = 0; }; then
33244 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
33245 test "x$?" != "x0" && pkg_failed=yes
33255 if test $pkg_failed = yes; then
33256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33257 $as_echo "no" >&6; }
33259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33260 _pkg_short_errors_supported=yes
33262 _pkg_short_errors_supported=no
33264 if test $_pkg_short_errors_supported = yes; then
33265 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33267 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33269 # Put the nasty error message in config.log where it belongs
33270 echo "$CHECK_PKG_ERRORS" >&5
33272 _efl_enable_tests="no"
33273 elif test $pkg_failed = untried; then
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33275 $as_echo "no" >&6; }
33276 _efl_enable_tests="no"
33278 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
33279 CHECK_LIBS=$pkg_cv_CHECK_LIBS
33280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33281 $as_echo "yes" >&6; }
33285 if test "x${_efl_enable_tests}" = "xyes" ; then
33287 $as_echo "#define HAVE_TESTS 1" >>confdefs.h
33291 if test "x${_efl_enable_tests}" = "xyes"; then
33292 EFL_ENABLE_TESTS_TRUE=
33293 EFL_ENABLE_TESTS_FALSE='#'
33295 EFL_ENABLE_TESTS_TRUE='#'
33296 EFL_ENABLE_TESTS_FALSE=
33300 if test "x$_efl_enable_tests" = "xyes"; then :
33310 # Check whether --enable-coverage was given.
33311 if test "${enable_coverage+set}" = set; then :
33312 enableval=$enable_coverage;
33313 if test "x${enableval}" = "xyes" ; then
33314 _efl_enable_coverage="yes"
33316 _efl_enable_coverage="no"
33320 _efl_enable_coverage="no"
33324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
33325 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
33327 $as_echo "$_efl_enable_coverage" >&6; }
33330 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
33331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
33332 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
33333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
33334 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
33335 _efl_enable_coverage="no"
33338 if test "x$_efl_enable_coverage" = "xyes" ; then
33339 # Extract the first word of "lcov", so it can be a program name with args.
33340 set dummy lcov; ac_word=$2
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33342 $as_echo_n "checking for $ac_word... " >&6; }
33343 if ${ac_cv_prog_have_lcov+:} false; then :
33344 $as_echo_n "(cached) " >&6
33346 if test -n "$have_lcov"; then
33347 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
33349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33350 for as_dir in $PATH
33353 test -z "$as_dir" && as_dir=.
33354 for ac_exec_ext in '' $ac_executable_extensions; do
33355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33356 ac_cv_prog_have_lcov="yes"
33357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33364 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
33367 have_lcov=$ac_cv_prog_have_lcov
33368 if test -n "$have_lcov"; then
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
33370 $as_echo "$have_lcov" >&6; }
33372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33373 $as_echo "no" >&6; }
33377 if test "x$have_lcov" = "xyes" ; then
33378 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
33379 EFL_COVERAGE_LIBS="-lgcov"
33380 # remove any optimisation flag and force debug symbols
33381 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
33384 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
33385 _efl_enable_coverage="no"
33392 if test "x${_efl_enable_coverage}" = "xyes"; then
33393 EFL_ENABLE_COVERAGE_TRUE=
33394 EFL_ENABLE_COVERAGE_FALSE='#'
33396 EFL_ENABLE_COVERAGE_TRUE='#'
33397 EFL_ENABLE_COVERAGE_FALSE=
33401 if test "x$_efl_enable_coverage" = "xyes"; then :
33402 enable_coverage="yes"
33404 enable_coverage="no"
33407 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
33408 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
33409 if test "x$enable_coverage" = "xyes" ; then
33410 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
33418 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
33419 EVAS_GENERAL_LIBS="${EINA_LIBS}"
33423 #####################################################################
33432 #####################################################################
33435 ac_config_files="$ac_config_files Makefile evas-directfb.pc evas-fb.pc evas-opengl-x11.pc evas-opengl-sdl.pc evas-opengl-cocoa.pc evas-software-buffer.pc evas-software-x11.pc evas-software-8-x11.pc evas-software-16-x11.pc evas-software-gdi.pc evas-software-ddraw.pc evas-direct3d.pc evas-software-16-wince.pc evas-software-sdl.pc evas-psl1ght.pc evas-wayland-shm.pc evas-wayland-egl.pc evas.pc doc/evas.dox doc/Makefile doc/Doxyfile src/Makefile src/bin/Makefile src/bin/loaders/Makefile src/bin/loaders/jpeg/Makefile src/bin/loaders/png/Makefile src/bin/loaders/eet/Makefile src/bin/loaders/tiff/Makefile src/bin/loaders/xpm/Makefile src/bin/loaders/bmp/Makefile src/bin/loaders/ico/Makefile src/bin/loaders/tga/Makefile src/bin/loaders/pmaps/Makefile src/bin/loaders/wbmp/Makefile src/bin/loaders/psd/Makefile src/lib/Makefile src/lib/canvas/Makefile src/lib/file/Makefile src/lib/cache/Makefile src/lib/cache2/Makefile src/lib/cserve/Makefile src/lib/cserve2/Makefile src/lib/engines/Makefile src/lib/engines/common/Makefile src/lib/engines/common/evas_op_add/Makefile src/lib/engines/common/evas_op_blend/Makefile src/lib/engines/common/evas_op_copy/Makefile src/lib/engines/common/evas_op_mask/Makefile src/lib/engines/common/evas_op_mul/Makefile src/lib/engines/common/evas_op_sub/Makefile src/lib/engines/common_8/Makefile src/lib/engines/common_16/Makefile src/modules/Makefile src/modules/engines/Makefile src/modules/engines/software_generic/Makefile src/modules/engines/software_gdi/Makefile src/modules/engines/software_ddraw/Makefile src/modules/engines/direct3d/Makefile src/modules/engines/software_16_wince/Makefile src/modules/engines/software_x11/Makefile src/modules/engines/fb/Makefile src/modules/engines/buffer/Makefile src/modules/engines/directfb/Makefile src/modules/engines/gl_common/Makefile src/modules/engines/gl_x11/Makefile src/modules/engines/gl_sdl/Makefile src/modules/engines/gl_cocoa/Makefile src/modules/engines/psl1ght/Makefile src/modules/engines/software_8/Makefile src/modules/engines/software_8_x11/Makefile src/modules/engines/software_16/Makefile src/modules/engines/software_16_x11/Makefile src/modules/engines/software_16_sdl/Makefile src/modules/engines/wayland_shm/Makefile src/modules/engines/wayland_egl/Makefile src/modules/loaders/Makefile src/modules/loaders/edb/Makefile src/modules/loaders/eet/Makefile src/modules/loaders/gif/Makefile src/modules/loaders/jpeg/Makefile src/modules/loaders/png/Makefile src/modules/loaders/tiff/Makefile src/modules/loaders/xpm/Makefile src/modules/loaders/bmp/Makefile src/modules/loaders/ico/Makefile src/modules/loaders/tga/Makefile src/modules/loaders/svg/Makefile src/modules/loaders/pmaps/Makefile src/modules/loaders/wbmp/Makefile src/modules/loaders/psd/Makefile src/modules/loaders/generic/Makefile src/modules/savers/Makefile src/modules/savers/edb/Makefile src/modules/savers/eet/Makefile src/modules/savers/jpeg/Makefile src/modules/savers/png/Makefile src/modules/savers/tiff/Makefile src/static_deps/Makefile src/static_deps/liblinebreak/Makefile src/lib/include/Makefile src/examples/Makefile src/tests/Makefile data/Makefile evas.spec"
33437 cat >confcache <<\_ACEOF
33438 # This file is a shell script that caches the results of configure
33439 # tests run on this system so they can be shared between configure
33440 # scripts and configure runs, see configure's option --config-cache.
33441 # It is not useful on other systems. If it contains results you don't
33442 # want to keep, you may remove or edit it.
33444 # config.status only pays attention to the cache file if you give it
33445 # the --recheck option to rerun configure.
33447 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33448 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33449 # following values.
33453 # The following way of writing the cache mishandles newlines in values,
33454 # but we know of no workaround that is simple, portable, and efficient.
33455 # So, we kill variables containing newlines.
33456 # Ultrix sh set writes to stderr and can't be redirected directly,
33457 # and sets the high bit in the cache file unless we assign to the vars.
33459 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33460 eval ac_val=\$$ac_var
33464 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33465 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33468 _ | IFS | as_nl) ;; #(
33469 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33470 *) { eval $ac_var=; unset $ac_var;} ;;
33476 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33477 *${as_nl}ac_space=\ *)
33478 # `set' does not quote correctly, so add quotes: double-quote
33479 # substitution turns \\\\ into \\, and sed turns \\ into \.
33482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33485 # `set' quotes correctly as required by POSIX, so do not add quotes.
33486 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33497 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33499 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33500 if test -w "$cache_file"; then
33501 if test "x$cache_file" != "x/dev/null"; then
33502 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33503 $as_echo "$as_me: updating cache $cache_file" >&6;}
33504 if test ! -f "$cache_file" || test -h "$cache_file"; then
33505 cat confcache >"$cache_file"
33507 case $cache_file in #(
33509 mv -f confcache "$cache_file"$$ &&
33510 mv -f "$cache_file"$$ "$cache_file" ;; #(
33512 mv -f confcache "$cache_file" ;;
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33518 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33523 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33524 # Let make expand exec_prefix.
33525 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33527 DEFS=-DHAVE_CONFIG_H
33532 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33533 # 1. Remove the extension, and $U if already installed.
33534 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33535 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33536 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33537 # will be set to the directory where LIBOBJS objects are built.
33538 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33539 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33541 LIBOBJS=$ac_libobjs
33543 LTLIBOBJS=$ac_ltlibobjs
33546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
33547 $as_echo_n "checking that generated files are newer than configure... " >&6; }
33548 if test -n "$am_sleep_pid"; then
33549 # Hide warnings about reused PIDs.
33550 wait $am_sleep_pid 2>/dev/null
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
33553 $as_echo "done" >&6; }
33554 if test -n "$EXEEXT"; then
33556 am__EXEEXT_FALSE='#'
33558 am__EXEEXT_TRUE='#'
33562 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33563 as_fn_error $? "conditional \"AMDEP\" was never defined.
33564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33566 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33567 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33570 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33571 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33574 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33575 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33578 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33579 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33582 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33583 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33586 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
33587 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
33588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33590 if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
33591 as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
33592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33594 if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
33595 as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
33596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33599 if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
33600 as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
33601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33603 if test -z "${EVAS_CSERVE2_TRUE}" && test -z "${EVAS_CSERVE2_FALSE}"; then
33604 as_fn_error $? "conditional \"EVAS_CSERVE2\" was never defined.
33605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33607 if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
33608 as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
33609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33611 if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
33612 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
33613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33615 if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
33616 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
33617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33619 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
33620 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
33621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33623 if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
33624 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
33625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33627 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
33628 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
33629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33631 if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
33632 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
33633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33635 if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
33636 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
33637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33639 if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
33640 as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
33641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33643 if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
33644 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
33645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33647 if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
33648 as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
33649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33651 if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
33652 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
33653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33655 if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
33656 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
33657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33659 if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
33660 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
33661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33663 if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
33664 as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
33665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33667 if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
33668 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
33669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33671 if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
33672 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
33673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33675 if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
33676 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
33677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33679 if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
33680 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
33681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33683 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
33684 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
33685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33687 if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
33688 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
33689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33691 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
33692 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
33693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33695 if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
33696 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
33697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33699 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
33700 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
33701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33703 if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
33704 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
33705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33707 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
33708 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
33709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33711 if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
33712 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
33713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33715 if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
33716 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
33717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33719 if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
33720 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
33721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33723 if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
33724 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
33725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33727 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
33728 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
33729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33731 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33732 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33735 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33736 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33739 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33740 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33743 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33744 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33747 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33748 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33751 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33752 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33755 if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
33756 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
33757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33759 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
33760 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
33761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33763 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33764 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33767 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33768 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33771 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33772 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33775 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33776 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33779 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33780 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33783 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33784 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33787 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33788 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33791 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33792 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33795 if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
33796 as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
33797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33799 if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
33800 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
33801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33803 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33804 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33807 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33808 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33811 if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
33812 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
33813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33815 if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
33816 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
33817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33819 if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
33820 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
33821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33823 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
33824 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
33825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33827 if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
33828 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
33829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33831 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
33832 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
33833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33835 if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
33836 as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
33837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33839 if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
33840 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
33841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33843 if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
33844 as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
33845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33847 if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
33848 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
33849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33851 if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
33852 as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
33853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33855 if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
33856 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
33857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33859 if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
33860 as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
33861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33863 if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33864 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33867 if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33868 as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33871 if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33872 as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33875 if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33876 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33879 if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33880 as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33883 if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33884 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33887 if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33888 as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33891 if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33892 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33895 if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33896 as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33899 if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33900 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33903 if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33904 as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33907 if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33908 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33911 if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33912 as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33915 if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33916 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33919 if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33920 as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33923 if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33924 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33927 if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33928 as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33931 if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33932 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33935 if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33936 as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33939 if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33940 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33943 if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33944 as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33947 if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33948 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33951 if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33952 as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33955 if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33956 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33959 if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33960 as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33963 if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33964 as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33967 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33968 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33971 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33972 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33975 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33976 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33980 : "${CONFIG_STATUS=./config.status}"
33982 ac_clean_files_save=$ac_clean_files
33983 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33985 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33987 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33989 # Generated by $as_me.
33990 # Run this file to recreate the current configuration.
33991 # Compiler output produced by configure, useful for debugging
33992 # configure, is in config.log if it exists.
33995 ac_cs_recheck=false
33998 SHELL=\${CONFIG_SHELL-$SHELL}
34001 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
34002 ## -------------------- ##
34003 ## M4sh Initialization. ##
34004 ## -------------------- ##
34006 # Be more Bourne compatible
34007 DUALCASE=1; export DUALCASE # for MKS sh
34008 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
34011 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
34012 # is contrary to our usage. Disable this feature.
34013 alias -g '${1+"$@"}'='"$@"'
34014 setopt NO_GLOB_SUBST
34016 case `(set -o) 2>/dev/null` in #(
34028 # Printing a long string crashes Solaris 7 /usr/bin/printf.
34029 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
34030 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
34031 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
34032 # Prefer a ksh shell builtin over an external printf program on Solaris,
34033 # but without wasting forks for bash or zsh.
34034 if test -z "$BASH_VERSION$ZSH_VERSION" \
34035 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
34036 as_echo='print -r --'
34037 as_echo_n='print -rn --'
34038 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
34039 as_echo='printf %s\n'
34040 as_echo_n='printf %s'
34042 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
34043 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
34044 as_echo_n='/usr/ucb/echo -n'
34046 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
34047 as_echo_n_body='eval
34051 expr "X$arg" : "X\\(.*\\)$as_nl";
34052 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
34054 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
34056 export as_echo_n_body
34057 as_echo_n='sh -c $as_echo_n_body as_echo'
34059 export as_echo_body
34060 as_echo='sh -c $as_echo_body as_echo'
34063 # The user is always right.
34064 if test "${PATH_SEPARATOR+set}" != set; then
34066 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
34067 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
34074 # We need space, tab and new line, in precisely that order. Quoting is
34075 # there to prevent editors from complaining about space-tab.
34076 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34077 # splitting by setting IFS to empty value.)
34080 # Find who we are. Look in the path if we contain no directory separator.
34083 *[\\/]* ) as_myself=$0 ;;
34084 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34085 for as_dir in $PATH
34088 test -z "$as_dir" && as_dir=.
34089 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34095 # We did not find ourselves, most probably we were run as `sh COMMAND'
34096 # in which case we are not to be found in the path.
34097 if test "x$as_myself" = x; then
34100 if test ! -f "$as_myself"; then
34101 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34105 # Unset variables that we do not need and which cause bugs (e.g. in
34106 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
34107 # suppresses any "Segmentation fault" message there. '((' could
34108 # trigger a bug in pdksh 5.2.14.
34109 for as_var in BASH_ENV ENV MAIL MAILPATH
34110 do eval test x\${$as_var+set} = xset \
34111 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34124 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34127 # as_fn_error STATUS ERROR [LINENO LOG_FD]
34128 # ----------------------------------------
34129 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
34130 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
34131 # script with STATUS, using 1 if that was 0.
34134 as_status=$1; test $as_status -eq 0 && as_status=1
34136 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
34137 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
34139 $as_echo "$as_me: error: $2" >&2
34140 as_fn_exit $as_status
34144 # as_fn_set_status STATUS
34145 # -----------------------
34146 # Set $? to STATUS, without forking.
34147 as_fn_set_status ()
34150 } # as_fn_set_status
34152 # as_fn_exit STATUS
34153 # -----------------
34154 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34158 as_fn_set_status $1
34164 # Portably unset VAR.
34167 { eval $1=; unset $1;}
34169 as_unset=as_fn_unset
34170 # as_fn_append VAR VALUE
34171 # ----------------------
34172 # Append the text in VALUE to the end of the definition contained in VAR. Take
34173 # advantage of any shell optimizations that allow amortized linear growth over
34174 # repeated appends, instead of the typical quadratic growth present in naive
34176 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34177 eval 'as_fn_append ()
34188 # as_fn_arith ARG...
34189 # ------------------
34190 # Perform arithmetic evaluation on the ARGs, and store the result in the
34191 # global $as_val. Take advantage of shells that can avoid forks. The arguments
34192 # must be portable across $(()) and expr.
34193 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34194 eval 'as_fn_arith ()
34201 as_val=`expr "$@" || test $? -eq 1`
34206 if expr a : '\(a\)' >/dev/null 2>&1 &&
34207 test "X`expr 00001 : '.*\(...\)'`" = X001; then
34213 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34214 as_basename=basename
34219 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34225 as_me=`$as_basename -- "$0" ||
34226 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34227 X"$0" : 'X\(//\)$' \| \
34228 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34230 sed '/^.*\/\([^/][^/]*\)\/*$/{
34244 # Avoid depending upon Character Ranges.
34245 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34246 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34247 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34248 as_cr_digits='0123456789'
34249 as_cr_alnum=$as_cr_Letters$as_cr_digits
34251 ECHO_C= ECHO_N= ECHO_T=
34252 case `echo -n x` in #(((((
34254 case `echo 'xy\c'` in
34255 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
34257 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
34264 rm -f conf$$ conf$$.exe conf$$.file
34265 if test -d conf$$.dir; then
34266 rm -f conf$$.dir/conf$$.file
34269 mkdir conf$$.dir 2>/dev/null
34271 if (echo >conf$$.file) 2>/dev/null; then
34272 if ln -s conf$$.file conf$$ 2>/dev/null; then
34274 # ... but there are two gotchas:
34275 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34276 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34277 # In both cases, we have to default to `cp -pR'.
34278 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34280 elif ln conf$$.file conf$$ 2>/dev/null; then
34288 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34289 rmdir conf$$.dir 2>/dev/null
34294 # Create "$as_dir" as a directory, including parents if necessary.
34299 -*) as_dir=./$as_dir;;
34301 test -d "$as_dir" || eval $as_mkdir_p || {
34305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34306 *) as_qdir=$as_dir;;
34308 as_dirs="'$as_qdir' $as_dirs"
34309 as_dir=`$as_dirname -- "$as_dir" ||
34310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34311 X"$as_dir" : 'X\(//\)[^/]' \| \
34312 X"$as_dir" : 'X\(//\)$' \| \
34313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34314 $as_echo X"$as_dir" |
34315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34319 /^X\(\/\/\)[^/].*/{
34332 test -d "$as_dir" && break
34334 test -z "$as_dirs" || eval "mkdir $as_dirs"
34335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
34339 if mkdir -p . 2>/dev/null; then
34340 as_mkdir_p='mkdir -p "$as_dir"'
34342 test -d ./-p && rmdir ./-p
34347 # as_fn_executable_p FILE
34348 # -----------------------
34349 # Test if FILE is an executable regular file.
34350 as_fn_executable_p ()
34352 test -f "$1" && test -x "$1"
34353 } # as_fn_executable_p
34354 as_test_x='test -x'
34355 as_executable_p=as_fn_executable_p
34357 # Sed expression to map a string onto a valid CPP name.
34358 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34360 # Sed expression to map a string onto a valid variable name.
34361 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34365 ## ----------------------------------- ##
34366 ## Main body of $CONFIG_STATUS script. ##
34367 ## ----------------------------------- ##
34369 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34372 # Save the log message, to keep $0 and so on meaningful, and to
34373 # report actual input values of CONFIG_FILES etc. instead of their
34374 # values after options handling.
34376 This file was extended by evas $as_me 1.7.8, which was
34377 generated by GNU Autoconf 2.69. Invocation command line was
34379 CONFIG_FILES = $CONFIG_FILES
34380 CONFIG_HEADERS = $CONFIG_HEADERS
34381 CONFIG_LINKS = $CONFIG_LINKS
34382 CONFIG_COMMANDS = $CONFIG_COMMANDS
34385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34390 case $ac_config_files in *"
34391 "*) set x $ac_config_files; shift; ac_config_files=$*;;
34394 case $ac_config_headers in *"
34395 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34400 # Files that config.status was made for.
34401 config_files="$ac_config_files"
34402 config_headers="$ac_config_headers"
34403 config_commands="$ac_config_commands"
34407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34409 \`$as_me' instantiates files and other configuration actions
34410 from templates according to the current configuration. Unless the files
34411 and actions are specified as TAGs, all are instantiated by default.
34413 Usage: $0 [OPTION]... [TAG]...
34415 -h, --help print this help, then exit
34416 -V, --version print version number and configuration settings, then exit
34417 --config print configuration, then exit
34418 -q, --quiet, --silent
34419 do not print progress messages
34420 -d, --debug don't remove temporary files
34421 --recheck update $as_me by reconfiguring in the same conditions
34422 --file=FILE[:TEMPLATE]
34423 instantiate the configuration file FILE
34424 --header=FILE[:TEMPLATE]
34425 instantiate the configuration header FILE
34427 Configuration files:
34430 Configuration headers:
34433 Configuration commands:
34436 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
34439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34440 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34442 evas config.status 1.7.8
34443 configured by $0, generated by GNU Autoconf 2.69,
34444 with options \\"\$ac_cs_config\\"
34446 Copyright (C) 2012 Free Software Foundation, Inc.
34447 This config.status script is free software; the Free Software Foundation
34448 gives unlimited permission to copy, distribute and modify it."
34455 test -n "\$AWK" || AWK=awk
34458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34459 # The default lists apply if the user does not specify any file.
34465 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34466 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34470 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34482 # Handling of the options.
34483 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34485 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34486 $as_echo "$ac_cs_version"; exit ;;
34487 --config | --confi | --conf | --con | --co | --c )
34488 $as_echo "$ac_cs_config"; exit ;;
34489 --debug | --debu | --deb | --de | --d | -d )
34491 --file | --fil | --fi | --f )
34494 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34495 '') as_fn_error $? "missing file argument" ;;
34497 as_fn_append CONFIG_FILES " '$ac_optarg'"
34498 ac_need_defaults=false;;
34499 --header | --heade | --head | --hea )
34502 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34504 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
34505 ac_need_defaults=false;;
34507 # Conflict between --help and --header
34508 as_fn_error $? "ambiguous option: \`$1'
34509 Try \`$0 --help' for more information.";;
34510 --help | --hel | -h )
34511 $as_echo "$ac_cs_usage"; exit ;;
34512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34513 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34516 # This is an error.
34517 -*) as_fn_error $? "unrecognized option: \`$1'
34518 Try \`$0 --help' for more information." ;;
34520 *) as_fn_append ac_config_targets " $1"
34521 ac_need_defaults=false ;;
34527 ac_configure_extra_args=
34529 if $ac_cs_silent; then
34531 ac_configure_extra_args="$ac_configure_extra_args --silent"
34535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34536 if \$ac_cs_recheck; then
34537 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34539 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
34540 CONFIG_SHELL='$SHELL'
34541 export CONFIG_SHELL
34546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34550 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34551 ## Running $as_me. ##
34557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34561 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34564 # The HP-UX ksh and POSIX shell print the target directory to stdout
34565 # if CDPATH is set.
34566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34568 sed_quote_subst='$sed_quote_subst'
34569 double_quote_subst='$double_quote_subst'
34570 delay_variable_subst='$delay_variable_subst'
34571 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
34572 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
34573 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
34574 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
34575 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
34576 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
34577 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
34578 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
34579 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
34580 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
34581 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
34582 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
34583 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
34584 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
34585 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
34586 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
34587 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
34588 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
34589 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
34590 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
34591 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
34592 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
34593 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
34594 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
34595 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
34596 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
34597 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
34598 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
34599 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
34600 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
34601 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
34602 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
34603 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
34604 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
34605 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
34606 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
34607 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
34608 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
34609 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
34610 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
34611 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
34612 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
34613 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
34614 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
34615 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
34616 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
34617 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34618 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34619 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
34620 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
34621 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
34622 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
34623 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
34624 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
34625 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
34626 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
34627 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
34628 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"`'
34629 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
34630 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
34631 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
34632 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
34633 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
34634 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
34635 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
34636 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
34637 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
34638 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
34639 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
34640 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
34641 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
34642 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
34643 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
34644 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
34645 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
34646 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
34647 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34648 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
34649 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
34650 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
34651 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
34652 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
34653 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
34654 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34655 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
34656 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34657 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
34658 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34659 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
34660 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
34661 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
34662 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
34663 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
34664 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
34665 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
34666 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
34667 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
34668 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
34669 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
34670 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
34671 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
34672 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
34673 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
34674 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
34675 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
34676 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
34677 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
34678 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
34679 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
34680 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
34681 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
34682 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
34683 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
34684 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
34685 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
34686 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
34687 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
34688 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
34689 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34690 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34691 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
34692 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
34693 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
34694 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
34695 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
34696 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
34697 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
34698 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
34699 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
34700 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
34701 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
34702 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
34703 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
34704 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
34705 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
34706 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
34707 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
34708 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
34709 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
34710 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34711 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34712 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
34713 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
34714 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
34715 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
34716 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
34717 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
34718 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
34719 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
34720 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
34721 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34722 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34723 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
34724 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34725 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34726 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34727 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34728 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34729 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34730 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
34731 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34732 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34733 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34734 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
34735 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
34736 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
34737 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
34738 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
34739 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
34740 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
34741 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
34742 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
34743 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34744 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34745 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34746 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34747 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34748 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
34749 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
34750 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
34751 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34752 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34753 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
34754 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
34755 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
34758 LTCFLAGS='$LTCFLAGS'
34759 compiler='$compiler_DEFAULT'
34761 # A function that is used when there is no print builtin or printf.
34762 func_fallback_echo ()
34764 eval 'cat <<_LTECHO_EOF
34769 # Quote evaled strings.
34786 deplibs_check_method \
34790 sharedlib_from_linklib_cmd \
34793 archiver_list_spec \
34799 lt_cv_sys_global_symbol_pipe \
34800 lt_cv_sys_global_symbol_to_cdecl \
34801 lt_cv_sys_global_symbol_to_c_name_address \
34802 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34803 nm_file_list_spec \
34804 lt_prog_compiler_no_builtin_flag \
34805 lt_prog_compiler_pic \
34806 lt_prog_compiler_wl \
34807 lt_prog_compiler_static \
34808 lt_cv_prog_compiler_c_o \
34817 export_dynamic_flag_spec \
34818 whole_archive_flag_spec \
34819 compiler_needs_object \
34821 allow_undefined_flag \
34822 no_undefined_flag \
34823 hardcode_libdir_flag_spec \
34824 hardcode_libdir_separator \
34828 variables_saved_for_relink \
34830 library_names_spec \
34832 install_override_mode \
34836 compiler_lib_search_dirs \
34841 compiler_lib_search_path \
34845 lt_prog_compiler_no_builtin_flag_CXX \
34846 lt_prog_compiler_pic_CXX \
34847 lt_prog_compiler_wl_CXX \
34848 lt_prog_compiler_static_CXX \
34849 lt_cv_prog_compiler_c_o_CXX \
34850 export_dynamic_flag_spec_CXX \
34851 whole_archive_flag_spec_CXX \
34852 compiler_needs_object_CXX \
34854 allow_undefined_flag_CXX \
34855 no_undefined_flag_CXX \
34856 hardcode_libdir_flag_spec_CXX \
34857 hardcode_libdir_separator_CXX \
34858 exclude_expsyms_CXX \
34859 include_expsyms_CXX \
34860 file_list_spec_CXX \
34861 compiler_lib_search_dirs_CXX \
34862 predep_objects_CXX \
34863 postdep_objects_CXX \
34866 compiler_lib_search_path_CXX; do
34867 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34868 *[\\\\\\\`\\"\\\$]*)
34869 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34872 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34877 # Double-quote double-evaled strings.
34878 for var in reload_cmds \
34879 old_postinstall_cmds \
34880 old_postuninstall_cmds \
34882 extract_expsyms_cmds \
34883 old_archive_from_new_cmds \
34884 old_archive_from_expsyms_cmds \
34886 archive_expsym_cmds \
34888 module_expsym_cmds \
34889 export_symbols_cmds \
34893 postuninstall_cmds \
34895 sys_lib_search_path_spec \
34896 sys_lib_dlsearch_path_spec \
34898 old_archive_cmds_CXX \
34899 old_archive_from_new_cmds_CXX \
34900 old_archive_from_expsyms_cmds_CXX \
34902 archive_expsym_cmds_CXX \
34904 module_expsym_cmds_CXX \
34905 export_symbols_cmds_CXX \
34907 postlink_cmds_CXX; do
34908 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34909 *[\\\\\\\`\\"\\\$]*)
34910 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34913 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34918 ac_aux_dir='$ac_aux_dir'
34919 xsi_shell='$xsi_shell'
34920 lt_shell_append='$lt_shell_append'
34922 # See if we are running on zsh, and set the options which allow our
34923 # commands through without removal of \ escapes INIT.
34924 if test -n "\${ZSH_VERSION+set}" ; then
34925 setopt NO_GLOB_SUBST
34931 TIMESTAMP='$TIMESTAMP'
34942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34944 # Handling of arguments.
34945 for ac_config_target in $ac_config_targets
34947 case $ac_config_target in
34948 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34949 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34950 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34951 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34952 "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34953 "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34954 "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34955 "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34956 "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34957 "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34958 "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34959 "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34960 "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34961 "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34962 "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34963 "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34964 "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34965 "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34966 "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34967 "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34968 "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34969 "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34970 "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34971 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34972 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34973 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34974 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34975 "src/bin/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/Makefile" ;;
34976 "src/bin/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/jpeg/Makefile" ;;
34977 "src/bin/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/png/Makefile" ;;
34978 "src/bin/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/eet/Makefile" ;;
34979 "src/bin/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tiff/Makefile" ;;
34980 "src/bin/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/xpm/Makefile" ;;
34981 "src/bin/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/bmp/Makefile" ;;
34982 "src/bin/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/ico/Makefile" ;;
34983 "src/bin/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tga/Makefile" ;;
34984 "src/bin/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/pmaps/Makefile" ;;
34985 "src/bin/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/wbmp/Makefile" ;;
34986 "src/bin/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/psd/Makefile" ;;
34987 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34988 "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34989 "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34990 "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34991 "src/lib/cache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache2/Makefile" ;;
34992 "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34993 "src/lib/cserve2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve2/Makefile" ;;
34994 "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34995 "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34996 "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34997 "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34998 "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34999 "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
35000 "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
35001 "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
35002 "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
35003 "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
35004 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
35005 "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
35006 "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
35007 "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
35008 "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
35009 "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
35010 "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
35011 "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
35012 "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
35013 "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
35014 "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
35015 "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
35016 "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
35017 "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
35018 "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
35019 "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
35020 "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
35021 "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
35022 "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
35023 "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
35024 "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
35025 "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
35026 "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
35027 "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
35028 "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
35029 "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
35030 "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
35031 "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
35032 "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
35033 "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
35034 "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
35035 "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
35036 "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
35037 "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
35038 "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
35039 "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
35040 "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
35041 "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
35042 "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
35043 "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
35044 "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
35045 "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
35046 "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
35047 "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
35048 "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
35049 "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
35050 "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
35051 "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
35052 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
35053 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
35054 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
35055 "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
35057 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
35062 # If the user did not use the arguments to specify the items to instantiate,
35063 # then the envvar interface is used. Set only those that are not.
35064 # We use the long form for the default assignment because of an extremely
35065 # bizarre bug on SunOS 4.1.3.
35066 if $ac_need_defaults; then
35067 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35068 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35069 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35072 # Have a temporary directory for convenience. Make it in the build tree
35073 # simply because there is no reason against having it here, and in addition,
35074 # creating and moving files from /tmp can sometimes cause problems.
35075 # Hook for its removal unless debugging.
35076 # Note that there is a small window in which the directory will not be cleaned:
35077 # after its creation but before its name has been assigned to `$tmp'.
35081 trap 'exit_status=$?
35082 : "${ac_tmp:=$tmp}"
35083 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
35085 trap 'as_fn_exit 1' 1 2 13 15
35087 # Create a (secure) tmp directory for tmp files.
35090 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35094 tmp=./conf$$-$RANDOM
35095 (umask 077 && mkdir "$tmp")
35096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
35099 # Set up the scripts for CONFIG_FILES section.
35100 # No need to generate them if there are no CONFIG_FILES.
35101 # This happens for instance with `./config.status config.h'.
35102 if test -n "$CONFIG_FILES"; then
35105 ac_cr=`echo X | tr X '\015'`
35106 # On cygwin, bash can eat \r inside `` if the user requested igncr.
35107 # But we know of no other shell where ac_cr would be empty at this
35108 # point, so we can use a bashism as a fallback.
35109 if test "x$ac_cr" = x; then
35110 eval ac_cr=\$\'\\r\'
35112 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
35113 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
35116 ac_cs_awk_cr=$ac_cr
35119 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
35124 echo "cat >conf$$subs.awk <<_ACEOF" &&
35125 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35127 } >conf$$subs.sh ||
35128 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35129 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
35131 for ac_last_try in false false false false false :; do
35132 . ./conf$$subs.sh ||
35133 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35135 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35136 if test $ac_delim_n = $ac_delim_num; then
35138 elif $ac_last_try; then
35139 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35141 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35144 rm -f conf$$subs.sh
35146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35147 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
35151 s/^/S["/; s/!.*/"]=/
35161 s/\(.\{148\}\)..*/\1/
35163 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
35168 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35175 s/\(.\{148\}\)..*/\1/
35177 s/["\\]/\\&/g; s/^/"/; s/$/"/
35181 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35186 ' <conf$$subs.awk | sed '
35191 ' >>$CONFIG_STATUS || ac_write_fail=1
35192 rm -f conf$$subs.awk
35193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35195 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
35196 for (key in S) S_is_set[key] = 1
35202 nfields = split(line, field, "@")
35204 len = length(field[1])
35205 for (i = 2; i < nfields; i++) {
35207 keylen = length(key)
35208 if (S_is_set[key]) {
35210 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
35211 len += length(value) + length(field[++i])
35222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35223 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
35224 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
35227 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
35228 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
35231 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
35232 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
35233 # trailing colons and then remove the whole line if VPATH becomes empty
35234 # (actually we leave an empty line to preserve line numbers).
35235 if test "x$srcdir" = x.; then
35236 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
35254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35255 fi # test -n "$CONFIG_FILES"
35257 # Set up the scripts for CONFIG_HEADERS section.
35258 # No need to generate them if there are no CONFIG_HEADERS.
35259 # This happens for instance with `./config.status Makefile'.
35260 if test -n "$CONFIG_HEADERS"; then
35261 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
35265 # Transform confdefs.h into an awk script `defines.awk', embedded as
35266 # here-document in config.status, that substitutes the proper values into
35267 # config.h.in to produce config.h.
35269 # Create a delimiter string that does not exist in confdefs.h, to ease
35270 # handling of long lines.
35272 for ac_last_try in false false :; do
35273 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
35274 if test -z "$ac_tt"; then
35276 elif $ac_last_try; then
35277 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
35279 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35283 # For the awk script, D is an array of macro values keyed by name,
35284 # likewise P contains macro parameters if any. Preserve backslash
35285 # newline sequences.
35287 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35289 s/.\{148\}/&'"$ac_delim"'/g
35292 s/^[ ]*#[ ]*define[ ][ ]*/ /
35299 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
35301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
35305 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
35306 D["\1"]=" \3\\\\\\n"\\/p
35308 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
35313 s/.\{148\}/&'"$ac_delim"'/g
35318 s/["\\]/\\&/g; s/^/"/; s/$/"/p
35321 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
35323 ' <confdefs.h | sed '
35324 s/'"$ac_delim"'/"\\\
35325 "/g' >>$CONFIG_STATUS || ac_write_fail=1
35327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35328 for (key in D) D_is_set[key] = 1
35331 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
35333 split(line, arg, " ")
35334 if (arg[1] == "#") {
35338 defundef = substr(arg[1], 2)
35341 split(mac1, mac2, "(") #)
35343 prefix = substr(line, 1, index(line, defundef) - 1)
35344 if (D_is_set[macro]) {
35345 # Preserve the white space surrounding the "#".
35346 print prefix "define", macro P[macro] D[macro]
35349 # Replace #undef with comments. This is necessary, for example,
35350 # in the case of _POSIX_SOURCE, which is predefined and required
35351 # on some systems where configure will not decide to define it.
35352 if (defundef == "undef") {
35353 print "/*", prefix defundef, macro, "*/"
35361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35362 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
35363 fi # test -n "$CONFIG_HEADERS"
35366 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
35371 :[FHLC]) ac_mode=$ac_tag; continue;;
35373 case $ac_mode$ac_tag in
35375 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
35376 :[FH]-) ac_tag=-:-;;
35377 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
35394 -) ac_f="$ac_tmp/stdin";;
35395 *) # Look for the file first in the build tree, then in the source tree
35396 # (if the path is not absolute). The absolute path cannot be DOS-style,
35397 # because $ac_f cannot contain `:'.
35401 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
35403 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
35405 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
35406 as_fn_append ac_file_inputs " '$ac_f'"
35409 # Let's still pretend it is `configure' which instantiates (i.e., don't
35410 # use $as_me), people would be surprised to read:
35411 # /* config.h. Generated by config.status. */
35412 configure_input='Generated from '`
35413 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
35415 if test x"$ac_file" != x-; then
35416 configure_input="$ac_file. $configure_input"
35417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
35418 $as_echo "$as_me: creating $ac_file" >&6;}
35420 # Neutralize special characters interpreted by sed in replacement strings.
35421 case $configure_input in #(
35422 *\&* | *\|* | *\\* )
35423 ac_sed_conf_input=`$as_echo "$configure_input" |
35424 sed 's/[\\\\&|]/\\\\&/g'`;; #(
35425 *) ac_sed_conf_input=$configure_input;;
35429 *:-:* | *:-) cat >"$ac_tmp/stdin" \
35430 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35435 ac_dir=`$as_dirname -- "$ac_file" ||
35436 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35437 X"$ac_file" : 'X\(//\)[^/]' \| \
35438 X"$ac_file" : 'X\(//\)$' \| \
35439 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35440 $as_echo X"$ac_file" |
35441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35445 /^X\(\/\/\)[^/].*/{
35458 as_dir="$ac_dir"; as_fn_mkdir_p
35462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
35464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
35465 # A ".." for each directory in $ac_dir_suffix.
35466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
35467 case $ac_top_builddir_sub in
35468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
35469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
35472 ac_abs_top_builddir=$ac_pwd
35473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
35474 # for backward compatibility:
35475 ac_top_builddir=$ac_top_build_prefix
35478 .) # We are building in place.
35480 ac_top_srcdir=$ac_top_builddir_sub
35481 ac_abs_top_srcdir=$ac_pwd ;;
35482 [\\/]* | ?:[\\/]* ) # Absolute name.
35483 ac_srcdir=$srcdir$ac_dir_suffix;
35484 ac_top_srcdir=$srcdir
35485 ac_abs_top_srcdir=$srcdir ;;
35486 *) # Relative name.
35487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
35488 ac_top_srcdir=$ac_top_build_prefix$srcdir
35489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
35491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
35501 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35502 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35504 ac_MKDIR_P=$MKDIR_P
35506 [\\/$]* | ?:[\\/]* ) ;;
35507 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
35511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35512 # If the template does not know about datarootdir, expand it.
35513 # FIXME: This hack should be removed a few years after 2.60.
35514 ac_datarootdir_hack=; ac_datarootdir_seen=
35525 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
35526 *datarootdir*) ac_datarootdir_seen=yes;;
35527 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35529 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35532 ac_datarootdir_hack='
35533 s&@datadir@&$datadir&g
35534 s&@docdir@&$docdir&g
35535 s&@infodir@&$infodir&g
35536 s&@localedir@&$localedir&g
35537 s&@mandir@&$mandir&g
35538 s&\\\${datarootdir}&$datarootdir&g' ;;
35542 # Neutralize VPATH when `$srcdir' = `.'.
35543 # Shell code in configure.ac might set extrasub.
35544 # FIXME: do we really want to maintain this feature?
35545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35546 ac_sed_extra="$ac_vpsub
35549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35551 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35552 s|@configure_input@|$ac_sed_conf_input|;t t
35553 s&@top_builddir@&$ac_top_builddir_sub&;t t
35554 s&@top_build_prefix@&$ac_top_build_prefix&;t t
35555 s&@srcdir@&$ac_srcdir&;t t
35556 s&@abs_srcdir@&$ac_abs_srcdir&;t t
35557 s&@top_srcdir@&$ac_top_srcdir&;t t
35558 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35559 s&@builddir@&$ac_builddir&;t t
35560 s&@abs_builddir@&$ac_abs_builddir&;t t
35561 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35562 s&@INSTALL@&$ac_INSTALL&;t t
35563 s&@MKDIR_P@&$ac_MKDIR_P&;t t
35564 $ac_datarootdir_hack
35566 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
35567 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35569 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35570 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
35571 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
35572 "$ac_tmp/out"`; test -z "$ac_out"; } &&
35573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35574 which seems to be undefined. Please make sure it is defined" >&5
35575 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35576 which seems to be undefined. Please make sure it is defined" >&2;}
35578 rm -f "$ac_tmp/stdin"
35580 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
35581 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
35583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35589 if test x"$ac_file" != x-; then
35591 $as_echo "/* $configure_input */" \
35592 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
35593 } >"$ac_tmp/config.h" \
35594 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35595 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
35596 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
35597 $as_echo "$as_me: $ac_file is unchanged" >&6;}
35600 mv "$ac_tmp/config.h" "$ac_file" \
35601 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35604 $as_echo "/* $configure_input */" \
35605 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
35606 || as_fn_error $? "could not create -" "$LINENO" 5
35608 # Compute "$ac_file"'s index in $config_headers.
35611 for _am_header in $config_headers :; do
35612 case $_am_header in
35613 $_am_arg | $_am_arg:* )
35616 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35619 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
35620 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35621 X"$_am_arg" : 'X\(//\)[^/]' \| \
35622 X"$_am_arg" : 'X\(//\)$' \| \
35623 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
35624 $as_echo X"$_am_arg" |
35625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35629 /^X\(\/\/\)[^/].*/{
35641 s/.*/./; q'`/stamp-h$_am_stamp_count
35644 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
35645 $as_echo "$as_me: executing $ac_file commands" >&6;}
35650 case $ac_file$ac_mode in
35651 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
35652 # Older Autoconf quotes --file arguments for eval, but not when files
35653 # are listed without --file. Let's play safe and only enable the eval
35654 # if we detect the quoting.
35655 case $CONFIG_FILES in
35656 *\'*) eval set x "$CONFIG_FILES" ;;
35657 *) set x $CONFIG_FILES ;;
35662 # Strip MF so we end up with the name of the file.
35663 mf=`echo "$mf" | sed -e 's/:.*$//'`
35664 # Check whether this is an Automake generated Makefile or not.
35665 # We used to match only the files named 'Makefile.in', but
35666 # some people rename them; so instead we look at the file content.
35667 # Grep'ing the first line is not enough: some people post-process
35668 # each Makefile.in and add a new line on top of each file to say so.
35669 # Grep'ing the whole file is not good either: AIX grep has a line
35670 # limit of 2048, but all sed's we know have understand at least 4000.
35671 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
35672 dirpart=`$as_dirname -- "$mf" ||
35673 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35674 X"$mf" : 'X\(//\)[^/]' \| \
35675 X"$mf" : 'X\(//\)$' \| \
35676 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35682 /^X\(\/\/\)[^/].*/{
35698 # Extract the definition of DEPDIR, am__include, and am__quote
35699 # from the Makefile without running 'make'.
35700 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35701 test -z "$DEPDIR" && continue
35702 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35703 test -z "$am__include" && continue
35704 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35705 # Find all dependency output files, they are included files with
35706 # $(DEPDIR) in their names. We invoke sed twice because it is the
35707 # simplest approach to changing $(DEPDIR) to its actual value in the
35709 for file in `sed -n "
35710 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35711 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
35712 # Make sure the directory exists.
35713 test -f "$dirpart/$file" && continue
35714 fdir=`$as_dirname -- "$file" ||
35715 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35716 X"$file" : 'X\(//\)[^/]' \| \
35717 X"$file" : 'X\(//\)$' \| \
35718 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35719 $as_echo X"$file" |
35720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35724 /^X\(\/\/\)[^/].*/{
35737 as_dir=$dirpart/$fdir; as_fn_mkdir_p
35738 # echo "creating $dirpart/$file"
35739 echo '# dummy' > "$dirpart/$file"
35746 # See if we are running on zsh, and set the options which allow our
35747 # commands through without removal of \ escapes.
35748 if test -n "${ZSH_VERSION+set}" ; then
35749 setopt NO_GLOB_SUBST
35752 cfgfile="${ofile}T"
35753 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35756 cat <<_LT_EOF >> "$cfgfile"
35759 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35760 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
35761 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35762 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35764 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35765 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
35767 # Written by Gordon Matzigkeit, 1996
35769 # This file is part of GNU Libtool.
35771 # GNU Libtool is free software; you can redistribute it and/or
35772 # modify it under the terms of the GNU General Public License as
35773 # published by the Free Software Foundation; either version 2 of
35774 # the License, or (at your option) any later version.
35776 # As a special exception to the GNU General Public License,
35777 # if you distribute this file as part of a program or library that
35778 # is built using GNU Libtool, you may include this file under the
35779 # same distribution terms that you use for the rest of that program.
35781 # GNU Libtool is distributed in the hope that it will be useful,
35782 # but WITHOUT ANY WARRANTY; without even the implied warranty of
35783 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35784 # GNU General Public License for more details.
35786 # You should have received a copy of the GNU General Public License
35787 # along with GNU Libtool; see the file COPYING. If not, a copy
35788 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
35789 # obtained by writing to the Free Software Foundation, Inc.,
35790 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
35793 # The names of the tagged configurations supported by this script.
35794 available_tags="CXX "
35796 # ### BEGIN LIBTOOL CONFIG
35798 # Assembler program.
35801 # DLL creation program.
35802 DLLTOOL=$lt_DLLTOOL
35804 # Object dumper program.
35805 OBJDUMP=$lt_OBJDUMP
35807 # Which release of libtool.m4 was used?
35808 macro_version=$macro_version
35809 macro_revision=$macro_revision
35811 # Whether or not to build shared libraries.
35812 build_libtool_libs=$enable_shared
35814 # Whether or not to build static libraries.
35815 build_old_libs=$enable_static
35817 # What type of objects to build.
35820 # Whether or not to optimize for fast installation.
35821 fast_install=$enable_fast_install
35823 # Shell to use when invoking shell scripts.
35826 # An echo program that protects backslashes.
35829 # The PATH separator for the build system.
35830 PATH_SEPARATOR=$lt_PATH_SEPARATOR
35833 host_alias=$host_alias
35837 # The build system.
35838 build_alias=$build_alias
35842 # A sed program that does not truncate output.
35845 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35846 Xsed="\$SED -e 1s/^X//"
35848 # A grep program that handles long lines.
35854 # A literal string matcher.
35857 # A BSD- or MS-compatible name lister.
35860 # Whether we need soft or hard links.
35863 # What is the maximum length of a command?
35864 max_cmd_len=$max_cmd_len
35866 # Object file suffix (normally "o").
35869 # Executable file suffix (normally "").
35872 # whether the shell understands "unset".
35875 # turn spaces into newlines.
35878 # turn newlines into spaces.
35881 # convert \$build file names to \$host format.
35882 to_host_file_cmd=$lt_cv_to_host_file_cmd
35884 # convert \$build files to toolchain format.
35885 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
35887 # Method to check whether dependent libraries are shared objects.
35888 deplibs_check_method=$lt_deplibs_check_method
35890 # Command to use when deplibs_check_method = "file_magic".
35891 file_magic_cmd=$lt_file_magic_cmd
35893 # How to find potential files when deplibs_check_method = "file_magic".
35894 file_magic_glob=$lt_file_magic_glob
35896 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
35897 want_nocaseglob=$lt_want_nocaseglob
35899 # Command to associate shared and link libraries.
35900 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
35905 # Flags to create an archive.
35906 AR_FLAGS=$lt_AR_FLAGS
35908 # How to feed a file listing to the archiver.
35909 archiver_list_spec=$lt_archiver_list_spec
35911 # A symbol stripping program.
35914 # Commands used to install an old-style archive.
35916 old_postinstall_cmds=$lt_old_postinstall_cmds
35917 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35919 # Whether to use a lock for old archive extraction.
35920 lock_old_archive_extraction=$lock_old_archive_extraction
35925 # LTCC compiler flags.
35926 LTCFLAGS=$lt_CFLAGS
35928 # Take the output of nm and produce a listing of raw symbols and C names.
35929 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35931 # Transform the output of nm in a proper C declaration.
35932 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35934 # Transform the output of nm in a C name address pair.
35935 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35937 # Transform the output of nm in a C name address pair when lib prefix is needed.
35938 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35940 # Specify filename containing input files for \$NM.
35941 nm_file_list_spec=$lt_nm_file_list_spec
35943 # The root where to search for dependent libraries,and in which our libraries should be installed.
35944 lt_sysroot=$lt_sysroot
35946 # The name of the directory that contains temporary libtool files.
35949 # Used to examine libraries when file_magic_cmd begins with "file".
35950 MAGIC_CMD=$MAGIC_CMD
35952 # Must we lock files when doing compilation?
35953 need_locks=$lt_need_locks
35956 MANIFEST_TOOL=$lt_MANIFEST_TOOL
35958 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35959 DSYMUTIL=$lt_DSYMUTIL
35961 # Tool to change global to local symbols on Mac OS X.
35964 # Tool to manipulate fat objects and archives on Mac OS X.
35967 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
35970 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35971 OTOOL64=$lt_OTOOL64
35973 # Old archive suffix (normally "a").
35976 # Shared library suffix (normally ".so").
35977 shrext_cmds=$lt_shrext_cmds
35979 # The commands to extract the exported symbol list from a shared archive.
35980 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35982 # Variables whose values should be saved in libtool wrapper scripts and
35983 # restored at link time.
35984 variables_saved_for_relink=$lt_variables_saved_for_relink
35986 # Do we need the "lib" prefix for modules?
35987 need_lib_prefix=$need_lib_prefix
35989 # Do we need a version for libraries?
35990 need_version=$need_version
35992 # Library versioning type.
35993 version_type=$version_type
35995 # Shared library runtime path variable.
35996 runpath_var=$runpath_var
35998 # Shared library path variable.
35999 shlibpath_var=$shlibpath_var
36001 # Is shlibpath searched before the hard-coded library search path?
36002 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36004 # Format of library name prefix.
36005 libname_spec=$lt_libname_spec
36007 # List of archive names. First name is the real one, the rest are links.
36008 # The last name is the one that the linker finds with -lNAME
36009 library_names_spec=$lt_library_names_spec
36011 # The coded name of the library, if different from the real name.
36012 soname_spec=$lt_soname_spec
36014 # Permission mode override for installation of shared libraries.
36015 install_override_mode=$lt_install_override_mode
36017 # Command to use after installation of a shared archive.
36018 postinstall_cmds=$lt_postinstall_cmds
36020 # Command to use after uninstallation of a shared archive.
36021 postuninstall_cmds=$lt_postuninstall_cmds
36023 # Commands used to finish a libtool library installation in a directory.
36024 finish_cmds=$lt_finish_cmds
36026 # As "finish_cmds", except a single script fragment to be evaled but
36028 finish_eval=$lt_finish_eval
36030 # Whether we should hardcode library paths into libraries.
36031 hardcode_into_libs=$hardcode_into_libs
36033 # Compile-time system search path for libraries.
36034 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36036 # Run-time system search path for libraries.
36037 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36039 # Whether dlopen is supported.
36040 dlopen_support=$enable_dlopen
36042 # Whether dlopen of programs is supported.
36043 dlopen_self=$enable_dlopen_self
36045 # Whether dlopen of statically linked programs is supported.
36046 dlopen_self_static=$enable_dlopen_self_static
36048 # Commands to strip libraries.
36049 old_striplib=$lt_old_striplib
36050 striplib=$lt_striplib
36053 # The linker used to build libraries.
36056 # How to create reloadable object files.
36057 reload_flag=$lt_reload_flag
36058 reload_cmds=$lt_reload_cmds
36060 # Commands used to build an old-style archive.
36061 old_archive_cmds=$lt_old_archive_cmds
36063 # A language specific compiler.
36066 # Is the compiler the GNU compiler?
36069 # Compiler flag to turn off builtin functions.
36070 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36072 # Additional compiler flags for building library objects.
36073 pic_flag=$lt_lt_prog_compiler_pic
36075 # How to pass a linker flag through the compiler.
36076 wl=$lt_lt_prog_compiler_wl
36078 # Compiler flag to prevent dynamic linking.
36079 link_static_flag=$lt_lt_prog_compiler_static
36081 # Does compiler simultaneously support -c and -o options?
36082 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36084 # Whether or not to add -lc for building shared libraries.
36085 build_libtool_need_lc=$archive_cmds_need_lc
36087 # Whether or not to disallow shared libs when runtime libs are static.
36088 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36090 # Compiler flag to allow reflexive dlopens.
36091 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36093 # Compiler flag to generate shared objects directly from archives.
36094 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36096 # Whether the compiler copes with passing no objects directly.
36097 compiler_needs_object=$lt_compiler_needs_object
36099 # Create an old-style archive from a shared archive.
36100 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36102 # Create a temporary old-style archive to link instead of a shared archive.
36103 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36105 # Commands used to build a shared archive.
36106 archive_cmds=$lt_archive_cmds
36107 archive_expsym_cmds=$lt_archive_expsym_cmds
36109 # Commands used to build a loadable module if different from building
36110 # a shared archive.
36111 module_cmds=$lt_module_cmds
36112 module_expsym_cmds=$lt_module_expsym_cmds
36114 # Whether we are building with GNU ld or not.
36115 with_gnu_ld=$lt_with_gnu_ld
36117 # Flag that allows shared libraries with undefined symbols to be built.
36118 allow_undefined_flag=$lt_allow_undefined_flag
36120 # Flag that enforces no undefined symbols.
36121 no_undefined_flag=$lt_no_undefined_flag
36123 # Flag to hardcode \$libdir into a binary during linking.
36124 # This must work even if \$libdir does not exist
36125 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36127 # Whether we need a single "-rpath" flag with a separated argument.
36128 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36130 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36131 # DIR into the resulting binary.
36132 hardcode_direct=$hardcode_direct
36134 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36135 # DIR into the resulting binary and the resulting library dependency is
36136 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36137 # library is relocated.
36138 hardcode_direct_absolute=$hardcode_direct_absolute
36140 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36141 # into the resulting binary.
36142 hardcode_minus_L=$hardcode_minus_L
36144 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36145 # into the resulting binary.
36146 hardcode_shlibpath_var=$hardcode_shlibpath_var
36148 # Set to "yes" if building a shared library automatically hardcodes DIR
36149 # into the library and all subsequent libraries and executables linked
36151 hardcode_automatic=$hardcode_automatic
36153 # Set to yes if linker adds runtime paths of dependent libraries
36154 # to runtime path list.
36155 inherit_rpath=$inherit_rpath
36157 # Whether libtool must link a program against all its dependency libraries.
36158 link_all_deplibs=$link_all_deplibs
36160 # Set to "yes" if exported symbols are required.
36161 always_export_symbols=$always_export_symbols
36163 # The commands to list exported symbols.
36164 export_symbols_cmds=$lt_export_symbols_cmds
36166 # Symbols that should not be listed in the preloaded symbols.
36167 exclude_expsyms=$lt_exclude_expsyms
36169 # Symbols that must always be exported.
36170 include_expsyms=$lt_include_expsyms
36172 # Commands necessary for linking programs (against libraries) with templates.
36173 prelink_cmds=$lt_prelink_cmds
36175 # Commands necessary for finishing linking programs.
36176 postlink_cmds=$lt_postlink_cmds
36178 # Specify filename containing input files.
36179 file_list_spec=$lt_file_list_spec
36181 # How to hardcode a shared library path into an executable.
36182 hardcode_action=$hardcode_action
36184 # The directories searched by this compiler when creating a shared library.
36185 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36187 # Dependencies to place before and after the objects being linked to
36188 # create a shared library.
36189 predep_objects=$lt_predep_objects
36190 postdep_objects=$lt_postdep_objects
36191 predeps=$lt_predeps
36192 postdeps=$lt_postdeps
36194 # The library search path used internally by the compiler when linking
36195 # a shared library.
36196 compiler_lib_search_path=$lt_compiler_lib_search_path
36198 # ### END LIBTOOL CONFIG
36204 cat <<\_LT_EOF >> "$cfgfile"
36205 # AIX sometimes has problems with the GCC collect2 program. For some
36206 # reason, if we set the COLLECT_NAMES environment variable, the problems
36207 # vanish in a puff of smoke.
36208 if test "X${COLLECT_NAMES+set}" != Xset; then
36210 export COLLECT_NAMES
36217 ltmain="$ac_aux_dir/ltmain.sh"
36220 # We use sed instead of cat because bash on DJGPP gets confused if
36221 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36222 # text mode, it properly converts lines to CR/LF. This bash problem
36223 # is reportedly fixed, but why not run on old versions too?
36224 sed '$q' "$ltmain" >> "$cfgfile" \
36225 || (rm -f "$cfgfile"; exit 1)
36227 if test x"$xsi_shell" = xyes; then
36228 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
36232 \ */*) func_dirname_result="${1%/*}${2}" ;;\
36233 \ * ) func_dirname_result="${3}" ;;\
36235 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
36236 && mv -f "$cfgfile.tmp" "$cfgfile" \
36237 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36238 test 0 -eq $? || _lt_function_replace_fail=:
36241 sed -e '/^func_basename ()$/,/^} # func_basename /c\
36244 \ func_basename_result="${1##*/}"\
36245 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
36246 && mv -f "$cfgfile.tmp" "$cfgfile" \
36247 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36248 test 0 -eq $? || _lt_function_replace_fail=:
36251 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
36252 func_dirname_and_basename ()\
36255 \ */*) func_dirname_result="${1%/*}${2}" ;;\
36256 \ * ) func_dirname_result="${3}" ;;\
36258 \ func_basename_result="${1##*/}"\
36259 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
36260 && mv -f "$cfgfile.tmp" "$cfgfile" \
36261 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36262 test 0 -eq $? || _lt_function_replace_fail=:
36265 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
36268 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
36269 \ # positional parameters, so assign one to ordinary parameter first.\
36270 \ func_stripname_result=${3}\
36271 \ func_stripname_result=${func_stripname_result#"${1}"}\
36272 \ func_stripname_result=${func_stripname_result%"${2}"}\
36273 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
36274 && mv -f "$cfgfile.tmp" "$cfgfile" \
36275 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36276 test 0 -eq $? || _lt_function_replace_fail=:
36279 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
36280 func_split_long_opt ()\
36282 \ func_split_long_opt_name=${1%%=*}\
36283 \ func_split_long_opt_arg=${1#*=}\
36284 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
36285 && mv -f "$cfgfile.tmp" "$cfgfile" \
36286 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36287 test 0 -eq $? || _lt_function_replace_fail=:
36290 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
36291 func_split_short_opt ()\
36293 \ func_split_short_opt_arg=${1#??}\
36294 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
36295 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
36296 && mv -f "$cfgfile.tmp" "$cfgfile" \
36297 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36298 test 0 -eq $? || _lt_function_replace_fail=:
36301 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
36305 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
36306 \ *) func_lo2o_result=${1} ;;\
36308 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
36309 && mv -f "$cfgfile.tmp" "$cfgfile" \
36310 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36311 test 0 -eq $? || _lt_function_replace_fail=:
36314 sed -e '/^func_xform ()$/,/^} # func_xform /c\
36317 func_xform_result=${1%.*}.lo\
36318 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
36319 && mv -f "$cfgfile.tmp" "$cfgfile" \
36320 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36321 test 0 -eq $? || _lt_function_replace_fail=:
36324 sed -e '/^func_arith ()$/,/^} # func_arith /c\
36327 func_arith_result=$(( $* ))\
36328 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
36329 && mv -f "$cfgfile.tmp" "$cfgfile" \
36330 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36331 test 0 -eq $? || _lt_function_replace_fail=:
36334 sed -e '/^func_len ()$/,/^} # func_len /c\
36337 func_len_result=${#1}\
36338 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
36339 && mv -f "$cfgfile.tmp" "$cfgfile" \
36340 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36341 test 0 -eq $? || _lt_function_replace_fail=:
36345 if test x"$lt_shell_append" = xyes; then
36346 sed -e '/^func_append ()$/,/^} # func_append /c\
36349 eval "${1}+=\\${2}"\
36350 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
36351 && mv -f "$cfgfile.tmp" "$cfgfile" \
36352 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36353 test 0 -eq $? || _lt_function_replace_fail=:
36356 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
36357 func_append_quoted ()\
36359 \ func_quote_for_eval "${2}"\
36360 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
36361 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
36362 && mv -f "$cfgfile.tmp" "$cfgfile" \
36363 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36364 test 0 -eq $? || _lt_function_replace_fail=:
36367 # Save a `func_append' function call where possible by direct use of '+='
36368 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
36369 && mv -f "$cfgfile.tmp" "$cfgfile" \
36370 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36371 test 0 -eq $? || _lt_function_replace_fail=:
36373 # Save a `func_append' function call even when '+=' is not available
36374 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
36375 && mv -f "$cfgfile.tmp" "$cfgfile" \
36376 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36377 test 0 -eq $? || _lt_function_replace_fail=:
36380 if test x"$_lt_function_replace_fail" = x":"; then
36381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
36382 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
36386 mv -f "$cfgfile" "$ofile" ||
36387 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36391 cat <<_LT_EOF >> "$ofile"
36393 # ### BEGIN LIBTOOL TAG CONFIG: CXX
36395 # The linker used to build libraries.
36398 # How to create reloadable object files.
36399 reload_flag=$lt_reload_flag_CXX
36400 reload_cmds=$lt_reload_cmds_CXX
36402 # Commands used to build an old-style archive.
36403 old_archive_cmds=$lt_old_archive_cmds_CXX
36405 # A language specific compiler.
36406 CC=$lt_compiler_CXX
36408 # Is the compiler the GNU compiler?
36411 # Compiler flag to turn off builtin functions.
36412 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
36414 # Additional compiler flags for building library objects.
36415 pic_flag=$lt_lt_prog_compiler_pic_CXX
36417 # How to pass a linker flag through the compiler.
36418 wl=$lt_lt_prog_compiler_wl_CXX
36420 # Compiler flag to prevent dynamic linking.
36421 link_static_flag=$lt_lt_prog_compiler_static_CXX
36423 # Does compiler simultaneously support -c and -o options?
36424 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
36426 # Whether or not to add -lc for building shared libraries.
36427 build_libtool_need_lc=$archive_cmds_need_lc_CXX
36429 # Whether or not to disallow shared libs when runtime libs are static.
36430 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
36432 # Compiler flag to allow reflexive dlopens.
36433 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
36435 # Compiler flag to generate shared objects directly from archives.
36436 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
36438 # Whether the compiler copes with passing no objects directly.
36439 compiler_needs_object=$lt_compiler_needs_object_CXX
36441 # Create an old-style archive from a shared archive.
36442 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
36444 # Create a temporary old-style archive to link instead of a shared archive.
36445 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
36447 # Commands used to build a shared archive.
36448 archive_cmds=$lt_archive_cmds_CXX
36449 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
36451 # Commands used to build a loadable module if different from building
36452 # a shared archive.
36453 module_cmds=$lt_module_cmds_CXX
36454 module_expsym_cmds=$lt_module_expsym_cmds_CXX
36456 # Whether we are building with GNU ld or not.
36457 with_gnu_ld=$lt_with_gnu_ld_CXX
36459 # Flag that allows shared libraries with undefined symbols to be built.
36460 allow_undefined_flag=$lt_allow_undefined_flag_CXX
36462 # Flag that enforces no undefined symbols.
36463 no_undefined_flag=$lt_no_undefined_flag_CXX
36465 # Flag to hardcode \$libdir into a binary during linking.
36466 # This must work even if \$libdir does not exist
36467 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
36469 # Whether we need a single "-rpath" flag with a separated argument.
36470 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
36472 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36473 # DIR into the resulting binary.
36474 hardcode_direct=$hardcode_direct_CXX
36476 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36477 # DIR into the resulting binary and the resulting library dependency is
36478 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36479 # library is relocated.
36480 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
36482 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36483 # into the resulting binary.
36484 hardcode_minus_L=$hardcode_minus_L_CXX
36486 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36487 # into the resulting binary.
36488 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
36490 # Set to "yes" if building a shared library automatically hardcodes DIR
36491 # into the library and all subsequent libraries and executables linked
36493 hardcode_automatic=$hardcode_automatic_CXX
36495 # Set to yes if linker adds runtime paths of dependent libraries
36496 # to runtime path list.
36497 inherit_rpath=$inherit_rpath_CXX
36499 # Whether libtool must link a program against all its dependency libraries.
36500 link_all_deplibs=$link_all_deplibs_CXX
36502 # Set to "yes" if exported symbols are required.
36503 always_export_symbols=$always_export_symbols_CXX
36505 # The commands to list exported symbols.
36506 export_symbols_cmds=$lt_export_symbols_cmds_CXX
36508 # Symbols that should not be listed in the preloaded symbols.
36509 exclude_expsyms=$lt_exclude_expsyms_CXX
36511 # Symbols that must always be exported.
36512 include_expsyms=$lt_include_expsyms_CXX
36514 # Commands necessary for linking programs (against libraries) with templates.
36515 prelink_cmds=$lt_prelink_cmds_CXX
36517 # Commands necessary for finishing linking programs.
36518 postlink_cmds=$lt_postlink_cmds_CXX
36520 # Specify filename containing input files.
36521 file_list_spec=$lt_file_list_spec_CXX
36523 # How to hardcode a shared library path into an executable.
36524 hardcode_action=$hardcode_action_CXX
36526 # The directories searched by this compiler when creating a shared library.
36527 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
36529 # Dependencies to place before and after the objects being linked to
36530 # create a shared library.
36531 predep_objects=$lt_predep_objects_CXX
36532 postdep_objects=$lt_postdep_objects_CXX
36533 predeps=$lt_predeps_CXX
36534 postdeps=$lt_postdeps_CXX
36536 # The library search path used internally by the compiler when linking
36537 # a shared library.
36538 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
36540 # ### END LIBTOOL TAG CONFIG: CXX
36551 ac_clean_files=$ac_clean_files_save
36553 test $ac_write_fail = 0 ||
36554 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36557 # configure is writing to config.log, and then calls config.status.
36558 # config.status does its own redirection, appending to config.log.
36559 # Unfortunately, on DOS this fails, as config.log is still kept open
36560 # by configure, so config.status won't be able to write to it; its
36561 # output is simply discarded. So we exec the FD to /dev/null,
36562 # effectively closing config.log, so it can be properly (re)opened and
36563 # appended to by config.status. When coming back to configure, we
36564 # need to make the FD available again.
36565 if test "$no_create" != yes; then
36567 ac_config_status_args=
36568 test "$silent" = yes &&
36569 ac_config_status_args="$ac_config_status_args --quiet"
36571 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36573 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36574 # would make configure fail if this is the last instruction.
36575 $ac_cs_success || as_fn_exit 1
36577 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
36579 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
36583 #####################################################################
36586 if test "x$build_pthreads" = "xno" ; then
36587 if test "x$build_pipe_render" = "xyes" ; then
36588 echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
36589 echo " needs thread support."
36594 if test "x${has_pthreads}" = "xno" ; then
36595 if test "x$build_async_preload" = "xyes" ; then
36596 echo "ERROR: PThreads off, but Async Preload on. Async Preload"
36597 echo " needs thread support."
36602 #####################################################################
36608 echo "------------------------------------------------------------------------"
36609 echo "$PACKAGE $VERSION"
36610 echo "------------------------------------------------------------------------"
36612 echo "Configuration Options Summary:"
36615 echo " Software Memory Buffer.....: $have_evas_engine_buffer"
36616 echo " Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
36617 echo $ECHO_N " OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
36618 if test "x$have_evas_engine_gl_x11" = "xyes"; then
36619 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36623 echo " Software GDI...............: $have_evas_engine_software_gdi"
36624 echo " Software DirectDraw........: $have_evas_engine_software_ddraw"
36625 echo " Direct3d...................: $have_evas_engine_direct3d"
36626 echo " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
36627 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
36628 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36632 echo " OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
36633 echo " Software Framebuffer.......: $have_evas_engine_fb"
36634 echo " DirectFB...................: $have_evas_engine_directfb"
36635 echo " PSL1GHT....................: $have_evas_engine_psl1ght"
36636 echo " Software 8bit grayscale....: $have_evas_engine_software_8"
36637 # FIXME: kill software 16bit
36638 echo " Software 16bit ............: $have_evas_engine_software_16"
36639 echo " Software 16bit X11.........: $have_evas_engine_software_16_x11"
36640 echo " Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
36641 echo " Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
36642 echo " Wayland Shm................: $have_evas_engine_wayland_shm"
36643 echo " Wayland Egl................: $have_evas_engine_wayland_egl"
36645 echo "Image Loaders:"
36646 echo " BMP.....................: $have_evas_image_loader_bmp"
36647 echo " EDB.....................: $have_evas_image_loader_edb"
36648 echo " EET.....................: $have_evas_image_loader_eet"
36649 echo " GENERIC.................: $have_evas_image_loader_generic"
36650 echo " GIF.....................: $have_evas_image_loader_gif"
36651 echo " ICO.....................: $have_evas_image_loader_ico"
36652 echo " JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
36653 echo " PMAPS...................: $have_evas_image_loader_pmaps"
36654 echo " PNG.....................: $have_evas_image_loader_png"
36655 echo " PSD.....................: $have_evas_image_loader_psd"
36656 echo " SVG.....................: $have_evas_image_loader_svg"
36657 echo " TGA.....................: $have_evas_image_loader_tga"
36658 echo " TIFF....................: $have_evas_image_loader_tiff"
36659 echo " WBMP....................: $have_evas_image_loader_wbmp"
36660 echo " XPM.....................: $have_evas_image_loader_xpm"
36662 echo "Font Sourcing Systems:"
36663 echo " EET.....................: $have_evas_font_loader_eet"
36665 echo "Font Searching Systems:"
36666 echo " Fontconfig..............: $have_fontconfig"
36668 echo "Font Rendering Helpers:"
36669 echo " Fribidi.................: $have_fribidi"
36670 echo " Harfbuzz................: $have_harfbuzz"
36671 echo " liblinebreak............: $have_linebreak"
36672 # FIXME: add non freetype2 font engine support
36673 # FIXME: make freetype2 optional
36675 echo "CPU Specific Extensions:"
36676 echo " Fallback C Code.........: $build_cpu_c"
36677 echo " MMX.....................: $build_cpu_mmx"
36678 echo " SSE.....................: $build_cpu_sse"
36679 echo " SSE3....................: $build_cpu_sse3"
36680 echo " ALTIVEC.................: $build_cpu_altivec"
36681 echo " NEON....................: $build_cpu_neon"
36682 echo " Thread Support..........: $build_pthreads"
36685 echo " MAGIC_DEBUG.............: $want_evas_magic_debug"
36686 echo " Cache Server............: $want_evas_cserve"
36687 echo " Cache Server 2..........: $want_evas_cserve2"
36689 echo " Threaded Pipe Rendering.: $build_pipe_render"
36690 echo " Async Events............: $build_async_events"
36691 echo " Async Image Preload.....: $build_async_preload"
36693 echo " Pixman..................: $have_pixman"
36694 echo " Pixman Fonts............: $have_pixman_font"
36695 echo " Pixman Rects............: $have_pixman_rect"
36696 echo " Pixman Lines............: $have_pixman_line"
36697 echo " Pixman Polygons.........: $have_pixman_poly"
36698 echo " Pixman Images...........: $have_pixman_image"
36699 echo " Pixman Image ScaleSample: $have_pixman_image_scale_sample"
36701 echo " Tiled 32BPP rotate......: $have_tile_rotate"
36703 echo "ARGB Software Engine Options:"
36704 echo " Sampling Scaler.........: $scaler_sample"
36705 echo " Smooth Scaler...........: $scaler_smooth"
36706 # FIXME: add an mmx scaler routine
36707 echo " YUV Converter...........: $conv_yuv"
36708 # FIXME: add more YUV format and colorvariant support
36710 echo "ARGB Conversion Options:"
36711 echo " Smaller Dither Mask.....: $conv_small_dither"
36712 echo " Line Dither Mask........: $conv_line_dither"
36713 echo " No Dither Mask for 16bpp: $conv_no_dither"
36714 echo " 8bpp RGB 332............: $conv_8_rgb_332"
36715 echo " 8bpp RGB 666............: $conv_8_rgb_666"
36716 echo " 8bpp RGB 232............: $conv_8_rgb_232"
36717 echo " 8bpp RGB 222............: $conv_8_rgb_222"
36718 echo " 8bpp RGB 221............: $conv_8_rgb_221"
36719 echo " 8bpp RGB 121............: $conv_8_rgb_121"
36720 echo " 8bpp RGB 111............: $conv_8_rgb_111"
36721 echo " 8bpp Grayscale (256)....: $conv_8_gry_1"
36722 echo " 8bpp Grayscale (16).....: $conv_8_gry_16"
36723 echo " 8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
36724 # FIXME: add grayscale and B&W support to standard x converters
36725 echo " 16bpp RGB 565...........: $conv_16_rgb_565"
36726 echo " 16bpp BGR 565...........: $conv_16_bgr_565"
36727 echo " 16bpp RGB 555...........: $conv_16_rgb_555"
36728 echo " 16bpp RGB 444...........: $conv_16_rgb_444"
36729 echo " 16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
36730 # FIXME: add 555 (444 ipaq) support
36731 # FIXME: add 30bpp support
36732 # FIXME: add palletted support (ugh!)
36733 # FIXME: add 8bpp and below rotation
36734 echo " 16bpp Rotation 0........: $conv_16_rgb_rot_0"
36735 echo " 16bpp Rotation 90.......: $conv_16_rgb_rot_90"
36736 echo " 16bpp Rotation 180......: $conv_16_rgb_rot_180"
36737 echo " 16bpp Rotation 270......: $conv_16_rgb_rot_270"
36738 echo " 24bpp RGB 888...........: $conv_24_rgb_888"
36739 echo " 24bpp BGR 888...........: $conv_24_bgr_888"
36740 echo " 24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
36741 # FIXME: add 24bpp rotation
36742 echo " 32bpp RGB 8888..........: $conv_32_rgb_8888"
36743 echo " 32bpp RGBX 8888.........: $conv_32_rgbx_8888"
36744 echo " 32bpp BGR 8888..........: $conv_32_bgr_8888"
36745 echo " 32bpp BGRX 8888.........: $conv_32_bgrx_8888"
36746 echo " 32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
36747 echo " 32bpp Rotation 0........: $conv_32_rgb_rot_0"
36748 echo " 32bpp Rotation 90.......: $conv_32_rgb_rot_90"
36749 echo " 32bpp Rotation 180......: $conv_32_rgb_rot_180"
36750 echo " 32bpp Rotation 270......: $conv_32_rgb_rot_270"
36752 echo "Documentation.............: ${build_doc}"
36753 if test "x${build_doc}" = "xyes" ; then
36754 echo " Installation..........: make install-doc"
36756 echo "Examples..................: install:${install_examples} build:${build_examples}"
36757 if test "x${enable_tests}" = "xyes" ; then
36758 echo "Tests.....................: ${enable_tests} (make check)"
36760 echo "Tests.....................: ${enable_tests}"
36762 if test "x${enable_coverage}" = "xyes" ; then
36763 echo "Coverage..................: ${enable_coverage} (make coverage)"
36765 echo "Coverage..................: ${enable_coverage}"
36768 echo "Compilation............: make (or gmake)"
36769 echo " CPPFLAGS.............: $CPPFLAGS"
36770 echo " CFLAGS...............: $CFLAGS"
36771 echo " CXXFLAGS.............: $CXXFLAGS"
36772 echo " LDFLAGS..............: $LDFLAGS"
36774 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
36775 echo " prefix...............: $prefix"
36777 if test "x${have_static_module}" = "xyes" ; then
36778 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
36779 echo " You must know what you are doing, or else you will have a lot of"
36780 echo " problems. And Kenny will be killed."
36781 echo " Think about that."