2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for evas 1.7.5.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
179 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183 PATH=/empty FPATH=/empty; export PATH FPATH
184 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
572 PACKAGE_TARNAME='evas'
573 PACKAGE_VERSION='1.7.5'
574 PACKAGE_STRING='evas 1.7.5'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
627 EFL_ENABLE_COVERAGE_FALSE
628 EFL_ENABLE_COVERAGE_TRUE
632 EFL_ENABLE_TESTS_FALSE
633 EFL_ENABLE_TESTS_TRUE
643 INSTALL_EXAMPLES_FALSE
644 INSTALL_EXAMPLES_TRUE
647 EVAS_MAGIC_DEBUG_FALSE
648 EVAS_MAGIC_DEBUG_TRUE
650 EVAS_STATIC_BUILD_GENERIC_FALSE
651 EVAS_STATIC_BUILD_GENERIC_TRUE
652 BUILD_LOADER_GENERIC_FALSE
653 BUILD_LOADER_GENERIC_TRUE
654 evas_image_loader_generic_libs
655 evas_image_loader_generic_cflags
656 EVAS_STATIC_BUILD_PSD_FALSE
657 EVAS_STATIC_BUILD_PSD_TRUE
658 BUILD_LOADER_PSD_FALSE
659 BUILD_LOADER_PSD_TRUE
660 evas_image_loader_psd_libs
661 evas_image_loader_psd_cflags
662 EVAS_STATIC_BUILD_ICO_FALSE
663 EVAS_STATIC_BUILD_ICO_TRUE
664 BUILD_LOADER_ICO_FALSE
665 BUILD_LOADER_ICO_TRUE
666 evas_image_loader_ico_libs
667 evas_image_loader_ico_cflags
668 EVAS_STATIC_BUILD_WBMP_FALSE
669 EVAS_STATIC_BUILD_WBMP_TRUE
670 BUILD_LOADER_WBMP_FALSE
671 BUILD_LOADER_WBMP_TRUE
672 evas_image_loader_wbmp_libs
673 evas_image_loader_wbmp_cflags
674 EVAS_STATIC_BUILD_TGA_FALSE
675 EVAS_STATIC_BUILD_TGA_TRUE
676 BUILD_LOADER_TGA_FALSE
677 BUILD_LOADER_TGA_TRUE
678 evas_image_loader_tga_libs
679 evas_image_loader_tga_cflags
680 EVAS_STATIC_BUILD_BMP_FALSE
681 EVAS_STATIC_BUILD_BMP_TRUE
682 BUILD_LOADER_BMP_FALSE
683 BUILD_LOADER_BMP_TRUE
684 evas_image_loader_bmp_libs
685 evas_image_loader_bmp_cflags
686 EVAS_STATIC_BUILD_XPM_FALSE
687 EVAS_STATIC_BUILD_XPM_TRUE
688 BUILD_LOADER_XPM_FALSE
689 BUILD_LOADER_XPM_TRUE
690 evas_image_loader_xpm_libs
691 evas_image_loader_xpm_cflags
692 EVAS_STATIC_BUILD_TIFF_FALSE
693 EVAS_STATIC_BUILD_TIFF_TRUE
694 BUILD_LOADER_TIFF_FALSE
695 BUILD_LOADER_TIFF_TRUE
696 evas_image_loader_tiff_libs
697 evas_image_loader_tiff_cflags
698 EVAS_STATIC_BUILD_SVG_FALSE
699 EVAS_STATIC_BUILD_SVG_TRUE
700 BUILD_LOADER_SVG_FALSE
701 BUILD_LOADER_SVG_TRUE
702 evas_image_loader_svg_libs
703 evas_image_loader_svg_cflags
706 EVAS_STATIC_BUILD_PNG_FALSE
707 EVAS_STATIC_BUILD_PNG_TRUE
708 BUILD_LOADER_PNG_FALSE
709 BUILD_LOADER_PNG_TRUE
710 evas_image_loader_png_libs
711 evas_image_loader_png_cflags
714 EVAS_STATIC_BUILD_PMAPS_FALSE
715 EVAS_STATIC_BUILD_PMAPS_TRUE
716 BUILD_LOADER_PMAPS_FALSE
717 BUILD_LOADER_PMAPS_TRUE
718 evas_image_loader_pmaps_libs
719 evas_image_loader_pmaps_cflags
720 BUILD_SAVER_JPEG_FALSE
721 BUILD_SAVER_JPEG_TRUE
722 EVAS_STATIC_BUILD_JPEG_FALSE
723 EVAS_STATIC_BUILD_JPEG_TRUE
724 BUILD_LOADER_JPEG_FALSE
725 BUILD_LOADER_JPEG_TRUE
726 evas_image_loader_jpeg_libs
727 evas_image_loader_jpeg_cflags
728 EVAS_STATIC_BUILD_GIF_FALSE
729 EVAS_STATIC_BUILD_GIF_TRUE
730 BUILD_LOADER_GIF_FALSE
731 BUILD_LOADER_GIF_TRUE
732 evas_image_loader_gif_libs
733 evas_image_loader_gif_cflags
734 EVAS_STATIC_BUILD_EET_FALSE
735 EVAS_STATIC_BUILD_EET_TRUE
736 BUILD_LOADER_EET_FALSE
737 BUILD_LOADER_EET_TRUE
738 evas_image_loader_eet_libs
739 evas_image_loader_eet_cflags
742 EVAS_STATIC_BUILD_EDB_FALSE
743 EVAS_STATIC_BUILD_EDB_TRUE
744 BUILD_LOADER_EDB_FALSE
745 BUILD_LOADER_EDB_TRUE
746 evas_image_loader_edb_libs
747 evas_image_loader_edb_cflags
750 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE
751 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE
752 BUILD_ENGINE_SOFTWARE_8_FALSE
753 BUILD_ENGINE_SOFTWARE_8_TRUE
754 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE
755 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE
756 BUILD_ENGINE_SOFTWARE_16_FALSE
757 BUILD_ENGINE_SOFTWARE_16_TRUE
758 EVAS_STATIC_BUILD_GL_COMMON_FALSE
759 EVAS_STATIC_BUILD_GL_COMMON_TRUE
760 BUILD_ENGINE_GL_COMMON_FALSE
761 BUILD_ENGINE_GL_COMMON_TRUE
762 evas_engine_gl_common_libs
763 have_evas_engine_gl_x11
764 EVAS_STATIC_BUILD_GL_X11_FALSE
765 EVAS_STATIC_BUILD_GL_X11_TRUE
766 BUILD_ENGINE_GL_X11_FALSE
767 BUILD_ENGINE_GL_X11_TRUE
768 have_evas_engine_gl_xlib
769 EVAS_STATIC_BUILD_GL_XLIB_FALSE
770 EVAS_STATIC_BUILD_GL_XLIB_TRUE
771 BUILD_ENGINE_GL_XLIB_FALSE
772 BUILD_ENGINE_GL_XLIB_TRUE
773 evas_engine_gl_xlib_libs
774 evas_engine_gl_xlib_cflags
775 have_evas_engine_gl_xcb
776 EVAS_STATIC_BUILD_GL_XCB_FALSE
777 EVAS_STATIC_BUILD_GL_XCB_TRUE
778 BUILD_ENGINE_GL_XCB_FALSE
779 BUILD_ENGINE_GL_XCB_TRUE
780 evas_engine_gl_xcb_libs
781 evas_engine_gl_xcb_cflags
784 have_evas_engine_software_x11
785 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE
786 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE
787 BUILD_ENGINE_SOFTWARE_X11_FALSE
788 BUILD_ENGINE_SOFTWARE_X11_TRUE
789 have_evas_engine_software_xlib
790 have_evas_engine_software_xcb
791 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE
792 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE
793 BUILD_ENGINE_SOFTWARE_XLIB_FALSE
794 BUILD_ENGINE_SOFTWARE_XLIB_TRUE
795 evas_engine_software_xlib_libs
796 evas_engine_software_xlib_cflags
797 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE
798 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE
799 BUILD_ENGINE_SOFTWARE_XCB_FALSE
800 BUILD_ENGINE_SOFTWARE_XCB_TRUE
801 evas_engine_software_xcb_libs
802 evas_engine_software_xcb_cflags
803 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE
804 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE
805 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE
806 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE
807 BUILD_ENGINE_WAYLAND_EGL_FALSE
808 BUILD_ENGINE_WAYLAND_EGL_TRUE
809 evas_engine_wayland_egl_libs
810 evas_engine_wayland_egl_cflags
813 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE
814 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE
815 BUILD_ENGINE_WAYLAND_SHM_FALSE
816 BUILD_ENGINE_WAYLAND_SHM_TRUE
817 evas_engine_wayland_shm_libs
818 evas_engine_wayland_shm_cflags
819 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE
820 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE
821 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE
822 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE
823 evas_engine_software_16_sdl_libs
824 evas_engine_software_16_sdl_cflags
825 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE
826 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE
827 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE
828 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE
829 evas_engine_software_16_wince_libs
830 evas_engine_software_16_wince_cflags
831 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE
832 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE
833 BUILD_ENGINE_SOFTWARE_16_X11_FALSE
834 BUILD_ENGINE_SOFTWARE_16_X11_TRUE
835 evas_engine_software_16_x11_libs
836 evas_engine_software_16_x11_cflags
842 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE
843 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE
844 BUILD_ENGINE_SOFTWARE_8_X11_FALSE
845 BUILD_ENGINE_SOFTWARE_8_X11_TRUE
846 evas_engine_software_8_x11_libs
847 evas_engine_software_8_x11_cflags
850 EVAS_STATIC_BUILD_DIRECTFB_FALSE
851 EVAS_STATIC_BUILD_DIRECTFB_TRUE
852 BUILD_ENGINE_DIRECTFB_FALSE
853 BUILD_ENGINE_DIRECTFB_TRUE
854 evas_engine_directfb_libs
855 evas_engine_directfb_cflags
858 EVAS_STATIC_BUILD_FB_FALSE
859 EVAS_STATIC_BUILD_FB_TRUE
860 BUILD_ENGINE_FB_FALSE
863 evas_engine_fb_cflags
864 EVAS_STATIC_BUILD_GL_COCOA_FALSE
865 EVAS_STATIC_BUILD_GL_COCOA_TRUE
866 BUILD_ENGINE_GL_COCOA_FALSE
867 BUILD_ENGINE_GL_COCOA_TRUE
868 evas_engine_gl_cocoa_libs
869 evas_engine_gl_cocoa_cflags
872 EVAS_STATIC_BUILD_GL_SDL_FALSE
873 EVAS_STATIC_BUILD_GL_SDL_TRUE
874 BUILD_ENGINE_GL_SDL_FALSE
875 BUILD_ENGINE_GL_SDL_TRUE
876 evas_engine_gl_sdl_libs
877 evas_engine_gl_sdl_cflags
880 EVAS_STATIC_BUILD_PSL1GHT_FALSE
881 EVAS_STATIC_BUILD_PSL1GHT_TRUE
882 BUILD_ENGINE_PSL1GHT_FALSE
883 BUILD_ENGINE_PSL1GHT_TRUE
884 evas_engine_psl1ght_libs
885 evas_engine_psl1ght_cflags
886 EVAS_STATIC_BUILD_DIRECT3D_FALSE
887 EVAS_STATIC_BUILD_DIRECT3D_TRUE
888 BUILD_ENGINE_DIRECT3D_FALSE
889 BUILD_ENGINE_DIRECT3D_TRUE
890 evas_engine_direct3d_libs
891 evas_engine_direct3d_cflags
892 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE
893 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE
894 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE
895 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE
896 evas_engine_software_ddraw_libs
897 evas_engine_software_ddraw_cflags
898 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE
899 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE
900 BUILD_ENGINE_SOFTWARE_GDI_FALSE
901 BUILD_ENGINE_SOFTWARE_GDI_TRUE
902 evas_engine_software_gdi_libs
903 evas_engine_software_gdi_cflags
904 EVAS_STATIC_BUILD_BUFFER_FALSE
905 EVAS_STATIC_BUILD_BUFFER_TRUE
906 BUILD_ENGINE_BUFFER_FALSE
907 BUILD_ENGINE_BUFFER_TRUE
908 evas_engine_buffer_libs
909 evas_engine_buffer_cflags
919 lt_enable_auto_import
928 EVAS_USE_LINEBREAK_FALSE
929 EVAS_USE_LINEBREAK_TRUE
936 EVAS_HAVE_EXOTIC_FALSE
937 EVAS_HAVE_EXOTIC_TRUE
946 pkgconfig_requires_private
957 am__fastdepOBJC_FALSE
1016 AM_DEFAULT_VERBOSITY
1027 INSTALL_STRIP_PROGRAM
1069 program_transform_name
1082 enable_option_checking
1084 enable_dependency_tracking
1106 enable_pixman_image_scale_sample
1110 enable_gl_flavor_gles
1111 enable_gles_variety_sgx
1112 enable_gles_variety_s3c6410
1115 enable_software_ddraw
1122 enable_software_8_x11
1123 enable_software_16_x11
1125 enable_software_16_wince
1126 enable_software_16_sdl
1129 enable_sdl_primitive
1130 enable_static_software_generic
1132 enable_software_xlib
1135 enable_static_software_16
1136 enable_static_software_8
1137 enable_image_loader_edb
1138 enable_image_loader_eet
1139 enable_font_loader_eet
1140 enable_image_loader_gif
1141 enable_image_loader_jpeg
1142 enable_image_loader_pmaps
1143 enable_image_loader_png
1144 enable_image_loader_svg
1145 enable_image_loader_tiff
1146 enable_image_loader_xpm
1147 enable_image_loader_bmp
1148 enable_image_loader_tga
1149 enable_image_loader_wbmp
1150 enable_image_loader_ico
1151 enable_image_loader_psd
1152 enable_image_loader_generic
1155 enable_async_preload
1162 enable_evas_magic_debug
1166 enable_small_dither_mask
1167 enable_line_dither_mask
1168 enable_no_dither_mask
1169 enable_convert_8_rgb_332
1170 enable_convert_8_rgb_666
1171 enable_convert_8_rgb_232
1172 enable_convert_8_rgb_222
1173 enable_convert_8_rgb_221
1174 enable_convert_8_rgb_121
1175 enable_convert_8_rgb_111
1176 enable_convert_16_rgb_565
1177 enable_convert_16_bgr_565
1178 enable_convert_16_rgb_555
1179 enable_convert_16_rgb_444
1180 enable_convert_16_rgb_ipq
1181 enable_convert_16_rgb_rot_0
1182 enable_convert_16_rgb_rot_180
1183 enable_convert_16_rgb_rot_270
1184 enable_convert_16_rgb_rot_90
1185 enable_convert_24_rgb_888
1186 enable_convert_24_bgr_888
1187 enable_convert_32_rgb_8888
1188 enable_convert_32_rgbx_8888
1189 enable_convert_32_bgr_8888
1190 enable_convert_32_bgrx_8888
1191 enable_convert_24_rgb_ezx
1192 enable_convert_32_rgb_ezx
1193 enable_convert_32_rgb_rot_0
1194 enable_convert_32_rgb_rot_180
1195 enable_convert_32_rgb_rot_270
1196 enable_convert_32_rgb_rot_90
1197 enable_convert_8_gry_1
1198 enable_convert_8_gry_16
1199 enable_convert_8_grayscale_64
1201 enable_install_examples
1202 enable_build_examples
1206 ac_precious_vars='build_alias
1271 # Initialize some variables set by options.
1273 ac_init_version=false
1274 ac_unrecognized_opts=
1275 ac_unrecognized_sep=
1276 # The variables have the same names as the options, with
1277 # dashes changed to underlines.
1278 cache_file=/dev/null
1285 program_transform_name=s,x,x,
1293 # Installation directory options.
1294 # These are left unexpanded so users can "make install exec_prefix=/foo"
1295 # and all the variables that are supposed to be based on exec_prefix
1296 # by default will actually change.
1297 # Use braces instead of parens because sh, perl, etc. also accept them.
1298 # (The list follows the same order as the GNU Coding Standards.)
1299 bindir='${exec_prefix}/bin'
1300 sbindir='${exec_prefix}/sbin'
1301 libexecdir='${exec_prefix}/libexec'
1302 datarootdir='${prefix}/share'
1303 datadir='${datarootdir}'
1304 sysconfdir='${prefix}/etc'
1305 sharedstatedir='${prefix}/com'
1306 localstatedir='${prefix}/var'
1307 includedir='${prefix}/include'
1308 oldincludedir='/usr/include'
1309 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1310 infodir='${datarootdir}/info'
1315 libdir='${exec_prefix}/lib'
1316 localedir='${datarootdir}/locale'
1317 mandir='${datarootdir}/man'
1323 # If the previous option needs an argument, assign it.
1324 if test -n "$ac_prev"; then
1325 eval $ac_prev=\$ac_option
1331 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1336 # Accept the important Cygnus configure options, so we can diagnose typos.
1338 case $ac_dashdash$ac_option in
1342 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1344 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1345 bindir=$ac_optarg ;;
1347 -build | --build | --buil | --bui | --bu)
1348 ac_prev=build_alias ;;
1349 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1350 build_alias=$ac_optarg ;;
1352 -cache-file | --cache-file | --cache-fil | --cache-fi \
1353 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1354 ac_prev=cache_file ;;
1355 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1356 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1357 cache_file=$ac_optarg ;;
1359 --config-cache | -C)
1360 cache_file=config.cache ;;
1362 -datadir | --datadir | --datadi | --datad)
1364 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1365 datadir=$ac_optarg ;;
1367 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1368 | --dataroo | --dataro | --datar)
1369 ac_prev=datarootdir ;;
1370 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1371 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1372 datarootdir=$ac_optarg ;;
1374 -disable-* | --disable-*)
1375 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1376 # Reject names that are not valid shell variable names.
1377 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1378 as_fn_error $? "invalid feature name: $ac_useropt"
1379 ac_useropt_orig=$ac_useropt
1380 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1381 case $ac_user_opts in
1383 "enable_$ac_useropt"
1385 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1386 ac_unrecognized_sep=', ';;
1388 eval enable_$ac_useropt=no ;;
1390 -docdir | --docdir | --docdi | --doc | --do)
1392 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1393 docdir=$ac_optarg ;;
1395 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1397 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1398 dvidir=$ac_optarg ;;
1400 -enable-* | --enable-*)
1401 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1404 as_fn_error $? "invalid feature name: $ac_useropt"
1405 ac_useropt_orig=$ac_useropt
1406 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1407 case $ac_user_opts in
1409 "enable_$ac_useropt"
1411 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1412 ac_unrecognized_sep=', ';;
1414 eval enable_$ac_useropt=\$ac_optarg ;;
1416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1418 | --exec | --exe | --ex)
1419 ac_prev=exec_prefix ;;
1420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1422 | --exec=* | --exe=* | --ex=*)
1423 exec_prefix=$ac_optarg ;;
1425 -gas | --gas | --ga | --g)
1426 # Obsolete; use --with-gas.
1429 -help | --help | --hel | --he | -h)
1430 ac_init_help=long ;;
1431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1432 ac_init_help=recursive ;;
1433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1434 ac_init_help=short ;;
1436 -host | --host | --hos | --ho)
1437 ac_prev=host_alias ;;
1438 -host=* | --host=* | --hos=* | --ho=*)
1439 host_alias=$ac_optarg ;;
1441 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1443 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1445 htmldir=$ac_optarg ;;
1447 -includedir | --includedir | --includedi | --included | --include \
1448 | --includ | --inclu | --incl | --inc)
1449 ac_prev=includedir ;;
1450 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1451 | --includ=* | --inclu=* | --incl=* | --inc=*)
1452 includedir=$ac_optarg ;;
1454 -infodir | --infodir | --infodi | --infod | --info | --inf)
1456 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1457 infodir=$ac_optarg ;;
1459 -libdir | --libdir | --libdi | --libd)
1461 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1462 libdir=$ac_optarg ;;
1464 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1465 | --libexe | --libex | --libe)
1466 ac_prev=libexecdir ;;
1467 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1468 | --libexe=* | --libex=* | --libe=*)
1469 libexecdir=$ac_optarg ;;
1471 -localedir | --localedir | --localedi | --localed | --locale)
1472 ac_prev=localedir ;;
1473 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1474 localedir=$ac_optarg ;;
1476 -localstatedir | --localstatedir | --localstatedi | --localstated \
1477 | --localstate | --localstat | --localsta | --localst | --locals)
1478 ac_prev=localstatedir ;;
1479 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1480 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1481 localstatedir=$ac_optarg ;;
1483 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1485 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1486 mandir=$ac_optarg ;;
1488 -nfp | --nfp | --nf)
1489 # Obsolete; use --without-fp.
1492 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1493 | --no-cr | --no-c | -n)
1496 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1497 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1500 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1501 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1502 | --oldin | --oldi | --old | --ol | --o)
1503 ac_prev=oldincludedir ;;
1504 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1505 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1506 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1507 oldincludedir=$ac_optarg ;;
1509 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1511 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1512 prefix=$ac_optarg ;;
1514 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1515 | --program-pre | --program-pr | --program-p)
1516 ac_prev=program_prefix ;;
1517 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1518 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1519 program_prefix=$ac_optarg ;;
1521 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1522 | --program-suf | --program-su | --program-s)
1523 ac_prev=program_suffix ;;
1524 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1525 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1526 program_suffix=$ac_optarg ;;
1528 -program-transform-name | --program-transform-name \
1529 | --program-transform-nam | --program-transform-na \
1530 | --program-transform-n | --program-transform- \
1531 | --program-transform | --program-transfor \
1532 | --program-transfo | --program-transf \
1533 | --program-trans | --program-tran \
1534 | --progr-tra | --program-tr | --program-t)
1535 ac_prev=program_transform_name ;;
1536 -program-transform-name=* | --program-transform-name=* \
1537 | --program-transform-nam=* | --program-transform-na=* \
1538 | --program-transform-n=* | --program-transform-=* \
1539 | --program-transform=* | --program-transfor=* \
1540 | --program-transfo=* | --program-transf=* \
1541 | --program-trans=* | --program-tran=* \
1542 | --progr-tra=* | --program-tr=* | --program-t=*)
1543 program_transform_name=$ac_optarg ;;
1545 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1547 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1548 pdfdir=$ac_optarg ;;
1550 -psdir | --psdir | --psdi | --psd | --ps)
1552 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1555 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1556 | -silent | --silent | --silen | --sile | --sil)
1559 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1561 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1563 sbindir=$ac_optarg ;;
1565 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1566 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1567 | --sharedst | --shareds | --shared | --share | --shar \
1569 ac_prev=sharedstatedir ;;
1570 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1571 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1572 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1574 sharedstatedir=$ac_optarg ;;
1576 -site | --site | --sit)
1578 -site=* | --site=* | --sit=*)
1581 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1583 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1584 srcdir=$ac_optarg ;;
1586 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1587 | --syscon | --sysco | --sysc | --sys | --sy)
1588 ac_prev=sysconfdir ;;
1589 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1590 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1591 sysconfdir=$ac_optarg ;;
1593 -target | --target | --targe | --targ | --tar | --ta | --t)
1594 ac_prev=target_alias ;;
1595 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1596 target_alias=$ac_optarg ;;
1598 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1601 -version | --version | --versio | --versi | --vers | -V)
1602 ac_init_version=: ;;
1605 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1608 as_fn_error $? "invalid package name: $ac_useropt"
1609 ac_useropt_orig=$ac_useropt
1610 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1615 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1616 ac_unrecognized_sep=', ';;
1618 eval with_$ac_useropt=\$ac_optarg ;;
1620 -without-* | --without-*)
1621 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1622 # Reject names that are not valid shell variable names.
1623 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1624 as_fn_error $? "invalid package name: $ac_useropt"
1625 ac_useropt_orig=$ac_useropt
1626 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1627 case $ac_user_opts in
1631 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1632 ac_unrecognized_sep=', ';;
1634 eval with_$ac_useropt=no ;;
1637 # Obsolete; use --with-x.
1640 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1641 | --x-incl | --x-inc | --x-in | --x-i)
1642 ac_prev=x_includes ;;
1643 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1644 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1645 x_includes=$ac_optarg ;;
1647 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1648 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1649 ac_prev=x_libraries ;;
1650 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1651 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1652 x_libraries=$ac_optarg ;;
1654 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1655 Try \`$0 --help' for more information"
1659 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1660 # Reject names that are not valid shell variable names.
1661 case $ac_envvar in #(
1662 '' | [0-9]* | *[!_$as_cr_alnum]* )
1663 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1665 eval $ac_envvar=\$ac_optarg
1666 export $ac_envvar ;;
1669 # FIXME: should be removed in autoconf 3.0.
1670 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1671 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1672 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1673 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1679 if test -n "$ac_prev"; then
1680 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1681 as_fn_error $? "missing argument to $ac_option"
1684 if test -n "$ac_unrecognized_opts"; then
1685 case $enable_option_checking in
1687 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1688 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1692 # Check all directory arguments for consistency.
1693 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1694 datadir sysconfdir sharedstatedir localstatedir includedir \
1695 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1696 libdir localedir mandir
1698 eval ac_val=\$$ac_var
1699 # Remove trailing slashes.
1702 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1703 eval $ac_var=\$ac_val;;
1705 # Be sure to have absolute directory names.
1707 [\\/$]* | ?:[\\/]* ) continue;;
1708 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1710 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1713 # There might be people who depend on the old broken behavior: `$host'
1714 # used to hold the argument of --host etc.
1715 # FIXME: To remove some day.
1718 target=$target_alias
1720 # FIXME: To remove some day.
1721 if test "x$host_alias" != x; then
1722 if test "x$build_alias" = x; then
1723 cross_compiling=maybe
1724 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1725 If a cross compiler is detected then cross compile mode will be used" >&2
1726 elif test "x$build_alias" != "x$host_alias"; then
1732 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1734 test "$silent" = yes && exec 6>/dev/null
1737 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1738 ac_ls_di=`ls -di .` &&
1739 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1740 as_fn_error $? "working directory cannot be determined"
1741 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1742 as_fn_error $? "pwd does not report name of working directory"
1745 # Find the source files, if location was not specified.
1746 if test -z "$srcdir"; then
1747 ac_srcdir_defaulted=yes
1748 # Try the directory containing this script, then the parent directory.
1749 ac_confdir=`$as_dirname -- "$as_myself" ||
1750 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1751 X"$as_myself" : 'X\(//\)[^/]' \| \
1752 X"$as_myself" : 'X\(//\)$' \| \
1753 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1754 $as_echo X"$as_myself" |
1755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1773 if test ! -r "$srcdir/$ac_unique_file"; then
1777 ac_srcdir_defaulted=no
1779 if test ! -r "$srcdir/$ac_unique_file"; then
1780 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1781 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1783 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1785 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1787 # When building in place, set srcdir=.
1788 if test "$ac_abs_confdir" = "$ac_pwd"; then
1791 # Remove unnecessary trailing slashes from srcdir.
1792 # Double slashes in file names in object file debugging info
1793 # mess up M-x gdb in Emacs.
1795 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1797 for ac_var in $ac_precious_vars; do
1798 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1799 eval ac_env_${ac_var}_value=\$${ac_var}
1800 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1801 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1805 # Report the --help message.
1807 if test "$ac_init_help" = "long"; then
1808 # Omit some internal or obsolete options to make the list less imposing.
1809 # This message is too long to be a string in the A/UX 3.1 sh.
1811 \`configure' configures evas 1.7.5 to adapt to many kinds of systems.
1813 Usage: $0 [OPTION]... [VAR=VALUE]...
1815 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1816 VAR=VALUE. See below for descriptions of some of the useful variables.
1818 Defaults for the options are specified in brackets.
1821 -h, --help display this help and exit
1822 --help=short display options specific to this package
1823 --help=recursive display the short help of all the included packages
1824 -V, --version display version information and exit
1825 -q, --quiet, --silent do not print \`checking ...' messages
1826 --cache-file=FILE cache test results in FILE [disabled]
1827 -C, --config-cache alias for \`--cache-file=config.cache'
1828 -n, --no-create do not create output files
1829 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1831 Installation directories:
1832 --prefix=PREFIX install architecture-independent files in PREFIX
1833 [$ac_default_prefix]
1834 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1837 By default, \`make install' will install all the files in
1838 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1839 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1840 for instance \`--prefix=\$HOME'.
1842 For better control, use the options below.
1844 Fine tuning of the installation directories:
1845 --bindir=DIR user executables [EPREFIX/bin]
1846 --sbindir=DIR system admin executables [EPREFIX/sbin]
1847 --libexecdir=DIR program executables [EPREFIX/libexec]
1848 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1849 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1850 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1851 --libdir=DIR object code libraries [EPREFIX/lib]
1852 --includedir=DIR C header files [PREFIX/include]
1853 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1854 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1855 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1856 --infodir=DIR info documentation [DATAROOTDIR/info]
1857 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1858 --mandir=DIR man documentation [DATAROOTDIR/man]
1859 --docdir=DIR documentation root [DATAROOTDIR/doc/evas]
1860 --htmldir=DIR html documentation [DOCDIR]
1861 --dvidir=DIR dvi documentation [DOCDIR]
1862 --pdfdir=DIR pdf documentation [DOCDIR]
1863 --psdir=DIR ps documentation [DOCDIR]
1869 --program-prefix=PREFIX prepend PREFIX to installed program names
1870 --program-suffix=SUFFIX append SUFFIX to installed program names
1871 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1874 --x-includes=DIR X include files are in DIR
1875 --x-libraries=DIR X library files are in DIR
1878 --build=BUILD configure for building on BUILD [guessed]
1879 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1883 if test -n "$ac_init_help"; then
1884 case $ac_init_help in
1885 short | recursive ) echo "Configuration of evas 1.7.5:";;
1890 --disable-option-checking ignore unrecognized --enable/--with options
1891 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1892 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1893 --enable-silent-rules less verbose build output (undo: `make V=1')
1894 --disable-silent-rules verbose build output (undo: `make V=0')
1895 --disable-dependency-tracking speeds up one-time build
1896 --enable-dependency-tracking do not reject slow dependency extractors
1897 --enable-shared[=PKGS] build shared libraries [default=yes]
1898 --enable-static[=PKGS] build static libraries [default=yes]
1899 --enable-fast-install[=PKGS]
1900 optimize for fast installation [default=yes]
1901 --disable-libtool-lock avoid locking (might break parallel builds)
1902 --enable-strict enable strict checking mode. [default==disabled]
1903 --enable-simple-x11 enable simple x11 linking
1904 --disable-doc Disable documentation build [default=enabled]
1905 --disable-fontconfig disable fontconfig for finding fonts.
1907 --disable-liblinebreak disable linking against liblinebreak.
1909 --disable-fribidi disable bidirectional text support.
1911 --disable-harfbuzz disable complex text shaping and layouting support.
1913 --enable-pixman enable pixman for software rendering.
1915 --enable-pixman-font Allow pixman to render fonts
1916 --enable-pixman-rect Allow pixman to render rects
1917 --enable-pixman-line Allow pixman to render lines
1918 --enable-pixman-poly Allow pixman to render polys
1919 --enable-pixman-image Allow pixman to render images
1920 --enable-pixman-image-scale-sample
1921 Allow pixman to render sampled scaled images
1922 --enable-tile-rotate Enable tiled rotate algorithm
1923 --disable-evas-cserve disable shared cache server support.
1925 --disable-evas-cserve2 disable shared cache server 2 support.
1927 --enable-gl-flavor-gles enable gles flavor of gl instead of standard
1928 --enable-gles-variety-sgx
1929 GLES variety SGX 3D unit
1930 --enable-gles-variety-s3c6410
1931 GLES variety s3c6410 3D unit
1932 --enable-buffer enable Buffer rendering backend
1933 --enable-software-gdi enable Software GDI rendering backend
1934 --enable-software-ddraw enable Software DirectDraw rendering backend
1935 --enable-direct3d enable Direct3D rendering backend
1936 --enable-psl1ght enable PSL1GHT rendering backend
1937 --enable-gl-sdl enable OpenGL SDL rendering backend
1938 --enable-gl-cocoa enable OpenGL Cocoa rendering backend
1939 --enable-fb enable Framebuffer rendering backend
1940 --enable-directfb enable DirectFB rendering backend
1941 --enable-software-8-x11 enable Software X11 8 bits grayscale rendering
1943 --enable-software-16-x11
1944 enable Software X11 16 bits rendering backend
1945 --enable-software-16-wince
1946 enable Software Windows CE 16 bits rendering backend
1947 --enable-software-16-sdl
1948 enable Software SDL 16 bits rendering backend
1949 --enable-wayland-shm enable Wayland Shm rendering backend
1950 --enable-wayland-egl enable Wayland Egl rendering backend
1951 --enable-sdl-primitive
1952 --enable-static-software-generic
1953 Build software generic engine as part of libevas
1954 --enable-software-xcb enable Software XCB Engine. [default=disabled]
1955 --enable-software-xcb enable Software XCB rendering backend
1956 --enable-software-xlib enable Software Xlib rendering backend
1957 --enable-gl-xcb enable OpenGL XCB Engine. [default=disabled]
1958 --enable-gl-xcb enable OpenGL XCB rendering backend
1959 --enable-gl-xlib enable OpenGL XLib rendering backend
1960 --enable-static-software-16
1961 Build software 16 engine as part of libevas
1962 --enable-static-software-8
1963 Build software 8 engine as part of libevas
1964 --enable-image-loader-edb
1965 enable Edb image loader
1966 --enable-image-loader-eet
1967 enable Eet image loader
1968 --disable-font-loader-eet
1969 disable EET font loader. [[default=enabled]]
1970 --enable-image-loader-gif
1971 enable Gif image loader
1972 --enable-image-loader-jpeg
1973 enable Jpeg image loader
1974 --enable-image-loader-pmaps
1975 enable PMAPS image loader
1976 --enable-image-loader-png
1977 enable PNG image loader
1978 --enable-image-loader-svg
1979 enable SVG image loader
1980 --enable-image-loader-tiff
1981 enable Tiff image loader
1982 --enable-image-loader-xpm
1983 enable XPM image loader
1984 --enable-image-loader-bmp
1985 enable BMP image loader
1986 --enable-image-loader-tga
1987 enable TGA image loader
1988 --enable-image-loader-wbmp
1989 enable WBMP image loader
1990 --enable-image-loader-ico
1991 enable ICO image loader
1992 --enable-image-loader-psd
1993 enable PSD image loader
1994 --enable-image-loader-generic
1995 enable GENERIC image loader
1996 --enable-pthreads enable threaded rendering
1997 --enable-async-events enable async events support
1998 --enable-async-preload enable async image preloading support
1999 --enable-cpu-mmx enable mmx code
2000 --enable-cpu-sse enable sse code
2001 --enable-cpu-sse3 enable sse3 code
2002 --enable-cpu-altivec enable altivec code
2003 --enable-cpu-neon build neon code, the code will be checked at run
2004 time to see if the CPU supports it
2005 --enable-cpu-c enable C code
2006 --disable-evas-magic-debug
2007 disable MAGIC_DEBUG check when people pass in wrong
2008 object type. [[default=enabled]]
2009 --disable-scale-sample disable sampling scaler code [default=enabled]
2010 --disable-scale-smooth disable smooth scaler code [default=enabled]
2011 --enable-convert-yuv enable yuv converter code
2012 --enable-small-dither-mask
2013 enable small dither mask [default=disabled]
2014 --enable-line-dither-mask
2015 enable line dither mask [default=disabled]
2016 --enable-no-dither-mask enable conversion to 16bpp without dither mask
2018 --disable-convert-8-rgb-332
2019 disable the 8bpp RGB 332 converter code
2020 --disable-convert-8-rgb-666
2021 disable the 8bpp RGB 666 converter code
2022 --disable-convert-8-rgb-232
2023 disable the 8bpp RGB 232 converter code
2024 --disable-convert-8-rgb-222
2025 disable the 8bpp RGB 222 converter code
2026 --disable-convert-8-rgb-221
2027 disable the 8bpp RGB 221 converter code
2028 --disable-convert-8-rgb-121
2029 disable the 8bpp RGB 121 converter code
2030 --disable-convert-8-rgb-111
2031 disable the 8bpp RGB 111 converter code
2032 --disable-convert-16-rgb-565
2033 disable the 16bpp RGB 565 converter code
2034 --disable-convert-16-bgr-565
2035 disable the 16bpp BGR 565 converter code
2036 --disable-convert-16-rgb-555
2037 disable the 16bpp RGB 555 converter code
2038 --disable-convert-16-rgb-444
2039 disable the 16bpp RGB 444 converter code
2040 --disable-convert-16-rgb-ipq
2041 disable 16bpp 565 (444 ipaq) converter code
2042 --disable-convert-16-rgb-rot-0
2043 disable the 16bpp RGB rotation 0 converter code
2044 --disable-convert-16-rgb-rot-180
2045 disable the 16bpp RGB rotation 180 converter code
2046 --disable-convert-16-rgb-rot-270
2047 disable the 16bpp RGB rotation 270 converter code
2048 --disable-convert-16-rgb-rot-90
2049 disable the 16bpp RGB rotation 90 converter code
2050 --disable-convert-24-rgb-888
2051 disable the 24bpp RGB 888 converter code
2052 --disable-convert-24-bgr-888
2053 disable the 24bpp BGR 888 converter code
2054 --disable-convert-32-rgb-8888
2055 disable the 32bpp RGB 8888 converter code
2056 --disable-convert-32-rgbx-8888
2057 disable the 32bpp RGBX 8888 converter code
2058 --disable-convert-32-bgr-8888
2059 disable the 32bpp BGR 8888 converter code
2060 --disable-convert-32-bgrx-8888
2061 disable the 32bpp BGRX 8888 converter code
2062 --disable-convert-24-rgb-ezx
2063 disable 24bpp 666 (666 ezx) converter code
2064 --disable-convert-32-rgb-ezx
2065 disable 32bpp 666 (666 ezx) converter code
2066 --disable-convert-32-rgb-rot-0
2067 disable the 32bpp RGB rotation 0 converter code
2068 --disable-convert-32-rgb-rot-180
2069 disable the 32bpp RGB rotation 180 converter code
2070 --disable-convert-32-rgb-rot-270
2071 disable the 32bpp RGB rotation 270 converter code
2072 --disable-convert-32-rgb-rot-90
2073 disable the 32bpp RGB rotation 90 converter code
2074 --disable-convert-8-gry-1
2075 disable the 8bpp GRY 1 converter code
2076 --disable-convert-8-gry-16
2077 disable the 8bpp GRY 16 converter code
2078 --disable-convert-8-grayscale-64
2079 disable 8bpp grayscale 64-palette converter code
2080 --enable-valgrind enable valgrind fixes to stop false reports
2081 --disable-install-examples
2082 disable installing examples (compiled or just
2083 source). [default==enabled]
2084 --enable-build-examples enable building examples (this requires extra
2085 denpendencies. if you don't have them installed yet,
2086 don't build with this option or it will fail. build
2087 again when you have it, overriding the previous
2088 installation). [default==disabled]
2089 --enable-tests enable tests [default=disabled]
2090 --enable-coverage enable coverage profiling instrumentation
2094 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2095 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2096 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2098 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2099 --with-sysroot=DIR Search for dependent libraries within DIR
2100 (or the compiler's sysroot if not specified).
2101 --with-doxygen=FILE doxygen program to use [default=doxygen]
2102 --with-x use the X Window System
2104 Some influential environment variables:
2105 CC C compiler command
2106 CFLAGS C compiler flags
2107 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2108 nonstandard directory <lib dir>
2109 LIBS libraries to pass to the linker, e.g. -l<library>
2110 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2111 you have headers in a nonstandard directory <include dir>
2113 OBJC Objective C compiler command
2114 OBJCFLAGS Objective C compiler flags
2115 CXX C++ compiler command
2116 CXXFLAGS C++ compiler flags
2117 CXXCPP C++ preprocessor
2118 PKG_CONFIG path to pkg-config utility
2120 directories to add to pkg-config's search path
2122 path overriding pkg-config's built-in search path
2123 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2124 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2126 C compiler flags for EXOTIC, overriding pkg-config
2127 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2128 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2129 EINA_LIBS linker flags for EINA, overriding pkg-config
2131 C compiler flags for FREETYPE, overriding pkg-config
2133 linker flags for FREETYPE, overriding pkg-config
2135 C compiler flags for FONTCONFIG, overriding pkg-config
2137 linker flags for FONTCONFIG, overriding pkg-config
2139 C compiler flags for FRIBIDI, overriding pkg-config
2141 linker flags for FRIBIDI, overriding pkg-config
2143 C compiler flags for HARFBUZZ, overriding pkg-config
2145 linker flags for HARFBUZZ, overriding pkg-config
2147 C compiler flags for PIXMAN, overriding pkg-config
2148 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2149 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2150 SDL_LIBS linker flags for SDL, overriding pkg-config
2152 C compiler flags for GL_EET, overriding pkg-config
2153 GL_EET_LIBS linker flags for GL_EET, overriding pkg-config
2155 C compiler flags for DIRECTFB, overriding pkg-config
2157 linker flags for DIRECTFB, overriding pkg-config
2158 XCB_CFLAGS C compiler flags for XCB, overriding pkg-config
2159 XCB_LIBS linker flags for XCB, overriding pkg-config
2160 XMKMF Path to xmkmf, Makefile generator for X Window System
2162 C compiler flags for WAYLAND_EGL, overriding pkg-config
2164 linker flags for WAYLAND_EGL, overriding pkg-config
2166 C compiler flags for XCB_GL, overriding pkg-config
2167 XCB_GL_LIBS linker flags for XCB_GL, overriding pkg-config
2168 EDB_CFLAGS C compiler flags for EDB, overriding pkg-config
2169 EDB_LIBS linker flags for EDB, overriding pkg-config
2170 EET_CFLAGS C compiler flags for EET, overriding pkg-config
2171 EET_LIBS linker flags for EET, overriding pkg-config
2172 PNG_CFLAGS C compiler flags for PNG, overriding pkg-config
2173 PNG_LIBS linker flags for PNG, overriding pkg-config
2174 SVG_CFLAGS C compiler flags for SVG, overriding pkg-config
2175 SVG_LIBS linker flags for SVG, overriding pkg-config
2177 C compiler flags for VALGRIND, overriding pkg-config
2179 linker flags for VALGRIND, overriding pkg-config
2181 C compiler flags for ECORE_EVAS, overriding pkg-config
2183 linker flags for ECORE_EVAS, overriding pkg-config
2184 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
2185 EDJE_LIBS linker flags for EDJE, overriding pkg-config
2187 C compiler flags for CHECK, overriding pkg-config
2188 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2190 Use these variables to override the choices made by `configure' or to help
2191 it to find libraries and programs with nonstandard names/locations.
2193 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2198 if test "$ac_init_help" = "recursive"; then
2199 # If there are subdirs, report their specific --help.
2200 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2201 test -d "$ac_dir" ||
2202 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2207 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2209 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2210 # A ".." for each directory in $ac_dir_suffix.
2211 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2212 case $ac_top_builddir_sub in
2213 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2214 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2217 ac_abs_top_builddir=$ac_pwd
2218 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2219 # for backward compatibility:
2220 ac_top_builddir=$ac_top_build_prefix
2223 .) # We are building in place.
2225 ac_top_srcdir=$ac_top_builddir_sub
2226 ac_abs_top_srcdir=$ac_pwd ;;
2227 [\\/]* | ?:[\\/]* ) # Absolute name.
2228 ac_srcdir=$srcdir$ac_dir_suffix;
2229 ac_top_srcdir=$srcdir
2230 ac_abs_top_srcdir=$srcdir ;;
2232 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2233 ac_top_srcdir=$ac_top_build_prefix$srcdir
2234 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2236 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2238 cd "$ac_dir" || { ac_status=$?; continue; }
2239 # Check for guested configure.
2240 if test -f "$ac_srcdir/configure.gnu"; then
2242 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2243 elif test -f "$ac_srcdir/configure"; then
2245 $SHELL "$ac_srcdir/configure" --help=recursive
2247 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2249 cd "$ac_pwd" || { ac_status=$?; break; }
2253 test -n "$ac_init_help" && exit $ac_status
2254 if $ac_init_version; then
2256 evas configure 1.7.5
2257 generated by GNU Autoconf 2.68
2259 Copyright (C) 2010 Free Software Foundation, Inc.
2260 This configure script is free software; the Free Software Foundation
2261 gives unlimited permission to copy, distribute and modify it.
2266 ## ------------------------ ##
2267 ## Autoconf initialization. ##
2268 ## ------------------------ ##
2270 # ac_fn_c_try_compile LINENO
2271 # --------------------------
2272 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2273 ac_fn_c_try_compile ()
2275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276 rm -f conftest.$ac_objext
2277 if { { ac_try="$ac_compile"
2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2280 *) ac_try_echo=$ac_try;;
2282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2283 $as_echo "$ac_try_echo"; } >&5
2284 (eval "$ac_compile") 2>conftest.err
2286 if test -s conftest.err; then
2287 grep -v '^ *+' conftest.err >conftest.er1
2288 cat conftest.er1 >&5
2289 mv -f conftest.er1 conftest.err
2291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292 test $ac_status = 0; } && {
2293 test -z "$ac_c_werror_flag" ||
2294 test ! -s conftest.err
2295 } && test -s conftest.$ac_objext; then :
2298 $as_echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2304 as_fn_set_status $ac_retval
2306 } # ac_fn_c_try_compile
2308 # ac_fn_c_try_cpp LINENO
2309 # ----------------------
2310 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 if { { ac_try="$ac_cpp conftest.$ac_ext"
2316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2317 *) ac_try_echo=$ac_try;;
2319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2320 $as_echo "$ac_try_echo"; } >&5
2321 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2323 if test -s conftest.err; then
2324 grep -v '^ *+' conftest.err >conftest.er1
2325 cat conftest.er1 >&5
2326 mv -f conftest.er1 conftest.err
2328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2329 test $ac_status = 0; } > conftest.i && {
2330 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2331 test ! -s conftest.err
2335 $as_echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.$ac_ext >&5
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2341 as_fn_set_status $ac_retval
2345 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2346 # -------------------------------------------------------
2347 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2348 # the include files in INCLUDES and setting the cache variable VAR
2350 ac_fn_c_check_header_mongrel ()
2352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2353 if eval \${$3+:} false; then :
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2355 $as_echo_n "checking for $2... " >&6; }
2356 if eval \${$3+:} false; then :
2357 $as_echo_n "(cached) " >&6
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2361 $as_echo "$ac_res" >&6; }
2363 # Is the header compilable?
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2365 $as_echo_n "checking $2 usability... " >&6; }
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2371 if ac_fn_c_try_compile "$LINENO"; then :
2372 ac_header_compiler=yes
2374 ac_header_compiler=no
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2378 $as_echo "$ac_header_compiler" >&6; }
2380 # Is the header present?
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2382 $as_echo_n "checking $2 presence... " >&6; }
2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384 /* end confdefs.h. */
2387 if ac_fn_c_try_cpp "$LINENO"; then :
2388 ac_header_preproc=yes
2390 ac_header_preproc=no
2392 rm -f conftest.err conftest.i conftest.$ac_ext
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2394 $as_echo "$ac_header_preproc" >&6; }
2396 # So? What about this header?
2397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2400 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2402 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2406 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2408 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2410 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2412 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2414 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2415 ( $as_echo "## -------------------------------------------------------- ##
2416 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2417 ## -------------------------------------------------------- ##"
2418 ) | sed "s/^/$as_me: WARNING: /" >&2
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2422 $as_echo_n "checking for $2... " >&6; }
2423 if eval \${$3+:} false; then :
2424 $as_echo_n "(cached) " >&6
2426 eval "$3=\$ac_header_compiler"
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2430 $as_echo "$ac_res" >&6; }
2432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2434 } # ac_fn_c_check_header_mongrel
2436 # ac_fn_c_try_run LINENO
2437 # ----------------------
2438 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2439 # that executables *can* be run.
2442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443 if { { ac_try="$ac_link"
2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2446 *) ac_try_echo=$ac_try;;
2448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2449 $as_echo "$ac_try_echo"; } >&5
2450 (eval "$ac_link") 2>&5
2452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2454 { { case "(($ac_try" in
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_try") 2>&5
2462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463 test $ac_status = 0; }; }; then :
2466 $as_echo "$as_me: program exited with status $ac_status" >&5
2467 $as_echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2470 ac_retval=$ac_status
2472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2474 as_fn_set_status $ac_retval
2478 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2479 # -------------------------------------------------------
2480 # Tests whether HEADER exists and can be compiled using the include files in
2481 # INCLUDES, setting the cache variable VAR accordingly.
2482 ac_fn_c_check_header_compile ()
2484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2486 $as_echo_n "checking for $2... " >&6; }
2487 if eval \${$3+:} false; then :
2488 $as_echo_n "(cached) " >&6
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2495 if ac_fn_c_try_compile "$LINENO"; then :
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2504 $as_echo "$ac_res" >&6; }
2505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2507 } # ac_fn_c_check_header_compile
2509 # ac_fn_c_try_link LINENO
2510 # -----------------------
2511 # Try to link conftest.$ac_ext, and return whether this succeeded.
2514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2515 rm -f conftest.$ac_objext conftest$ac_exeext
2516 if { { ac_try="$ac_link"
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523 (eval "$ac_link") 2>conftest.err
2525 if test -s conftest.err; then
2526 grep -v '^ *+' conftest.err >conftest.er1
2527 cat conftest.er1 >&5
2528 mv -f conftest.er1 conftest.err
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; } && {
2532 test -z "$ac_c_werror_flag" ||
2533 test ! -s conftest.err
2534 } && test -s conftest$ac_exeext && {
2535 test "$cross_compiling" = yes ||
2536 $as_test_x conftest$ac_exeext
2540 $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2545 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2546 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2547 # interfere with the next link command; also delete a directory that is
2548 # left behind by Apple's compiler. We do this before executing the actions.
2549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551 as_fn_set_status $ac_retval
2553 } # ac_fn_c_try_link
2555 # ac_fn_c_check_func LINENO FUNC VAR
2556 # ----------------------------------
2557 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2558 ac_fn_c_check_func ()
2560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2562 $as_echo_n "checking for $2... " >&6; }
2563 if eval \${$3+:} false; then :
2564 $as_echo_n "(cached) " >&6
2566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h. */
2568 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2570 #define $2 innocuous_$2
2572 /* System header to define __stub macros and hopefully few prototypes,
2573 which can conflict with char $2 (); below.
2574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2575 <limits.h> exists even on freestanding compilers. */
2578 # include <limits.h>
2580 # include <assert.h>
2585 /* Override any GCC internal prototype to avoid an error.
2586 Use char because int might match the return type of a GCC
2587 builtin and then its argument prototype would still apply. */
2592 /* The GNU C library defines this for functions which it implements
2593 to always fail with ENOSYS. Some functions are actually named
2594 something starting with __ and the normal name is an alias. */
2595 #if defined __stub_$2 || defined __stub___$2
2607 if ac_fn_c_try_link "$LINENO"; then :
2612 rm -f core conftest.err conftest.$ac_objext \
2613 conftest$ac_exeext conftest.$ac_ext
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2617 $as_echo "$ac_res" >&6; }
2618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2620 } # ac_fn_c_check_func
2622 # ac_fn_objc_try_compile LINENO
2623 # -----------------------------
2624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2625 ac_fn_objc_try_compile ()
2627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628 rm -f conftest.$ac_objext
2629 if { { ac_try="$ac_compile"
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635 $as_echo "$ac_try_echo"; } >&5
2636 (eval "$ac_compile") 2>conftest.err
2638 if test -s conftest.err; then
2639 grep -v '^ *+' conftest.err >conftest.er1
2640 cat conftest.er1 >&5
2641 mv -f conftest.er1 conftest.err
2643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2644 test $ac_status = 0; } && {
2645 test -z "$ac_objc_werror_flag" ||
2646 test ! -s conftest.err
2647 } && test -s conftest.$ac_objext; then :
2650 $as_echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656 as_fn_set_status $ac_retval
2658 } # ac_fn_objc_try_compile
2660 # ac_fn_objc_try_link LINENO
2661 # --------------------------
2662 # Try to link conftest.$ac_ext, and return whether this succeeded.
2663 ac_fn_objc_try_link ()
2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666 rm -f conftest.$ac_objext conftest$ac_exeext
2667 if { { ac_try="$ac_link"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2673 $as_echo "$ac_try_echo"; } >&5
2674 (eval "$ac_link") 2>conftest.err
2676 if test -s conftest.err; then
2677 grep -v '^ *+' conftest.err >conftest.er1
2678 cat conftest.er1 >&5
2679 mv -f conftest.er1 conftest.err
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; } && {
2683 test -z "$ac_objc_werror_flag" ||
2684 test ! -s conftest.err
2685 } && test -s conftest$ac_exeext && {
2686 test "$cross_compiling" = yes ||
2687 $as_test_x conftest$ac_exeext
2691 $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2696 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2697 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2698 # interfere with the next link command; also delete a directory that is
2699 # left behind by Apple's compiler. We do this before executing the actions.
2700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702 as_fn_set_status $ac_retval
2704 } # ac_fn_objc_try_link
2706 # ac_fn_cxx_try_compile LINENO
2707 # ----------------------------
2708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2709 ac_fn_cxx_try_compile ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 rm -f conftest.$ac_objext
2713 if { { ac_try="$ac_compile"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2719 $as_echo "$ac_try_echo"; } >&5
2720 (eval "$ac_compile") 2>conftest.err
2722 if test -s conftest.err; then
2723 grep -v '^ *+' conftest.err >conftest.er1
2724 cat conftest.er1 >&5
2725 mv -f conftest.er1 conftest.err
2727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2728 test $ac_status = 0; } && {
2729 test -z "$ac_cxx_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then :
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 as_fn_set_status $ac_retval
2742 } # ac_fn_cxx_try_compile
2744 # ac_fn_cxx_try_cpp LINENO
2745 # ------------------------
2746 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2747 ac_fn_cxx_try_cpp ()
2749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750 if { { ac_try="$ac_cpp conftest.$ac_ext"
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2759 if test -s conftest.err; then
2760 grep -v '^ *+' conftest.err >conftest.er1
2761 cat conftest.er1 >&5
2762 mv -f conftest.er1 conftest.err
2764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765 test $ac_status = 0; } > conftest.i && {
2766 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2767 test ! -s conftest.err
2771 $as_echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777 as_fn_set_status $ac_retval
2779 } # ac_fn_cxx_try_cpp
2781 # ac_fn_cxx_try_link LINENO
2782 # -------------------------
2783 # Try to link conftest.$ac_ext, and return whether this succeeded.
2784 ac_fn_cxx_try_link ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 rm -f conftest.$ac_objext conftest$ac_exeext
2788 if { { ac_try="$ac_link"
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795 (eval "$ac_link") 2>conftest.err
2797 if test -s conftest.err; then
2798 grep -v '^ *+' conftest.err >conftest.er1
2799 cat conftest.er1 >&5
2800 mv -f conftest.er1 conftest.err
2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803 test $ac_status = 0; } && {
2804 test -z "$ac_cxx_werror_flag" ||
2805 test ! -s conftest.err
2806 } && test -s conftest$ac_exeext && {
2807 test "$cross_compiling" = yes ||
2808 $as_test_x conftest$ac_exeext
2812 $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2817 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2818 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2819 # interfere with the next link command; also delete a directory that is
2820 # left behind by Apple's compiler. We do this before executing the actions.
2821 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823 as_fn_set_status $ac_retval
2825 } # ac_fn_cxx_try_link
2827 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2828 # --------------------------------------------
2829 # Tries to find the compile-time value of EXPR in a program that includes
2830 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2832 ac_fn_c_compute_int ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if test "$cross_compiling" = yes; then
2836 # Depending upon the size, compute the lo and hi bounds.
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2843 static int test_array [1 - 2 * !(($2) >= 0)];
2850 if ac_fn_c_try_compile "$LINENO"; then :
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2859 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2866 if ac_fn_c_try_compile "$LINENO"; then :
2867 ac_hi=$ac_mid; break
2869 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2870 if test $ac_lo -le $ac_mid; then
2874 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2885 static int test_array [1 - 2 * !(($2) < 0)];
2892 if ac_fn_c_try_compile "$LINENO"; then :
2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2901 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2908 if ac_fn_c_try_compile "$LINENO"; then :
2909 ac_lo=$ac_mid; break
2911 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2912 if test $ac_mid -le $ac_hi; then
2916 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 # Binary search between lo and hi bounds.
2927 while test "x$ac_lo" != "x$ac_hi"; do
2928 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h. */
2935 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2942 if ac_fn_c_try_compile "$LINENO"; then :
2945 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2950 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2957 static long int longval () { return $2; }
2958 static unsigned long int ulongval () { return $2; }
2965 FILE *f = fopen ("conftest.val", "w");
2970 long int i = longval ();
2973 fprintf (f, "%ld", i);
2977 unsigned long int i = ulongval ();
2980 fprintf (f, "%lu", i);
2982 /* Do not output a trailing newline, as this causes \r\n confusion
2983 on some platforms. */
2984 return ferror (f) || fclose (f) != 0;
2990 if ac_fn_c_try_run "$LINENO"; then :
2991 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2996 conftest.$ac_objext conftest.beam conftest.$ac_ext
3000 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3001 as_fn_set_status $ac_retval
3003 } # ac_fn_c_compute_int
3005 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3006 # -------------------------------------------
3007 # Tests whether TYPE exists after having included INCLUDES, setting cache
3008 # variable VAR accordingly.
3009 ac_fn_c_check_type ()
3011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3013 $as_echo_n "checking for $2... " >&6; }
3014 if eval \${$3+:} false; then :
3015 $as_echo_n "(cached) " >&6
3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3019 /* end confdefs.h. */
3030 if ac_fn_c_try_compile "$LINENO"; then :
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3043 if ac_fn_c_try_compile "$LINENO"; then :
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3054 $as_echo "$ac_res" >&6; }
3055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3057 } # ac_fn_c_check_type
3059 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3060 # ---------------------------------------------
3061 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3063 ac_fn_c_check_decl ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 as_decl_name=`echo $2|sed 's/ *(.*//'`
3067 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3069 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3070 if eval \${$3+:} false; then :
3071 $as_echo_n "(cached) " >&6
3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h. */
3079 #ifndef $as_decl_name
3081 (void) $as_decl_use;
3083 (void) $as_decl_name;
3091 if ac_fn_c_try_compile "$LINENO"; then :
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 $as_echo "$ac_res" >&6; }
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 } # ac_fn_c_check_decl
3104 cat >config.log <<_ACEOF
3105 This file contains any messages produced by compilers while
3106 running configure, to aid debugging if configure makes a mistake.
3108 It was created by evas $as_me 1.7.5, which was
3109 generated by GNU Autoconf 2.68. Invocation command line was
3121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir=.
3145 $as_echo "PATH: $as_dir"
3161 # Keep a trace of the command line.
3162 # Strip out --no-create and --no-recursion so they do not pile up.
3163 # Strip out --silent because we don't want to record it for future runs.
3164 # Also quote any args containing shell meta-characters.
3165 # Make two passes to allow for proper duplicate-argument suppression.
3169 ac_must_keep_next=false
3175 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3177 | -silent | --silent | --silen | --sile | --sil)
3180 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3183 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3185 as_fn_append ac_configure_args1 " '$ac_arg'"
3186 if test $ac_must_keep_next = true; then
3187 ac_must_keep_next=false # Got value, back to normal.
3190 *=* | --config-cache | -C | -disable-* | --disable-* \
3191 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3192 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3193 | -with-* | --with-* | -without-* | --without-* | --x)
3194 case "$ac_configure_args0 " in
3195 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3198 -* ) ac_must_keep_next=true ;;
3201 as_fn_append ac_configure_args " '$ac_arg'"
3206 { ac_configure_args0=; unset ac_configure_args0;}
3207 { ac_configure_args1=; unset ac_configure_args1;}
3209 # When interrupted or exit'd, cleanup temporary files, and complete
3210 # config.log. We remove comments because anyway the quotes in there
3211 # would cause problems or look ugly.
3212 # WARNING: Use '\'' to represent an apostrophe within the trap.
3213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3214 trap 'exit_status=$?
3215 # Save into config.log some information that might help in debugging.
3219 $as_echo "## ---------------- ##
3220 ## Cache variables. ##
3221 ## ---------------- ##"
3223 # The following way of writing the cache mishandles newlines in values,
3225 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3226 eval ac_val=\$$ac_var
3230 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3231 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3234 _ | IFS | as_nl) ;; #(
3235 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3236 *) { eval $ac_var=; unset $ac_var;} ;;
3241 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3242 *${as_nl}ac_space=\ *)
3244 "s/'\''/'\''\\\\'\'''\''/g;
3245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3255 $as_echo "## ----------------- ##
3256 ## Output variables. ##
3257 ## ----------------- ##"
3259 for ac_var in $ac_subst_vars
3261 eval ac_val=\$$ac_var
3263 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3265 $as_echo "$ac_var='\''$ac_val'\''"
3269 if test -n "$ac_subst_files"; then
3270 $as_echo "## ------------------- ##
3271 ## File substitutions. ##
3272 ## ------------------- ##"
3274 for ac_var in $ac_subst_files
3276 eval ac_val=\$$ac_var
3278 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3280 $as_echo "$ac_var='\''$ac_val'\''"
3285 if test -s confdefs.h; then
3286 $as_echo "## ----------- ##
3293 test "$ac_signal" != 0 &&
3294 $as_echo "$as_me: caught signal $ac_signal"
3295 $as_echo "$as_me: exit $exit_status"
3297 rm -f core *.core core.conftest.* &&
3298 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3301 for ac_signal in 1 2 13 15; do
3302 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3306 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3307 rm -f -r conftest* confdefs.h
3309 $as_echo "/* confdefs.h */" > confdefs.h
3311 # Predefined preprocessor variables.
3313 cat >>confdefs.h <<_ACEOF
3314 #define PACKAGE_NAME "$PACKAGE_NAME"
3317 cat >>confdefs.h <<_ACEOF
3318 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3321 cat >>confdefs.h <<_ACEOF
3322 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3325 cat >>confdefs.h <<_ACEOF
3326 #define PACKAGE_STRING "$PACKAGE_STRING"
3329 cat >>confdefs.h <<_ACEOF
3330 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3333 cat >>confdefs.h <<_ACEOF
3334 #define PACKAGE_URL "$PACKAGE_URL"
3338 # Let the site file select an alternate cache file if it wants to.
3339 # Prefer an explicitly selected file to automatically selected ones.
3342 if test -n "$CONFIG_SITE"; then
3343 # We do not want a PATH search for config.site.
3344 case $CONFIG_SITE in #((
3345 -*) ac_site_file1=./$CONFIG_SITE;;
3346 */*) ac_site_file1=$CONFIG_SITE;;
3347 *) ac_site_file1=./$CONFIG_SITE;;
3349 elif test "x$prefix" != xNONE; then
3350 ac_site_file1=$prefix/share/config.site
3351 ac_site_file2=$prefix/etc/config.site
3353 ac_site_file1=$ac_default_prefix/share/config.site
3354 ac_site_file2=$ac_default_prefix/etc/config.site
3356 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3358 test "x$ac_site_file" = xNONE && continue
3359 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3361 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3362 sed 's/^/| /' "$ac_site_file" >&5
3364 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366 as_fn_error $? "failed to load site script $ac_site_file
3367 See \`config.log' for more details" "$LINENO" 5; }
3371 if test -r "$cache_file"; then
3372 # Some versions of bash will fail to source /dev/null (special files
3373 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3374 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3376 $as_echo "$as_me: loading cache $cache_file" >&6;}
3378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3379 *) . "./$cache_file";;
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3384 $as_echo "$as_me: creating cache $cache_file" >&6;}
3388 # Check that the precious variables saved in the cache have kept the same
3390 ac_cache_corrupted=false
3391 for ac_var in $ac_precious_vars; do
3392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3393 eval ac_new_set=\$ac_env_${ac_var}_set
3394 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3395 eval ac_new_val=\$ac_env_${ac_var}_value
3396 case $ac_old_set,$ac_new_set in
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3399 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3400 ac_cache_corrupted=: ;;
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3403 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3404 ac_cache_corrupted=: ;;
3407 if test "x$ac_old_val" != "x$ac_new_val"; then
3408 # differences in whitespace do not lead to failure.
3409 ac_old_val_w=`echo x $ac_old_val`
3410 ac_new_val_w=`echo x $ac_new_val`
3411 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3413 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3414 ac_cache_corrupted=:
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3417 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3418 eval $ac_var=\$ac_old_val
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3421 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3423 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3426 # Pass precious variables to config.status.
3427 if test "$ac_new_set" = set; then
3429 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3430 *) ac_arg=$ac_var=$ac_new_val ;;
3432 case " $ac_configure_args " in
3433 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3434 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3438 if $ac_cache_corrupted; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3442 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3443 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3445 ## -------------------- ##
3446 ## Main body of script. ##
3447 ## -------------------- ##
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 ac_config_headers="$ac_config_headers config.h"
3465 am__api_version='1.11'
3468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3469 if test -f "$ac_dir/install-sh"; then
3471 ac_install_sh="$ac_aux_dir/install-sh -c"
3473 elif test -f "$ac_dir/install.sh"; then
3475 ac_install_sh="$ac_aux_dir/install.sh -c"
3477 elif test -f "$ac_dir/shtool"; then
3479 ac_install_sh="$ac_aux_dir/shtool install -c"
3483 if test -z "$ac_aux_dir"; then
3484 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3487 # These three variables are undocumented and unsupported,
3488 # and are intended to be withdrawn in a future Autoconf release.
3489 # They can cause serious problems if a builder's source tree is in a directory
3490 # whose full name contains unusual characters.
3491 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3492 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3493 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3496 # Find a good install program. We prefer a C program (faster),
3497 # so one script is as good as another. But avoid the broken or
3498 # incompatible versions:
3499 # SysV /etc/install, /usr/sbin/install
3500 # SunOS /usr/etc/install
3501 # IRIX /sbin/install
3503 # AmigaOS /C/install, which installs bootblocks on floppy discs
3504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3507 # OS/2's system install, which has a completely different semantic
3508 # ./install, which can be erroneously created by make from ./install.sh.
3509 # Reject install programs that cannot install multiple files.
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3511 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3512 if test -z "$INSTALL"; then
3513 if ${ac_cv_path_install+:} false; then :
3514 $as_echo_n "(cached) " >&6
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir=.
3521 # Account for people who put trailing slashes in PATH elements.
3522 case $as_dir/ in #((
3523 ./ | .// | /[cC]/* | \
3524 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3525 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3528 # OSF1 and SCO ODT 3.0 have their own names for install.
3529 # Don't use installbsd from OSF since it installs stuff as root
3531 for ac_prog in ginstall scoinst install; do
3532 for ac_exec_ext in '' $ac_executable_extensions; do
3533 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3534 if test $ac_prog = install &&
3535 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3536 # AIX install. It has an incompatible calling convention.
3538 elif test $ac_prog = install &&
3539 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3540 # program-specific install script used by HP pwplus--don't use.
3543 rm -rf conftest.one conftest.two conftest.dir
3544 echo one > conftest.one
3545 echo two > conftest.two
3547 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3548 test -s conftest.one && test -s conftest.two &&
3549 test -s conftest.dir/conftest.one &&
3550 test -s conftest.dir/conftest.two
3552 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3565 rm -rf conftest.one conftest.two conftest.dir
3568 if test "${ac_cv_path_install+set}" = set; then
3569 INSTALL=$ac_cv_path_install
3571 # As a last resort, use the slow shell script. Don't cache a
3572 # value for INSTALL within a source directory, because that will
3573 # break other packages using the cache if that directory is
3574 # removed, or if the value is a relative name.
3575 INSTALL=$ac_install_sh
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3579 $as_echo "$INSTALL" >&6; }
3581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3582 # It thinks the first close brace ends the variable substitution.
3583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3587 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3590 $as_echo_n "checking whether build environment is sane... " >&6; }
3593 echo timestamp > conftest.file
3594 # Reject unsafe characters in $srcdir or the absolute working directory
3595 # name. Accept space and tab only in the latter.
3599 *[\\\"\#\$\&\'\`$am_lf]*)
3600 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3603 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3604 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3607 # Do `set' in a subshell so we don't clobber the current shell's
3608 # arguments. Must try -L first in case configure is actually a
3609 # symlink; some systems play weird games with the mod time of symlinks
3610 # (eg FreeBSD returns the mod time of the symlink's containing
3613 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3614 if test "$*" = "X"; then
3616 set X `ls -t "$srcdir/configure" conftest.file`
3619 if test "$*" != "X $srcdir/configure conftest.file" \
3620 && test "$*" != "X conftest.file $srcdir/configure"; then
3622 # If neither matched, then we have a broken ls. This can happen
3623 # if, for instance, CONFIG_SHELL is bash and it inherits a
3624 # broken ls alias from the environment. This has actually
3625 # happened. Such a system could not be considered "sane".
3626 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3627 alias in your environment" "$LINENO" 5
3630 test "$2" = conftest.file
3636 as_fn_error $? "newly created file is older than distributed files!
3637 Check your system clock" "$LINENO" 5
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3640 $as_echo "yes" >&6; }
3641 test "$program_prefix" != NONE &&
3642 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3643 # Use a double $ so make ignores it.
3644 test "$program_suffix" != NONE &&
3645 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3646 # Double any \ or $.
3647 # By default was `s,x,x', remove it if useless.
3648 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3649 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3651 # expand $ac_aux_dir to an absolute path
3652 am_aux_dir=`cd $ac_aux_dir && pwd`
3654 if test x"${MISSING+set}" != xset; then
3657 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3659 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3662 # Use eval to expand $SHELL
3663 if eval "$MISSING --run true"; then
3664 am_missing_run="$MISSING --run "
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3668 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3671 if test x"${install_sh}" != xset; then
3674 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3676 install_sh="\${SHELL} $am_aux_dir/install-sh"
3680 # Installed binaries are usually stripped using `strip' when the user
3681 # run `make install-strip'. However `strip' might not be the right
3682 # tool to use in cross-compilation environments, therefore Automake
3683 # will honor the `STRIP' environment variable to overrule this program.
3684 if test "$cross_compiling" != no; then
3685 if test -n "$ac_tool_prefix"; then
3686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3687 set dummy ${ac_tool_prefix}strip; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_STRIP+:} false; then :
3691 $as_echo_n "(cached) " >&6
3693 if test -n "$STRIP"; then
3694 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 STRIP=$ac_cv_prog_STRIP
3714 if test -n "$STRIP"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3716 $as_echo "$STRIP" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3724 if test -z "$ac_cv_prog_STRIP"; then
3726 # Extract the first word of "strip", so it can be a program name with args.
3727 set dummy 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_ac_ct_STRIP+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$ac_ct_STRIP"; then
3734 ac_cv_prog_ac_ct_STRIP="$ac_ct_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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3743 ac_cv_prog_ac_ct_STRIP="strip"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3754 if test -n "$ac_ct_STRIP"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3756 $as_echo "$ac_ct_STRIP" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3762 if test "x$ac_ct_STRIP" = x; then
3765 case $cross_compiling:$ac_tool_warned in
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3769 ac_tool_warned=yes ;;
3774 STRIP="$ac_cv_prog_STRIP"
3778 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3782 if test -z "$MKDIR_P"; then
3783 if ${ac_cv_path_mkdir+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3790 test -z "$as_dir" && as_dir=.
3791 for ac_prog in mkdir gmkdir; do
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3794 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3795 'mkdir (GNU coreutils) '* | \
3796 'mkdir (coreutils) '* | \
3797 'mkdir (fileutils) '4.1*)
3798 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3808 test -d ./--version && rmdir ./--version
3809 if test "${ac_cv_path_mkdir+set}" = set; then
3810 MKDIR_P="$ac_cv_path_mkdir -p"
3812 # As a last resort, use the slow shell script. Don't cache a
3813 # value for MKDIR_P within a source directory, because that will
3814 # break other packages using the cache if that directory is
3815 # removed, or if the value is a relative name.
3816 MKDIR_P="$ac_install_sh -d"
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3820 $as_echo "$MKDIR_P" >&6; }
3824 [\\/$]* | ?:[\\/]*) ;;
3825 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3828 for ac_prog in gawk mawk nawk awk
3830 # Extract the first word of "$ac_prog", so it can be a program name with args.
3831 set dummy $ac_prog; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_AWK+:} false; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -n "$AWK"; then
3838 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 ac_cv_prog_AWK="$ac_prog"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 if test -n "$AWK"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3860 $as_echo "$AWK" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3867 test -n "$AWK" && break
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3871 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3873 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3874 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 cat >conftest.make <<\_ACEOF
3880 @echo '@@@%%%=$(MAKE)=@@@%%%'
3882 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3883 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3885 eval ac_cv_prog_make_${ac_make}_set=yes;;
3887 eval ac_cv_prog_make_${ac_make}_set=no;;
3891 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3893 $as_echo "yes" >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3898 SET_MAKE="MAKE=${MAKE-make}"
3901 rm -rf .tst 2>/dev/null
3902 mkdir .tst 2>/dev/null
3903 if test -d .tst; then
3908 rmdir .tst 2>/dev/null
3910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3911 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3912 # is not polluted with repeated "-I."
3913 am__isrc=' -I$(srcdir)'
3914 # test to see if srcdir already configured
3915 if test -f $srcdir/config.status; then
3916 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3920 # test whether we have cygpath
3921 if test -z "$CYGPATH_W"; then
3922 if (cygpath --version) >/dev/null 2>/dev/null; then
3923 CYGPATH_W='cygpath -w'
3930 # Define the identity of the package.
3935 cat >>confdefs.h <<_ACEOF
3936 #define PACKAGE "$PACKAGE"
3940 cat >>confdefs.h <<_ACEOF
3941 #define VERSION "$VERSION"
3944 # Some tools Automake needs.
3946 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3949 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3952 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3955 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3958 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3960 # We need awk for the "check" target. The system "awk" is bad on
3962 # Always define AMTAR for backward compatibility. Yes, it's still used
3963 # in the wild :-( We should find a proper way to deprecate it ...
3966 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3972 # Check whether --enable-silent-rules was given.
3973 if test "${enable_silent_rules+set}" = set; then :
3974 enableval=$enable_silent_rules;
3977 case $enable_silent_rules in
3978 yes) AM_DEFAULT_VERBOSITY=0;;
3979 no) AM_DEFAULT_VERBOSITY=1;;
3980 *) AM_DEFAULT_VERBOSITY=0;;
3982 am_make=${MAKE-make}
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3984 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3985 if ${am_cv_make_support_nested_variables+:} false; then :
3986 $as_echo_n "(cached) " >&6
3988 if $as_echo 'TRUE=$(BAR$(V))
3994 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3995 am_cv_make_support_nested_variables=yes
3997 am_cv_make_support_nested_variables=no
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4001 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4002 if test $am_cv_make_support_nested_variables = yes; then
4004 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4006 AM_V=$AM_DEFAULT_VERBOSITY
4007 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4012 DEPDIR="${am__leading_dot}deps"
4014 ac_config_commands="$ac_config_commands depfiles"
4017 am_make=${MAKE-make}
4018 cat > confinc << 'END'
4020 @echo this is the am__doit target
4023 # If we don't find an include directive, just comment out the code.
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4025 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4029 # First try GNU make style include.
4030 echo "include confinc" > confmf
4031 # Ignore all kinds of additional output from `make'.
4032 case `$am_make -s -f confmf 2> /dev/null` in #(
4033 *the\ am__doit\ target*)
4039 # Now try BSD make style include.
4040 if test "$am__include" = "#"; then
4041 echo '.include "confinc"' > confmf
4042 case `$am_make -s -f confmf 2> /dev/null` in #(
4043 *the\ am__doit\ target*)
4044 am__include=.include
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4053 $as_echo "$_am_result" >&6; }
4054 rm -f confinc confmf
4056 # Check whether --enable-dependency-tracking was given.
4057 if test "${enable_dependency_tracking+set}" = set; then :
4058 enableval=$enable_dependency_tracking;
4061 if test "x$enable_dependency_tracking" != xno; then
4062 am_depcomp="$ac_aux_dir/depcomp"
4066 if test "x$enable_dependency_tracking" != xno; then
4076 ac_cpp='$CPP $CPPFLAGS'
4077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4080 if test -n "$ac_tool_prefix"; then
4081 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4082 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if ${ac_cv_prog_CC+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 if test -n "$CC"; then
4089 ac_cv_prog_CC="$CC" # Let the user override the test.
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 if test -n "$CC"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4111 $as_echo "$CC" >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4119 if test -z "$ac_cv_prog_CC"; then
4121 # Extract the first word of "gcc", so it can be a program name with args.
4122 set dummy gcc; ac_word=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4126 $as_echo_n "(cached) " >&6
4128 if test -n "$ac_ct_CC"; then
4129 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir=.
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138 ac_cv_prog_ac_ct_CC="gcc"
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4149 if test -n "$ac_ct_CC"; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4151 $as_echo "$ac_ct_CC" >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4157 if test "x$ac_ct_CC" = x; then
4160 case $cross_compiling:$ac_tool_warned in
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4164 ac_tool_warned=yes ;;
4172 if test -z "$CC"; then
4173 if test -n "$ac_tool_prefix"; then
4174 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4175 set dummy ${ac_tool_prefix}cc; ac_word=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if ${ac_cv_prog_CC+:} false; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -n "$CC"; then
4182 ac_cv_prog_CC="$CC" # Let the user override the test.
4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir=.
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_CC="${ac_tool_prefix}cc"
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 if test -n "$CC"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4204 $as_echo "$CC" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4213 if test -z "$CC"; then
4214 # Extract the first word of "cc", so it can be a program name with args.
4215 set dummy cc; ac_word=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if ${ac_cv_prog_CC+:} false; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -n "$CC"; then
4222 ac_cv_prog_CC="$CC" # Let the user override the test.
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 test -z "$as_dir" && as_dir=.
4230 for ac_exec_ext in '' $ac_executable_extensions; do
4231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4233 ac_prog_rejected=yes
4237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 if test $ac_prog_rejected = yes; then
4245 # We found a bogon in the path, so make sure we never use it.
4246 set dummy $ac_cv_prog_CC
4248 if test $# != 0; then
4249 # We chose a different compiler from the bogus one.
4250 # However, it has the same basename, so the bogon will be chosen
4251 # first if we set CC to just the basename; use the full file name.
4253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4259 if test -n "$CC"; then
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4261 $as_echo "$CC" >&6; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4269 if test -z "$CC"; then
4270 if test -n "$ac_tool_prefix"; then
4271 for ac_prog in cl.exe
4273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 $as_echo_n "checking for $ac_word... " >&6; }
4277 if ${ac_cv_prog_CC+:} false; then :
4278 $as_echo_n "(cached) " >&6
4280 if test -n "$CC"; then
4281 ac_cv_prog_CC="$CC" # Let the user override the test.
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287 test -z "$as_dir" && as_dir=.
4288 for ac_exec_ext in '' $ac_executable_extensions; do
4289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 if test -n "$CC"; then
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4303 $as_echo "$CC" >&6; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4306 $as_echo "no" >&6; }
4310 test -n "$CC" && break
4313 if test -z "$CC"; then
4315 for ac_prog in cl.exe
4317 # Extract the first word of "$ac_prog", so it can be a program name with args.
4318 set dummy $ac_prog; ac_word=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4322 $as_echo_n "(cached) " >&6
4324 if test -n "$ac_ct_CC"; then
4325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4331 test -z "$as_dir" && as_dir=.
4332 for ac_exec_ext in '' $ac_executable_extensions; do
4333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334 ac_cv_prog_ac_ct_CC="$ac_prog"
4335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4345 if test -n "$ac_ct_CC"; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4347 $as_echo "$ac_ct_CC" >&6; }
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4354 test -n "$ac_ct_CC" && break
4357 if test "x$ac_ct_CC" = x; then
4360 case $cross_compiling:$ac_tool_warned in
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364 ac_tool_warned=yes ;;
4373 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4375 as_fn_error $? "no acceptable C compiler found in \$PATH
4376 See \`config.log' for more details" "$LINENO" 5; }
4378 # Provide some information about the compiler.
4379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4382 for ac_option in --version -v -V -qversion; do
4383 { { ac_try="$ac_compiler $ac_option >&5"
4385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4389 $as_echo "$ac_try_echo"; } >&5
4390 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4392 if test -s conftest.err; then
4394 ... rest of stderr output deleted ...
4395 10q' conftest.err >conftest.er1
4396 cat conftest.er1 >&5
4398 rm -f conftest.er1 conftest.err
4399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4400 test $ac_status = 0; }
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 ac_clean_files_save=$ac_clean_files
4415 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4416 # Try to create an executable without -o first, disregard a.out.
4417 # It will help us diagnose broken compilers, and finding out an intuition
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4420 $as_echo_n "checking whether the C compiler works... " >&6; }
4421 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4423 # The possible output files:
4424 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4427 for ac_file in $ac_files
4430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4431 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4436 if { { ac_try="$ac_link_default"
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4442 $as_echo "$ac_try_echo"; } >&5
4443 (eval "$ac_link_default") 2>&5
4445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446 test $ac_status = 0; }; then :
4447 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4448 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4449 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4450 # so that the user can short-circuit this test for compilers unknown to
4452 for ac_file in $ac_files ''
4454 test -f "$ac_file" || continue
4456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4459 # We found the default executable, but exeext='' is most
4463 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4465 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4467 # We set ac_cv_exeext here because the later test for it is not
4468 # safe: cross compilers may not add the suffix if given an `-o'
4469 # argument, so we may need to know it at that point already.
4470 # Even if this section looks crufty: it has the advantage of
4477 test "$ac_cv_exeext" = no && ac_cv_exeext=
4482 if test -z "$ac_file"; then :
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4485 $as_echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4490 as_fn_error 77 "C compiler cannot create executables
4491 See \`config.log' for more details" "$LINENO" 5; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4494 $as_echo "yes" >&6; }
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4497 $as_echo_n "checking for C compiler default output file name... " >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4499 $as_echo "$ac_file" >&6; }
4500 ac_exeext=$ac_cv_exeext
4502 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4503 ac_clean_files=$ac_clean_files_save
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4505 $as_echo_n "checking for suffix of executables... " >&6; }
4506 if { { ac_try="$ac_link"
4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512 $as_echo "$ac_try_echo"; } >&5
4513 (eval "$ac_link") 2>&5
4515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516 test $ac_status = 0; }; then :
4517 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4518 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4519 # work properly (i.e., refer to `conftest.exe'), while it won't with
4521 for ac_file in conftest.exe conftest conftest.*; do
4522 test -f "$ac_file" || continue
4524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4525 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4534 See \`config.log' for more details" "$LINENO" 5; }
4536 rm -f conftest conftest$ac_cv_exeext
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4538 $as_echo "$ac_cv_exeext" >&6; }
4540 rm -f conftest.$ac_ext
4541 EXEEXT=$ac_cv_exeext
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4549 FILE *f = fopen ("conftest.out", "w");
4550 return ferror (f) || fclose (f) != 0;
4556 ac_clean_files="$ac_clean_files conftest.out"
4557 # Check that the compiler produces executables we can run. If not, either
4558 # the compiler is broken, or we cross compile.
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4560 $as_echo_n "checking whether we are cross compiling... " >&6; }
4561 if test "$cross_compiling" != yes; then
4562 { { ac_try="$ac_link"
4564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4565 *) ac_try_echo=$ac_try;;
4567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4568 $as_echo "$ac_try_echo"; } >&5
4569 (eval "$ac_link") 2>&5
4571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4572 test $ac_status = 0; }
4573 if { ac_try='./conftest$ac_cv_exeext'
4574 { { case "(($ac_try" in
4575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4579 $as_echo "$ac_try_echo"; } >&5
4580 (eval "$ac_try") 2>&5
4582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4583 test $ac_status = 0; }; }; then
4586 if test "$cross_compiling" = maybe; then
4589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "cannot run C compiled programs.
4592 If you meant to cross compile, use \`--host'.
4593 See \`config.log' for more details" "$LINENO" 5; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4598 $as_echo "$cross_compiling" >&6; }
4600 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4601 ac_clean_files=$ac_clean_files_save
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4603 $as_echo_n "checking for suffix of object files... " >&6; }
4604 if ${ac_cv_objext+:} false; then :
4605 $as_echo_n "(cached) " >&6
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4618 rm -f conftest.o conftest.obj
4619 if { { ac_try="$ac_compile"
4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4622 *) ac_try_echo=$ac_try;;
4624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4625 $as_echo "$ac_try_echo"; } >&5
4626 (eval "$ac_compile") 2>&5
4628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629 test $ac_status = 0; }; then :
4630 for ac_file in conftest.o conftest.obj conftest.*; do
4631 test -f "$ac_file" || continue;
4633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4634 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4639 $as_echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4644 as_fn_error $? "cannot compute suffix of object files: cannot compile
4645 See \`config.log' for more details" "$LINENO" 5; }
4647 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4650 $as_echo "$ac_cv_objext" >&6; }
4651 OBJEXT=$ac_cv_objext
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4654 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4655 if ${ac_cv_c_compiler_gnu+:} false; then :
4656 $as_echo_n "(cached) " >&6
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4672 if ac_fn_c_try_compile "$LINENO"; then :
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4682 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4683 if test $ac_compiler_gnu = yes; then
4688 ac_test_CFLAGS=${CFLAGS+set}
4689 ac_save_CFLAGS=$CFLAGS
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4691 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4692 if ${ac_cv_prog_cc_g+:} false; then :
4693 $as_echo_n "(cached) " >&6
4695 ac_save_c_werror_flag=$ac_c_werror_flag
4696 ac_c_werror_flag=yes
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4710 if ac_fn_c_try_compile "$LINENO"; then :
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4725 if ac_fn_c_try_compile "$LINENO"; then :
4728 ac_c_werror_flag=$ac_save_c_werror_flag
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4741 if ac_fn_c_try_compile "$LINENO"; then :
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 ac_c_werror_flag=$ac_save_c_werror_flag
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4752 $as_echo "$ac_cv_prog_cc_g" >&6; }
4753 if test "$ac_test_CFLAGS" = set; then
4754 CFLAGS=$ac_save_CFLAGS
4755 elif test $ac_cv_prog_cc_g = yes; then
4756 if test "$GCC" = yes; then
4762 if test "$GCC" = yes; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4769 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4770 if ${ac_cv_prog_cc_c89+:} false; then :
4771 $as_echo_n "(cached) " >&6
4773 ac_cv_prog_cc_c89=no
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4779 #include <sys/types.h>
4780 #include <sys/stat.h>
4781 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4782 struct buf { int x; };
4783 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4784 static char *e (p, i)
4790 static char *f (char * (*g) (char **, int), char **p, ...)
4795 s = g (p, va_arg (v,int));
4800 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4801 function prototypes and stuff, but not '\xHH' hex character constants.
4802 These don't provoke an error unfortunately, instead are silently treated
4803 as 'x'. The following induces an error, until -std is added to get
4804 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4805 array size at least. It's necessary to write '\x00'==0 to get something
4806 that's true only with -std. */
4807 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4809 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4810 inside strings and character constants. */
4812 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4814 int test (int i, double x);
4815 struct s1 {int (*f) (int a);};
4816 struct s2 {int (*f) (double a);};
4817 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4823 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4828 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4829 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4831 CC="$ac_save_CC $ac_arg"
4832 if ac_fn_c_try_compile "$LINENO"; then :
4833 ac_cv_prog_cc_c89=$ac_arg
4835 rm -f core conftest.err conftest.$ac_objext
4836 test "x$ac_cv_prog_cc_c89" != "xno" && break
4838 rm -f conftest.$ac_ext
4843 case "x$ac_cv_prog_cc_c89" in
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4846 $as_echo "none needed" >&6; } ;;
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4849 $as_echo "unsupported" >&6; } ;;
4851 CC="$CC $ac_cv_prog_cc_c89"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4853 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4855 if test "x$ac_cv_prog_cc_c89" != xno; then :
4860 ac_cpp='$CPP $CPPFLAGS'
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4865 depcc="$CC" am_compiler_list=
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4868 $as_echo_n "checking dependency style of $depcc... " >&6; }
4869 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4873 # We make a subdir and do the tests there. Otherwise we can end up
4874 # making bogus files that we don't know about and never remove. For
4875 # instance it was reported that on HP-UX the gcc test will end up
4876 # making a dummy file named `D' -- because `-MD' means `put the output
4880 # Copy depcomp to subdir because otherwise we won't find it if we're
4881 # using a relative directory.
4882 cp "$am_depcomp" conftest.dir
4884 # We will build objects and dependencies in a subdirectory because
4885 # it helps to detect inapplicable dependency modes. For instance
4886 # both Tru64's cc and ICC support -MD to output dependencies as a
4887 # side effect of compilation, but ICC will put the dependencies in
4888 # the current directory while Tru64 will put them in the object
4892 am_cv_CC_dependencies_compiler_type=none
4893 if test "$am_compiler_list" = ""; then
4894 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4897 case " $depcc " in #(
4898 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4901 for depmode in $am_compiler_list; do
4902 # Setup a source with many dependencies, because some compilers
4903 # like to wrap large dependency lists on column 80 (with \), and
4904 # we should not choose a depcomp mode which is confused by this.
4906 # We need to recreate these files for each test, as the compiler may
4907 # overwrite some of them when testing with obscure command lines.
4908 # This happens at least with the AIX C compiler.
4910 for i in 1 2 3 4 5 6; do
4911 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4912 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4913 # Solaris 8's {/usr,}/bin/sh.
4914 touch sub/conftst$i.h
4916 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4918 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4919 # mode. It turns out that the SunPro C++ compiler does not properly
4920 # handle `-M -o', and we need to detect this. Also, some Intel
4921 # versions had trouble with output in subdirs
4922 am__obj=sub/conftest.${OBJEXT-o}
4923 am__minus_obj="-o $am__obj"
4926 # This depmode causes a compiler race in universal mode.
4927 test "$am__universal" = false || continue
4930 # after this tag, mechanisms are not by side-effect, so they'll
4931 # only be used when explicitly requested
4932 if test "x$enable_dependency_tracking" = xyes; then
4938 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4939 # This compiler won't grok `-c -o', but also, the minuso test has
4940 # not run yet. These depmodes are late enough in the game, and
4941 # so weak that their functioning should not be impacted.
4942 am__obj=conftest.${OBJEXT-o}
4947 if depmode=$depmode \
4948 source=sub/conftest.c object=$am__obj \
4949 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4950 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4951 >/dev/null 2>conftest.err &&
4952 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4953 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4954 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4955 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4956 # icc doesn't choke on unknown options, it will just issue warnings
4957 # or remarks (even with -Werror). So we grep stderr for any message
4958 # that says an option was ignored or not supported.
4959 # When given -MP, icc 7.0 and 7.1 complain thusly:
4960 # icc: Command line warning: ignoring option '-M'; no argument required
4961 # The diagnosis changed in icc 8.0:
4962 # icc: Command line remark: option '-MP' not supported
4963 if (grep 'ignoring option' conftest.err ||
4964 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4965 am_cv_CC_dependencies_compiler_type=$depmode
4974 am_cv_CC_dependencies_compiler_type=none
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4979 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4980 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4983 test "x$enable_dependency_tracking" != xno \
4984 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4986 am__fastdepCC_FALSE='#'
4988 am__fastdepCC_TRUE='#'
4989 am__fastdepCC_FALSE=
4995 ac_cpp='$CPP $CPPFLAGS'
4996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5000 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5001 # On Suns, sometimes $CPP names a directory.
5002 if test -n "$CPP" && test -d "$CPP"; then
5005 if test -z "$CPP"; then
5006 if ${ac_cv_prog_CPP+:} false; then :
5007 $as_echo_n "(cached) " >&6
5009 # Double quotes because CPP needs to be expanded
5010 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5013 for ac_c_preproc_warn_flag in '' yes
5015 # Use a header file that comes with gcc, so configuring glibc
5016 # with a fresh cross-compiler works.
5017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5018 # <limits.h> exists even on freestanding compilers.
5019 # On the NeXT, cc -E runs the code through the compiler's parser,
5020 # not just through cpp. "Syntax error" is here to catch this case.
5021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 /* end confdefs.h. */
5024 # include <limits.h>
5026 # include <assert.h>
5030 if ac_fn_c_try_cpp "$LINENO"; then :
5033 # Broken: fails on valid input.
5036 rm -f conftest.err conftest.i conftest.$ac_ext
5038 # OK, works on sane cases. Now check whether nonexistent headers
5039 # can be detected and how.
5040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041 /* end confdefs.h. */
5042 #include <ac_nonexistent.h>
5044 if ac_fn_c_try_cpp "$LINENO"; then :
5045 # Broken: success on invalid input.
5048 # Passes both tests.
5052 rm -f conftest.err conftest.i conftest.$ac_ext
5055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5056 rm -f conftest.i conftest.err conftest.$ac_ext
5057 if $ac_preproc_ok; then :
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5070 $as_echo "$CPP" >&6; }
5072 for ac_c_preproc_warn_flag in '' yes
5074 # Use a header file that comes with gcc, so configuring glibc
5075 # with a fresh cross-compiler works.
5076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5077 # <limits.h> exists even on freestanding compilers.
5078 # On the NeXT, cc -E runs the code through the compiler's parser,
5079 # not just through cpp. "Syntax error" is here to catch this case.
5080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h. */
5083 # include <limits.h>
5085 # include <assert.h>
5089 if ac_fn_c_try_cpp "$LINENO"; then :
5092 # Broken: fails on valid input.
5095 rm -f conftest.err conftest.i conftest.$ac_ext
5097 # OK, works on sane cases. Now check whether nonexistent headers
5098 # can be detected and how.
5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5101 #include <ac_nonexistent.h>
5103 if ac_fn_c_try_cpp "$LINENO"; then :
5104 # Broken: success on invalid input.
5107 # Passes both tests.
5111 rm -f conftest.err conftest.i conftest.$ac_ext
5114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5115 rm -f conftest.i conftest.err conftest.$ac_ext
5116 if $ac_preproc_ok; then :
5119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5121 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5122 See \`config.log' for more details" "$LINENO" 5; }
5126 ac_cpp='$CPP $CPPFLAGS'
5127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5133 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5134 if ${ac_cv_path_GREP+:} false; then :
5135 $as_echo_n "(cached) " >&6
5137 if test -z "$GREP"; then
5138 ac_path_GREP_found=false
5139 # Loop through the user's path and test for each of PROGNAME-LIST
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5144 test -z "$as_dir" && as_dir=.
5145 for ac_prog in grep ggrep; do
5146 for ac_exec_ext in '' $ac_executable_extensions; do
5147 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5148 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5149 # Check for GNU ac_path_GREP and select it if it is found.
5150 # Check for GNU $ac_path_GREP
5151 case `"$ac_path_GREP" --version 2>&1` in
5153 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5156 $as_echo_n 0123456789 >"conftest.in"
5159 cat "conftest.in" "conftest.in" >"conftest.tmp"
5160 mv "conftest.tmp" "conftest.in"
5161 cp "conftest.in" "conftest.nl"
5162 $as_echo 'GREP' >> "conftest.nl"
5163 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5164 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5165 as_fn_arith $ac_count + 1 && ac_count=$as_val
5166 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5167 # Best one so far, save it but keep looking for a better one
5168 ac_cv_path_GREP="$ac_path_GREP"
5169 ac_path_GREP_max=$ac_count
5171 # 10*(2^10) chars as input seems more than enough
5172 test $ac_count -gt 10 && break
5174 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5177 $ac_path_GREP_found && break 3
5182 if test -z "$ac_cv_path_GREP"; then
5183 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5186 ac_cv_path_GREP=$GREP
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5191 $as_echo "$ac_cv_path_GREP" >&6; }
5192 GREP="$ac_cv_path_GREP"
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5196 $as_echo_n "checking for egrep... " >&6; }
5197 if ${ac_cv_path_EGREP+:} false; then :
5198 $as_echo_n "(cached) " >&6
5200 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5201 then ac_cv_path_EGREP="$GREP -E"
5203 if test -z "$EGREP"; then
5204 ac_path_EGREP_found=false
5205 # Loop through the user's path and test for each of PROGNAME-LIST
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5210 test -z "$as_dir" && as_dir=.
5211 for ac_prog in egrep; do
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5214 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5215 # Check for GNU ac_path_EGREP and select it if it is found.
5216 # Check for GNU $ac_path_EGREP
5217 case `"$ac_path_EGREP" --version 2>&1` in
5219 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5222 $as_echo_n 0123456789 >"conftest.in"
5225 cat "conftest.in" "conftest.in" >"conftest.tmp"
5226 mv "conftest.tmp" "conftest.in"
5227 cp "conftest.in" "conftest.nl"
5228 $as_echo 'EGREP' >> "conftest.nl"
5229 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5230 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5231 as_fn_arith $ac_count + 1 && ac_count=$as_val
5232 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5233 # Best one so far, save it but keep looking for a better one
5234 ac_cv_path_EGREP="$ac_path_EGREP"
5235 ac_path_EGREP_max=$ac_count
5237 # 10*(2^10) chars as input seems more than enough
5238 test $ac_count -gt 10 && break
5240 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5243 $ac_path_EGREP_found && break 3
5248 if test -z "$ac_cv_path_EGREP"; then
5249 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5252 ac_cv_path_EGREP=$EGREP
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5258 $as_echo "$ac_cv_path_EGREP" >&6; }
5259 EGREP="$ac_cv_path_EGREP"
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5263 $as_echo_n "checking for ANSI C header files... " >&6; }
5264 if ${ac_cv_header_stdc+:} false; then :
5265 $as_echo_n "(cached) " >&6
5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h. */
5282 if ac_fn_c_try_compile "$LINENO"; then :
5283 ac_cv_header_stdc=yes
5285 ac_cv_header_stdc=no
5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5289 if test $ac_cv_header_stdc = yes; then
5290 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h. */
5296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5297 $EGREP "memchr" >/dev/null 2>&1; then :
5300 ac_cv_header_stdc=no
5306 if test $ac_cv_header_stdc = yes; then
5307 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5314 $EGREP "free" >/dev/null 2>&1; then :
5317 ac_cv_header_stdc=no
5323 if test $ac_cv_header_stdc = yes; then
5324 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5325 if test "$cross_compiling" = yes; then :
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5332 #if ((' ' & 0x0FF) == 0x020)
5333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5336 # define ISLOWER(c) \
5337 (('a' <= (c) && (c) <= 'i') \
5338 || ('j' <= (c) && (c) <= 'r') \
5339 || ('s' <= (c) && (c) <= 'z'))
5340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5348 for (i = 0; i < 256; i++)
5349 if (XOR (islower (i), ISLOWER (i))
5350 || toupper (i) != TOUPPER (i))
5355 if ac_fn_c_try_run "$LINENO"; then :
5358 ac_cv_header_stdc=no
5360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5361 conftest.$ac_objext conftest.beam conftest.$ac_ext
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5367 $as_echo "$ac_cv_header_stdc" >&6; }
5368 if test $ac_cv_header_stdc = yes; then
5370 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5375 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5376 inttypes.h stdint.h unistd.h
5378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5382 cat >>confdefs.h <<_ACEOF
5383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5392 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5393 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5400 if test "$MINIX" = yes; then
5402 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5405 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5408 $as_echo "#define _MINIX 1" >>confdefs.h
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5414 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5415 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5421 # define __EXTENSIONS__ 1
5422 $ac_includes_default
5431 if ac_fn_c_try_compile "$LINENO"; then :
5432 ac_cv_safe_to_define___extensions__=yes
5434 ac_cv_safe_to_define___extensions__=no
5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5439 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5440 test $ac_cv_safe_to_define___extensions__ = yes &&
5441 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5443 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5445 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5447 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5449 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5454 # Make sure we can run config.sub.
5455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5456 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5459 $as_echo_n "checking build system type... " >&6; }
5460 if ${ac_cv_build+:} false; then :
5461 $as_echo_n "(cached) " >&6
5463 ac_build_alias=$build_alias
5464 test "x$ac_build_alias" = x &&
5465 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5466 test "x$ac_build_alias" = x &&
5467 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5468 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5469 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5473 $as_echo "$ac_cv_build" >&6; }
5474 case $ac_cv_build in
5476 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5479 ac_save_IFS=$IFS; IFS='-'
5485 # Remember, the first character of IFS is used to create $*,
5486 # except with old shells:
5489 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5493 $as_echo_n "checking host system type... " >&6; }
5494 if ${ac_cv_host+:} false; then :
5495 $as_echo_n "(cached) " >&6
5497 if test "x$host_alias" = x; then
5498 ac_cv_host=$ac_cv_build
5500 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5501 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5506 $as_echo "$ac_cv_host" >&6; }
5509 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5512 ac_save_IFS=$IFS; IFS='-'
5518 # Remember, the first character of IFS is used to create $*,
5519 # except with old shells:
5522 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5525 enable_win32_dll=yes
5528 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5529 if test -n "$ac_tool_prefix"; then
5530 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5531 set dummy ${ac_tool_prefix}as; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_AS+:} false; then :
5535 $as_echo_n "(cached) " >&6
5537 if test -n "$AS"; then
5538 ac_cv_prog_AS="$AS" # Let the user override the test.
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_AS="${ac_tool_prefix}as"
5548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 if test -n "$AS"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5560 $as_echo "$AS" >&6; }
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5568 if test -z "$ac_cv_prog_AS"; then
5570 # Extract the first word of "as", so it can be a program name with args.
5571 set dummy as; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573 $as_echo_n "checking for $ac_word... " >&6; }
5574 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5575 $as_echo_n "(cached) " >&6
5577 if test -n "$ac_ct_AS"; then
5578 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587 ac_cv_prog_ac_ct_AS="as"
5588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5598 if test -n "$ac_ct_AS"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5600 $as_echo "$ac_ct_AS" >&6; }
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5606 if test "x$ac_ct_AS" = x; then
5609 case $cross_compiling:$ac_tool_warned in
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5613 ac_tool_warned=yes ;;
5621 if test -n "$ac_tool_prefix"; then
5622 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5623 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_DLLTOOL+:} false; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$DLLTOOL"; then
5630 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 DLLTOOL=$ac_cv_prog_DLLTOOL
5650 if test -n "$DLLTOOL"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5652 $as_echo "$DLLTOOL" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5660 if test -z "$ac_cv_prog_DLLTOOL"; then
5661 ac_ct_DLLTOOL=$DLLTOOL
5662 # Extract the first word of "dlltool", so it can be a program name with args.
5663 set dummy dlltool; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5667 $as_echo_n "(cached) " >&6
5669 if test -n "$ac_ct_DLLTOOL"; then
5670 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5690 if test -n "$ac_ct_DLLTOOL"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5692 $as_echo "$ac_ct_DLLTOOL" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5698 if test "x$ac_ct_DLLTOOL" = x; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5707 DLLTOOL=$ac_ct_DLLTOOL
5710 DLLTOOL="$ac_cv_prog_DLLTOOL"
5713 if test -n "$ac_tool_prefix"; then
5714 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5715 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_OBJDUMP+:} false; then :
5719 $as_echo_n "(cached) " >&6
5721 if test -n "$OBJDUMP"; then
5722 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5731 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 OBJDUMP=$ac_cv_prog_OBJDUMP
5742 if test -n "$OBJDUMP"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5744 $as_echo "$OBJDUMP" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5752 if test -z "$ac_cv_prog_OBJDUMP"; then
5753 ac_ct_OBJDUMP=$OBJDUMP
5754 # Extract the first word of "objdump", so it can be a program name with args.
5755 set dummy objdump; ac_word=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5759 $as_echo_n "(cached) " >&6
5761 if test -n "$ac_ct_OBJDUMP"; then
5762 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5771 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5782 if test -n "$ac_ct_OBJDUMP"; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5784 $as_echo "$ac_ct_OBJDUMP" >&6; }
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5790 if test "x$ac_ct_OBJDUMP" = x; then
5793 case $cross_compiling:$ac_tool_warned in
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5797 ac_tool_warned=yes ;;
5799 OBJDUMP=$ac_ct_OBJDUMP
5802 OBJDUMP="$ac_cv_prog_OBJDUMP"
5808 test -z "$AS" && AS=as
5814 test -z "$DLLTOOL" && DLLTOOL=dlltool
5820 test -z "$OBJDUMP" && OBJDUMP=objdump
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5831 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5836 macro_version='2.4.2'
5837 macro_revision='1.3337'
5851 ltmain="$ac_aux_dir/ltmain.sh"
5853 # Backslashify metacharacters that are still active within
5854 # double-quoted strings.
5855 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5857 # Same as above, but do not quote variable references.
5858 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5860 # Sed substitution to delay expansion of an escaped shell variable in a
5861 # double_quote_subst'ed string.
5862 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5864 # Sed substitution to delay expansion of an escaped single quote.
5865 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5867 # Sed substitution to avoid accidental globbing in evaled expressions
5868 no_glob_subst='s/\*/\\\*/g'
5870 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5871 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5872 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5875 $as_echo_n "checking how to print strings... " >&6; }
5876 # Test print first, because it will be a builtin if present.
5877 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5878 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5880 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5883 # Use this function as a fallback that always works.
5884 func_fallback_echo ()
5886 eval 'cat <<_LTECHO_EOF
5890 ECHO='func_fallback_echo'
5893 # func_echo_all arg...
5894 # Invoke $ECHO with all args, space-separated.
5901 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5902 $as_echo "printf" >&6; } ;;
5903 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5904 $as_echo "print -r" >&6; } ;;
5905 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5906 $as_echo "cat" >&6; } ;;
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5923 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5924 if ${ac_cv_path_SED+:} false; then :
5925 $as_echo_n "(cached) " >&6
5927 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5928 for ac_i in 1 2 3 4 5 6 7; do
5929 ac_script="$ac_script$as_nl$ac_script"
5931 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5932 { ac_script=; unset ac_script;}
5933 if test -z "$SED"; then
5934 ac_path_SED_found=false
5935 # Loop through the user's path and test for each of PROGNAME-LIST
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5940 test -z "$as_dir" && as_dir=.
5941 for ac_prog in sed gsed; do
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5944 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5945 # Check for GNU ac_path_SED and select it if it is found.
5946 # Check for GNU $ac_path_SED
5947 case `"$ac_path_SED" --version 2>&1` in
5949 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5952 $as_echo_n 0123456789 >"conftest.in"
5955 cat "conftest.in" "conftest.in" >"conftest.tmp"
5956 mv "conftest.tmp" "conftest.in"
5957 cp "conftest.in" "conftest.nl"
5958 $as_echo '' >> "conftest.nl"
5959 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5961 as_fn_arith $ac_count + 1 && ac_count=$as_val
5962 if test $ac_count -gt ${ac_path_SED_max-0}; then
5963 # Best one so far, save it but keep looking for a better one
5964 ac_cv_path_SED="$ac_path_SED"
5965 ac_path_SED_max=$ac_count
5967 # 10*(2^10) chars as input seems more than enough
5968 test $ac_count -gt 10 && break
5970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5973 $ac_path_SED_found && break 3
5978 if test -z "$ac_cv_path_SED"; then
5979 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5987 $as_echo "$ac_cv_path_SED" >&6; }
5988 SED="$ac_cv_path_SED"
5991 test -z "$SED" && SED=sed
5992 Xsed="$SED -e 1s/^X//"
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6005 $as_echo_n "checking for fgrep... " >&6; }
6006 if ${ac_cv_path_FGREP+:} false; then :
6007 $as_echo_n "(cached) " >&6
6009 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6010 then ac_cv_path_FGREP="$GREP -F"
6012 if test -z "$FGREP"; then
6013 ac_path_FGREP_found=false
6014 # Loop through the user's path and test for each of PROGNAME-LIST
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6019 test -z "$as_dir" && as_dir=.
6020 for ac_prog in fgrep; do
6021 for ac_exec_ext in '' $ac_executable_extensions; do
6022 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6023 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6024 # Check for GNU ac_path_FGREP and select it if it is found.
6025 # Check for GNU $ac_path_FGREP
6026 case `"$ac_path_FGREP" --version 2>&1` in
6028 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6031 $as_echo_n 0123456789 >"conftest.in"
6034 cat "conftest.in" "conftest.in" >"conftest.tmp"
6035 mv "conftest.tmp" "conftest.in"
6036 cp "conftest.in" "conftest.nl"
6037 $as_echo 'FGREP' >> "conftest.nl"
6038 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6039 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6040 as_fn_arith $ac_count + 1 && ac_count=$as_val
6041 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6042 # Best one so far, save it but keep looking for a better one
6043 ac_cv_path_FGREP="$ac_path_FGREP"
6044 ac_path_FGREP_max=$ac_count
6046 # 10*(2^10) chars as input seems more than enough
6047 test $ac_count -gt 10 && break
6049 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6052 $ac_path_FGREP_found && break 3
6057 if test -z "$ac_cv_path_FGREP"; then
6058 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6061 ac_cv_path_FGREP=$FGREP
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6067 $as_echo "$ac_cv_path_FGREP" >&6; }
6068 FGREP="$ac_cv_path_FGREP"
6071 test -z "$GREP" && GREP=grep
6091 # Check whether --with-gnu-ld was given.
6092 if test "${with_gnu_ld+set}" = set; then :
6093 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6099 if test "$GCC" = yes; then
6100 # Check if gcc -print-prog-name=ld gives a path.
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6102 $as_echo_n "checking for ld used by $CC... " >&6; }
6105 # gcc leaves a trailing carriage return which upsets mingw
6106 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6108 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6111 # Accept absolute paths.
6113 re_direlt='/[^/][^/]*/\.\./'
6114 # Canonicalize the pathname of ld
6115 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6116 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6117 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6119 test -z "$LD" && LD="$ac_prog"
6122 # If it fails, then pretend we aren't using GCC.
6126 # If it is relative, then search for the first ld in PATH.
6130 elif test "$with_gnu_ld" = yes; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6132 $as_echo_n "checking for GNU ld... " >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6135 $as_echo_n "checking for non-GNU ld... " >&6; }
6137 if ${lt_cv_path_LD+:} false; then :
6138 $as_echo_n "(cached) " >&6
6140 if test -z "$LD"; then
6141 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6142 for ac_dir in $PATH; do
6144 test -z "$ac_dir" && ac_dir=.
6145 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6146 lt_cv_path_LD="$ac_dir/$ac_prog"
6147 # Check to see if the program is GNU ld. I'd rather use --version,
6148 # but apparently some variants of GNU ld only accept -v.
6149 # Break only if it was the GNU/non-GNU ld that we prefer.
6150 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6151 *GNU* | *'with BFD'*)
6152 test "$with_gnu_ld" != no && break
6155 test "$with_gnu_ld" != yes && break
6162 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6167 if test -n "$LD"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6169 $as_echo "$LD" >&6; }
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6174 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6176 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6177 if ${lt_cv_prog_gnu_ld+:} false; then :
6178 $as_echo_n "(cached) " >&6
6180 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6181 case `$LD -v 2>&1 </dev/null` in
6182 *GNU* | *'with BFD'*)
6183 lt_cv_prog_gnu_ld=yes
6186 lt_cv_prog_gnu_ld=no
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6191 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6192 with_gnu_ld=$lt_cv_prog_gnu_ld
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6203 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6204 if ${lt_cv_path_NM+:} false; then :
6205 $as_echo_n "(cached) " >&6
6207 if test -n "$NM"; then
6208 # Let the user override the test.
6211 lt_nm_to_check="${ac_tool_prefix}nm"
6212 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6213 lt_nm_to_check="$lt_nm_to_check nm"
6215 for lt_tmp_nm in $lt_nm_to_check; do
6216 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6217 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6219 test -z "$ac_dir" && ac_dir=.
6220 tmp_nm="$ac_dir/$lt_tmp_nm"
6221 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6222 # Check to see if the nm accepts a BSD-compat flag.
6223 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6224 # nm: unknown option "B" ignored
6225 # Tru64's nm complains that /dev/null is an invalid object file
6226 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6227 */dev/null* | *'Invalid file or object type'*)
6228 lt_cv_path_NM="$tmp_nm -B"
6232 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6234 lt_cv_path_NM="$tmp_nm -p"
6238 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6239 continue # so that we can try to find one that supports BSD flags
6248 : ${lt_cv_path_NM=no}
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6252 $as_echo "$lt_cv_path_NM" >&6; }
6253 if test "$lt_cv_path_NM" != "no"; then
6256 # Didn't find any BSD compatible name lister, look for dumpbin.
6257 if test -n "$DUMPBIN"; then :
6258 # Let the user override the test.
6260 if test -n "$ac_tool_prefix"; then
6261 for ac_prog in dumpbin "link -dump"
6263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_prog_DUMPBIN+:} false; then :
6268 $as_echo_n "(cached) " >&6
6270 if test -n "$DUMPBIN"; then
6271 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 DUMPBIN=$ac_cv_prog_DUMPBIN
6291 if test -n "$DUMPBIN"; then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6293 $as_echo "$DUMPBIN" >&6; }
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6300 test -n "$DUMPBIN" && break
6303 if test -z "$DUMPBIN"; then
6304 ac_ct_DUMPBIN=$DUMPBIN
6305 for ac_prog in dumpbin "link -dump"
6307 # Extract the first word of "$ac_prog", so it can be a program name with args.
6308 set dummy $ac_prog; ac_word=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6312 $as_echo_n "(cached) " >&6
6314 if test -n "$ac_ct_DUMPBIN"; then
6315 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 test -z "$as_dir" && as_dir=.
6322 for ac_exec_ext in '' $ac_executable_extensions; do
6323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6324 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6335 if test -n "$ac_ct_DUMPBIN"; then
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6337 $as_echo "$ac_ct_DUMPBIN" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 $as_echo "no" >&6; }
6344 test -n "$ac_ct_DUMPBIN" && break
6347 if test "x$ac_ct_DUMPBIN" = x; then
6350 case $cross_compiling:$ac_tool_warned in
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6354 ac_tool_warned=yes ;;
6356 DUMPBIN=$ac_ct_DUMPBIN
6360 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6362 DUMPBIN="$DUMPBIN -symbols"
6370 if test "$DUMPBIN" != ":"; then
6374 test -z "$NM" && NM=nm
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6382 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6383 if ${lt_cv_nm_interface+:} false; then :
6384 $as_echo_n "(cached) " >&6
6386 lt_cv_nm_interface="BSD nm"
6387 echo "int some_variable = 0;" > conftest.$ac_ext
6388 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6389 (eval "$ac_compile" 2>conftest.err)
6390 cat conftest.err >&5
6391 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6392 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6393 cat conftest.err >&5
6394 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6395 cat conftest.out >&5
6396 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6397 lt_cv_nm_interface="MS dumpbin"
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6402 $as_echo "$lt_cv_nm_interface" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6405 $as_echo_n "checking whether ln -s works... " >&6; }
6407 if test "$LN_S" = "ln -s"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6409 $as_echo "yes" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6412 $as_echo "no, using $LN_S" >&6; }
6415 # find the maximum length of command line arguments
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6417 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6418 if ${lt_cv_sys_max_cmd_len+:} false; then :
6419 $as_echo_n "(cached) " >&6
6426 # On DJGPP, this test can blow up pretty badly due to problems in libc
6427 # (any single argument exceeding 2000 bytes causes a buffer overrun
6428 # during glob expansion). Even if it were fixed, the result of this
6429 # check would be larger than it should be.
6430 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6434 # Under GNU Hurd, this test is not required because there is
6435 # no limit to the length of command line arguments.
6436 # Libtool will interpret -1 as no limit whatsoever
6437 lt_cv_sys_max_cmd_len=-1;
6440 cygwin* | mingw* | cegcc*)
6441 # On Win9x/ME, this test blows up -- it succeeds, but takes
6442 # about 5 minutes as the teststring grows exponentially.
6443 # Worse, since 9x/ME are not pre-emptively multitasking,
6444 # you end up with a "frozen" computer, even though with patience
6445 # the test eventually succeeds (with a max line length of 256k).
6446 # Instead, let's just punt: use the minimum linelength reported by
6447 # all of the supported platforms: 8192 (on NT/2K/XP).
6448 lt_cv_sys_max_cmd_len=8192;
6452 # On MiNT this can take a long time and run out of memory.
6453 lt_cv_sys_max_cmd_len=8192;
6457 # On AmigaOS with pdksh, this test takes hours, literally.
6458 # So we just punt and use a minimum line length of 8192.
6459 lt_cv_sys_max_cmd_len=8192;
6462 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6463 # This has been around since 386BSD, at least. Likely further.
6464 if test -x /sbin/sysctl; then
6465 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6466 elif test -x /usr/sbin/sysctl; then
6467 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6469 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6471 # And add a safety zone
6472 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6473 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6477 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6478 lt_cv_sys_max_cmd_len=196608
6482 # The test takes a long time on OS/2.
6483 lt_cv_sys_max_cmd_len=8192
6487 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6488 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6489 # nice to cause kernel panics so lets avoid the loop below.
6490 # First set a reasonable default.
6491 lt_cv_sys_max_cmd_len=16384
6493 if test -x /sbin/sysconfig; then
6494 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6495 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6500 lt_cv_sys_max_cmd_len=102400
6502 sysv5* | sco5v6* | sysv4.2uw2*)
6503 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6504 if test -n "$kargmax"; then
6505 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6507 lt_cv_sys_max_cmd_len=32768
6511 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6512 if test -n "$lt_cv_sys_max_cmd_len"; then
6513 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6514 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6516 # Make teststring a little bigger before we do anything with it.
6517 # a 1K string should be a reasonable start.
6518 for i in 1 2 3 4 5 6 7 8 ; do
6519 teststring=$teststring$teststring
6521 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6522 # If test is not a shell built-in, we'll probably end up computing a
6523 # maximum length that is only half of the actual maximum length, but
6525 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6526 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6527 test $i != 17 # 1/2 MB should be enough
6530 teststring=$teststring$teststring
6532 # Only check the string length outside the loop.
6533 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6535 # Add a significant safety factor because C++ compilers can tack on
6536 # massive amounts of additional arguments before passing them to the
6537 # linker. It appears as though 1/2 is a usable value.
6538 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6545 if test -n $lt_cv_sys_max_cmd_len ; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6547 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6550 $as_echo "none" >&6; }
6552 max_cmd_len=$lt_cv_sys_max_cmd_len
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6564 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6565 # Try some XSI features
6568 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6570 && eval 'test $(( 1 + 1 )) -eq 2 \
6571 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6574 $as_echo "$xsi_shell" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6578 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6580 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6582 && lt_shell_append=yes
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6584 $as_echo "$lt_shell_append" >&6; }
6587 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6597 # test EBCDIC or ASCII
6598 case `echo X|tr X '\101'` in
6599 A) # ASCII based system
6600 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6601 lt_SP2NL='tr \040 \012'
6602 lt_NL2SP='tr \015\012 \040\040'
6604 *) # EBCDIC based system
6605 lt_SP2NL='tr \100 \n'
6606 lt_NL2SP='tr \r\n \100\100'
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6619 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6620 if ${lt_cv_to_host_file_cmd+:} false; then :
6621 $as_echo_n "(cached) " >&6
6626 *-*-mingw* ) # actually msys
6627 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6630 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6632 * ) # otherwise, assume *nix
6633 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6639 *-*-mingw* ) # actually msys
6640 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6643 lt_cv_to_host_file_cmd=func_convert_file_noop
6645 * ) # otherwise, assume *nix
6646 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6650 * ) # unhandled hosts (and "normal" native builds)
6651 lt_cv_to_host_file_cmd=func_convert_file_noop
6657 to_host_file_cmd=$lt_cv_to_host_file_cmd
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6659 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6666 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6667 if ${lt_cv_to_tool_file_cmd+:} false; then :
6668 $as_echo_n "(cached) " >&6
6670 #assume ordinary cross tools, or native build.
6671 lt_cv_to_tool_file_cmd=func_convert_file_noop
6675 *-*-mingw* ) # actually msys
6676 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6686 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6693 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6694 if ${lt_cv_ld_reload_flag+:} false; then :
6695 $as_echo_n "(cached) " >&6
6697 lt_cv_ld_reload_flag='-r'
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6700 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6701 reload_flag=$lt_cv_ld_reload_flag
6702 case $reload_flag in
6704 *) reload_flag=" $reload_flag" ;;
6706 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6708 cygwin* | mingw* | pw32* | cegcc*)
6709 if test "$GCC" != yes; then
6714 if test "$GCC" = yes; then
6715 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6717 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6730 if test -n "$ac_tool_prefix"; then
6731 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6732 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_OBJDUMP+:} false; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$OBJDUMP"; then
6739 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 OBJDUMP=$ac_cv_prog_OBJDUMP
6759 if test -n "$OBJDUMP"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6761 $as_echo "$OBJDUMP" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6769 if test -z "$ac_cv_prog_OBJDUMP"; then
6770 ac_ct_OBJDUMP=$OBJDUMP
6771 # Extract the first word of "objdump", so it can be a program name with args.
6772 set dummy objdump; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6776 $as_echo_n "(cached) " >&6
6778 if test -n "$ac_ct_OBJDUMP"; then
6779 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6798 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6799 if test -n "$ac_ct_OBJDUMP"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6801 $as_echo "$ac_ct_OBJDUMP" >&6; }
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6807 if test "x$ac_ct_OBJDUMP" = x; then
6810 case $cross_compiling:$ac_tool_warned in
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned=yes ;;
6816 OBJDUMP=$ac_ct_OBJDUMP
6819 OBJDUMP="$ac_cv_prog_OBJDUMP"
6822 test -z "$OBJDUMP" && OBJDUMP=objdump
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6830 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6831 if ${lt_cv_deplibs_check_method+:} false; then :
6832 $as_echo_n "(cached) " >&6
6834 lt_cv_file_magic_cmd='$MAGIC_CMD'
6835 lt_cv_file_magic_test_file=
6836 lt_cv_deplibs_check_method='unknown'
6837 # Need to set the preceding variable on all platforms that support
6838 # interlibrary dependencies.
6839 # 'none' -- dependencies not supported.
6840 # `unknown' -- same as none, but documents that we really don't know.
6841 # 'pass_all' -- all dependencies passed with no checks.
6842 # 'test_compile' -- check by making test program.
6843 # 'file_magic [[regex]]' -- check by looking for files in library path
6844 # which responds to the $file_magic_cmd with a given extended regex.
6845 # If you have `file' or equivalent on your system and you're not sure
6846 # whether `pass_all' will *always* work, you probably want this one.
6850 lt_cv_deplibs_check_method=pass_all
6854 lt_cv_deplibs_check_method=pass_all
6858 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6859 lt_cv_file_magic_cmd='/usr/bin/file -L'
6860 lt_cv_file_magic_test_file=/shlib/libc.so
6864 # func_win32_libid is a shell function defined in ltmain.sh
6865 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6866 lt_cv_file_magic_cmd='func_win32_libid'
6870 # Base MSYS/MinGW do not provide the 'file' command needed by
6871 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6872 # unless we find 'file', for example because we are cross-compiling.
6873 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6874 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6875 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6876 lt_cv_file_magic_cmd='func_win32_libid'
6878 # Keep this pattern in sync with the one in func_win32_libid.
6879 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6880 lt_cv_file_magic_cmd='$OBJDUMP -f'
6885 # use the weaker test based on 'objdump'. See mingw*.
6886 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6887 lt_cv_file_magic_cmd='$OBJDUMP -f'
6890 darwin* | rhapsody*)
6891 lt_cv_deplibs_check_method=pass_all
6894 freebsd* | dragonfly*)
6895 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6898 # Not sure whether the presence of OpenBSD here was a mistake.
6899 # Let's accept both of them until this is cleared up.
6900 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6901 lt_cv_file_magic_cmd=/usr/bin/file
6902 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6906 lt_cv_deplibs_check_method=pass_all
6911 lt_cv_deplibs_check_method=pass_all
6915 lt_cv_deplibs_check_method=pass_all
6918 hpux10.20* | hpux11*)
6919 lt_cv_file_magic_cmd=/usr/bin/file
6922 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6923 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6926 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]'
6927 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6930 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6931 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6937 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6938 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6941 irix5* | irix6* | nonstopux*)
6943 *-32|*"-32 ") libmagic=32-bit;;
6944 *-n32|*"-n32 ") libmagic=N32;;
6945 *-64|*"-64 ") libmagic=64-bit;;
6946 *) libmagic=never-match;;
6948 lt_cv_deplibs_check_method=pass_all
6951 # This must be glibc/ELF.
6952 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6953 lt_cv_deplibs_check_method=pass_all
6956 netbsd* | netbsdelf*-gnu)
6957 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6960 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6965 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6966 lt_cv_file_magic_cmd=/usr/bin/file
6967 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6971 lt_cv_deplibs_check_method=pass_all
6975 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6978 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6982 osf3* | osf4* | osf5*)
6983 lt_cv_deplibs_check_method=pass_all
6987 lt_cv_deplibs_check_method=pass_all
6991 lt_cv_deplibs_check_method=pass_all
6994 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6995 lt_cv_deplibs_check_method=pass_all
6999 case $host_vendor in
7001 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]'
7002 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7005 lt_cv_deplibs_check_method=pass_all
7008 lt_cv_file_magic_cmd='/bin/file'
7009 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7012 lt_cv_file_magic_cmd='/bin/file'
7013 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7014 lt_cv_file_magic_test_file=/lib/libc.so
7017 lt_cv_deplibs_check_method=pass_all
7020 lt_cv_deplibs_check_method=pass_all
7026 lt_cv_deplibs_check_method=pass_all
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7032 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7036 if test "$build" = "$host"; then
7039 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7042 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7048 file_magic_cmd=$lt_cv_file_magic_cmd
7049 deplibs_check_method=$lt_cv_deplibs_check_method
7050 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7073 if test -n "$ac_tool_prefix"; then
7074 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7075 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 $as_echo_n "checking for $ac_word... " >&6; }
7078 if ${ac_cv_prog_DLLTOOL+:} false; then :
7079 $as_echo_n "(cached) " >&6
7081 if test -n "$DLLTOOL"; then
7082 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir=.
7089 for ac_exec_ext in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7101 DLLTOOL=$ac_cv_prog_DLLTOOL
7102 if test -n "$DLLTOOL"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7104 $as_echo "$DLLTOOL" >&6; }
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 $as_echo "no" >&6; }
7112 if test -z "$ac_cv_prog_DLLTOOL"; then
7113 ac_ct_DLLTOOL=$DLLTOOL
7114 # Extract the first word of "dlltool", so it can be a program name with args.
7115 set dummy dlltool; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 $as_echo_n "checking for $ac_word... " >&6; }
7118 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7119 $as_echo_n "(cached) " >&6
7121 if test -n "$ac_ct_DLLTOOL"; then
7122 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7142 if test -n "$ac_ct_DLLTOOL"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7144 $as_echo "$ac_ct_DLLTOOL" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 $as_echo "no" >&6; }
7150 if test "x$ac_ct_DLLTOOL" = x; then
7153 case $cross_compiling:$ac_tool_warned in
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7157 ac_tool_warned=yes ;;
7159 DLLTOOL=$ac_ct_DLLTOOL
7162 DLLTOOL="$ac_cv_prog_DLLTOOL"
7165 test -z "$DLLTOOL" && DLLTOOL=dlltool
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7174 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7175 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7176 $as_echo_n "(cached) " >&6
7178 lt_cv_sharedlib_from_linklib_cmd='unknown'
7181 cygwin* | mingw* | pw32* | cegcc*)
7182 # two different shell functions defined in ltmain.sh
7183 # decide which to use based on capabilities of $DLLTOOL
7184 case `$DLLTOOL --help 2>&1` in
7185 *--identify-strict*)
7186 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7189 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7194 # fallback: assume linklib IS sharedlib
7195 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7201 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7202 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7203 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7211 if test -n "$ac_tool_prefix"; then
7214 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 $as_echo_n "checking for $ac_word... " >&6; }
7218 if ${ac_cv_prog_AR+:} false; then :
7219 $as_echo_n "(cached) " >&6
7221 if test -n "$AR"; then
7222 ac_cv_prog_AR="$AR" # Let the user override the test.
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 test -z "$as_dir" && as_dir=.
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7231 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 if test -n "$AR"; then
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7244 $as_echo "$AR" >&6; }
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 $as_echo "no" >&6; }
7251 test -n "$AR" && break
7254 if test -z "$AR"; then
7258 # Extract the first word of "$ac_prog", so it can be a program name with args.
7259 set dummy $ac_prog; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7263 $as_echo_n "(cached) " >&6
7265 if test -n "$ac_ct_AR"; then
7266 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7275 ac_cv_prog_ac_ct_AR="$ac_prog"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7285 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7286 if test -n "$ac_ct_AR"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7288 $as_echo "$ac_ct_AR" >&6; }
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7295 test -n "$ac_ct_AR" && break
7298 if test "x$ac_ct_AR" = x; then
7301 case $cross_compiling:$ac_tool_warned in
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7305 ac_tool_warned=yes ;;
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7325 $as_echo_n "checking for archiver @FILE support... " >&6; }
7326 if ${lt_cv_ar_at_file+:} false; then :
7327 $as_echo_n "(cached) " >&6
7330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h. */
7341 if ac_fn_c_try_compile "$LINENO"; then :
7342 echo conftest.$ac_objext > conftest.lst
7343 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7344 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7345 (eval $lt_ar_try) 2>&5
7347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7348 test $ac_status = 0; }
7349 if test "$ac_status" -eq 0; then
7350 # Ensure the archiver fails upon bogus file names.
7351 rm -f conftest.$ac_objext libconftest.a
7352 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7353 (eval $lt_ar_try) 2>&5
7355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7356 test $ac_status = 0; }
7357 if test "$ac_status" -ne 0; then
7361 rm -f conftest.* libconftest.a
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7368 $as_echo "$lt_cv_ar_at_file" >&6; }
7370 if test "x$lt_cv_ar_at_file" = xno; then
7373 archiver_list_spec=$lt_cv_ar_at_file
7382 if test -n "$ac_tool_prefix"; then
7383 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7384 set dummy ${ac_tool_prefix}strip; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if ${ac_cv_prog_STRIP+:} false; then :
7388 $as_echo_n "(cached) " >&6
7390 if test -n "$STRIP"; then
7391 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7410 STRIP=$ac_cv_prog_STRIP
7411 if test -n "$STRIP"; then
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7413 $as_echo "$STRIP" >&6; }
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7421 if test -z "$ac_cv_prog_STRIP"; then
7423 # Extract the first word of "strip", so it can be a program name with args.
7424 set dummy strip; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7428 $as_echo_n "(cached) " >&6
7430 if test -n "$ac_ct_STRIP"; then
7431 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7437 test -z "$as_dir" && as_dir=.
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440 ac_cv_prog_ac_ct_STRIP="strip"
7441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7451 if test -n "$ac_ct_STRIP"; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7453 $as_echo "$ac_ct_STRIP" >&6; }
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7459 if test "x$ac_ct_STRIP" = x; then
7462 case $cross_compiling:$ac_tool_warned in
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned=yes ;;
7471 STRIP="$ac_cv_prog_STRIP"
7474 test -z "$STRIP" && STRIP=:
7481 if test -n "$ac_tool_prefix"; then
7482 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7483 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if ${ac_cv_prog_RANLIB+:} false; then :
7487 $as_echo_n "(cached) " >&6
7489 if test -n "$RANLIB"; then
7490 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 RANLIB=$ac_cv_prog_RANLIB
7510 if test -n "$RANLIB"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7512 $as_echo "$RANLIB" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7520 if test -z "$ac_cv_prog_RANLIB"; then
7521 ac_ct_RANLIB=$RANLIB
7522 # Extract the first word of "ranlib", so it can be a program name with args.
7523 set dummy ranlib; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7527 $as_echo_n "(cached) " >&6
7529 if test -n "$ac_ct_RANLIB"; then
7530 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_ac_ct_RANLIB="ranlib"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7550 if test -n "$ac_ct_RANLIB"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7552 $as_echo "$ac_ct_RANLIB" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7558 if test "x$ac_ct_RANLIB" = x; then
7561 case $cross_compiling:$ac_tool_warned in
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7565 ac_tool_warned=yes ;;
7567 RANLIB=$ac_ct_RANLIB
7570 RANLIB="$ac_cv_prog_RANLIB"
7573 test -z "$RANLIB" && RANLIB=:
7580 # Determine commands to create old-style static archives.
7581 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7582 old_postinstall_cmds='chmod 644 $oldlib'
7583 old_postuninstall_cmds=
7585 if test -n "$RANLIB"; then
7588 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7591 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7594 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7599 lock_old_archive_extraction=yes ;;
7601 lock_old_archive_extraction=no ;;
7642 # If no C compiler was specified, use CC.
7645 # If no C compiler flags were specified, use CFLAGS.
7646 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7648 # Allow CC to be a program name with arguments.
7652 # Check for command to grab the raw symbol name followed by C symbol from nm.
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7654 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7655 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7656 $as_echo_n "(cached) " >&6
7659 # These are sane defaults that work on at least a few old systems.
7660 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7662 # Character class describing NM global symbol codes.
7663 symcode='[BCDEGRST]'
7665 # Regexp to match symbols that can be accessed directly from C.
7666 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7668 # Define system-specific variables.
7673 cygwin* | mingw* | pw32* | cegcc*)
7674 symcode='[ABCDGISTW]'
7677 if test "$host_cpu" = ia64; then
7678 symcode='[ABCDEGRST]'
7682 symcode='[BCDEGRST]'
7685 symcode='[BCDEGQRST]'
7696 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7704 # If we're using GNU nm, then use its standard symbol codes.
7705 case `$NM -V 2>&1` in
7706 *GNU* | *'with BFD'*)
7707 symcode='[ABCDGIRSTW]' ;;
7710 # Transform an extracted symbol line into a proper C declaration.
7711 # Some systems (esp. on ia64) link data and code symbols differently,
7712 # so use this general approach.
7713 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7715 # Transform an extracted symbol line into symbol name and symbol address
7716 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7717 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'"
7719 # Handle CRLF in mingw tool chain
7723 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7727 # Try without a prefix underscore, then with it.
7728 for ac_symprfx in "" "_"; do
7730 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7731 symxfrm="\\1 $ac_symprfx\\2 \\2"
7733 # Write the raw and C identifiers.
7734 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7735 # Fake it for dumpbin and say T for any non-static function
7736 # and D for any global variable.
7737 # Also find C++ and __fastcall symbols from MSVC++,
7738 # which start with @ or ?.
7739 lt_cv_sys_global_symbol_pipe="$AWK '"\
7740 " {last_section=section; section=\$ 3};"\
7741 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7742 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7743 " \$ 0!~/External *\|/{next};"\
7744 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7745 " {if(hide[section]) next};"\
7746 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7747 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7748 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7749 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7750 " ' prfx=^$ac_symprfx"
7752 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7754 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7756 # Check to see that the pipe works correctly.
7760 cat > conftest.$ac_ext <<_LT_EOF
7765 void nm_test_func(void);
7766 void nm_test_func(void){}
7770 int main(){nm_test_var='a';nm_test_func();return(0);}
7773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7774 (eval $ac_compile) 2>&5
7776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7777 test $ac_status = 0; }; then
7778 # Now try to grab the symbols.
7780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7781 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7784 test $ac_status = 0; } && test -s "$nlist"; then
7785 # Try sorting and uniquifying the output.
7786 if sort "$nlist" | uniq > "$nlist"T; then
7787 mv -f "$nlist"T "$nlist"
7792 # Make sure that we snagged all the symbols we need.
7793 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7794 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7795 cat <<_LT_EOF > conftest.$ac_ext
7796 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7797 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7798 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7799 relocations are performed -- see ld's documentation on pseudo-relocs. */
7800 # define LT_DLSYM_CONST
7801 #elif defined(__osf__)
7802 /* This system does not cope well with relocations in const data. */
7803 # define LT_DLSYM_CONST
7805 # define LT_DLSYM_CONST const
7813 # Now generate the symbol file.
7814 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7816 cat <<_LT_EOF >> conftest.$ac_ext
7818 /* The mapping between symbol names and symbols. */
7819 LT_DLSYM_CONST struct {
7823 lt__PROGRAM__LTX_preloaded_symbols[] =
7825 { "@PROGRAM@", (void *) 0 },
7827 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7828 cat <<\_LT_EOF >> conftest.$ac_ext
7832 /* This works around a problem in FreeBSD linker */
7833 #ifdef FREEBSD_WORKAROUND
7834 static const void *lt_preloaded_setup() {
7835 return lt__PROGRAM__LTX_preloaded_symbols;
7843 # Now try linking the two files.
7844 mv conftest.$ac_objext conftstm.$ac_objext
7845 lt_globsym_save_LIBS=$LIBS
7846 lt_globsym_save_CFLAGS=$CFLAGS
7847 LIBS="conftstm.$ac_objext"
7848 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7850 (eval $ac_link) 2>&5
7852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7853 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7856 LIBS=$lt_globsym_save_LIBS
7857 CFLAGS=$lt_globsym_save_CFLAGS
7859 echo "cannot find nm_test_func in $nlist" >&5
7862 echo "cannot find nm_test_var in $nlist" >&5
7865 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7868 echo "$progname: failed program was:" >&5
7869 cat conftest.$ac_ext >&5
7871 rm -rf conftest* conftst*
7873 # Do not use the global_symbol_pipe unless it works.
7874 if test "$pipe_works" = yes; then
7877 lt_cv_sys_global_symbol_pipe=
7883 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7884 lt_cv_sys_global_symbol_to_cdecl=
7886 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7888 $as_echo "failed" >&6; }
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7891 $as_echo "ok" >&6; }
7894 # Response file support.
7895 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7896 nm_file_list_spec='@'
7897 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7898 nm_file_list_spec='@'
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7928 $as_echo_n "checking for sysroot... " >&6; }
7930 # Check whether --with-sysroot was given.
7931 if test "${with_sysroot+set}" = set; then :
7932 withval=$with_sysroot;
7939 case ${with_sysroot} in #(
7941 if test "$GCC" = yes; then
7942 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7946 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7952 $as_echo "${with_sysroot}" >&6; }
7953 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7958 $as_echo "${lt_sysroot:-no}" >&6; }
7964 # Check whether --enable-libtool-lock was given.
7965 if test "${enable_libtool_lock+set}" = set; then :
7966 enableval=$enable_libtool_lock;
7969 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7971 # Some flags need to be propagated to the compiler or linker for good
7975 # Find out which ABI we are using.
7976 echo 'int i;' > conftest.$ac_ext
7977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7978 (eval $ac_compile) 2>&5
7980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7981 test $ac_status = 0; }; then
7982 case `/usr/bin/file conftest.$ac_objext` in
7994 # Find out which ABI we are using.
7995 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7997 (eval $ac_compile) 2>&5
7999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8000 test $ac_status = 0; }; then
8001 if test "$lt_cv_prog_gnu_ld" = yes; then
8002 case `/usr/bin/file conftest.$ac_objext` in
8004 LD="${LD-ld} -melf32bsmip"
8007 LD="${LD-ld} -melf32bmipn32"
8010 LD="${LD-ld} -melf64bmip"
8014 case `/usr/bin/file conftest.$ac_objext` in
8030 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8031 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8032 # Find out which ABI we are using.
8033 echo 'int i;' > conftest.$ac_ext
8034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8035 (eval $ac_compile) 2>&5
8037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8038 test $ac_status = 0; }; then
8039 case `/usr/bin/file conftest.o` in
8042 x86_64-*kfreebsd*-gnu)
8043 LD="${LD-ld} -m elf_i386_fbsd"
8046 LD="${LD-ld} -m elf_i386"
8048 ppc64-*linux*|powerpc64-*linux*)
8049 LD="${LD-ld} -m elf32ppclinux"
8052 LD="${LD-ld} -m elf_s390"
8055 LD="${LD-ld} -m elf32_sparc"
8061 x86_64-*kfreebsd*-gnu)
8062 LD="${LD-ld} -m elf_x86_64_fbsd"
8065 LD="${LD-ld} -m elf_x86_64"
8067 ppc*-*linux*|powerpc*-*linux*)
8068 LD="${LD-ld} -m elf64ppc"
8070 s390*-*linux*|s390*-*tpf*)
8071 LD="${LD-ld} -m elf64_s390"
8074 LD="${LD-ld} -m elf64_sparc"
8084 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8085 SAVE_CFLAGS="$CFLAGS"
8086 CFLAGS="$CFLAGS -belf"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8088 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8089 if ${lt_cv_cc_needs_belf+:} false; then :
8090 $as_echo_n "(cached) " >&6
8093 ac_cpp='$CPP $CPPFLAGS'
8094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8109 if ac_fn_c_try_link "$LINENO"; then :
8110 lt_cv_cc_needs_belf=yes
8112 lt_cv_cc_needs_belf=no
8114 rm -f core conftest.err conftest.$ac_objext \
8115 conftest$ac_exeext conftest.$ac_ext
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8124 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8125 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8126 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8127 CFLAGS="$SAVE_CFLAGS"
8131 # Find out which ABI we are using.
8132 echo 'int i;' > conftest.$ac_ext
8133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8134 (eval $ac_compile) 2>&5
8136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8137 test $ac_status = 0; }; then
8138 case `/usr/bin/file conftest.o` in
8140 case $lt_cv_prog_gnu_ld in
8144 LD="${LD-ld} -m elf_x86_64"
8147 LD="${LD-ld} -m elf64_sparc"
8150 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8151 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8156 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8168 need_locks="$enable_libtool_lock"
8170 if test -n "$ac_tool_prefix"; then
8171 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8172 set dummy ${ac_tool_prefix}mt; ac_word=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8174 $as_echo_n "checking for $ac_word... " >&6; }
8175 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8176 $as_echo_n "(cached) " >&6
8178 if test -n "$MANIFEST_TOOL"; then
8179 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8198 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8199 if test -n "$MANIFEST_TOOL"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8201 $as_echo "$MANIFEST_TOOL" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8209 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8210 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8211 # Extract the first word of "mt", so it can be a program name with args.
8212 set dummy mt; ac_word=$2
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8214 $as_echo_n "checking for $ac_word... " >&6; }
8215 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8216 $as_echo_n "(cached) " >&6
8218 if test -n "$ac_ct_MANIFEST_TOOL"; then
8219 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8225 test -z "$as_dir" && as_dir=.
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8228 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8238 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8239 if test -n "$ac_ct_MANIFEST_TOOL"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8241 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8247 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8250 case $cross_compiling:$ac_tool_warned in
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8254 ac_tool_warned=yes ;;
8256 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8259 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8262 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8264 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8265 if ${lt_cv_path_mainfest_tool+:} false; then :
8266 $as_echo_n "(cached) " >&6
8268 lt_cv_path_mainfest_tool=no
8269 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8270 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8271 cat conftest.err >&5
8272 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8273 lt_cv_path_mainfest_tool=yes
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8278 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8279 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8289 rhapsody* | darwin*)
8290 if test -n "$ac_tool_prefix"; then
8291 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8296 $as_echo_n "(cached) " >&6
8298 if test -n "$DSYMUTIL"; then
8299 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8319 if test -n "$DSYMUTIL"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8321 $as_echo "$DSYMUTIL" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8329 if test -z "$ac_cv_prog_DSYMUTIL"; then
8330 ac_ct_DSYMUTIL=$DSYMUTIL
8331 # Extract the first word of "dsymutil", so it can be a program name with args.
8332 set dummy dsymutil; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8336 $as_echo_n "(cached) " >&6
8338 if test -n "$ac_ct_DSYMUTIL"; then
8339 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8359 if test -n "$ac_ct_DSYMUTIL"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8361 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8367 if test "x$ac_ct_DSYMUTIL" = x; then
8370 case $cross_compiling:$ac_tool_warned in
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374 ac_tool_warned=yes ;;
8376 DSYMUTIL=$ac_ct_DSYMUTIL
8379 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8382 if test -n "$ac_tool_prefix"; then
8383 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8384 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_NMEDIT+:} false; then :
8388 $as_echo_n "(cached) " >&6
8390 if test -n "$NMEDIT"; then
8391 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8410 NMEDIT=$ac_cv_prog_NMEDIT
8411 if test -n "$NMEDIT"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8413 $as_echo "$NMEDIT" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8421 if test -z "$ac_cv_prog_NMEDIT"; then
8422 ac_ct_NMEDIT=$NMEDIT
8423 # Extract the first word of "nmedit", so it can be a program name with args.
8424 set dummy nmedit; ac_word=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8428 $as_echo_n "(cached) " >&6
8430 if test -n "$ac_ct_NMEDIT"; then
8431 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8437 test -z "$as_dir" && as_dir=.
8438 for ac_exec_ext in '' $ac_executable_extensions; do
8439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8440 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8450 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8451 if test -n "$ac_ct_NMEDIT"; then
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8453 $as_echo "$ac_ct_NMEDIT" >&6; }
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456 $as_echo "no" >&6; }
8459 if test "x$ac_ct_NMEDIT" = x; then
8462 case $cross_compiling:$ac_tool_warned in
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8466 ac_tool_warned=yes ;;
8468 NMEDIT=$ac_ct_NMEDIT
8471 NMEDIT="$ac_cv_prog_NMEDIT"
8474 if test -n "$ac_tool_prefix"; then
8475 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8476 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8478 $as_echo_n "checking for $ac_word... " >&6; }
8479 if ${ac_cv_prog_LIPO+:} false; then :
8480 $as_echo_n "(cached) " >&6
8482 if test -n "$LIPO"; then
8483 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8489 test -z "$as_dir" && as_dir=.
8490 for ac_exec_ext in '' $ac_executable_extensions; do
8491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8492 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8502 LIPO=$ac_cv_prog_LIPO
8503 if test -n "$LIPO"; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8505 $as_echo "$LIPO" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508 $as_echo "no" >&6; }
8513 if test -z "$ac_cv_prog_LIPO"; then
8515 # Extract the first word of "lipo", so it can be a program name with args.
8516 set dummy lipo; ac_word=$2
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8518 $as_echo_n "checking for $ac_word... " >&6; }
8519 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8520 $as_echo_n "(cached) " >&6
8522 if test -n "$ac_ct_LIPO"; then
8523 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8529 test -z "$as_dir" && as_dir=.
8530 for ac_exec_ext in '' $ac_executable_extensions; do
8531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8532 ac_cv_prog_ac_ct_LIPO="lipo"
8533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8542 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8543 if test -n "$ac_ct_LIPO"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8545 $as_echo "$ac_ct_LIPO" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8551 if test "x$ac_ct_LIPO" = x; then
8554 case $cross_compiling:$ac_tool_warned in
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8558 ac_tool_warned=yes ;;
8563 LIPO="$ac_cv_prog_LIPO"
8566 if test -n "$ac_tool_prefix"; then
8567 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8568 set dummy ${ac_tool_prefix}otool; ac_word=$2
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570 $as_echo_n "checking for $ac_word... " >&6; }
8571 if ${ac_cv_prog_OTOOL+:} false; then :
8572 $as_echo_n "(cached) " >&6
8574 if test -n "$OTOOL"; then
8575 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8581 test -z "$as_dir" && as_dir=.
8582 for ac_exec_ext in '' $ac_executable_extensions; do
8583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8584 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8594 OTOOL=$ac_cv_prog_OTOOL
8595 if test -n "$OTOOL"; then
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8597 $as_echo "$OTOOL" >&6; }
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8600 $as_echo "no" >&6; }
8605 if test -z "$ac_cv_prog_OTOOL"; then
8607 # Extract the first word of "otool", so it can be a program name with args.
8608 set dummy otool; ac_word=$2
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8610 $as_echo_n "checking for $ac_word... " >&6; }
8611 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8612 $as_echo_n "(cached) " >&6
8614 if test -n "$ac_ct_OTOOL"; then
8615 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8621 test -z "$as_dir" && as_dir=.
8622 for ac_exec_ext in '' $ac_executable_extensions; do
8623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8624 ac_cv_prog_ac_ct_OTOOL="otool"
8625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8634 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8635 if test -n "$ac_ct_OTOOL"; then
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8637 $as_echo "$ac_ct_OTOOL" >&6; }
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640 $as_echo "no" >&6; }
8643 if test "x$ac_ct_OTOOL" = x; then
8646 case $cross_compiling:$ac_tool_warned in
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8650 ac_tool_warned=yes ;;
8655 OTOOL="$ac_cv_prog_OTOOL"
8658 if test -n "$ac_tool_prefix"; then
8659 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8660 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8662 $as_echo_n "checking for $ac_word... " >&6; }
8663 if ${ac_cv_prog_OTOOL64+:} false; then :
8664 $as_echo_n "(cached) " >&6
8666 if test -n "$OTOOL64"; then
8667 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8673 test -z "$as_dir" && as_dir=.
8674 for ac_exec_ext in '' $ac_executable_extensions; do
8675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8676 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8686 OTOOL64=$ac_cv_prog_OTOOL64
8687 if test -n "$OTOOL64"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8689 $as_echo "$OTOOL64" >&6; }
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8692 $as_echo "no" >&6; }
8697 if test -z "$ac_cv_prog_OTOOL64"; then
8698 ac_ct_OTOOL64=$OTOOL64
8699 # Extract the first word of "otool64", so it can be a program name with args.
8700 set dummy otool64; ac_word=$2
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8702 $as_echo_n "checking for $ac_word... " >&6; }
8703 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8704 $as_echo_n "(cached) " >&6
8706 if test -n "$ac_ct_OTOOL64"; then
8707 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8713 test -z "$as_dir" && as_dir=.
8714 for ac_exec_ext in '' $ac_executable_extensions; do
8715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8716 ac_cv_prog_ac_ct_OTOOL64="otool64"
8717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8726 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8727 if test -n "$ac_ct_OTOOL64"; then
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8729 $as_echo "$ac_ct_OTOOL64" >&6; }
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8732 $as_echo "no" >&6; }
8735 if test "x$ac_ct_OTOOL64" = x; then
8738 case $cross_compiling:$ac_tool_warned in
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8742 ac_tool_warned=yes ;;
8744 OTOOL64=$ac_ct_OTOOL64
8747 OTOOL64="$ac_cv_prog_OTOOL64"
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8777 $as_echo_n "checking for -single_module linker flag... " >&6; }
8778 if ${lt_cv_apple_cc_single_mod+:} false; then :
8779 $as_echo_n "(cached) " >&6
8781 lt_cv_apple_cc_single_mod=no
8782 if test -z "${LT_MULTI_MODULE}"; then
8783 # By default we will add the -single_module flag. You can override
8784 # by either setting the environment variable LT_MULTI_MODULE
8785 # non-empty at configure time, or by adding -multi_module to the
8787 rm -rf libconftest.dylib*
8788 echo "int foo(void){return 1;}" > conftest.c
8789 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8790 -dynamiclib -Wl,-single_module conftest.c" >&5
8791 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8792 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8794 # If there is a non-empty error log, and "single_module"
8795 # appears in it, assume the flag caused a linker warning
8796 if test -s conftest.err && $GREP single_module conftest.err; then
8797 cat conftest.err >&5
8798 # Otherwise, if the output was created with a 0 exit code from
8799 # the compiler, it worked.
8800 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8801 lt_cv_apple_cc_single_mod=yes
8803 cat conftest.err >&5
8805 rm -rf libconftest.dylib*
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8810 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8813 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8814 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8815 $as_echo_n "(cached) " >&6
8817 lt_cv_ld_exported_symbols_list=no
8818 save_LDFLAGS=$LDFLAGS
8819 echo "_main" > conftest.sym
8820 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8832 if ac_fn_c_try_link "$LINENO"; then :
8833 lt_cv_ld_exported_symbols_list=yes
8835 lt_cv_ld_exported_symbols_list=no
8837 rm -f core conftest.err conftest.$ac_objext \
8838 conftest$ac_exeext conftest.$ac_ext
8839 LDFLAGS="$save_LDFLAGS"
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8843 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8846 $as_echo_n "checking for -force_load linker flag... " >&6; }
8847 if ${lt_cv_ld_force_load+:} false; then :
8848 $as_echo_n "(cached) " >&6
8850 lt_cv_ld_force_load=no
8851 cat > conftest.c << _LT_EOF
8852 int forced_loaded() { return 2;}
8854 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8855 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8856 echo "$AR cru libconftest.a conftest.o" >&5
8857 $AR cru libconftest.a conftest.o 2>&5
8858 echo "$RANLIB libconftest.a" >&5
8859 $RANLIB libconftest.a 2>&5
8860 cat > conftest.c << _LT_EOF
8861 int main() { return 0;}
8863 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8864 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8866 if test -s conftest.err && $GREP force_load conftest.err; then
8867 cat conftest.err >&5
8868 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8869 lt_cv_ld_force_load=yes
8871 cat conftest.err >&5
8873 rm -f conftest.err libconftest.a conftest conftest.c
8874 rm -rf conftest.dSYM
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8878 $as_echo "$lt_cv_ld_force_load" >&6; }
8880 rhapsody* | darwin1.[012])
8881 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8883 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8884 darwin*) # darwin 5.x on
8885 # if running on 10.5 or later, the deployment target defaults
8886 # to the OS version, if on x86, and 10.4, the deployment
8887 # target defaults to 10.4. Don't you love it?
8888 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8889 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8890 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8892 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8894 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8898 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8899 _lt_dar_single_mod='$single_module'
8901 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8902 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8904 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8906 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8907 _lt_dsymutil='~$DSYMUTIL $lib || :'
8914 for ac_header in dlfcn.h
8916 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8918 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8919 cat >>confdefs.h <<_ACEOF
8920 #define HAVE_DLFCN_H 1
8939 # Check whether --enable-shared was given.
8940 if test "${enable_shared+set}" = set; then :
8941 enableval=$enable_shared; p=${PACKAGE-default}
8943 yes) enable_shared=yes ;;
8944 no) enable_shared=no ;;
8947 # Look at the argument we got. We use all the common list separators.
8948 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8949 for pkg in $enableval; do
8951 if test "X$pkg" = "X$p"; then
8970 # Check whether --enable-static was given.
8971 if test "${enable_static+set}" = set; then :
8972 enableval=$enable_static; p=${PACKAGE-default}
8974 yes) enable_static=yes ;;
8975 no) enable_static=no ;;
8978 # Look at the argument we got. We use all the common list separators.
8979 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8980 for pkg in $enableval; do
8982 if test "X$pkg" = "X$p"; then
9002 # Check whether --with-pic was given.
9003 if test "${with_pic+set}" = set; then :
9004 withval=$with_pic; lt_p=${PACKAGE-default}
9006 yes|no) pic_mode=$withval ;;
9009 # Look at the argument we got. We use all the common list separators.
9010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9011 for lt_pkg in $withval; do
9013 if test "X$lt_pkg" = "X$lt_p"; then
9025 test -z "$pic_mode" && pic_mode=default
9033 # Check whether --enable-fast-install was given.
9034 if test "${enable_fast_install+set}" = set; then :
9035 enableval=$enable_fast_install; p=${PACKAGE-default}
9037 yes) enable_fast_install=yes ;;
9038 no) enable_fast_install=no ;;
9040 enable_fast_install=no
9041 # Look at the argument we got. We use all the common list separators.
9042 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9043 for pkg in $enableval; do
9045 if test "X$pkg" = "X$p"; then
9046 enable_fast_install=yes
9053 enable_fast_install=yes
9066 # This can be used to rebuild libtool when needed
9067 LIBTOOL_DEPS="$ltmain"
9069 # Always use our own libtool.
9070 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9101 test -z "$LN_S" && LN_S="ln -s"
9116 if test -n "${ZSH_VERSION+set}" ; then
9117 setopt NO_GLOB_SUBST
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9121 $as_echo_n "checking for objdir... " >&6; }
9122 if ${lt_cv_objdir+:} false; then :
9123 $as_echo_n "(cached) " >&6
9125 rm -f .libs 2>/dev/null
9126 mkdir .libs 2>/dev/null
9127 if test -d .libs; then
9130 # MS-DOS does not allow filenames that begin with a dot.
9133 rmdir .libs 2>/dev/null
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9136 $as_echo "$lt_cv_objdir" >&6; }
9137 objdir=$lt_cv_objdir
9143 cat >>confdefs.h <<_ACEOF
9144 #define LT_OBJDIR "$lt_cv_objdir/"
9152 # AIX sometimes has problems with the GCC collect2 program. For some
9153 # reason, if we set the COLLECT_NAMES environment variable, the problems
9154 # vanish in a puff of smoke.
9155 if test "X${COLLECT_NAMES+set}" != Xset; then
9157 export COLLECT_NAMES
9164 can_build_shared=yes
9166 # All known linkers require a `.a' archive for static linking (except MSVC,
9167 # which needs '.lib').
9170 with_gnu_ld="$lt_cv_prog_gnu_ld"
9173 old_CFLAGS="$CFLAGS"
9175 # Set sane defaults for various variables
9176 test -z "$CC" && CC=cc
9177 test -z "$LTCC" && LTCC=$CC
9178 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9179 test -z "$LD" && LD=ld
9180 test -z "$ac_objext" && ac_objext=o
9182 for cc_temp in $compiler""; do
9184 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9185 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9190 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9193 # Only perform the check for file, if the check method requires it
9194 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9195 case $deplibs_check_method in
9197 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9199 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9200 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9201 $as_echo_n "(cached) " >&6
9205 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9208 lt_save_MAGIC_CMD="$MAGIC_CMD"
9209 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9210 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9211 for ac_dir in $ac_dummy; do
9213 test -z "$ac_dir" && ac_dir=.
9214 if test -f $ac_dir/${ac_tool_prefix}file; then
9215 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9216 if test -n "$file_magic_test_file"; then
9217 case $deplibs_check_method in
9219 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9220 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9221 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9222 $EGREP "$file_magic_regex" > /dev/null; then
9227 *** Warning: the command libtool uses to detect shared libraries,
9228 *** $file_magic_cmd, produces output that libtool cannot recognize.
9229 *** The result is that libtool may fail to recognize shared libraries
9230 *** as such. This will affect the creation of libtool libraries that
9231 *** depend on shared libraries, but programs linked with such libtool
9232 *** libraries will work regardless of this problem. Nevertheless, you
9233 *** may want to report the problem to your system manager and/or to
9234 *** bug-libtool@gnu.org
9244 MAGIC_CMD="$lt_save_MAGIC_CMD"
9249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9250 if test -n "$MAGIC_CMD"; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9252 $as_echo "$MAGIC_CMD" >&6; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 $as_echo "no" >&6; }
9262 if test -z "$lt_cv_path_MAGIC_CMD"; then
9263 if test -n "$ac_tool_prefix"; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9265 $as_echo_n "checking for file... " >&6; }
9266 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9267 $as_echo_n "(cached) " >&6
9271 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9274 lt_save_MAGIC_CMD="$MAGIC_CMD"
9275 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9276 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9277 for ac_dir in $ac_dummy; do
9279 test -z "$ac_dir" && ac_dir=.
9280 if test -f $ac_dir/file; then
9281 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9282 if test -n "$file_magic_test_file"; then
9283 case $deplibs_check_method in
9285 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9287 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9288 $EGREP "$file_magic_regex" > /dev/null; then
9293 *** Warning: the command libtool uses to detect shared libraries,
9294 *** $file_magic_cmd, produces output that libtool cannot recognize.
9295 *** The result is that libtool may fail to recognize shared libraries
9296 *** as such. This will affect the creation of libtool libraries that
9297 *** depend on shared libraries, but programs linked with such libtool
9298 *** libraries will work regardless of this problem. Nevertheless, you
9299 *** may want to report the problem to your system manager and/or to
9300 *** bug-libtool@gnu.org
9310 MAGIC_CMD="$lt_save_MAGIC_CMD"
9315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9316 if test -n "$MAGIC_CMD"; then
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9318 $as_echo "$MAGIC_CMD" >&6; }
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9321 $as_echo "no" >&6; }
9334 # Use C for the default configuration in the libtool script
9338 ac_cpp='$CPP $CPPFLAGS'
9339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9344 # Source file extension for C test sources.
9347 # Object file extension for compiled C test sources.
9351 # Code to be used in simple compile tests
9352 lt_simple_compile_test_code="int some_variable = 0;"
9354 # Code to be used in simple link tests
9355 lt_simple_link_test_code='int main(){return(0);}'
9363 # If no C compiler was specified, use CC.
9366 # If no C compiler flags were specified, use CFLAGS.
9367 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9369 # Allow CC to be a program name with arguments.
9372 # Save the default compiler, since it gets overwritten when the other
9373 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9374 compiler_DEFAULT=$CC
9376 # save warnings/boilerplate of simple test code
9377 ac_outfile=conftest.$ac_objext
9378 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9379 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9380 _lt_compiler_boilerplate=`cat conftest.err`
9383 ac_outfile=conftest.$ac_objext
9384 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9385 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9386 _lt_linker_boilerplate=`cat conftest.err`
9391 ## There is no encapsulation within the following macros, do not change
9392 ## the running order or otherwise move them around unless you know exactly
9393 ## what you are doing...
9394 if test -n "$compiler"; then
9396 lt_prog_compiler_no_builtin_flag=
9398 if test "$GCC" = yes; then
9399 case $cc_basename in
9401 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9403 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9407 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9408 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9409 $as_echo_n "(cached) " >&6
9411 lt_cv_prog_compiler_rtti_exceptions=no
9412 ac_outfile=conftest.$ac_objext
9413 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9414 lt_compiler_flag="-fno-rtti -fno-exceptions"
9415 # Insert the option either (1) after the last *FLAGS variable, or
9416 # (2) before a word containing "conftest.", or (3) at the end.
9417 # Note that $ac_compile itself does not contain backslashes and begins
9418 # with a dollar sign (not a hyphen), so the echo should work correctly.
9419 # The option is referenced via a variable to avoid confusing sed.
9420 lt_compile=`echo "$ac_compile" | $SED \
9421 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9422 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9423 -e 's:$: $lt_compiler_flag:'`
9424 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9425 (eval "$lt_compile" 2>conftest.err)
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 if (exit $ac_status) && test -s "$ac_outfile"; then
9430 # The compiler can only warn and ignore the option if not recognized
9431 # So say no if there are warnings other than the usual output.
9432 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9433 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9434 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9435 lt_cv_prog_compiler_rtti_exceptions=yes
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9442 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9444 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9445 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9457 lt_prog_compiler_wl=
9458 lt_prog_compiler_pic=
9459 lt_prog_compiler_static=
9462 if test "$GCC" = yes; then
9463 lt_prog_compiler_wl='-Wl,'
9464 lt_prog_compiler_static='-static'
9468 # All AIX code is PIC.
9469 if test "$host_cpu" = ia64; then
9470 # AIX 5 now supports IA64 processor
9471 lt_prog_compiler_static='-Bstatic'
9478 # see comment about AmigaOS4 .so support
9479 lt_prog_compiler_pic='-fPIC'
9482 # FIXME: we need at least 68020 code to build shared libraries, but
9483 # adding the `-m68020' flag to GCC prevents building anything better,
9485 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9490 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9491 # PIC is the default for these OSes.
9494 mingw* | cygwin* | pw32* | os2* | cegcc*)
9495 # This hack is so that the source file can tell whether it is being
9496 # built for inclusion in a dll (and should export symbols for example).
9497 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9498 # (--disable-auto-import) libraries
9499 lt_prog_compiler_pic='-DDLL_EXPORT'
9502 darwin* | rhapsody*)
9503 # PIC is the default on this platform
9504 # Common symbols not allowed in MH_DYLIB files
9505 lt_prog_compiler_pic='-fno-common'
9509 # PIC is the default for Haiku.
9510 # The "-static" flag exists, but is broken.
9511 lt_prog_compiler_static=
9515 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9516 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9517 # sets the default TLS model and affects inlining.
9523 lt_prog_compiler_pic='-fPIC'
9529 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9530 # Instead, we relocate shared libraries at runtime.
9534 # Just because we use GCC doesn't mean we suddenly get shared libraries
9535 # on systems that don't support them.
9536 lt_prog_compiler_can_build_shared=no
9541 # QNX uses GNU C++, but need to define -shared option too, otherwise
9543 lt_prog_compiler_pic='-fPIC -shared'
9547 if test -d /usr/nec; then
9548 lt_prog_compiler_pic=-Kconform_pic
9553 lt_prog_compiler_pic='-fPIC'
9557 case $cc_basename in
9558 nvcc*) # Cuda Compiler Driver 2.2
9559 lt_prog_compiler_wl='-Xlinker '
9560 if test -n "$lt_prog_compiler_pic"; then
9561 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9566 # PORTME Check for flag to pass linker flags through the system compiler.
9569 lt_prog_compiler_wl='-Wl,'
9570 if test "$host_cpu" = ia64; then
9571 # AIX 5 now supports IA64 processor
9572 lt_prog_compiler_static='-Bstatic'
9574 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9578 mingw* | cygwin* | pw32* | os2* | cegcc*)
9579 # This hack is so that the source file can tell whether it is being
9580 # built for inclusion in a dll (and should export symbols for example).
9581 lt_prog_compiler_pic='-DDLL_EXPORT'
9584 hpux9* | hpux10* | hpux11*)
9585 lt_prog_compiler_wl='-Wl,'
9586 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9593 lt_prog_compiler_pic='+Z'
9596 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9597 lt_prog_compiler_static='${wl}-a ${wl}archive'
9600 irix5* | irix6* | nonstopux*)
9601 lt_prog_compiler_wl='-Wl,'
9602 # PIC (with -KPIC) is the default.
9603 lt_prog_compiler_static='-non_shared'
9606 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9607 case $cc_basename in
9608 # old Intel for x86_64 which still supported -KPIC.
9610 lt_prog_compiler_wl='-Wl,'
9611 lt_prog_compiler_pic='-KPIC'
9612 lt_prog_compiler_static='-static'
9614 # icc used to be incompatible with GCC.
9615 # ICC 10 doesn't accept -KPIC any more.
9617 lt_prog_compiler_wl='-Wl,'
9618 lt_prog_compiler_pic='-fPIC'
9619 lt_prog_compiler_static='-static'
9621 # Lahey Fortran 8.1.
9623 lt_prog_compiler_wl='-Wl,'
9624 lt_prog_compiler_pic='--shared'
9625 lt_prog_compiler_static='--static'
9628 # NAG Fortran compiler
9629 lt_prog_compiler_wl='-Wl,-Wl,,'
9630 lt_prog_compiler_pic='-PIC'
9631 lt_prog_compiler_static='-Bstatic'
9633 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9634 # Portland Group compilers (*not* the Pentium gcc compiler,
9635 # which looks to be a dead project)
9636 lt_prog_compiler_wl='-Wl,'
9637 lt_prog_compiler_pic='-fpic'
9638 lt_prog_compiler_static='-Bstatic'
9641 lt_prog_compiler_wl='-Wl,'
9642 # All Alpha code is PIC.
9643 lt_prog_compiler_static='-non_shared'
9645 xl* | bgxl* | bgf* | mpixl*)
9646 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9647 lt_prog_compiler_wl='-Wl,'
9648 lt_prog_compiler_pic='-qpic'
9649 lt_prog_compiler_static='-qstaticlink'
9652 case `$CC -V 2>&1 | sed 5q` in
9653 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9654 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9655 lt_prog_compiler_pic='-KPIC'
9656 lt_prog_compiler_static='-Bstatic'
9657 lt_prog_compiler_wl=''
9659 *Sun\ F* | *Sun*Fortran*)
9660 lt_prog_compiler_pic='-KPIC'
9661 lt_prog_compiler_static='-Bstatic'
9662 lt_prog_compiler_wl='-Qoption ld '
9666 lt_prog_compiler_pic='-KPIC'
9667 lt_prog_compiler_static='-Bstatic'
9668 lt_prog_compiler_wl='-Wl,'
9670 *Intel*\ [CF]*Compiler*)
9671 lt_prog_compiler_wl='-Wl,'
9672 lt_prog_compiler_pic='-fPIC'
9673 lt_prog_compiler_static='-static'
9676 lt_prog_compiler_wl='-Wl,'
9677 lt_prog_compiler_pic='-fpic'
9678 lt_prog_compiler_static='-Bstatic'
9686 lt_prog_compiler_pic='-KPIC'
9687 lt_prog_compiler_static='-Bstatic'
9691 # QNX uses GNU C++, but need to define -shared option too, otherwise
9693 lt_prog_compiler_pic='-fPIC -shared'
9696 osf3* | osf4* | osf5*)
9697 lt_prog_compiler_wl='-Wl,'
9698 # All OSF/1 code is PIC.
9699 lt_prog_compiler_static='-non_shared'
9703 lt_prog_compiler_static='-non_shared'
9707 lt_prog_compiler_pic='-KPIC'
9708 lt_prog_compiler_static='-Bstatic'
9709 case $cc_basename in
9710 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9711 lt_prog_compiler_wl='-Qoption ld ';;
9713 lt_prog_compiler_wl='-Wl,';;
9718 lt_prog_compiler_wl='-Qoption ld '
9719 lt_prog_compiler_pic='-PIC'
9720 lt_prog_compiler_static='-Bstatic'
9723 sysv4 | sysv4.2uw2* | sysv4.3*)
9724 lt_prog_compiler_wl='-Wl,'
9725 lt_prog_compiler_pic='-KPIC'
9726 lt_prog_compiler_static='-Bstatic'
9730 if test -d /usr/nec ;then
9731 lt_prog_compiler_pic='-Kconform_pic'
9732 lt_prog_compiler_static='-Bstatic'
9736 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9737 lt_prog_compiler_wl='-Wl,'
9738 lt_prog_compiler_pic='-KPIC'
9739 lt_prog_compiler_static='-Bstatic'
9743 lt_prog_compiler_wl='-Wl,'
9744 lt_prog_compiler_can_build_shared=no
9748 lt_prog_compiler_pic='-pic'
9749 lt_prog_compiler_static='-Bstatic'
9753 lt_prog_compiler_can_build_shared=no
9759 # For platforms which do not support PIC, -DPIC is meaningless:
9761 lt_prog_compiler_pic=
9764 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9769 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9770 if ${lt_cv_prog_compiler_pic+:} false; then :
9771 $as_echo_n "(cached) " >&6
9773 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9776 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9777 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9780 # Check to make sure the PIC flag actually works.
9782 if test -n "$lt_prog_compiler_pic"; then
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9784 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9785 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9786 $as_echo_n "(cached) " >&6
9788 lt_cv_prog_compiler_pic_works=no
9789 ac_outfile=conftest.$ac_objext
9790 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9791 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9792 # Insert the option either (1) after the last *FLAGS variable, or
9793 # (2) before a word containing "conftest.", or (3) at the end.
9794 # Note that $ac_compile itself does not contain backslashes and begins
9795 # with a dollar sign (not a hyphen), so the echo should work correctly.
9796 # The option is referenced via a variable to avoid confusing sed.
9797 lt_compile=`echo "$ac_compile" | $SED \
9798 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9799 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9800 -e 's:$: $lt_compiler_flag:'`
9801 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9802 (eval "$lt_compile" 2>conftest.err)
9804 cat conftest.err >&5
9805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 if (exit $ac_status) && test -s "$ac_outfile"; then
9807 # The compiler can only warn and ignore the option if not recognized
9808 # So say no if there are warnings other than the usual output.
9809 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9810 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9811 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9812 lt_cv_prog_compiler_pic_works=yes
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9819 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9821 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9822 case $lt_prog_compiler_pic in
9824 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9827 lt_prog_compiler_pic=
9828 lt_prog_compiler_can_build_shared=no
9844 # Check to make sure the static flag actually works.
9846 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9848 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9849 if ${lt_cv_prog_compiler_static_works+:} false; then :
9850 $as_echo_n "(cached) " >&6
9852 lt_cv_prog_compiler_static_works=no
9853 save_LDFLAGS="$LDFLAGS"
9854 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9855 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9856 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9857 # The linker can only warn and ignore the option if not recognized
9858 # So say no if there are warnings
9859 if test -s conftest.err; then
9860 # Append any errors to the config.log.
9861 cat conftest.err 1>&5
9862 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9863 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9864 if diff conftest.exp conftest.er2 >/dev/null; then
9865 lt_cv_prog_compiler_static_works=yes
9868 lt_cv_prog_compiler_static_works=yes
9872 LDFLAGS="$save_LDFLAGS"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9876 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9878 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9881 lt_prog_compiler_static=
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9892 if ${lt_cv_prog_compiler_c_o+:} false; then :
9893 $as_echo_n "(cached) " >&6
9895 lt_cv_prog_compiler_c_o=no
9896 $RM -r conftest 2>/dev/null
9900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9902 lt_compiler_flag="-o out/conftest2.$ac_objext"
9903 # Insert the option either (1) after the last *FLAGS variable, or
9904 # (2) before a word containing "conftest.", or (3) at the end.
9905 # Note that $ac_compile itself does not contain backslashes and begins
9906 # with a dollar sign (not a hyphen), so the echo should work correctly.
9907 lt_compile=`echo "$ac_compile" | $SED \
9908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9910 -e 's:$: $lt_compiler_flag:'`
9911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9912 (eval "$lt_compile" 2>out/conftest.err)
9914 cat out/conftest.err >&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9918 # The compiler can only warn and ignore the option if not recognized
9919 # So say no if there are warnings
9920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9923 lt_cv_prog_compiler_c_o=yes
9928 # SGI C++ compiler will create directory out/ii_files/ for
9929 # template instantiation
9930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9931 $RM out/* && rmdir out
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9938 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9946 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9947 if ${lt_cv_prog_compiler_c_o+:} false; then :
9948 $as_echo_n "(cached) " >&6
9950 lt_cv_prog_compiler_c_o=no
9951 $RM -r conftest 2>/dev/null
9955 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9957 lt_compiler_flag="-o out/conftest2.$ac_objext"
9958 # Insert the option either (1) after the last *FLAGS variable, or
9959 # (2) before a word containing "conftest.", or (3) at the end.
9960 # Note that $ac_compile itself does not contain backslashes and begins
9961 # with a dollar sign (not a hyphen), so the echo should work correctly.
9962 lt_compile=`echo "$ac_compile" | $SED \
9963 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9964 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9965 -e 's:$: $lt_compiler_flag:'`
9966 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9967 (eval "$lt_compile" 2>out/conftest.err)
9969 cat out/conftest.err >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9973 # The compiler can only warn and ignore the option if not recognized
9974 # So say no if there are warnings
9975 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9976 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9977 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9978 lt_cv_prog_compiler_c_o=yes
9983 # SGI C++ compiler will create directory out/ii_files/ for
9984 # template instantiation
9985 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9986 $RM out/* && rmdir out
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9993 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9998 hard_links="nottested"
9999 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10000 # do not overwrite the value of need_locks provided by the user
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10002 $as_echo_n "checking if we can lock with hard links... " >&6; }
10005 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10007 ln conftest.a conftest.b 2>&5 || hard_links=no
10008 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10010 $as_echo "$hard_links" >&6; }
10011 if test "$hard_links" = no; then
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10013 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10026 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10029 allow_undefined_flag=
10030 always_export_symbols=no
10032 archive_expsym_cmds=
10033 compiler_needs_object=no
10034 enable_shared_with_static_runtimes=no
10035 export_dynamic_flag_spec=
10036 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10037 hardcode_automatic=no
10039 hardcode_direct_absolute=no
10040 hardcode_libdir_flag_spec=
10041 hardcode_libdir_separator=
10042 hardcode_minus_L=no
10043 hardcode_shlibpath_var=unsupported
10045 link_all_deplibs=unknown
10047 module_expsym_cmds=
10048 old_archive_from_new_cmds=
10049 old_archive_from_expsyms_cmds=
10050 thread_safe_flag_spec=
10051 whole_archive_flag_spec=
10052 # include_expsyms should be a list of space-separated symbols to be *always*
10053 # included in the symbol list
10055 # exclude_expsyms can be an extended regexp of symbols to exclude
10056 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10057 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10058 # as well as any symbol that contains `d'.
10059 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10060 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10061 # platforms (ab)use it in PIC code, but their linkers get confused if
10062 # the symbol is explicitly referenced. Since portable code cannot
10063 # rely on this symbol name, it's probably fine to never include it in
10064 # preloaded symbol tables.
10065 # Exclude shared library initialization/finalization symbols.
10066 extract_expsyms_cmds=
10069 cygwin* | mingw* | pw32* | cegcc*)
10070 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10071 # When not using gcc, we currently assume that we are using
10072 # Microsoft Visual C++.
10073 if test "$GCC" != yes; then
10078 # we just hope/assume this is gcc and not c89 (= MSVC++)
10084 linux* | k*bsd*-gnu | gnu*)
10085 link_all_deplibs=no
10091 # On some targets, GNU ld is compatible enough with the native linker
10092 # that we're better off using the native interface for both.
10093 lt_use_gnu_ld_interface=no
10094 if test "$with_gnu_ld" = yes; then
10097 # The AIX port of GNU ld has always aspired to compatibility
10098 # with the native linker. However, as the warning in the GNU ld
10099 # block says, versions before 2.19.5* couldn't really create working
10100 # shared libraries, regardless of the interface used.
10101 case `$LD -v 2>&1` in
10102 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10103 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10104 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10106 lt_use_gnu_ld_interface=yes
10111 lt_use_gnu_ld_interface=yes
10116 if test "$lt_use_gnu_ld_interface" = yes; then
10117 # If archive_cmds runs LD, not CC, wlarc should be empty
10120 # Set some defaults for GNU ld with shared library support. These
10121 # are reset later if shared libraries are not supported. Putting them
10122 # here allows them to be overridden if necessary.
10123 runpath_var=LD_RUN_PATH
10124 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10125 export_dynamic_flag_spec='${wl}--export-dynamic'
10126 # ancient GNU ld didn't support --whole-archive et. al.
10127 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10128 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10130 whole_archive_flag_spec=
10132 supports_anon_versioning=no
10133 case `$LD -v 2>&1` in
10134 *GNU\ gold*) supports_anon_versioning=yes ;;
10135 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10136 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10137 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10138 *\ 2.11.*) ;; # other 2.11 versions
10139 *) supports_anon_versioning=yes ;;
10142 # See if GNU ld supports shared libraries.
10145 # On AIX/PPC, the GNU linker is very broken
10146 if test "$host_cpu" != ia64; then
10150 *** Warning: the GNU linker, at least up to release 2.19, is reported
10151 *** to be unable to reliably create shared libraries on AIX.
10152 *** Therefore, libtool is disabling shared libraries support. If you
10153 *** really care for shared libraries, you may want to install binutils
10154 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10155 *** You will then need to restart the configuration process.
10164 # see comment about AmigaOS4 .so support
10165 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10166 archive_expsym_cmds=''
10169 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)'
10170 hardcode_libdir_flag_spec='-L$libdir'
10171 hardcode_minus_L=yes
10177 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10178 allow_undefined_flag=unsupported
10179 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10180 # support --undefined. This deserves some investigation. FIXME
10181 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 cygwin* | mingw* | pw32* | cegcc*)
10188 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10189 # as there is no search path for DLLs.
10190 hardcode_libdir_flag_spec='-L$libdir'
10191 export_dynamic_flag_spec='${wl}--export-all-symbols'
10192 allow_undefined_flag=unsupported
10193 always_export_symbols=no
10194 enable_shared_with_static_runtimes=yes
10195 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'
10196 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10198 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10199 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10200 # If the export-symbols file already is a .def file (1st line
10201 # is EXPORTS), use it as is; otherwise, prepend...
10202 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10203 cp $export_symbols $output_objdir/$soname.def;
10205 echo EXPORTS > $output_objdir/$soname.def;
10206 cat $export_symbols >> $output_objdir/$soname.def;
10208 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10215 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10216 link_all_deplibs=yes
10221 hardcode_shlibpath_var=no
10222 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10223 export_dynamic_flag_spec='${wl}-E'
10224 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10225 # Instead, shared libraries are loaded at an image base (0x10000000 by
10226 # default) and relocated if they conflict, which is a slow very memory
10227 # consuming and fragmenting process. To avoid this, we pick a random,
10228 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10229 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10230 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10231 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'
10234 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10236 if test "$host_os" = linux-dietlibc; then
10237 case $cc_basename in
10238 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10241 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10242 && test "$tmp_diet" = no
10244 tmp_addflag=' $pic_flag'
10245 tmp_sharedflag='-shared'
10246 case $cc_basename,$host_cpu in
10247 pgcc*) # Portland Group C compiler
10248 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'
10249 tmp_addflag=' $pic_flag'
10251 pgf77* | pgf90* | pgf95* | pgfortran*)
10252 # Portland Group f77 and f90 compilers
10253 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'
10254 tmp_addflag=' $pic_flag -Mnomain' ;;
10255 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10256 tmp_addflag=' -i_dynamic' ;;
10257 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10258 tmp_addflag=' -i_dynamic -nofor_main' ;;
10259 ifc* | ifort*) # Intel Fortran compiler
10260 tmp_addflag=' -nofor_main' ;;
10261 lf95*) # Lahey Fortran 8.1
10262 whole_archive_flag_spec=
10263 tmp_sharedflag='--shared' ;;
10264 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10265 tmp_sharedflag='-qmkshrobj'
10267 nvcc*) # Cuda Compiler Driver 2.2
10268 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'
10269 compiler_needs_object=yes
10272 case `$CC -V 2>&1 | sed 5q` in
10273 *Sun\ C*) # Sun C 5.9
10274 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'
10275 compiler_needs_object=yes
10276 tmp_sharedflag='-G' ;;
10277 *Sun\ F*) # Sun Fortran 8.3
10278 tmp_sharedflag='-G' ;;
10280 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10282 if test "x$supports_anon_versioning" = xyes; then
10283 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10284 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10285 echo "local: *; };" >> $output_objdir/$libname.ver~
10286 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10289 case $cc_basename in
10290 xlf* | bgf* | bgxlf* | mpixlf*)
10291 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10292 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10293 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10294 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10295 if test "x$supports_anon_versioning" = xyes; then
10296 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10297 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10298 echo "local: *; };" >> $output_objdir/$libname.ver~
10299 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10308 netbsd* | netbsdelf*-gnu)
10309 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10310 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10313 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10314 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10319 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10324 *** create shared libraries on Solaris systems. Therefore, libtool
10325 *** is disabling shared libraries support. We urge you to upgrade GNU
10326 *** binutils to release 2.9.1 or newer. Another option is to modify
10327 *** your PATH or compiler configuration so that the native linker is
10328 *** used, and then restart.
10331 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10332 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10333 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10339 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10340 case `$LD -v 2>&1` in
10341 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10346 *** reliably create shared libraries on SCO systems. Therefore, libtool
10347 *** is disabling shared libraries support. We urge you to upgrade GNU
10348 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10349 *** your PATH or compiler configuration so that the native linker is
10350 *** used, and then restart.
10355 # For security reasons, it is highly recommended that you always
10356 # use absolute paths for naming shared libraries, and exclude the
10357 # DT_RUNPATH tag from executables and libraries. But doing so
10358 # requires that you compile everything twice, which is a pain.
10359 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10360 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10361 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10362 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10371 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10373 hardcode_direct=yes
10374 hardcode_shlibpath_var=no
10378 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10379 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10380 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10387 if test "$ld_shlibs" = no; then
10389 hardcode_libdir_flag_spec=
10390 export_dynamic_flag_spec=
10391 whole_archive_flag_spec=
10394 # PORTME fill in a description of your system's linker (not GNU ld)
10397 allow_undefined_flag=unsupported
10398 always_export_symbols=yes
10399 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'
10400 # Note: this linker hardcodes the directories in LIBPATH if there
10401 # are no directories specified by -L.
10402 hardcode_minus_L=yes
10403 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10404 # Neither direct hardcoding nor static linking is supported with a
10406 hardcode_direct=unsupported
10411 if test "$host_cpu" = ia64; then
10412 # On IA64, the linker does run time linking by default, so we don't
10413 # have to do anything special.
10414 aix_use_runtimelinking=no
10415 exp_sym_flag='-Bexport'
10418 # If we're using GNU nm, then we don't want the "-C" option.
10419 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10420 # Also, AIX nm treats weak defined symbols like other global
10421 # defined symbols, whereas GNU nm marks them as "W".
10422 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10423 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'
10425 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'
10427 aix_use_runtimelinking=no
10429 # Test if we are trying to use run time linking or normal
10430 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10431 # need to do runtime linking.
10432 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10433 for ld_flag in $LDFLAGS; do
10434 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10435 aix_use_runtimelinking=yes
10442 exp_sym_flag='-bexport'
10443 no_entry_flag='-bnoentry'
10446 # When large executables or shared objects are built, AIX ld can
10447 # have problems creating the table of contents. If linking a library
10448 # or program results in "error TOC overflow" add -mminimal-toc to
10449 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10450 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10453 hardcode_direct=yes
10454 hardcode_direct_absolute=yes
10455 hardcode_libdir_separator=':'
10456 link_all_deplibs=yes
10457 file_list_spec='${wl}-f,'
10459 if test "$GCC" = yes; then
10460 case $host_os in aix4.[012]|aix4.[012].*)
10461 # We only want to do this on AIX 4.2 and lower, the check
10462 # below for broken collect2 doesn't work under 4.3+
10463 collect2name=`${CC} -print-prog-name=collect2`
10464 if test -f "$collect2name" &&
10465 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10467 # We have reworked collect2
10470 # We have old collect2
10471 hardcode_direct=unsupported
10472 # It fails to find uninstalled libraries when the uninstalled
10473 # path is not listed in the libpath. Setting hardcode_minus_L
10474 # to unsupported forces relinking
10475 hardcode_minus_L=yes
10476 hardcode_libdir_flag_spec='-L$libdir'
10477 hardcode_libdir_separator=
10481 shared_flag='-shared'
10482 if test "$aix_use_runtimelinking" = yes; then
10483 shared_flag="$shared_flag "'${wl}-G'
10485 link_all_deplibs=no
10488 if test "$host_cpu" = ia64; then
10489 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10490 # chokes on -Wl,-G. The following line is correct:
10493 if test "$aix_use_runtimelinking" = yes; then
10494 shared_flag='${wl}-G'
10496 shared_flag='${wl}-bM:SRE'
10501 export_dynamic_flag_spec='${wl}-bexpall'
10502 # It seems that -bexpall does not export symbols beginning with
10503 # underscore (_), so it is better to generate a list of symbols to export.
10504 always_export_symbols=yes
10505 if test "$aix_use_runtimelinking" = yes; then
10506 # Warning - without using the other runtime loading flags (-brtl),
10507 # -berok will link without error, but may produce a broken library.
10508 allow_undefined_flag='-berok'
10509 # Determine the default libpath from the value encoded in an
10510 # empty executable.
10511 if test "${lt_cv_aix_libpath+set}" = set; then
10512 aix_libpath=$lt_cv_aix_libpath
10514 if ${lt_cv_aix_libpath_+:} false; then :
10515 $as_echo_n "(cached) " >&6
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10528 if ac_fn_c_try_link "$LINENO"; then :
10530 lt_aix_libpath_sed='
10531 /Import File Strings/,/^$/ {
10533 s/^0 *\([^ ]*\) *$/\1/
10537 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10538 # Check for a 64-bit object if we didn't find anything.
10539 if test -z "$lt_cv_aix_libpath_"; then
10540 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 if test -z "$lt_cv_aix_libpath_"; then
10546 lt_cv_aix_libpath_="/usr/lib:/lib"
10551 aix_libpath=$lt_cv_aix_libpath_
10554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10555 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"
10557 if test "$host_cpu" = ia64; then
10558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10559 allow_undefined_flag="-z nodefs"
10560 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"
10562 # Determine the default libpath from the value encoded in an
10563 # empty executable.
10564 if test "${lt_cv_aix_libpath+set}" = set; then
10565 aix_libpath=$lt_cv_aix_libpath
10567 if ${lt_cv_aix_libpath_+:} false; then :
10568 $as_echo_n "(cached) " >&6
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10581 if ac_fn_c_try_link "$LINENO"; then :
10583 lt_aix_libpath_sed='
10584 /Import File Strings/,/^$/ {
10586 s/^0 *\([^ ]*\) *$/\1/
10590 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10591 # Check for a 64-bit object if we didn't find anything.
10592 if test -z "$lt_cv_aix_libpath_"; then
10593 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 if test -z "$lt_cv_aix_libpath_"; then
10599 lt_cv_aix_libpath_="/usr/lib:/lib"
10604 aix_libpath=$lt_cv_aix_libpath_
10607 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10608 # Warning - without using the other run time loading flags,
10609 # -berok will link without error, but may produce a broken library.
10610 no_undefined_flag=' ${wl}-bernotok'
10611 allow_undefined_flag=' ${wl}-berok'
10612 if test "$with_gnu_ld" = yes; then
10613 # We only use this code for GNU lds that support --whole-archive.
10614 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10616 # Exported symbols can be pulled into shared objects from archives
10617 whole_archive_flag_spec='$convenience'
10619 archive_cmds_need_lc=yes
10620 # This is similar to how AIX traditionally builds its shared libraries.
10621 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'
10629 # see comment about AmigaOS4 .so support
10630 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10631 archive_expsym_cmds=''
10634 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)'
10635 hardcode_libdir_flag_spec='-L$libdir'
10636 hardcode_minus_L=yes
10642 export_dynamic_flag_spec=-rdynamic
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 # When not using gcc, we currently assume that we are using
10647 # Microsoft Visual C++.
10648 # hardcode_libdir_flag_spec is actually meaningless, as there is
10649 # no search path for DLLs.
10650 case $cc_basename in
10653 hardcode_libdir_flag_spec=' '
10654 allow_undefined_flag=unsupported
10655 always_export_symbols=yes
10657 # Tell ltmain to make .lib files, not .a files.
10659 # Tell ltmain to make .dll files, not .so files.
10661 # FIXME: Setting linknames here is a bad hack.
10662 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10663 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10664 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10666 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10668 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10670 # The linker will not automatically build a static lib if we build a DLL.
10671 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10672 enable_shared_with_static_runtimes=yes
10673 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10674 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10676 old_postinstall_cmds='chmod 644 $oldlib'
10677 postlink_cmds='lt_outputfile="@OUTPUT@"~
10678 lt_tool_outputfile="@TOOL_OUTPUT@"~
10679 case $lt_outputfile in
10682 lt_outputfile="$lt_outputfile.exe"
10683 lt_tool_outputfile="$lt_tool_outputfile.exe"
10686 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10687 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10688 $RM "$lt_outputfile.manifest";
10692 # Assume MSVC wrapper
10693 hardcode_libdir_flag_spec=' '
10694 allow_undefined_flag=unsupported
10695 # Tell ltmain to make .lib files, not .a files.
10697 # Tell ltmain to make .dll files, not .so files.
10699 # FIXME: Setting linknames here is a bad hack.
10700 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10701 # The linker will automatically build a .lib file if we build a DLL.
10702 old_archive_from_new_cmds='true'
10703 # FIXME: Should let the user specify the lib program.
10704 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10705 enable_shared_with_static_runtimes=yes
10710 darwin* | rhapsody*)
10713 archive_cmds_need_lc=no
10715 hardcode_automatic=yes
10716 hardcode_shlibpath_var=unsupported
10717 if test "$lt_cv_ld_force_load" = "yes"; then
10718 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\"`'
10721 whole_archive_flag_spec=''
10723 link_all_deplibs=yes
10724 allow_undefined_flag="$_lt_dar_allow_undefined"
10725 case $cc_basename in
10726 ifort*) _lt_dar_can_shared=yes ;;
10727 *) _lt_dar_can_shared=$GCC ;;
10729 if test "$_lt_dar_can_shared" = "yes"; then
10730 output_verbose_link_cmd=func_echo_all
10731 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10732 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10733 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}"
10734 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}"
10743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10744 hardcode_libdir_flag_spec='-L$libdir'
10745 hardcode_shlibpath_var=no
10748 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10749 # support. Future versions do this automatically, but an explicit c++rt0.o
10750 # does not break anything, and helps significantly (at the cost of a little
10753 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10754 hardcode_libdir_flag_spec='-R$libdir'
10755 hardcode_direct=yes
10756 hardcode_shlibpath_var=no
10759 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10761 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10762 hardcode_direct=yes
10763 hardcode_minus_L=yes
10764 hardcode_shlibpath_var=no
10767 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10768 freebsd* | dragonfly*)
10769 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10770 hardcode_libdir_flag_spec='-R$libdir'
10771 hardcode_direct=yes
10772 hardcode_shlibpath_var=no
10776 if test "$GCC" = yes; then
10777 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'
10779 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'
10781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10782 hardcode_libdir_separator=:
10783 hardcode_direct=yes
10785 # hardcode_minus_L: Not really in the search PATH,
10786 # but as the default location of the library.
10787 hardcode_minus_L=yes
10788 export_dynamic_flag_spec='${wl}-E'
10792 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10793 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10795 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10797 if test "$with_gnu_ld" = no; then
10798 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10799 hardcode_libdir_separator=:
10800 hardcode_direct=yes
10801 hardcode_direct_absolute=yes
10802 export_dynamic_flag_spec='${wl}-E'
10803 # hardcode_minus_L: Not really in the search PATH,
10804 # but as the default location of the library.
10805 hardcode_minus_L=yes
10810 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10813 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10816 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10819 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10825 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10828 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10832 # Older versions of the 11.00 compiler do not understand -b yet
10833 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10835 $as_echo_n "checking if $CC understands -b... " >&6; }
10836 if ${lt_cv_prog_compiler__b+:} false; then :
10837 $as_echo_n "(cached) " >&6
10839 lt_cv_prog_compiler__b=no
10840 save_LDFLAGS="$LDFLAGS"
10841 LDFLAGS="$LDFLAGS -b"
10842 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10844 # The linker can only warn and ignore the option if not recognized
10845 # So say no if there are warnings
10846 if test -s conftest.err; then
10847 # Append any errors to the config.log.
10848 cat conftest.err 1>&5
10849 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10851 if diff conftest.exp conftest.er2 >/dev/null; then
10852 lt_cv_prog_compiler__b=yes
10855 lt_cv_prog_compiler__b=yes
10859 LDFLAGS="$save_LDFLAGS"
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10863 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10865 if test x"$lt_cv_prog_compiler__b" = xyes; then
10866 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10868 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10874 if test "$with_gnu_ld" = no; then
10875 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10876 hardcode_libdir_separator=:
10881 hardcode_shlibpath_var=no
10884 hardcode_direct=yes
10885 hardcode_direct_absolute=yes
10886 export_dynamic_flag_spec='${wl}-E'
10888 # hardcode_minus_L: Not really in the search PATH,
10889 # but as the default location of the library.
10890 hardcode_minus_L=yes
10896 irix5* | irix6* | nonstopux*)
10897 if test "$GCC" = yes; then
10898 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'
10899 # Try to use the -exported_symbol ld option, if it does not
10900 # work, assume that -exports_file does not work either and
10901 # implicitly export all symbols.
10902 # This should be the same for all languages, so no per-tag cache variable.
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10904 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10905 if ${lt_cv_irix_exported_symbol+:} false; then :
10906 $as_echo_n "(cached) " >&6
10908 save_LDFLAGS="$LDFLAGS"
10909 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10912 int foo (void) { return 0; }
10914 if ac_fn_c_try_link "$LINENO"; then :
10915 lt_cv_irix_exported_symbol=yes
10917 lt_cv_irix_exported_symbol=no
10919 rm -f core conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LDFLAGS="$save_LDFLAGS"
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10924 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10925 if test "$lt_cv_irix_exported_symbol" = yes; then
10926 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'
10929 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'
10930 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'
10932 archive_cmds_need_lc='no'
10933 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10934 hardcode_libdir_separator=:
10936 link_all_deplibs=yes
10939 netbsd* | netbsdelf*-gnu)
10940 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10941 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10943 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10945 hardcode_libdir_flag_spec='-R$libdir'
10946 hardcode_direct=yes
10947 hardcode_shlibpath_var=no
10951 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10952 hardcode_direct=yes
10953 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10954 hardcode_libdir_separator=:
10955 hardcode_shlibpath_var=no
10962 if test -f /usr/libexec/ld.so; then
10963 hardcode_direct=yes
10964 hardcode_shlibpath_var=no
10965 hardcode_direct_absolute=yes
10966 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10967 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10968 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10969 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10970 export_dynamic_flag_spec='${wl}-E'
10973 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10974 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10975 hardcode_libdir_flag_spec='-R$libdir'
10978 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10979 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10989 hardcode_libdir_flag_spec='-L$libdir'
10990 hardcode_minus_L=yes
10991 allow_undefined_flag=unsupported
10992 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'
10993 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10997 if test "$GCC" = yes; then
10998 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10999 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'
11001 allow_undefined_flag=' -expect_unresolved \*'
11002 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'
11004 archive_cmds_need_lc='no'
11005 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11006 hardcode_libdir_separator=:
11009 osf4* | osf5*) # as osf3* with the addition of -msym flag
11010 if test "$GCC" = yes; then
11011 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11012 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'
11013 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11015 allow_undefined_flag=' -expect_unresolved \*'
11016 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'
11017 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~
11018 $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'
11020 # Both c and cxx compiler support -rpath directly
11021 hardcode_libdir_flag_spec='-rpath $libdir'
11023 archive_cmds_need_lc='no'
11024 hardcode_libdir_separator=:
11028 no_undefined_flag=' -z defs'
11029 if test "$GCC" = yes; then
11031 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11032 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11033 $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'
11035 case `$CC -V 2>&1` in
11038 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11039 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11040 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11044 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11045 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11046 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11050 hardcode_libdir_flag_spec='-R$libdir'
11051 hardcode_shlibpath_var=no
11053 solaris2.[0-5] | solaris2.[0-5].*) ;;
11055 # The compiler driver will combine and reorder linker options,
11056 # but understands `-z linker_flag'. GCC discards it without `$wl',
11057 # but is careful enough not to reorder.
11058 # Supported since Solaris 2.6 (maybe 2.5.1?)
11059 if test "$GCC" = yes; then
11060 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11062 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11066 link_all_deplibs=yes
11070 if test "x$host_vendor" = xsequent; then
11071 # Use $CC to link under sequent, because it throws in some extra .o
11072 # files that make .init and .fini sections work.
11073 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11075 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11077 hardcode_libdir_flag_spec='-L$libdir'
11078 hardcode_direct=yes
11079 hardcode_minus_L=yes
11080 hardcode_shlibpath_var=no
11084 case $host_vendor in
11086 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11087 hardcode_direct=yes # is this really true???
11090 ## LD is ld it makes a PLAMLIB
11091 ## CC just makes a GrossModule.
11092 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11093 reload_cmds='$CC -r -o $output$reload_objs'
11097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11098 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11101 runpath_var='LD_RUN_PATH'
11102 hardcode_shlibpath_var=no
11106 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11107 hardcode_shlibpath_var=no
11108 export_dynamic_flag_spec='-Bexport'
11112 if test -d /usr/nec; then
11113 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114 hardcode_shlibpath_var=no
11115 runpath_var=LD_RUN_PATH
11116 hardcode_runpath_var=yes
11121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11122 no_undefined_flag='${wl}-z,text'
11123 archive_cmds_need_lc=no
11124 hardcode_shlibpath_var=no
11125 runpath_var='LD_RUN_PATH'
11127 if test "$GCC" = yes; then
11128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11136 sysv5* | sco3.2v5* | sco5v6*)
11137 # Note: We can NOT use -z defs as we might desire, because we do not
11138 # link with -lc, and that would cause any symbols used from libc to
11139 # always be unresolved, which means just about no library would
11140 # ever link correctly. If we're not using GNU ld we use -z text
11141 # though, which does catch some bad symbols but isn't as heavy-handed
11143 no_undefined_flag='${wl}-z,text'
11144 allow_undefined_flag='${wl}-z,nodefs'
11145 archive_cmds_need_lc=no
11146 hardcode_shlibpath_var=no
11147 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11148 hardcode_libdir_separator=':'
11149 link_all_deplibs=yes
11150 export_dynamic_flag_spec='${wl}-Bexport'
11151 runpath_var='LD_RUN_PATH'
11153 if test "$GCC" = yes; then
11154 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11155 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11157 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11158 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11163 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11164 hardcode_libdir_flag_spec='-L$libdir'
11165 hardcode_shlibpath_var=no
11173 if test x$host_vendor = xsni; then
11175 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11176 export_dynamic_flag_spec='${wl}-Blargedynsym'
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11183 $as_echo "$ld_shlibs" >&6; }
11184 test "$ld_shlibs" = no && can_build_shared=no
11186 with_gnu_ld=$with_gnu_ld
11203 # Do we need to explicitly link libc?
11205 case "x$archive_cmds_need_lc" in
11207 # Assume -lc should be added
11208 archive_cmds_need_lc=yes
11210 if test "$enable_shared" = yes && test "$GCC" = yes; then
11211 case $archive_cmds in
11213 # FIXME: we may have to deal with multi-command sequences.
11216 # Test whether the compiler implicitly links with -lc since on some
11217 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11218 # to ld, don't add -lc before -lgcc.
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11220 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11221 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11222 $as_echo_n "(cached) " >&6
11225 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11228 (eval $ac_compile) 2>&5
11230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11231 test $ac_status = 0; } 2>conftest.err; then
11234 libobjs=conftest.$ac_objext
11236 wl=$lt_prog_compiler_wl
11237 pic_flag=$lt_prog_compiler_pic
11243 lt_save_allow_undefined_flag=$allow_undefined_flag
11244 allow_undefined_flag=
11245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11246 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11249 test $ac_status = 0; }
11251 lt_cv_archive_cmds_need_lc=no
11253 lt_cv_archive_cmds_need_lc=yes
11255 allow_undefined_flag=$lt_save_allow_undefined_flag
11257 cat conftest.err 1>&5
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11263 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11264 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11423 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11425 if test "$GCC" = yes; then
11427 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11428 *) lt_awk_arg="/^libraries:/" ;;
11431 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11432 *) lt_sed_strip_eq="s,=/,/,g" ;;
11434 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11435 case $lt_search_path_spec in
11437 # if the path contains ";" then we assume it to be the separator
11438 # otherwise default to the standard path separator (i.e. ":") - it is
11439 # assumed that no part of a normal pathname contains ";" but that should
11440 # okay in the real world where ";" in dirpaths is itself problematic.
11441 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11444 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11447 # Ok, now we have the path, separated by spaces, we can step through it
11448 # and add multilib dir if necessary.
11449 lt_tmp_lt_search_path_spec=
11450 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11451 for lt_sys_path in $lt_search_path_spec; do
11452 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11453 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11455 test -d "$lt_sys_path" && \
11456 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11459 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11460 BEGIN {RS=" "; FS="/|\n";} {
11463 for (lt_i = NF; lt_i > 0; lt_i--) {
11464 if ($lt_i != "" && $lt_i != ".") {
11465 if ($lt_i == "..") {
11468 if (lt_count == 0) {
11469 lt_foo="/" $lt_i lt_foo;
11476 if (lt_foo != "") { lt_freq[lt_foo]++; }
11477 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11479 # AWK program above erroneously prepends '/' to C:/dos/paths
11482 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11483 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11485 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11487 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11489 library_names_spec=
11490 libname_spec='lib$name'
11494 postuninstall_cmds=
11498 shlibpath_overrides_runpath=unknown
11500 dynamic_linker="$host_os ld.so"
11501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11502 need_lib_prefix=unknown
11503 hardcode_into_libs=no
11505 # when you set need_version to no, make sure it does not cause -set_version
11506 # flags to be left without arguments
11507 need_version=unknown
11511 version_type=linux # correct to gnu/linux during the next big refactor
11512 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11513 shlibpath_var=LIBPATH
11515 # AIX 3 has no versioning support, so we append a major version to the name.
11516 soname_spec='${libname}${release}${shared_ext}$major'
11520 version_type=linux # correct to gnu/linux during the next big refactor
11523 hardcode_into_libs=yes
11524 if test "$host_cpu" = ia64; then
11525 # AIX 5 supports IA64
11526 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11527 shlibpath_var=LD_LIBRARY_PATH
11529 # With GCC up to 2.95.x, collect2 would create an import file
11530 # for dependence libraries. The import file would start with
11531 # the line `#! .'. This would cause the generated library to
11532 # depend on `.', always an invalid library. This was fixed in
11533 # development snapshots of GCC prior to 3.0.
11535 aix4 | aix4.[01] | aix4.[01].*)
11536 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11538 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11541 can_build_shared=no
11545 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11546 # soname into executable. Probably we can add versioning support to
11547 # collect2, so additional links can be useful in future.
11548 if test "$aix_use_runtimelinking" = yes; then
11549 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11550 # instead of lib<name>.a to let people know that these are not
11551 # typical AIX shared libraries.
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11554 # We preserve .a as extension for shared libraries through AIX4.2
11555 # and later when we are not doing run time linking.
11556 library_names_spec='${libname}${release}.a $libname.a'
11557 soname_spec='${libname}${release}${shared_ext}$major'
11559 shlibpath_var=LIBPATH
11566 # Since July 2007 AmigaOS4 officially supports .so libraries.
11567 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 library_names_spec='$libname.ixlibrary $libname.a'
11572 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11573 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'
11579 library_names_spec='${libname}${shared_ext}'
11580 dynamic_linker="$host_os ld.so"
11581 shlibpath_var=LIBRARY_PATH
11585 version_type=linux # correct to gnu/linux during the next big refactor
11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588 soname_spec='${libname}${release}${shared_ext}$major'
11589 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11590 shlibpath_var=LD_LIBRARY_PATH
11591 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11592 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11593 # the default ld.so.conf also contains /usr/contrib/lib and
11594 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11595 # libtool to hard-code these into programs
11598 cygwin* | mingw* | pw32* | cegcc*)
11599 version_type=windows
11604 case $GCC,$cc_basename in
11607 library_names_spec='$libname.dll.a'
11608 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11609 postinstall_cmds='base_file=`basename \${file}`~
11610 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11611 dldir=$destdir/`dirname \$dlpath`~
11612 test -d \$dldir || mkdir -p \$dldir~
11613 $install_prog $dir/$dlname \$dldir/$dlname~
11614 chmod a+x \$dldir/$dlname~
11615 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11616 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11618 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11619 dlpath=$dir/\$dldll~
11621 shlibpath_overrides_runpath=yes
11625 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11626 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11628 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11631 # MinGW DLLs use traditional 'lib' prefix
11632 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11635 # pw32 DLLs use 'pw' prefix rather than 'lib'
11636 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11639 dynamic_linker='Win32 ld.exe'
11644 libname_spec='$name'
11645 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11646 library_names_spec='${libname}.dll.lib'
11650 sys_lib_search_path_spec=
11653 for lt_path in $LIB
11656 # Let DOS variable expansion print the short 8.3 style file name.
11657 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11658 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11661 # Convert to MSYS style.
11662 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11665 # Convert to unix form, then to dos form, then back to unix form
11666 # but this time dos style (no spaces!) so that the unix form looks
11667 # like /cygdrive/c/PROGRA~1:/cygdr...
11668 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11669 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11670 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11673 sys_lib_search_path_spec="$LIB"
11674 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11675 # It is most probably a Windows format PATH.
11676 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11678 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11680 # FIXME: find the short name or the path components, as spaces are
11681 # common. (e.g. "Program Files" -> "PROGRA~1")
11685 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11686 postinstall_cmds='base_file=`basename \${file}`~
11687 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11688 dldir=$destdir/`dirname \$dlpath`~
11689 test -d \$dldir || mkdir -p \$dldir~
11690 $install_prog $dir/$dlname \$dldir/$dlname'
11691 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11692 dlpath=$dir/\$dldll~
11694 shlibpath_overrides_runpath=yes
11695 dynamic_linker='Win32 link.exe'
11699 # Assume MSVC wrapper
11700 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11701 dynamic_linker='Win32 ld.exe'
11704 # FIXME: first we should search . and the directory the executable is in
11708 darwin* | rhapsody*)
11709 dynamic_linker="$host_os dyld"
11710 version_type=darwin
11713 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11714 soname_spec='${libname}${release}${major}$shared_ext'
11715 shlibpath_overrides_runpath=yes
11716 shlibpath_var=DYLD_LIBRARY_PATH
11717 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11719 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11720 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11724 version_type=linux # correct to gnu/linux during the next big refactor
11727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11728 soname_spec='${libname}${release}${shared_ext}$major'
11729 shlibpath_var=LD_LIBRARY_PATH
11732 freebsd* | dragonfly*)
11733 # DragonFly does not have aout. When/if they implement a new
11734 # versioning mechanism, adjust this.
11735 if test -x /usr/bin/objformat; then
11736 objformat=`/usr/bin/objformat`
11739 freebsd[23].*) objformat=aout ;;
11740 *) objformat=elf ;;
11743 version_type=freebsd-$objformat
11744 case $version_type in
11746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11751 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11755 shlibpath_var=LD_LIBRARY_PATH
11758 shlibpath_overrides_runpath=yes
11760 freebsd3.[01]* | freebsdelf3.[01]*)
11761 shlibpath_overrides_runpath=yes
11762 hardcode_into_libs=yes
11764 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11765 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11766 shlibpath_overrides_runpath=no
11767 hardcode_into_libs=yes
11769 *) # from 4.6 on, and DragonFly
11770 shlibpath_overrides_runpath=yes
11771 hardcode_into_libs=yes
11777 version_type=linux # correct to gnu/linux during the next big refactor
11780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11781 soname_spec='${libname}${release}${shared_ext}$major'
11782 shlibpath_var=LD_LIBRARY_PATH
11783 shlibpath_overrides_runpath=no
11784 hardcode_into_libs=yes
11788 version_type=linux # correct to gnu/linux during the next big refactor
11791 dynamic_linker="$host_os runtime_loader"
11792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11793 soname_spec='${libname}${release}${shared_ext}$major'
11794 shlibpath_var=LIBRARY_PATH
11795 shlibpath_overrides_runpath=yes
11796 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11797 hardcode_into_libs=yes
11800 hpux9* | hpux10* | hpux11*)
11801 # Give a soname corresponding to the major version so that dld.sl refuses to
11802 # link against other versions.
11809 hardcode_into_libs=yes
11810 dynamic_linker="$host_os dld.so"
11811 shlibpath_var=LD_LIBRARY_PATH
11812 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11814 soname_spec='${libname}${release}${shared_ext}$major'
11815 if test "X$HPUX_IA64_MODE" = X32; then
11816 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11818 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11824 hardcode_into_libs=yes
11825 dynamic_linker="$host_os dld.sl"
11826 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11827 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11829 soname_spec='${libname}${release}${shared_ext}$major'
11830 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11831 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11835 dynamic_linker="$host_os dld.sl"
11836 shlibpath_var=SHLIB_PATH
11837 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11839 soname_spec='${libname}${release}${shared_ext}$major'
11842 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11843 postinstall_cmds='chmod 555 $lib'
11844 # or fails outright, so override atomically:
11845 install_override_mode=555
11849 version_type=linux # correct to gnu/linux during the next big refactor
11852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11853 soname_spec='${libname}${release}${shared_ext}$major'
11854 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11855 shlibpath_var=LD_LIBRARY_PATH
11856 shlibpath_overrides_runpath=no
11857 hardcode_into_libs=yes
11860 irix5* | irix6* | nonstopux*)
11862 nonstopux*) version_type=nonstopux ;;
11864 if test "$lt_cv_prog_gnu_ld" = yes; then
11865 version_type=linux # correct to gnu/linux during the next big refactor
11872 soname_spec='${libname}${release}${shared_ext}$major'
11873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11875 irix5* | nonstopux*)
11876 libsuff= shlibsuff=
11879 case $LD in # libtool.m4 will add one of these switches to LD
11880 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11881 libsuff= shlibsuff= libmagic=32-bit;;
11882 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11883 libsuff=32 shlibsuff=N32 libmagic=N32;;
11884 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11885 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11886 *) libsuff= shlibsuff= libmagic=never-match;;
11890 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11891 shlibpath_overrides_runpath=no
11892 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11893 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11894 hardcode_into_libs=yes
11897 # No shared lib support for Linux oldld, aout, or coff.
11898 linux*oldld* | linux*aout* | linux*coff*)
11902 # This must be glibc/ELF.
11903 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11904 version_type=linux # correct to gnu/linux during the next big refactor
11907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11908 soname_spec='${libname}${release}${shared_ext}$major'
11909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11910 shlibpath_var=LD_LIBRARY_PATH
11911 shlibpath_overrides_runpath=no
11913 # Some binutils ld are patched to set DT_RUNPATH
11914 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11915 $as_echo_n "(cached) " >&6
11917 lt_cv_shlibpath_overrides_runpath=no
11918 save_LDFLAGS=$LDFLAGS
11919 save_libdir=$libdir
11920 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11921 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h. */
11933 if ac_fn_c_try_link "$LINENO"; then :
11934 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11935 lt_cv_shlibpath_overrides_runpath=yes
11938 rm -f core conftest.err conftest.$ac_objext \
11939 conftest$ac_exeext conftest.$ac_ext
11940 LDFLAGS=$save_LDFLAGS
11941 libdir=$save_libdir
11945 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11947 # This implies no fast_install, which is unacceptable.
11948 # Some rework will be needed to allow for fast_install
11949 # before this can be enabled.
11950 hardcode_into_libs=yes
11952 # Append ld.so.conf contents to the search path
11953 if test -f /etc/ld.so.conf; then
11954 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' ' '`
11955 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11958 # We used to test for /lib/ld.so.1 and disable shared libraries on
11959 # powerpc, because MkLinux only supported shared libraries with the
11960 # GNU dynamic linker. Since this was broken with cross compilers,
11961 # most powerpc-linux boxes support dynamic linking these days and
11962 # people can always --disable-shared, the test was removed, and we
11963 # assume the GNU/Linux dynamic linker is in use.
11964 dynamic_linker='GNU/Linux ld.so'
11971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11972 soname_spec='${libname}${release}${shared_ext}$major'
11973 shlibpath_var=LD_LIBRARY_PATH
11974 shlibpath_overrides_runpath=no
11975 hardcode_into_libs=yes
11976 dynamic_linker='NetBSD ld.elf_so'
11983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11985 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11986 dynamic_linker='NetBSD (a.out) ld.so'
11988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11989 soname_spec='${libname}${release}${shared_ext}$major'
11990 dynamic_linker='NetBSD ld.elf_so'
11992 shlibpath_var=LD_LIBRARY_PATH
11993 shlibpath_overrides_runpath=yes
11994 hardcode_into_libs=yes
11998 version_type=linux # correct to gnu/linux during the next big refactor
11999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12000 shlibpath_var=LD_LIBRARY_PATH
12001 shlibpath_overrides_runpath=yes
12008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12009 soname_spec='${libname}${release}${shared_ext}$major'
12010 shlibpath_var=LD_LIBRARY_PATH
12011 shlibpath_overrides_runpath=no
12012 hardcode_into_libs=yes
12013 dynamic_linker='ldqnx.so'
12018 sys_lib_dlsearch_path_spec="/usr/lib"
12020 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12022 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12023 *) need_version=no ;;
12025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12026 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12027 shlibpath_var=LD_LIBRARY_PATH
12028 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12030 openbsd2.[89] | openbsd2.[89].*)
12031 shlibpath_overrides_runpath=no
12034 shlibpath_overrides_runpath=yes
12038 shlibpath_overrides_runpath=yes
12043 libname_spec='$name'
12046 library_names_spec='$libname${shared_ext} $libname.a'
12047 dynamic_linker='OS/2 ld.exe'
12048 shlibpath_var=LIBPATH
12051 osf3* | osf4* | osf5*)
12055 soname_spec='${libname}${release}${shared_ext}$major'
12056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12057 shlibpath_var=LD_LIBRARY_PATH
12058 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12059 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12067 version_type=linux # correct to gnu/linux during the next big refactor
12070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12071 soname_spec='${libname}${release}${shared_ext}$major'
12072 shlibpath_var=LD_LIBRARY_PATH
12073 shlibpath_overrides_runpath=yes
12074 hardcode_into_libs=yes
12075 # ldd complains unless libraries are executable
12076 postinstall_cmds='chmod +x $lib'
12081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12082 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12083 shlibpath_var=LD_LIBRARY_PATH
12084 shlibpath_overrides_runpath=yes
12085 if test "$with_gnu_ld" = yes; then
12092 version_type=linux # correct to gnu/linux during the next big refactor
12093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12094 soname_spec='${libname}${release}${shared_ext}$major'
12095 shlibpath_var=LD_LIBRARY_PATH
12096 case $host_vendor in
12098 shlibpath_overrides_runpath=no
12100 runpath_var=LD_RUN_PATH
12108 shlibpath_overrides_runpath=no
12109 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12115 if test -d /usr/nec ;then
12116 version_type=linux # correct to gnu/linux during the next big refactor
12117 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12118 soname_spec='$libname${shared_ext}.$major'
12119 shlibpath_var=LD_LIBRARY_PATH
12123 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12124 version_type=freebsd-elf
12127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12128 soname_spec='${libname}${release}${shared_ext}$major'
12129 shlibpath_var=LD_LIBRARY_PATH
12130 shlibpath_overrides_runpath=yes
12131 hardcode_into_libs=yes
12132 if test "$with_gnu_ld" = yes; then
12133 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12135 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12138 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12142 sys_lib_dlsearch_path_spec='/usr/lib'
12146 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12147 version_type=linux # correct to gnu/linux during the next big refactor
12150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12151 shlibpath_var=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath=no
12153 hardcode_into_libs=yes
12157 version_type=linux # correct to gnu/linux during the next big refactor
12158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12159 soname_spec='${libname}${release}${shared_ext}$major'
12160 shlibpath_var=LD_LIBRARY_PATH
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12168 $as_echo "$dynamic_linker" >&6; }
12169 test "$dynamic_linker" = no && can_build_shared=no
12171 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12172 if test "$GCC" = yes; then
12173 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12176 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12177 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12179 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12180 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12275 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12277 if test -n "$hardcode_libdir_flag_spec" ||
12278 test -n "$runpath_var" ||
12279 test "X$hardcode_automatic" = "Xyes" ; then
12281 # We can hardcode non-existent directories.
12282 if test "$hardcode_direct" != no &&
12283 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12284 # have to relink, otherwise we might link with an installed library
12285 # when we should be linking with a yet-to-be-installed one
12286 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12287 test "$hardcode_minus_L" != no; then
12288 # Linking always hardcodes the temporary library directory.
12289 hardcode_action=relink
12291 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12292 hardcode_action=immediate
12295 # We cannot hardcode anything, or else we can only hardcode existing
12297 hardcode_action=unsupported
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12300 $as_echo "$hardcode_action" >&6; }
12302 if test "$hardcode_action" = relink ||
12303 test "$inherit_rpath" = yes; then
12304 # Fast installation is not supported
12305 enable_fast_install=no
12306 elif test "$shlibpath_overrides_runpath" = yes ||
12307 test "$enable_shared" = no; then
12308 # Fast installation is not necessary
12309 enable_fast_install=needless
12317 if test "x$enable_dlopen" != xyes; then
12318 enable_dlopen=unknown
12319 enable_dlopen_self=unknown
12320 enable_dlopen_self_static=unknown
12327 lt_cv_dlopen="load_add_on"
12329 lt_cv_dlopen_self=yes
12332 mingw* | pw32* | cegcc*)
12333 lt_cv_dlopen="LoadLibrary"
12338 lt_cv_dlopen="dlopen"
12343 # if libdl is installed we need to link against it
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12346 if ${ac_cv_lib_dl_dlopen+:} false; then :
12347 $as_echo_n "(cached) " >&6
12349 ac_check_lib_save_LIBS=$LIBS
12351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352 /* end confdefs.h. */
12354 /* Override any GCC internal prototype to avoid an error.
12355 Use char because int might match the return type of a GCC
12356 builtin and then its argument prototype would still apply. */
12369 if ac_fn_c_try_link "$LINENO"; then :
12370 ac_cv_lib_dl_dlopen=yes
12372 ac_cv_lib_dl_dlopen=no
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 LIBS=$ac_check_lib_save_LIBS
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12380 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12381 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12384 lt_cv_dlopen="dyld"
12386 lt_cv_dlopen_self=yes
12393 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12394 if test "x$ac_cv_func_shl_load" = xyes; then :
12395 lt_cv_dlopen="shl_load"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12398 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12399 if ${ac_cv_lib_dld_shl_load+:} false; then :
12400 $as_echo_n "(cached) " >&6
12402 ac_check_lib_save_LIBS=$LIBS
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12407 /* Override any GCC internal prototype to avoid an error.
12408 Use char because int might match the return type of a GCC
12409 builtin and then its argument prototype would still apply. */
12417 return shl_load ();
12422 if ac_fn_c_try_link "$LINENO"; then :
12423 ac_cv_lib_dld_shl_load=yes
12425 ac_cv_lib_dld_shl_load=no
12427 rm -f core conftest.err conftest.$ac_objext \
12428 conftest$ac_exeext conftest.$ac_ext
12429 LIBS=$ac_check_lib_save_LIBS
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12432 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12433 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12434 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12436 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12437 if test "x$ac_cv_func_dlopen" = xyes; then :
12438 lt_cv_dlopen="dlopen"
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12441 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12442 if ${ac_cv_lib_dl_dlopen+:} false; then :
12443 $as_echo_n "(cached) " >&6
12445 ac_check_lib_save_LIBS=$LIBS
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12465 if ac_fn_c_try_link "$LINENO"; then :
12466 ac_cv_lib_dl_dlopen=yes
12468 ac_cv_lib_dl_dlopen=no
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 LIBS=$ac_check_lib_save_LIBS
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12475 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12476 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12477 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12480 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12481 if ${ac_cv_lib_svld_dlopen+:} false; then :
12482 $as_echo_n "(cached) " >&6
12484 ac_check_lib_save_LIBS=$LIBS
12485 LIBS="-lsvld $LIBS"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 /* Override any GCC internal prototype to avoid an error.
12490 Use char because int might match the return type of a GCC
12491 builtin and then its argument prototype would still apply. */
12504 if ac_fn_c_try_link "$LINENO"; then :
12505 ac_cv_lib_svld_dlopen=yes
12507 ac_cv_lib_svld_dlopen=no
12509 rm -f core conftest.err conftest.$ac_objext \
12510 conftest$ac_exeext conftest.$ac_ext
12511 LIBS=$ac_check_lib_save_LIBS
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12514 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12515 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12516 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12519 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12520 if ${ac_cv_lib_dld_dld_link+:} false; then :
12521 $as_echo_n "(cached) " >&6
12523 ac_check_lib_save_LIBS=$LIBS
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12538 return dld_link ();
12543 if ac_fn_c_try_link "$LINENO"; then :
12544 ac_cv_lib_dld_dld_link=yes
12546 ac_cv_lib_dld_dld_link=no
12548 rm -f core conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 LIBS=$ac_check_lib_save_LIBS
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12553 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12554 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12555 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12576 if test "x$lt_cv_dlopen" != xno; then
12582 case $lt_cv_dlopen in
12584 save_CPPFLAGS="$CPPFLAGS"
12585 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12587 save_LDFLAGS="$LDFLAGS"
12588 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12591 LIBS="$lt_cv_dlopen_libs $LIBS"
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12594 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12595 if ${lt_cv_dlopen_self+:} false; then :
12596 $as_echo_n "(cached) " >&6
12598 if test "$cross_compiling" = yes; then :
12599 lt_cv_dlopen_self=cross
12601 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12602 lt_status=$lt_dlunknown
12603 cat > conftest.$ac_ext <<_LT_EOF
12604 #line $LINENO "configure"
12605 #include "confdefs.h"
12614 # define LT_DLGLOBAL RTLD_GLOBAL
12617 # define LT_DLGLOBAL DL_GLOBAL
12619 # define LT_DLGLOBAL 0
12623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12624 find out it does not work in some platform. */
12625 #ifndef LT_DLLAZY_OR_NOW
12627 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12630 # define LT_DLLAZY_OR_NOW DL_LAZY
12633 # define LT_DLLAZY_OR_NOW RTLD_NOW
12636 # define LT_DLLAZY_OR_NOW DL_NOW
12638 # define LT_DLLAZY_OR_NOW 0
12645 /* When -fvisbility=hidden is used, assume the code has been annotated
12646 correspondingly for the symbols needed. */
12647 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12648 int fnord () __attribute__((visibility("default")));
12651 int fnord () { return 42; }
12654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12655 int status = $lt_dlunknown;
12659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12662 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12663 else puts (dlerror ());
12665 /* dlclose (self); */
12673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12674 (eval $ac_link) 2>&5
12676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12677 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12678 (./conftest; exit; ) >&5 2>/dev/null
12680 case x$lt_status in
12681 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12682 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12683 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12686 # compilation failed
12687 lt_cv_dlopen_self=no
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12695 $as_echo "$lt_cv_dlopen_self" >&6; }
12697 if test "x$lt_cv_dlopen_self" = xyes; then
12698 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12700 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12701 if ${lt_cv_dlopen_self_static+:} false; then :
12702 $as_echo_n "(cached) " >&6
12704 if test "$cross_compiling" = yes; then :
12705 lt_cv_dlopen_self_static=cross
12707 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12708 lt_status=$lt_dlunknown
12709 cat > conftest.$ac_ext <<_LT_EOF
12710 #line $LINENO "configure"
12711 #include "confdefs.h"
12720 # define LT_DLGLOBAL RTLD_GLOBAL
12723 # define LT_DLGLOBAL DL_GLOBAL
12725 # define LT_DLGLOBAL 0
12729 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12730 find out it does not work in some platform. */
12731 #ifndef LT_DLLAZY_OR_NOW
12733 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12736 # define LT_DLLAZY_OR_NOW DL_LAZY
12739 # define LT_DLLAZY_OR_NOW RTLD_NOW
12742 # define LT_DLLAZY_OR_NOW DL_NOW
12744 # define LT_DLLAZY_OR_NOW 0
12751 /* When -fvisbility=hidden is used, assume the code has been annotated
12752 correspondingly for the symbols needed. */
12753 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12754 int fnord () __attribute__((visibility("default")));
12757 int fnord () { return 42; }
12760 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12761 int status = $lt_dlunknown;
12765 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12768 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12769 else puts (dlerror ());
12771 /* dlclose (self); */
12779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12780 (eval $ac_link) 2>&5
12782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12783 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12784 (./conftest; exit; ) >&5 2>/dev/null
12786 case x$lt_status in
12787 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12788 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12789 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12792 # compilation failed
12793 lt_cv_dlopen_self_static=no
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12801 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12804 CPPFLAGS="$save_CPPFLAGS"
12805 LDFLAGS="$save_LDFLAGS"
12810 case $lt_cv_dlopen_self in
12811 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12812 *) enable_dlopen_self=unknown ;;
12815 case $lt_cv_dlopen_self_static in
12816 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12817 *) enable_dlopen_self_static=unknown ;;
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12840 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12841 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12842 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12843 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12845 $as_echo "yes" >&6; }
12847 # FIXME - insert some real tests, host_os isn't really good enough
12850 if test -n "$STRIP" ; then
12851 striplib="$STRIP -x"
12852 old_striplib="$STRIP -S"
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12854 $as_echo "yes" >&6; }
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12857 $as_echo "no" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12862 $as_echo "no" >&6; }
12878 # Report which library types will actually be built
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12880 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12882 $as_echo "$can_build_shared" >&6; }
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12885 $as_echo_n "checking whether to build shared libraries... " >&6; }
12886 test "$can_build_shared" = "no" && enable_shared=no
12888 # On AIX, shared libraries and static libraries use the same namespace, and
12889 # are all built from PIC.
12892 test "$enable_shared" = yes && enable_static=no
12893 if test -n "$RANLIB"; then
12894 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12895 postinstall_cmds='$RANLIB $lib'
12900 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12901 test "$enable_shared" = yes && enable_static=no
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12906 $as_echo "$enable_shared" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12909 $as_echo_n "checking whether to build static libraries... " >&6; }
12910 # Make sure either enable_shared or enable_static is yes.
12911 test "$enable_shared" = yes || enable_static=yes
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12913 $as_echo "$enable_static" >&6; }
12920 ac_cpp='$CPP $CPPFLAGS'
12921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12941 ac_config_commands="$ac_config_commands libtool"
12946 # Only expand once:
12950 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12951 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12955 cat >>confdefs.h <<_ACEOF
12960 cat >>confdefs.h <<_ACEOF
12965 cat >>confdefs.h <<_ACEOF
12970 cat >>confdefs.h <<_ACEOF
12974 version_info="8:5:7"
12978 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12979 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12983 ### Needed information
12990 MODULE_ARCH="$host_os-$host_cpu"
12993 MODULE_ARCH="$host_os-$host_cpu-1.7.5"
12998 cat >>confdefs.h <<_ACEOF
12999 #define MODULE_ARCH "$MODULE_ARCH"
13003 want_fontconfig="auto"
13004 want_fribidi="auto"
13005 want_harfbuzz="auto"
13007 want_evas_cserve="yes"
13008 want_evas_cserve2="yes"
13010 want_evas_engine_buffer="yes"
13011 want_evas_engine_software_xlib="no"
13012 want_evas_engine_software_xcb="no"
13013 want_evas_engine_software_gdi="no"
13014 want_evas_engine_software_ddraw="no"
13015 want_evas_engine_software_8_x11="no"
13016 want_evas_engine_software_16_x11="no"
13017 want_evas_engine_software_16_wince="no"
13018 want_evas_engine_software_16_sdl="no"
13019 want_evas_engine_gl_xlib="no"
13020 want_evas_engine_gl_xcb="no"
13021 want_evas_engine_gl_sdl="no"
13022 want_evas_engine_gl_cocoa="no"
13023 want_evas_engine_direct3d="no"
13024 want_evas_engine_fb="no"
13025 want_evas_engine_directfb="no"
13026 want_evas_engine_psl1ght="no"
13027 want_evas_engine_wayland_shm="no"
13028 want_evas_engine_wayland_egl="no"
13030 want_evas_image_loader_edb="yes"
13031 want_evas_image_loader_eet="yes"
13032 want_evas_image_loader_gif="yes"
13033 want_evas_image_loader_jpeg="yes"
13034 want_evas_image_loader_pmaps="yes"
13035 want_evas_image_loader_png="yes"
13036 want_evas_image_loader_svg="yes"
13037 want_evas_image_loader_tiff="yes"
13038 want_evas_image_loader_xpm="yes"
13039 want_evas_image_loader_bmp="yes"
13040 want_evas_image_loader_tga="yes"
13041 want_evas_image_loader_wbmp="yes"
13042 want_evas_image_loader_ico="yes"
13043 want_evas_image_loader_psd="yes"
13044 want_evas_image_loader_generic="yes"
13046 want_evas_font_loader_eet="yes"
13050 want_fontconfig="no"
13051 want_evas_engine_software_16_wince="yes"
13052 want_evas_image_loader_edb="no"
13053 want_evas_image_loader_gif="no"
13054 want_evas_image_loader_svg="no"
13055 want_evas_image_loader_tiff="no"
13058 want_evas_engine_software_gdi="yes"
13059 want_evas_engine_software_ddraw="yes"
13060 want_evas_engine_direct3d="yes"
13061 want_evas_image_loader_edb="no"
13062 want_evas_image_loader_svg="no"
13065 want_evas_engine_software_xlib="auto"
13066 want_evas_engine_gl_cocoa="auto"
13069 want_evas_engine_software_xlib="auto"
13070 want_evas_engine_gl_xlib="auto"
13071 want_evas_engine_software_xcb="no"
13072 want_evas_engine_gl_xcb="no"
13073 want_evas_engine_fb="auto"
13074 want_evas_engine_wayland_shm="auto"
13075 want_evas_engine_wayland_egl="auto"
13076 ### no - not ready/usable/complete
13077 # want_evas_engine_software_8_x11="auto"
13078 # want_evas_engine_software_16_x11="auto"
13082 case "$host_vendor" in
13084 want_evas_engine_psl1ght="static"
13088 requirement_evas=""
13091 ### Additional options to configure
13093 # when used, that option makes configure script fails when
13094 # a requirement is selected, but not met.
13096 # Check whether --enable-strict was given.
13097 if test "${enable_strict+set}" = set; then :
13098 enableval=$enable_strict; use_strict="yes"
13104 # Simple X11 build/link
13105 # Check whether --enable-simple-x11 was given.
13106 if test "${enable_simple_x11+set}" = set; then :
13107 enableval=$enable_simple_x11;
13108 if test "x${enableval}" = "xyes" ; then
13109 want_evas_simple_x11="yes"
13111 want_evas_simple_x11="no"
13118 ### Checks for programs
13122 ac_cpp='$OBJCPP $CPPFLAGS'
13123 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13124 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13125 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13126 if test -n "$ac_tool_prefix"; then
13127 for ac_prog in gcc objcc objc cc CC
13129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13132 $as_echo_n "checking for $ac_word... " >&6; }
13133 if ${ac_cv_prog_OBJC+:} false; then :
13134 $as_echo_n "(cached) " >&6
13136 if test -n "$OBJC"; then
13137 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
13139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13140 for as_dir in $PATH
13143 test -z "$as_dir" && as_dir=.
13144 for ac_exec_ext in '' $ac_executable_extensions; do
13145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13146 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
13147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13156 OBJC=$ac_cv_prog_OBJC
13157 if test -n "$OBJC"; then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
13159 $as_echo "$OBJC" >&6; }
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13162 $as_echo "no" >&6; }
13166 test -n "$OBJC" && break
13169 if test -z "$OBJC"; then
13171 for ac_prog in gcc objcc objc cc CC
13173 # Extract the first word of "$ac_prog", so it can be a program name with args.
13174 set dummy $ac_prog; ac_word=$2
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13176 $as_echo_n "checking for $ac_word... " >&6; }
13177 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
13178 $as_echo_n "(cached) " >&6
13180 if test -n "$ac_ct_OBJC"; then
13181 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
13183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13184 for as_dir in $PATH
13187 test -z "$as_dir" && as_dir=.
13188 for ac_exec_ext in '' $ac_executable_extensions; do
13189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13190 ac_cv_prog_ac_ct_OBJC="$ac_prog"
13191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13200 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
13201 if test -n "$ac_ct_OBJC"; then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
13203 $as_echo "$ac_ct_OBJC" >&6; }
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206 $as_echo "no" >&6; }
13210 test -n "$ac_ct_OBJC" && break
13213 if test "x$ac_ct_OBJC" = x; then
13216 case $cross_compiling:$ac_tool_warned in
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13220 ac_tool_warned=yes ;;
13226 # Provide some information about the compiler.
13227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
13230 for ac_option in --version -v -V -qversion; do
13231 { { ac_try="$ac_compiler $ac_option >&5"
13232 case "(($ac_try" in
13233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13234 *) ac_try_echo=$ac_try;;
13236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13237 $as_echo "$ac_try_echo"; } >&5
13238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13240 if test -s conftest.err; then
13242 ... rest of stderr output deleted ...
13243 10q' conftest.err >conftest.er1
13244 cat conftest.er1 >&5
13246 rm -f conftest.er1 conftest.err
13247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248 test $ac_status = 0; }
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
13252 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
13253 if ${ac_cv_objc_compiler_gnu+:} false; then :
13254 $as_echo_n "(cached) " >&6
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13270 if ac_fn_objc_try_compile "$LINENO"; then :
13271 ac_compiler_gnu=yes
13275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13276 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
13280 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
13281 if test $ac_compiler_gnu = yes; then
13286 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
13287 ac_save_OBJCFLAGS=$OBJCFLAGS
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
13289 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
13290 if ${ac_cv_prog_objc_g+:} false; then :
13291 $as_echo_n "(cached) " >&6
13293 ac_save_objc_werror_flag=$ac_objc_werror_flag
13294 ac_objc_werror_flag=yes
13295 ac_cv_prog_objc_g=no
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13298 /* end confdefs.h. */
13308 if ac_fn_objc_try_compile "$LINENO"; then :
13309 ac_cv_prog_objc_g=yes
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13323 if ac_fn_objc_try_compile "$LINENO"; then :
13326 ac_objc_werror_flag=$ac_save_objc_werror_flag
13328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13339 if ac_fn_objc_try_compile "$LINENO"; then :
13340 ac_cv_prog_objc_g=yes
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13347 ac_objc_werror_flag=$ac_save_objc_werror_flag
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
13350 $as_echo "$ac_cv_prog_objc_g" >&6; }
13351 if test "$ac_test_OBJCFLAGS" = set; then
13352 OBJCFLAGS=$ac_save_OBJCFLAGS
13353 elif test $ac_cv_prog_objc_g = yes; then
13354 if test "$GOBJC" = yes; then
13360 if test "$GOBJC" = yes; then
13367 ac_cpp='$CPP $CPPFLAGS'
13368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13372 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13375 $as_echo_n "checking dependency style of $depcc... " >&6; }
13376 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13377 $as_echo_n "(cached) " >&6
13379 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13380 # We make a subdir and do the tests there. Otherwise we can end up
13381 # making bogus files that we don't know about and never remove. For
13382 # instance it was reported that on HP-UX the gcc test will end up
13383 # making a dummy file named `D' -- because `-MD' means `put the output
13385 rm -rf conftest.dir
13387 # Copy depcomp to subdir because otherwise we won't find it if we're
13388 # using a relative directory.
13389 cp "$am_depcomp" conftest.dir
13391 # We will build objects and dependencies in a subdirectory because
13392 # it helps to detect inapplicable dependency modes. For instance
13393 # both Tru64's cc and ICC support -MD to output dependencies as a
13394 # side effect of compilation, but ICC will put the dependencies in
13395 # the current directory while Tru64 will put them in the object
13399 am_cv_OBJC_dependencies_compiler_type=none
13400 if test "$am_compiler_list" = ""; then
13401 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13403 am__universal=false
13406 for depmode in $am_compiler_list; do
13407 # Setup a source with many dependencies, because some compilers
13408 # like to wrap large dependency lists on column 80 (with \), and
13409 # we should not choose a depcomp mode which is confused by this.
13411 # We need to recreate these files for each test, as the compiler may
13412 # overwrite some of them when testing with obscure command lines.
13413 # This happens at least with the AIX C compiler.
13415 for i in 1 2 3 4 5 6; do
13416 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13417 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13418 # Solaris 8's {/usr,}/bin/sh.
13419 touch sub/conftst$i.h
13421 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13423 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13424 # mode. It turns out that the SunPro C++ compiler does not properly
13425 # handle `-M -o', and we need to detect this. Also, some Intel
13426 # versions had trouble with output in subdirs
13427 am__obj=sub/conftest.${OBJEXT-o}
13428 am__minus_obj="-o $am__obj"
13431 # This depmode causes a compiler race in universal mode.
13432 test "$am__universal" = false || continue
13435 # after this tag, mechanisms are not by side-effect, so they'll
13436 # only be used when explicitly requested
13437 if test "x$enable_dependency_tracking" = xyes; then
13443 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13444 # This compiler won't grok `-c -o', but also, the minuso test has
13445 # not run yet. These depmodes are late enough in the game, and
13446 # so weak that their functioning should not be impacted.
13447 am__obj=conftest.${OBJEXT-o}
13452 if depmode=$depmode \
13453 source=sub/conftest.c object=$am__obj \
13454 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13455 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13456 >/dev/null 2>conftest.err &&
13457 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13458 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13459 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13460 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13461 # icc doesn't choke on unknown options, it will just issue warnings
13462 # or remarks (even with -Werror). So we grep stderr for any message
13463 # that says an option was ignored or not supported.
13464 # When given -MP, icc 7.0 and 7.1 complain thusly:
13465 # icc: Command line warning: ignoring option '-M'; no argument required
13466 # The diagnosis changed in icc 8.0:
13467 # icc: Command line remark: option '-MP' not supported
13468 if (grep 'ignoring option' conftest.err ||
13469 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13470 am_cv_OBJC_dependencies_compiler_type=$depmode
13477 rm -rf conftest.dir
13479 am_cv_OBJC_dependencies_compiler_type=none
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13484 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13485 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13488 test "x$enable_dependency_tracking" != xno \
13489 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13490 am__fastdepOBJC_TRUE=
13491 am__fastdepOBJC_FALSE='#'
13493 am__fastdepOBJC_TRUE='#'
13494 am__fastdepOBJC_FALSE=
13499 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13502 $as_echo_n "checking dependency style of $depcc... " >&6; }
13503 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13504 $as_echo_n "(cached) " >&6
13506 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13507 # We make a subdir and do the tests there. Otherwise we can end up
13508 # making bogus files that we don't know about and never remove. For
13509 # instance it was reported that on HP-UX the gcc test will end up
13510 # making a dummy file named `D' -- because `-MD' means `put the output
13512 rm -rf conftest.dir
13514 # Copy depcomp to subdir because otherwise we won't find it if we're
13515 # using a relative directory.
13516 cp "$am_depcomp" conftest.dir
13518 # We will build objects and dependencies in a subdirectory because
13519 # it helps to detect inapplicable dependency modes. For instance
13520 # both Tru64's cc and ICC support -MD to output dependencies as a
13521 # side effect of compilation, but ICC will put the dependencies in
13522 # the current directory while Tru64 will put them in the object
13526 am_cv_OBJC_dependencies_compiler_type=none
13527 if test "$am_compiler_list" = ""; then
13528 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13530 am__universal=false
13533 for depmode in $am_compiler_list; do
13534 # Setup a source with many dependencies, because some compilers
13535 # like to wrap large dependency lists on column 80 (with \), and
13536 # we should not choose a depcomp mode which is confused by this.
13538 # We need to recreate these files for each test, as the compiler may
13539 # overwrite some of them when testing with obscure command lines.
13540 # This happens at least with the AIX C compiler.
13542 for i in 1 2 3 4 5 6; do
13543 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13544 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13545 # Solaris 8's {/usr,}/bin/sh.
13546 touch sub/conftst$i.h
13548 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13550 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13551 # mode. It turns out that the SunPro C++ compiler does not properly
13552 # handle `-M -o', and we need to detect this. Also, some Intel
13553 # versions had trouble with output in subdirs
13554 am__obj=sub/conftest.${OBJEXT-o}
13555 am__minus_obj="-o $am__obj"
13558 # This depmode causes a compiler race in universal mode.
13559 test "$am__universal" = false || continue
13562 # after this tag, mechanisms are not by side-effect, so they'll
13563 # only be used when explicitly requested
13564 if test "x$enable_dependency_tracking" = xyes; then
13570 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13571 # This compiler won't grok `-c -o', but also, the minuso test has
13572 # not run yet. These depmodes are late enough in the game, and
13573 # so weak that their functioning should not be impacted.
13574 am__obj=conftest.${OBJEXT-o}
13579 if depmode=$depmode \
13580 source=sub/conftest.c object=$am__obj \
13581 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13582 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13583 >/dev/null 2>conftest.err &&
13584 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13585 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13586 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13587 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13588 # icc doesn't choke on unknown options, it will just issue warnings
13589 # or remarks (even with -Werror). So we grep stderr for any message
13590 # that says an option was ignored or not supported.
13591 # When given -MP, icc 7.0 and 7.1 complain thusly:
13592 # icc: Command line warning: ignoring option '-M'; no argument required
13593 # The diagnosis changed in icc 8.0:
13594 # icc: Command line remark: option '-MP' not supported
13595 if (grep 'ignoring option' conftest.err ||
13596 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13597 am_cv_OBJC_dependencies_compiler_type=$depmode
13604 rm -rf conftest.dir
13606 am_cv_OBJC_dependencies_compiler_type=none
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13611 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13612 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13615 test "x$enable_dependency_tracking" != xno \
13616 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13617 am__fastdepOBJC_TRUE=
13618 am__fastdepOBJC_FALSE='#'
13620 am__fastdepOBJC_TRUE='#'
13621 am__fastdepOBJC_FALSE=
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
13629 $as_echo_n "checking whether the Objective C compiler works... " >&6; }
13630 if ${rw_cv_prog_objc_works+:} false; then :
13631 $as_echo_n "(cached) " >&6
13634 ac_cpp='$OBJCPP $CPPFLAGS'
13635 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13636 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13637 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13640 /* end confdefs.h. */
13650 if ac_fn_objc_try_link "$LINENO"; then :
13651 rw_cv_prog_objc_works=yes
13653 rw_cv_prog_objc_works=no
13655 rm -f core conftest.err conftest.$ac_objext \
13656 conftest$ac_exeext conftest.$ac_ext
13658 ac_cpp='$CPP $CPPFLAGS'
13659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
13665 $as_echo "$rw_cv_prog_objc_works" >&6; }
13669 ac_cpp='$CXXCPP $CPPFLAGS'
13670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13673 if test -z "$CXX"; then
13674 if test -n "$CCC"; then
13677 if test -n "$ac_tool_prefix"; then
13678 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13681 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13683 $as_echo_n "checking for $ac_word... " >&6; }
13684 if ${ac_cv_prog_CXX+:} false; then :
13685 $as_echo_n "(cached) " >&6
13687 if test -n "$CXX"; then
13688 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13691 for as_dir in $PATH
13694 test -z "$as_dir" && as_dir=.
13695 for ac_exec_ext in '' $ac_executable_extensions; do
13696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13697 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13707 CXX=$ac_cv_prog_CXX
13708 if test -n "$CXX"; then
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13710 $as_echo "$CXX" >&6; }
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713 $as_echo "no" >&6; }
13717 test -n "$CXX" && break
13720 if test -z "$CXX"; then
13722 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13724 # Extract the first word of "$ac_prog", so it can be a program name with args.
13725 set dummy $ac_prog; ac_word=$2
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13727 $as_echo_n "checking for $ac_word... " >&6; }
13728 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13729 $as_echo_n "(cached) " >&6
13731 if test -n "$ac_ct_CXX"; then
13732 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13735 for as_dir in $PATH
13738 test -z "$as_dir" && as_dir=.
13739 for ac_exec_ext in '' $ac_executable_extensions; do
13740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13741 ac_cv_prog_ac_ct_CXX="$ac_prog"
13742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13751 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13752 if test -n "$ac_ct_CXX"; then
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13754 $as_echo "$ac_ct_CXX" >&6; }
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13757 $as_echo "no" >&6; }
13761 test -n "$ac_ct_CXX" && break
13764 if test "x$ac_ct_CXX" = x; then
13767 case $cross_compiling:$ac_tool_warned in
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13771 ac_tool_warned=yes ;;
13779 # Provide some information about the compiler.
13780 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13783 for ac_option in --version -v -V -qversion; do
13784 { { ac_try="$ac_compiler $ac_option >&5"
13785 case "(($ac_try" in
13786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13787 *) ac_try_echo=$ac_try;;
13789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13790 $as_echo "$ac_try_echo"; } >&5
13791 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13793 if test -s conftest.err; then
13795 ... rest of stderr output deleted ...
13796 10q' conftest.err >conftest.er1
13797 cat conftest.er1 >&5
13799 rm -f conftest.er1 conftest.err
13800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13801 test $ac_status = 0; }
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13805 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13806 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13807 $as_echo_n "(cached) " >&6
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13823 if ac_fn_cxx_try_compile "$LINENO"; then :
13824 ac_compiler_gnu=yes
13828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13829 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13833 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13834 if test $ac_compiler_gnu = yes; then
13839 ac_test_CXXFLAGS=${CXXFLAGS+set}
13840 ac_save_CXXFLAGS=$CXXFLAGS
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13842 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13843 if ${ac_cv_prog_cxx_g+:} false; then :
13844 $as_echo_n "(cached) " >&6
13846 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13847 ac_cxx_werror_flag=yes
13848 ac_cv_prog_cxx_g=no
13850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13851 /* end confdefs.h. */
13861 if ac_fn_cxx_try_compile "$LINENO"; then :
13862 ac_cv_prog_cxx_g=yes
13865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13866 /* end confdefs.h. */
13876 if ac_fn_cxx_try_compile "$LINENO"; then :
13879 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13892 if ac_fn_cxx_try_compile "$LINENO"; then :
13893 ac_cv_prog_cxx_g=yes
13895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13900 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13903 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13904 if test "$ac_test_CXXFLAGS" = set; then
13905 CXXFLAGS=$ac_save_CXXFLAGS
13906 elif test $ac_cv_prog_cxx_g = yes; then
13907 if test "$GXX" = yes; then
13913 if test "$GXX" = yes; then
13920 ac_cpp='$CPP $CPPFLAGS'
13921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13925 depcc="$CXX" am_compiler_list=
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13928 $as_echo_n "checking dependency style of $depcc... " >&6; }
13929 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13930 $as_echo_n "(cached) " >&6
13932 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13933 # We make a subdir and do the tests there. Otherwise we can end up
13934 # making bogus files that we don't know about and never remove. For
13935 # instance it was reported that on HP-UX the gcc test will end up
13936 # making a dummy file named `D' -- because `-MD' means `put the output
13938 rm -rf conftest.dir
13940 # Copy depcomp to subdir because otherwise we won't find it if we're
13941 # using a relative directory.
13942 cp "$am_depcomp" conftest.dir
13944 # We will build objects and dependencies in a subdirectory because
13945 # it helps to detect inapplicable dependency modes. For instance
13946 # both Tru64's cc and ICC support -MD to output dependencies as a
13947 # side effect of compilation, but ICC will put the dependencies in
13948 # the current directory while Tru64 will put them in the object
13952 am_cv_CXX_dependencies_compiler_type=none
13953 if test "$am_compiler_list" = ""; then
13954 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13956 am__universal=false
13957 case " $depcc " in #(
13958 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13961 for depmode in $am_compiler_list; do
13962 # Setup a source with many dependencies, because some compilers
13963 # like to wrap large dependency lists on column 80 (with \), and
13964 # we should not choose a depcomp mode which is confused by this.
13966 # We need to recreate these files for each test, as the compiler may
13967 # overwrite some of them when testing with obscure command lines.
13968 # This happens at least with the AIX C compiler.
13970 for i in 1 2 3 4 5 6; do
13971 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13972 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13973 # Solaris 8's {/usr,}/bin/sh.
13974 touch sub/conftst$i.h
13976 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13978 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13979 # mode. It turns out that the SunPro C++ compiler does not properly
13980 # handle `-M -o', and we need to detect this. Also, some Intel
13981 # versions had trouble with output in subdirs
13982 am__obj=sub/conftest.${OBJEXT-o}
13983 am__minus_obj="-o $am__obj"
13986 # This depmode causes a compiler race in universal mode.
13987 test "$am__universal" = false || continue
13990 # after this tag, mechanisms are not by side-effect, so they'll
13991 # only be used when explicitly requested
13992 if test "x$enable_dependency_tracking" = xyes; then
13998 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13999 # This compiler won't grok `-c -o', but also, the minuso test has
14000 # not run yet. These depmodes are late enough in the game, and
14001 # so weak that their functioning should not be impacted.
14002 am__obj=conftest.${OBJEXT-o}
14007 if depmode=$depmode \
14008 source=sub/conftest.c object=$am__obj \
14009 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14010 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14011 >/dev/null 2>conftest.err &&
14012 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14013 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14014 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14015 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14016 # icc doesn't choke on unknown options, it will just issue warnings
14017 # or remarks (even with -Werror). So we grep stderr for any message
14018 # that says an option was ignored or not supported.
14019 # When given -MP, icc 7.0 and 7.1 complain thusly:
14020 # icc: Command line warning: ignoring option '-M'; no argument required
14021 # The diagnosis changed in icc 8.0:
14022 # icc: Command line remark: option '-MP' not supported
14023 if (grep 'ignoring option' conftest.err ||
14024 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14025 am_cv_CXX_dependencies_compiler_type=$depmode
14032 rm -rf conftest.dir
14034 am_cv_CXX_dependencies_compiler_type=none
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14039 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14040 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14043 test "x$enable_dependency_tracking" != xno \
14044 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14045 am__fastdepCXX_TRUE=
14046 am__fastdepCXX_FALSE='#'
14048 am__fastdepCXX_TRUE='#'
14049 am__fastdepCXX_FALSE=
14055 func_stripname_cnf ()
14058 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14059 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14061 } # func_stripname_cnf
14063 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14064 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14065 (test "X$CXX" != "Xg++"))) ; then
14067 ac_cpp='$CXXCPP $CPPFLAGS'
14068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14072 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14073 if test -z "$CXXCPP"; then
14074 if ${ac_cv_prog_CXXCPP+:} false; then :
14075 $as_echo_n "(cached) " >&6
14077 # Double quotes because CXXCPP needs to be expanded
14078 for CXXCPP in "$CXX -E" "/lib/cpp"
14080 ac_preproc_ok=false
14081 for ac_cxx_preproc_warn_flag in '' yes
14083 # Use a header file that comes with gcc, so configuring glibc
14084 # with a fresh cross-compiler works.
14085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14086 # <limits.h> exists even on freestanding compilers.
14087 # On the NeXT, cc -E runs the code through the compiler's parser,
14088 # not just through cpp. "Syntax error" is here to catch this case.
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14092 # include <limits.h>
14094 # include <assert.h>
14098 if ac_fn_cxx_try_cpp "$LINENO"; then :
14101 # Broken: fails on valid input.
14104 rm -f conftest.err conftest.i conftest.$ac_ext
14106 # OK, works on sane cases. Now check whether nonexistent headers
14107 # can be detected and how.
14108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14109 /* end confdefs.h. */
14110 #include <ac_nonexistent.h>
14112 if ac_fn_cxx_try_cpp "$LINENO"; then :
14113 # Broken: success on invalid input.
14116 # Passes both tests.
14120 rm -f conftest.err conftest.i conftest.$ac_ext
14123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14124 rm -f conftest.i conftest.err conftest.$ac_ext
14125 if $ac_preproc_ok; then :
14130 ac_cv_prog_CXXCPP=$CXXCPP
14133 CXXCPP=$ac_cv_prog_CXXCPP
14135 ac_cv_prog_CXXCPP=$CXXCPP
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14138 $as_echo "$CXXCPP" >&6; }
14139 ac_preproc_ok=false
14140 for ac_cxx_preproc_warn_flag in '' yes
14142 # Use a header file that comes with gcc, so configuring glibc
14143 # with a fresh cross-compiler works.
14144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14145 # <limits.h> exists even on freestanding compilers.
14146 # On the NeXT, cc -E runs the code through the compiler's parser,
14147 # not just through cpp. "Syntax error" is here to catch this case.
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14151 # include <limits.h>
14153 # include <assert.h>
14157 if ac_fn_cxx_try_cpp "$LINENO"; then :
14160 # Broken: fails on valid input.
14163 rm -f conftest.err conftest.i conftest.$ac_ext
14165 # OK, works on sane cases. Now check whether nonexistent headers
14166 # can be detected and how.
14167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14168 /* end confdefs.h. */
14169 #include <ac_nonexistent.h>
14171 if ac_fn_cxx_try_cpp "$LINENO"; then :
14172 # Broken: success on invalid input.
14175 # Passes both tests.
14179 rm -f conftest.err conftest.i conftest.$ac_ext
14182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14183 rm -f conftest.i conftest.err conftest.$ac_ext
14184 if $ac_preproc_ok; then :
14187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14189 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14190 See \`config.log' for more details" "$LINENO" 5; }
14194 ac_cpp='$CPP $CPPFLAGS'
14195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14200 _lt_caught_CXX_error=yes
14204 ac_cpp='$CXXCPP $CPPFLAGS'
14205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14209 archive_cmds_need_lc_CXX=no
14210 allow_undefined_flag_CXX=
14211 always_export_symbols_CXX=no
14212 archive_expsym_cmds_CXX=
14213 compiler_needs_object_CXX=no
14214 export_dynamic_flag_spec_CXX=
14215 hardcode_direct_CXX=no
14216 hardcode_direct_absolute_CXX=no
14217 hardcode_libdir_flag_spec_CXX=
14218 hardcode_libdir_separator_CXX=
14219 hardcode_minus_L_CXX=no
14220 hardcode_shlibpath_var_CXX=unsupported
14221 hardcode_automatic_CXX=no
14222 inherit_rpath_CXX=no
14224 module_expsym_cmds_CXX=
14225 link_all_deplibs_CXX=unknown
14226 old_archive_cmds_CXX=$old_archive_cmds
14227 reload_flag_CXX=$reload_flag
14228 reload_cmds_CXX=$reload_cmds
14229 no_undefined_flag_CXX=
14230 whole_archive_flag_spec_CXX=
14231 enable_shared_with_static_runtimes_CXX=no
14233 # Source file extension for C++ test sources.
14236 # Object file extension for compiled C++ test sources.
14240 # No sense in running all these tests if we already determined that
14241 # the CXX compiler isn't working. Some variables (like enable_shared)
14242 # are currently assumed to apply to all compilers on this platform,
14243 # and will be corrupted by setting them based on a non-working compiler.
14244 if test "$_lt_caught_CXX_error" != yes; then
14245 # Code to be used in simple compile tests
14246 lt_simple_compile_test_code="int some_variable = 0;"
14248 # Code to be used in simple link tests
14249 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14251 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14258 # If no C compiler was specified, use CC.
14261 # If no C compiler flags were specified, use CFLAGS.
14262 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14264 # Allow CC to be a program name with arguments.
14268 # save warnings/boilerplate of simple test code
14269 ac_outfile=conftest.$ac_objext
14270 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14271 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14272 _lt_compiler_boilerplate=`cat conftest.err`
14275 ac_outfile=conftest.$ac_objext
14276 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14277 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14278 _lt_linker_boilerplate=`cat conftest.err`
14282 # Allow CC to be a program name with arguments.
14284 lt_save_CFLAGS=$CFLAGS
14288 lt_save_with_gnu_ld=$with_gnu_ld
14289 lt_save_path_LD=$lt_cv_path_LD
14290 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14291 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14293 $as_unset lt_cv_prog_gnu_ld
14295 if test -n "${lt_cv_path_LDCXX+set}"; then
14296 lt_cv_path_LD=$lt_cv_path_LDCXX
14298 $as_unset lt_cv_path_LD
14300 test -z "${LDCXX+set}" || LD=$LDCXX
14305 for cc_temp in $compiler""; do
14307 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14308 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14313 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14316 if test -n "$compiler"; then
14317 # We don't want -fno-exception when compiling C++ code, so set the
14318 # no_builtin_flag separately
14319 if test "$GXX" = yes; then
14320 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14322 lt_prog_compiler_no_builtin_flag_CXX=
14325 if test "$GXX" = yes; then
14326 # Set up default GNU C++ configuration
14330 # Check whether --with-gnu-ld was given.
14331 if test "${with_gnu_ld+set}" = set; then :
14332 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14338 if test "$GCC" = yes; then
14339 # Check if gcc -print-prog-name=ld gives a path.
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14341 $as_echo_n "checking for ld used by $CC... " >&6; }
14344 # gcc leaves a trailing carriage return which upsets mingw
14345 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14347 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14350 # Accept absolute paths.
14352 re_direlt='/[^/][^/]*/\.\./'
14353 # Canonicalize the pathname of ld
14354 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14355 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14356 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14358 test -z "$LD" && LD="$ac_prog"
14361 # If it fails, then pretend we aren't using GCC.
14365 # If it is relative, then search for the first ld in PATH.
14366 with_gnu_ld=unknown
14369 elif test "$with_gnu_ld" = yes; then
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14371 $as_echo_n "checking for GNU ld... " >&6; }
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14374 $as_echo_n "checking for non-GNU ld... " >&6; }
14376 if ${lt_cv_path_LD+:} false; then :
14377 $as_echo_n "(cached) " >&6
14379 if test -z "$LD"; then
14380 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14381 for ac_dir in $PATH; do
14383 test -z "$ac_dir" && ac_dir=.
14384 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14385 lt_cv_path_LD="$ac_dir/$ac_prog"
14386 # Check to see if the program is GNU ld. I'd rather use --version,
14387 # but apparently some variants of GNU ld only accept -v.
14388 # Break only if it was the GNU/non-GNU ld that we prefer.
14389 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14390 *GNU* | *'with BFD'*)
14391 test "$with_gnu_ld" != no && break
14394 test "$with_gnu_ld" != yes && break
14401 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14405 LD="$lt_cv_path_LD"
14406 if test -n "$LD"; then
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14408 $as_echo "$LD" >&6; }
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14411 $as_echo "no" >&6; }
14413 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14415 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14416 if ${lt_cv_prog_gnu_ld+:} false; then :
14417 $as_echo_n "(cached) " >&6
14419 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14420 case `$LD -v 2>&1 </dev/null` in
14421 *GNU* | *'with BFD'*)
14422 lt_cv_prog_gnu_ld=yes
14425 lt_cv_prog_gnu_ld=no
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14430 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14431 with_gnu_ld=$lt_cv_prog_gnu_ld
14439 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14440 # archiving commands below assume that GNU ld is being used.
14441 if test "$with_gnu_ld" = yes; then
14442 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14443 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'
14445 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14446 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14448 # If archive_cmds runs LD, not CC, wlarc should be empty
14449 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14450 # investigate it a little bit more. (MM)
14453 # ancient GNU ld didn't support --whole-archive et. al.
14454 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14455 $GREP 'no-whole-archive' > /dev/null; then
14456 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14458 whole_archive_flag_spec_CXX=
14464 # A generic and very simple default shared library creation
14465 # command for GNU C++ for the case where it uses the native
14466 # linker, instead of GNU ld. If possible, this setting should
14467 # overridden to take advantage of the native linker features on
14468 # the platform it is being used on.
14469 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14472 # Commands to make compiler produce verbose output that lists
14473 # what "hidden" libraries, object files and flags are used when
14474 # linking a shared library.
14475 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14483 # PORTME: fill in a description of your system's C++ link characteristics
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14485 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14489 # FIXME: insert proper C++ library support
14493 if test "$host_cpu" = ia64; then
14494 # On IA64, the linker does run time linking by default, so we don't
14495 # have to do anything special.
14496 aix_use_runtimelinking=no
14497 exp_sym_flag='-Bexport'
14500 aix_use_runtimelinking=no
14502 # Test if we are trying to use run time linking or normal
14503 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14504 # need to do runtime linking.
14505 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14506 for ld_flag in $LDFLAGS; do
14509 aix_use_runtimelinking=yes
14517 exp_sym_flag='-bexport'
14518 no_entry_flag='-bnoentry'
14521 # When large executables or shared objects are built, AIX ld can
14522 # have problems creating the table of contents. If linking a library
14523 # or program results in "error TOC overflow" add -mminimal-toc to
14524 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14525 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14527 archive_cmds_CXX=''
14528 hardcode_direct_CXX=yes
14529 hardcode_direct_absolute_CXX=yes
14530 hardcode_libdir_separator_CXX=':'
14531 link_all_deplibs_CXX=yes
14532 file_list_spec_CXX='${wl}-f,'
14534 if test "$GXX" = yes; then
14535 case $host_os in aix4.[012]|aix4.[012].*)
14536 # We only want to do this on AIX 4.2 and lower, the check
14537 # below for broken collect2 doesn't work under 4.3+
14538 collect2name=`${CC} -print-prog-name=collect2`
14539 if test -f "$collect2name" &&
14540 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14542 # We have reworked collect2
14545 # We have old collect2
14546 hardcode_direct_CXX=unsupported
14547 # It fails to find uninstalled libraries when the uninstalled
14548 # path is not listed in the libpath. Setting hardcode_minus_L
14549 # to unsupported forces relinking
14550 hardcode_minus_L_CXX=yes
14551 hardcode_libdir_flag_spec_CXX='-L$libdir'
14552 hardcode_libdir_separator_CXX=
14555 shared_flag='-shared'
14556 if test "$aix_use_runtimelinking" = yes; then
14557 shared_flag="$shared_flag "'${wl}-G'
14561 if test "$host_cpu" = ia64; then
14562 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14563 # chokes on -Wl,-G. The following line is correct:
14566 if test "$aix_use_runtimelinking" = yes; then
14567 shared_flag='${wl}-G'
14569 shared_flag='${wl}-bM:SRE'
14574 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14575 # It seems that -bexpall does not export symbols beginning with
14576 # underscore (_), so it is better to generate a list of symbols to
14578 always_export_symbols_CXX=yes
14579 if test "$aix_use_runtimelinking" = yes; then
14580 # Warning - without using the other runtime loading flags (-brtl),
14581 # -berok will link without error, but may produce a broken library.
14582 allow_undefined_flag_CXX='-berok'
14583 # Determine the default libpath from the value encoded in an empty
14585 if test "${lt_cv_aix_libpath+set}" = set; then
14586 aix_libpath=$lt_cv_aix_libpath
14588 if ${lt_cv_aix_libpath__CXX+:} false; then :
14589 $as_echo_n "(cached) " >&6
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14602 if ac_fn_cxx_try_link "$LINENO"; then :
14604 lt_aix_libpath_sed='
14605 /Import File Strings/,/^$/ {
14607 s/^0 *\([^ ]*\) *$/\1/
14611 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14612 # Check for a 64-bit object if we didn't find anything.
14613 if test -z "$lt_cv_aix_libpath__CXX"; then
14614 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14617 rm -f core conftest.err conftest.$ac_objext \
14618 conftest$ac_exeext conftest.$ac_ext
14619 if test -z "$lt_cv_aix_libpath__CXX"; then
14620 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14625 aix_libpath=$lt_cv_aix_libpath__CXX
14628 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14630 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"
14632 if test "$host_cpu" = ia64; then
14633 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14634 allow_undefined_flag_CXX="-z nodefs"
14635 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"
14637 # Determine the default libpath from the value encoded in an
14638 # empty executable.
14639 if test "${lt_cv_aix_libpath+set}" = set; then
14640 aix_libpath=$lt_cv_aix_libpath
14642 if ${lt_cv_aix_libpath__CXX+:} false; then :
14643 $as_echo_n "(cached) " >&6
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14656 if ac_fn_cxx_try_link "$LINENO"; then :
14658 lt_aix_libpath_sed='
14659 /Import File Strings/,/^$/ {
14661 s/^0 *\([^ ]*\) *$/\1/
14665 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14666 # Check for a 64-bit object if we didn't find anything.
14667 if test -z "$lt_cv_aix_libpath__CXX"; then
14668 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 if test -z "$lt_cv_aix_libpath__CXX"; then
14674 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14679 aix_libpath=$lt_cv_aix_libpath__CXX
14682 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14683 # Warning - without using the other run time loading flags,
14684 # -berok will link without error, but may produce a broken library.
14685 no_undefined_flag_CXX=' ${wl}-bernotok'
14686 allow_undefined_flag_CXX=' ${wl}-berok'
14687 if test "$with_gnu_ld" = yes; then
14688 # We only use this code for GNU lds that support --whole-archive.
14689 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14691 # Exported symbols can be pulled into shared objects from archives
14692 whole_archive_flag_spec_CXX='$convenience'
14694 archive_cmds_need_lc_CXX=yes
14695 # This is similar to how AIX traditionally builds its shared
14697 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'
14703 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14704 allow_undefined_flag_CXX=unsupported
14705 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14706 # support --undefined. This deserves some investigation. FIXME
14707 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14714 case $cc_basename in
14716 # FIXME: insert proper C++ library support
14722 cygwin* | mingw* | pw32* | cegcc*)
14723 case $GXX,$cc_basename in
14726 # hardcode_libdir_flag_spec is actually meaningless, as there is
14727 # no search path for DLLs.
14728 hardcode_libdir_flag_spec_CXX=' '
14729 allow_undefined_flag_CXX=unsupported
14730 always_export_symbols_CXX=yes
14731 file_list_spec_CXX='@'
14732 # Tell ltmain to make .lib files, not .a files.
14734 # Tell ltmain to make .dll files, not .so files.
14736 # FIXME: Setting linknames here is a bad hack.
14737 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14738 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14739 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14741 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14743 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14745 # The linker will not automatically build a static lib if we build a DLL.
14746 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14747 enable_shared_with_static_runtimes_CXX=yes
14749 old_postinstall_cmds_CXX='chmod 644 $oldlib'
14750 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14751 lt_tool_outputfile="@TOOL_OUTPUT@"~
14752 case $lt_outputfile in
14755 lt_outputfile="$lt_outputfile.exe"
14756 lt_tool_outputfile="$lt_tool_outputfile.exe"
14759 func_to_tool_file "$lt_outputfile"~
14760 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14761 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14762 $RM "$lt_outputfile.manifest";
14767 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14768 # as there is no search path for DLLs.
14769 hardcode_libdir_flag_spec_CXX='-L$libdir'
14770 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14771 allow_undefined_flag_CXX=unsupported
14772 always_export_symbols_CXX=no
14773 enable_shared_with_static_runtimes_CXX=yes
14775 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14776 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'
14777 # If the export-symbols file already is a .def file (1st line
14778 # is EXPORTS), use it as is; otherwise, prepend...
14779 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14780 cp $export_symbols $output_objdir/$soname.def;
14782 echo EXPORTS > $output_objdir/$soname.def;
14783 cat $export_symbols >> $output_objdir/$soname.def;
14785 $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'
14792 darwin* | rhapsody*)
14795 archive_cmds_need_lc_CXX=no
14796 hardcode_direct_CXX=no
14797 hardcode_automatic_CXX=yes
14798 hardcode_shlibpath_var_CXX=unsupported
14799 if test "$lt_cv_ld_force_load" = "yes"; then
14800 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\"`'
14803 whole_archive_flag_spec_CXX=''
14805 link_all_deplibs_CXX=yes
14806 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14807 case $cc_basename in
14808 ifort*) _lt_dar_can_shared=yes ;;
14809 *) _lt_dar_can_shared=$GCC ;;
14811 if test "$_lt_dar_can_shared" = "yes"; then
14812 output_verbose_link_cmd=func_echo_all
14813 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}"
14814 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14815 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}"
14816 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}"
14817 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14818 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}"
14819 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}"
14829 case $cc_basename in
14831 # FIXME: insert proper C++ library support
14835 # Green Hills C++ Compiler
14836 # FIXME: insert proper C++ library support
14840 # FIXME: insert proper C++ library support
14847 # C++ shared libraries reported to be fairly broken before
14853 archive_cmds_need_lc_CXX=no
14856 freebsd* | dragonfly*)
14857 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14866 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14867 link_all_deplibs_CXX=yes
14871 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14872 hardcode_libdir_separator_CXX=:
14873 export_dynamic_flag_spec_CXX='${wl}-E'
14874 hardcode_direct_CXX=yes
14875 hardcode_minus_L_CXX=yes # Not in the search PATH,
14876 # but as the default
14877 # location of the library.
14879 case $cc_basename in
14881 # FIXME: insert proper C++ library support
14885 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'
14886 # Commands to make compiler produce verbose output that lists
14887 # what "hidden" libraries, object files and flags are used when
14888 # linking a shared library.
14890 # There doesn't appear to be a way to prevent this compiler from
14891 # explicitly linking system object files so we need to strip them
14892 # from the output so that they don't get included in the library
14894 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"'
14897 if test "$GXX" = yes; then
14898 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'
14900 # FIXME: insert proper C++ library support
14908 if test $with_gnu_ld = no; then
14909 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14910 hardcode_libdir_separator_CXX=:
14916 export_dynamic_flag_spec_CXX='${wl}-E'
14922 hardcode_direct_CXX=no
14923 hardcode_shlibpath_var_CXX=no
14926 hardcode_direct_CXX=yes
14927 hardcode_direct_absolute_CXX=yes
14928 hardcode_minus_L_CXX=yes # Not in the search PATH,
14929 # but as the default
14930 # location of the library.
14934 case $cc_basename in
14936 # FIXME: insert proper C++ library support
14942 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14945 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14948 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14951 # Commands to make compiler produce verbose output that lists
14952 # what "hidden" libraries, object files and flags are used when
14953 # linking a shared library.
14955 # There doesn't appear to be a way to prevent this compiler from
14956 # explicitly linking system object files so we need to strip them
14957 # from the output so that they don't get included in the library
14959 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"'
14962 if test "$GXX" = yes; then
14963 if test $with_gnu_ld = no; then
14966 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14969 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14972 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'
14977 # FIXME: insert proper C++ library support
14985 hardcode_direct_CXX=no
14986 hardcode_shlibpath_var_CXX=no
14987 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14988 export_dynamic_flag_spec_CXX='${wl}-E'
14989 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14990 # Instead, shared libraries are loaded at an image base (0x10000000 by
14991 # default) and relocated if they conflict, which is a slow very memory
14992 # consuming and fragmenting process. To avoid this, we pick a random,
14993 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14994 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14995 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'
14996 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'
14999 case $cc_basename in
15002 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'
15004 # Archives containing C++ object files must be created using
15005 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15006 # necessary to make sure instantiated templates are included
15008 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15011 if test "$GXX" = yes; then
15012 if test "$with_gnu_ld" = no; then
15013 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'
15015 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'
15018 link_all_deplibs_CXX=yes
15021 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15022 hardcode_libdir_separator_CXX=:
15023 inherit_rpath_CXX=yes
15026 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15027 case $cc_basename in
15029 # Kuck and Associates, Inc. (KAI) C++ Compiler
15031 # KCC will only create a shared library if the output file
15032 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15033 # to its proper name (with version) after linking.
15034 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'
15035 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'
15036 # Commands to make compiler produce verbose output that lists
15037 # what "hidden" libraries, object files and flags are used when
15038 # linking a shared library.
15040 # There doesn't appear to be a way to prevent this compiler from
15041 # explicitly linking system object files so we need to strip them
15042 # from the output so that they don't get included in the library
15044 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"'
15046 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15047 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15049 # Archives containing C++ object files must be created using
15050 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15051 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15056 # version 8.0 and above of icpc choke on multiply defined symbols
15057 # if we add $predep_objects and $postdep_objects, however 7.1 and
15058 # earlier do not add the objects themselves.
15059 case `$CC -V 2>&1` in
15061 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15062 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'
15064 *) # Version 8.0 or newer
15067 ia64*) tmp_idyn=' -i_dynamic';;
15069 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15070 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'
15073 archive_cmds_need_lc_CXX=no
15074 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15075 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15076 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15079 # Portland Group C++ compiler
15081 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15082 prelink_cmds_CXX='tpldir=Template.dir~
15084 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15085 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15086 old_archive_cmds_CXX='tpldir=Template.dir~
15088 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15089 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15091 archive_cmds_CXX='tpldir=Template.dir~
15093 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15094 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15095 archive_expsym_cmds_CXX='tpldir=Template.dir~
15097 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15098 $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'
15100 *) # Version 6 and above use weak symbols
15101 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15102 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'
15106 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15107 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15108 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'
15112 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15113 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'
15115 runpath_var=LD_RUN_PATH
15116 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15117 hardcode_libdir_separator_CXX=:
15119 # Commands to make compiler produce verbose output that lists
15120 # what "hidden" libraries, object files and flags are used when
15121 # linking a shared library.
15123 # There doesn't appear to be a way to prevent this compiler from
15124 # explicitly linking system object files so we need to strip them
15125 # from the output so that they don't get included in the library
15127 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'
15129 xl* | mpixl* | bgxl*)
15130 # IBM XL 8.0 on PPC, with GNU ld
15131 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15132 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15133 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15134 if test "x$supports_anon_versioning" = xyes; then
15135 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15136 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15137 echo "local: *; };" >> $output_objdir/$libname.ver~
15138 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15142 case `$CC -V 2>&1 | sed 5q` in
15145 no_undefined_flag_CXX=' -zdefs'
15146 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15147 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'
15148 hardcode_libdir_flag_spec_CXX='-R$libdir'
15149 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'
15150 compiler_needs_object_CXX=yes
15152 # Not sure whether something based on
15153 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15155 output_verbose_link_cmd='func_echo_all'
15157 # Archives containing C++ object files must be created using
15158 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15159 # necessary to make sure instantiated templates are included
15161 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15169 # FIXME: insert proper C++ library support
15174 # FIXME: insert proper C++ library support
15179 case $cc_basename in
15181 # FIXME: insert proper C++ library support
15185 # FIXME: insert proper C++ library support
15192 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15193 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15195 hardcode_libdir_flag_spec_CXX='-R$libdir'
15196 hardcode_direct_CXX=yes
15197 hardcode_shlibpath_var_CXX=no
15199 # Workaround some broken pre-1.5 toolchains
15200 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15208 # C++ shared libraries are fairly broken
15213 if test -f /usr/libexec/ld.so; then
15214 hardcode_direct_CXX=yes
15215 hardcode_shlibpath_var_CXX=no
15216 hardcode_direct_absolute_CXX=yes
15217 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15218 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15219 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15220 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15221 export_dynamic_flag_spec_CXX='${wl}-E'
15222 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15224 output_verbose_link_cmd=func_echo_all
15230 osf3* | osf4* | osf5*)
15231 case $cc_basename in
15233 # Kuck and Associates, Inc. (KAI) C++ Compiler
15235 # KCC will only create a shared library if the output file
15236 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15237 # to its proper name (with version) after linking.
15238 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'
15240 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15241 hardcode_libdir_separator_CXX=:
15243 # Archives containing C++ object files must be created using
15244 # the KAI C++ compiler.
15246 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15247 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15251 # Rational C++ 2.4.1
15252 # FIXME: insert proper C++ library support
15258 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15259 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'
15260 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15263 allow_undefined_flag_CXX=' -expect_unresolved \*'
15264 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'
15265 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15266 echo "-hidden">> $lib.exp~
15267 $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~
15269 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15273 hardcode_libdir_separator_CXX=:
15275 # Commands to make compiler produce verbose output that lists
15276 # what "hidden" libraries, object files and flags are used when
15277 # linking a shared library.
15279 # There doesn't appear to be a way to prevent this compiler from
15280 # explicitly linking system object files so we need to strip them
15281 # from the output so that they don't get included in the library
15283 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"'
15286 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15287 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15290 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'
15293 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'
15297 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15298 hardcode_libdir_separator_CXX=:
15300 # Commands to make compiler produce verbose output that lists
15301 # what "hidden" libraries, object files and flags are used when
15302 # linking a shared library.
15303 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15306 # FIXME: insert proper C++ library support
15314 # FIXME: insert proper C++ library support
15319 case $cc_basename in
15322 # FIXME: insert proper C++ library support
15327 # FIXME: insert proper C++ library support
15331 # FIXME: insert proper C++ library support
15338 case $cc_basename in
15340 # Sun C++ 4.2, 5.x and Centerline C++
15341 archive_cmds_need_lc_CXX=yes
15342 no_undefined_flag_CXX=' -zdefs'
15343 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15344 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15345 $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'
15347 hardcode_libdir_flag_spec_CXX='-R$libdir'
15348 hardcode_shlibpath_var_CXX=no
15350 solaris2.[0-5] | solaris2.[0-5].*) ;;
15352 # The compiler driver will combine and reorder linker options,
15353 # but understands `-z linker_flag'.
15354 # Supported since Solaris 2.6 (maybe 2.5.1?)
15355 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15358 link_all_deplibs_CXX=yes
15360 output_verbose_link_cmd='func_echo_all'
15362 # Archives containing C++ object files must be created using
15363 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15364 # necessary to make sure instantiated templates are included
15366 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15369 # Green Hills C++ Compiler
15370 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15372 # The C++ compiler must be used to create the archive.
15373 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15376 # GNU C++ compiler with Solaris linker
15377 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15378 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15379 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15380 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15381 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15382 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15384 # Commands to make compiler produce verbose output that lists
15385 # what "hidden" libraries, object files and flags are used when
15386 # linking a shared library.
15387 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15389 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15391 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15392 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15393 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15395 # Commands to make compiler produce verbose output that lists
15396 # what "hidden" libraries, object files and flags are used when
15397 # linking a shared library.
15398 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15401 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15403 solaris2.[0-5] | solaris2.[0-5].*) ;;
15405 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15413 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15414 no_undefined_flag_CXX='${wl}-z,text'
15415 archive_cmds_need_lc_CXX=no
15416 hardcode_shlibpath_var_CXX=no
15417 runpath_var='LD_RUN_PATH'
15419 case $cc_basename in
15421 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15422 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15425 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15426 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15431 sysv5* | sco3.2v5* | sco5v6*)
15432 # Note: We can NOT use -z defs as we might desire, because we do not
15433 # link with -lc, and that would cause any symbols used from libc to
15434 # always be unresolved, which means just about no library would
15435 # ever link correctly. If we're not using GNU ld we use -z text
15436 # though, which does catch some bad symbols but isn't as heavy-handed
15438 no_undefined_flag_CXX='${wl}-z,text'
15439 allow_undefined_flag_CXX='${wl}-z,nodefs'
15440 archive_cmds_need_lc_CXX=no
15441 hardcode_shlibpath_var_CXX=no
15442 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15443 hardcode_libdir_separator_CXX=':'
15444 link_all_deplibs_CXX=yes
15445 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15446 runpath_var='LD_RUN_PATH'
15448 case $cc_basename in
15450 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15451 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15452 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15453 '"$old_archive_cmds_CXX"
15454 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15455 '"$reload_cmds_CXX"
15458 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15459 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15465 case $cc_basename in
15467 # NonStop-UX NCC 3.20
15468 # FIXME: insert proper C++ library support
15472 # FIXME: insert proper C++ library support
15479 # FIXME: insert proper C++ library support
15484 # FIXME: insert proper C++ library support
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15490 $as_echo "$ld_shlibs_CXX" >&6; }
15491 test "$ld_shlibs_CXX" = no && can_build_shared=no
15497 ## There is no encapsulation within the following macros, do not change
15498 ## the running order or otherwise move them around unless you know exactly
15499 ## what you are doing...
15500 # Dependencies to place before and after the object being linked:
15501 predep_objects_CXX=
15502 postdep_objects_CXX=
15505 compiler_lib_search_path_CXX=
15507 cat > conftest.$ac_ext <<_LT_EOF
15511 Foo (void) { a = 0; }
15518 _lt_libdeps_save_CFLAGS=$CFLAGS
15519 case "$CC $CFLAGS " in #(
15520 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15521 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15522 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15525 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15526 (eval $ac_compile) 2>&5
15528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15529 test $ac_status = 0; }; then
15530 # Parse the compiler output and extract the necessary
15531 # objects, libraries and library flags.
15533 # Sentinel used to keep track of whether or not we are before
15534 # the conftest object file.
15535 pre_test_object_deps_done=no
15537 for p in `eval "$output_verbose_link_cmd"`; do
15538 case ${prev}${p} in
15541 # Some compilers place space between "-{L,R}" and the path.
15542 # Remove the space.
15543 if test $p = "-L" ||
15544 test $p = "-R"; then
15549 # Expand the sysroot to ease extracting the directories later.
15550 if test -z "$prev"; then
15552 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15553 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15554 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15558 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15560 if test "$pre_test_object_deps_done" = no; then
15563 # Internal compiler library paths should come after those
15564 # provided the user. The postdeps already come after the
15565 # user supplied libs so there is no need to process them.
15566 if test -z "$compiler_lib_search_path_CXX"; then
15567 compiler_lib_search_path_CXX="${prev}${p}"
15569 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15572 # The "-l" case would never come before the object being
15573 # linked, so don't bother handling this case.
15576 if test -z "$postdeps_CXX"; then
15577 postdeps_CXX="${prev}${p}"
15579 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15585 *.lto.$objext) ;; # Ignore GCC LTO objects
15587 # This assumes that the test object file only shows up
15588 # once in the compiler output.
15589 if test "$p" = "conftest.$objext"; then
15590 pre_test_object_deps_done=yes
15594 if test "$pre_test_object_deps_done" = no; then
15595 if test -z "$predep_objects_CXX"; then
15596 predep_objects_CXX="$p"
15598 predep_objects_CXX="$predep_objects_CXX $p"
15601 if test -z "$postdep_objects_CXX"; then
15602 postdep_objects_CXX="$p"
15604 postdep_objects_CXX="$postdep_objects_CXX $p"
15609 *) ;; # Ignore the rest.
15617 echo "libtool.m4: error: problem compiling CXX test program"
15620 $RM -f confest.$objext
15621 CFLAGS=$_lt_libdeps_save_CFLAGS
15623 # PORTME: override above test on systems where it is broken
15626 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15627 # hack all around it, let's just trust "g++" to DTRT.
15628 predep_objects_CXX=
15629 postdep_objects_CXX=
15634 case `$CC -V 2>&1 | sed 5q` in
15638 # The more standards-conforming stlport4 library is
15639 # incompatible with the Cstd library. Avoid specifying
15640 # it if it's in CXXFLAGS. Ignore libCrun as
15641 # -library=stlport4 depends on it.
15642 case " $CXX $CXXFLAGS " in
15643 *" -library=stlport4 "*)
15644 solaris_use_stlport4=yes
15648 if test "$solaris_use_stlport4" != yes; then
15649 postdeps_CXX='-library=Cstd -library=Crun'
15656 case $cc_basename in
15658 # The more standards-conforming stlport4 library is
15659 # incompatible with the Cstd library. Avoid specifying
15660 # it if it's in CXXFLAGS. Ignore libCrun as
15661 # -library=stlport4 depends on it.
15662 case " $CXX $CXXFLAGS " in
15663 *" -library=stlport4 "*)
15664 solaris_use_stlport4=yes
15668 # Adding this requires a known-good setup of shared libraries for
15669 # Sun compiler versions before 5.6, else PIC objects from an old
15670 # archive will be linked into the output, leading to subtle bugs.
15671 if test "$solaris_use_stlport4" != yes; then
15672 postdeps_CXX='-library=Cstd -library=Crun'
15680 case " $postdeps_CXX " in
15681 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15683 compiler_lib_search_dirs_CXX=
15684 if test -n "${compiler_lib_search_path_CXX}"; then
15685 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15718 lt_prog_compiler_wl_CXX=
15719 lt_prog_compiler_pic_CXX=
15720 lt_prog_compiler_static_CXX=
15723 # C++ specific cases for pic, static, wl, etc.
15724 if test "$GXX" = yes; then
15725 lt_prog_compiler_wl_CXX='-Wl,'
15726 lt_prog_compiler_static_CXX='-static'
15730 # All AIX code is PIC.
15731 if test "$host_cpu" = ia64; then
15732 # AIX 5 now supports IA64 processor
15733 lt_prog_compiler_static_CXX='-Bstatic'
15740 # see comment about AmigaOS4 .so support
15741 lt_prog_compiler_pic_CXX='-fPIC'
15744 # FIXME: we need at least 68020 code to build shared libraries, but
15745 # adding the `-m68020' flag to GCC prevents building anything better,
15747 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15752 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15753 # PIC is the default for these OSes.
15755 mingw* | cygwin* | os2* | pw32* | cegcc*)
15756 # This hack is so that the source file can tell whether it is being
15757 # built for inclusion in a dll (and should export symbols for example).
15758 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15759 # (--disable-auto-import) libraries
15760 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15762 darwin* | rhapsody*)
15763 # PIC is the default on this platform
15764 # Common symbols not allowed in MH_DYLIB files
15765 lt_prog_compiler_pic_CXX='-fno-common'
15768 # DJGPP does not support shared libraries at all
15769 lt_prog_compiler_pic_CXX=
15772 # PIC is the default for Haiku.
15773 # The "-static" flag exists, but is broken.
15774 lt_prog_compiler_static_CXX=
15777 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15778 # Instead, we relocate shared libraries at runtime.
15781 if test -d /usr/nec; then
15782 lt_prog_compiler_pic_CXX=-Kconform_pic
15786 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15787 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15788 # sets the default TLS model and affects inlining.
15793 lt_prog_compiler_pic_CXX='-fPIC'
15798 # QNX uses GNU C++, but need to define -shared option too, otherwise
15799 # it will coredump.
15800 lt_prog_compiler_pic_CXX='-fPIC -shared'
15803 lt_prog_compiler_pic_CXX='-fPIC'
15809 # All AIX code is PIC.
15810 if test "$host_cpu" = ia64; then
15811 # AIX 5 now supports IA64 processor
15812 lt_prog_compiler_static_CXX='-Bstatic'
15814 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15818 case $cc_basename in
15820 # Green Hills C++ Compiler
15821 # _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"
15825 mingw* | cygwin* | os2* | pw32* | cegcc*)
15826 # This hack is so that the source file can tell whether it is being
15827 # built for inclusion in a dll (and should export symbols for example).
15828 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15831 case $cc_basename in
15833 lt_prog_compiler_pic_CXX='-KPIC'
15836 # Green Hills C++ Compiler
15837 lt_prog_compiler_pic_CXX='-pic'
15843 freebsd* | dragonfly*)
15844 # FreeBSD uses GNU C++
15846 hpux9* | hpux10* | hpux11*)
15847 case $cc_basename in
15849 lt_prog_compiler_wl_CXX='-Wl,'
15850 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15851 if test "$host_cpu" != ia64; then
15852 lt_prog_compiler_pic_CXX='+Z'
15856 lt_prog_compiler_wl_CXX='-Wl,'
15857 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15863 lt_prog_compiler_pic_CXX='+Z'
15872 # This is c89, which is MS Visual C++ (no shared libs)
15873 # Anyone wants to do a port?
15875 irix5* | irix6* | nonstopux*)
15876 case $cc_basename in
15878 lt_prog_compiler_wl_CXX='-Wl,'
15879 lt_prog_compiler_static_CXX='-non_shared'
15880 # CC pic flag -KPIC is the default.
15886 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15887 case $cc_basename in
15890 lt_prog_compiler_wl_CXX='--backend -Wl,'
15891 lt_prog_compiler_pic_CXX='-fPIC'
15894 # old Intel C++ for x86_64 which still supported -KPIC.
15895 lt_prog_compiler_wl_CXX='-Wl,'
15896 lt_prog_compiler_pic_CXX='-KPIC'
15897 lt_prog_compiler_static_CXX='-static'
15900 # Intel C++, used to be incompatible with GCC.
15901 # ICC 10 doesn't accept -KPIC any more.
15902 lt_prog_compiler_wl_CXX='-Wl,'
15903 lt_prog_compiler_pic_CXX='-fPIC'
15904 lt_prog_compiler_static_CXX='-static'
15907 # Portland Group C++ compiler
15908 lt_prog_compiler_wl_CXX='-Wl,'
15909 lt_prog_compiler_pic_CXX='-fpic'
15910 lt_prog_compiler_static_CXX='-Bstatic'
15914 # Make sure the PIC flag is empty. It appears that all Alpha
15915 # Linux and Compaq Tru64 Unix objects are PIC.
15916 lt_prog_compiler_pic_CXX=
15917 lt_prog_compiler_static_CXX='-non_shared'
15919 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15920 # IBM XL 8.0, 9.0 on PPC and BlueGene
15921 lt_prog_compiler_wl_CXX='-Wl,'
15922 lt_prog_compiler_pic_CXX='-qpic'
15923 lt_prog_compiler_static_CXX='-qstaticlink'
15926 case `$CC -V 2>&1 | sed 5q` in
15929 lt_prog_compiler_pic_CXX='-KPIC'
15930 lt_prog_compiler_static_CXX='-Bstatic'
15931 lt_prog_compiler_wl_CXX='-Qoption ld '
15942 case $cc_basename in
15944 lt_prog_compiler_pic_CXX='-W c,exportall'
15950 netbsd* | netbsdelf*-gnu)
15953 # QNX uses GNU C++, but need to define -shared option too, otherwise
15954 # it will coredump.
15955 lt_prog_compiler_pic_CXX='-fPIC -shared'
15957 osf3* | osf4* | osf5*)
15958 case $cc_basename in
15960 lt_prog_compiler_wl_CXX='--backend -Wl,'
15963 # Rational C++ 2.4.1
15964 lt_prog_compiler_pic_CXX='-pic'
15967 # Digital/Compaq C++
15968 lt_prog_compiler_wl_CXX='-Wl,'
15969 # Make sure the PIC flag is empty. It appears that all Alpha
15970 # Linux and Compaq Tru64 Unix objects are PIC.
15971 lt_prog_compiler_pic_CXX=
15972 lt_prog_compiler_static_CXX='-non_shared'
15981 case $cc_basename in
15983 # Sun C++ 4.2, 5.x and Centerline C++
15984 lt_prog_compiler_pic_CXX='-KPIC'
15985 lt_prog_compiler_static_CXX='-Bstatic'
15986 lt_prog_compiler_wl_CXX='-Qoption ld '
15989 # Green Hills C++ Compiler
15990 lt_prog_compiler_pic_CXX='-PIC'
15997 case $cc_basename in
16000 lt_prog_compiler_pic_CXX='-pic'
16001 lt_prog_compiler_static_CXX='-Bstatic'
16005 lt_prog_compiler_pic_CXX='-pic'
16011 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16012 case $cc_basename in
16014 lt_prog_compiler_wl_CXX='-Wl,'
16015 lt_prog_compiler_pic_CXX='-KPIC'
16016 lt_prog_compiler_static_CXX='-Bstatic'
16021 case $cc_basename in
16023 # NonStop-UX NCC 3.20
16024 lt_prog_compiler_pic_CXX='-KPIC'
16033 lt_prog_compiler_can_build_shared_CXX=no
16039 # For platforms which do not support PIC, -DPIC is meaningless:
16041 lt_prog_compiler_pic_CXX=
16044 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16049 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16050 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16051 $as_echo_n "(cached) " >&6
16053 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16056 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16057 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16060 # Check to make sure the PIC flag actually works.
16062 if test -n "$lt_prog_compiler_pic_CXX"; then
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16064 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16065 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16066 $as_echo_n "(cached) " >&6
16068 lt_cv_prog_compiler_pic_works_CXX=no
16069 ac_outfile=conftest.$ac_objext
16070 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16071 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16072 # Insert the option either (1) after the last *FLAGS variable, or
16073 # (2) before a word containing "conftest.", or (3) at the end.
16074 # Note that $ac_compile itself does not contain backslashes and begins
16075 # with a dollar sign (not a hyphen), so the echo should work correctly.
16076 # The option is referenced via a variable to avoid confusing sed.
16077 lt_compile=`echo "$ac_compile" | $SED \
16078 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16079 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16080 -e 's:$: $lt_compiler_flag:'`
16081 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16082 (eval "$lt_compile" 2>conftest.err)
16084 cat conftest.err >&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 if (exit $ac_status) && test -s "$ac_outfile"; then
16087 # The compiler can only warn and ignore the option if not recognized
16088 # So say no if there are warnings other than the usual output.
16089 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16090 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16091 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16092 lt_cv_prog_compiler_pic_works_CXX=yes
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16099 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16101 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16102 case $lt_prog_compiler_pic_CXX in
16104 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16107 lt_prog_compiler_pic_CXX=
16108 lt_prog_compiler_can_build_shared_CXX=no
16118 # Check to make sure the static flag actually works.
16120 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16122 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16123 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16124 $as_echo_n "(cached) " >&6
16126 lt_cv_prog_compiler_static_works_CXX=no
16127 save_LDFLAGS="$LDFLAGS"
16128 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16129 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16130 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16131 # The linker can only warn and ignore the option if not recognized
16132 # So say no if there are warnings
16133 if test -s conftest.err; then
16134 # Append any errors to the config.log.
16135 cat conftest.err 1>&5
16136 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16137 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16138 if diff conftest.exp conftest.er2 >/dev/null; then
16139 lt_cv_prog_compiler_static_works_CXX=yes
16142 lt_cv_prog_compiler_static_works_CXX=yes
16146 LDFLAGS="$save_LDFLAGS"
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16150 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16152 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16155 lt_prog_compiler_static_CXX=
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16162 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16163 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16164 $as_echo_n "(cached) " >&6
16166 lt_cv_prog_compiler_c_o_CXX=no
16167 $RM -r conftest 2>/dev/null
16171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16173 lt_compiler_flag="-o out/conftest2.$ac_objext"
16174 # Insert the option either (1) after the last *FLAGS variable, or
16175 # (2) before a word containing "conftest.", or (3) at the end.
16176 # Note that $ac_compile itself does not contain backslashes and begins
16177 # with a dollar sign (not a hyphen), so the echo should work correctly.
16178 lt_compile=`echo "$ac_compile" | $SED \
16179 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16181 -e 's:$: $lt_compiler_flag:'`
16182 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16183 (eval "$lt_compile" 2>out/conftest.err)
16185 cat out/conftest.err >&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16189 # The compiler can only warn and ignore the option if not recognized
16190 # So say no if there are warnings
16191 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16192 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16193 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16194 lt_cv_prog_compiler_c_o_CXX=yes
16199 # SGI C++ compiler will create directory out/ii_files/ for
16200 # template instantiation
16201 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16202 $RM out/* && rmdir out
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16209 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16214 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16215 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16216 $as_echo_n "(cached) " >&6
16218 lt_cv_prog_compiler_c_o_CXX=no
16219 $RM -r conftest 2>/dev/null
16223 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16225 lt_compiler_flag="-o out/conftest2.$ac_objext"
16226 # Insert the option either (1) after the last *FLAGS variable, or
16227 # (2) before a word containing "conftest.", or (3) at the end.
16228 # Note that $ac_compile itself does not contain backslashes and begins
16229 # with a dollar sign (not a hyphen), so the echo should work correctly.
16230 lt_compile=`echo "$ac_compile" | $SED \
16231 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16232 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16233 -e 's:$: $lt_compiler_flag:'`
16234 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16235 (eval "$lt_compile" 2>out/conftest.err)
16237 cat out/conftest.err >&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16241 # The compiler can only warn and ignore the option if not recognized
16242 # So say no if there are warnings
16243 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16244 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16245 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16246 lt_cv_prog_compiler_c_o_CXX=yes
16251 # SGI C++ compiler will create directory out/ii_files/ for
16252 # template instantiation
16253 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16254 $RM out/* && rmdir out
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16261 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16266 hard_links="nottested"
16267 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16268 # do not overwrite the value of need_locks provided by the user
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16270 $as_echo_n "checking if we can lock with hard links... " >&6; }
16273 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16275 ln conftest.a conftest.b 2>&5 || hard_links=no
16276 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16278 $as_echo "$hard_links" >&6; }
16279 if test "$hard_links" = no; then
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16281 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16291 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16293 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16294 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16297 # If we're using GNU nm, then we don't want the "-C" option.
16298 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16299 # Also, AIX nm treats weak defined symbols like other global defined
16300 # symbols, whereas GNU nm marks them as "W".
16301 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16302 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'
16304 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'
16308 export_symbols_cmds_CXX="$ltdll_cmds"
16310 cygwin* | mingw* | cegcc*)
16311 case $cc_basename in
16313 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16316 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'
16317 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16321 linux* | k*bsd*-gnu | gnu*)
16322 link_all_deplibs_CXX=no
16325 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16330 $as_echo "$ld_shlibs_CXX" >&6; }
16331 test "$ld_shlibs_CXX" = no && can_build_shared=no
16333 with_gnu_ld_CXX=$with_gnu_ld
16341 # Do we need to explicitly link libc?
16343 case "x$archive_cmds_need_lc_CXX" in
16345 # Assume -lc should be added
16346 archive_cmds_need_lc_CXX=yes
16348 if test "$enable_shared" = yes && test "$GCC" = yes; then
16349 case $archive_cmds_CXX in
16351 # FIXME: we may have to deal with multi-command sequences.
16354 # Test whether the compiler implicitly links with -lc since on some
16355 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16356 # to ld, don't add -lc before -lgcc.
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16358 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16359 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16360 $as_echo_n "(cached) " >&6
16363 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16366 (eval $ac_compile) 2>&5
16368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16369 test $ac_status = 0; } 2>conftest.err; then
16372 libobjs=conftest.$ac_objext
16374 wl=$lt_prog_compiler_wl_CXX
16375 pic_flag=$lt_prog_compiler_pic_CXX
16381 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16382 allow_undefined_flag_CXX=
16383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16384 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16387 test $ac_status = 0; }
16389 lt_cv_archive_cmds_need_lc_CXX=no
16391 lt_cv_archive_cmds_need_lc_CXX=yes
16393 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16395 cat conftest.err 1>&5
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16401 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16402 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16471 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16473 library_names_spec=
16474 libname_spec='lib$name'
16478 postuninstall_cmds=
16482 shlibpath_overrides_runpath=unknown
16484 dynamic_linker="$host_os ld.so"
16485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16486 need_lib_prefix=unknown
16487 hardcode_into_libs=no
16489 # when you set need_version to no, make sure it does not cause -set_version
16490 # flags to be left without arguments
16491 need_version=unknown
16495 version_type=linux # correct to gnu/linux during the next big refactor
16496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16497 shlibpath_var=LIBPATH
16499 # AIX 3 has no versioning support, so we append a major version to the name.
16500 soname_spec='${libname}${release}${shared_ext}$major'
16504 version_type=linux # correct to gnu/linux during the next big refactor
16507 hardcode_into_libs=yes
16508 if test "$host_cpu" = ia64; then
16509 # AIX 5 supports IA64
16510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16511 shlibpath_var=LD_LIBRARY_PATH
16513 # With GCC up to 2.95.x, collect2 would create an import file
16514 # for dependence libraries. The import file would start with
16515 # the line `#! .'. This would cause the generated library to
16516 # depend on `.', always an invalid library. This was fixed in
16517 # development snapshots of GCC prior to 3.0.
16519 aix4 | aix4.[01] | aix4.[01].*)
16520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16525 can_build_shared=no
16529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16530 # soname into executable. Probably we can add versioning support to
16531 # collect2, so additional links can be useful in future.
16532 if test "$aix_use_runtimelinking" = yes; then
16533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16534 # instead of lib<name>.a to let people know that these are not
16535 # typical AIX shared libraries.
16536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16538 # We preserve .a as extension for shared libraries through AIX4.2
16539 # and later when we are not doing run time linking.
16540 library_names_spec='${libname}${release}.a $libname.a'
16541 soname_spec='${libname}${release}${shared_ext}$major'
16543 shlibpath_var=LIBPATH
16550 # Since July 2007 AmigaOS4 officially supports .so libraries.
16551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16555 library_names_spec='$libname.ixlibrary $libname.a'
16556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16557 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'
16563 library_names_spec='${libname}${shared_ext}'
16564 dynamic_linker="$host_os ld.so"
16565 shlibpath_var=LIBRARY_PATH
16569 version_type=linux # correct to gnu/linux during the next big refactor
16571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16572 soname_spec='${libname}${release}${shared_ext}$major'
16573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16574 shlibpath_var=LD_LIBRARY_PATH
16575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16577 # the default ld.so.conf also contains /usr/contrib/lib and
16578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16579 # libtool to hard-code these into programs
16582 cygwin* | mingw* | pw32* | cegcc*)
16583 version_type=windows
16588 case $GCC,$cc_basename in
16591 library_names_spec='$libname.dll.a'
16592 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16593 postinstall_cmds='base_file=`basename \${file}`~
16594 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16595 dldir=$destdir/`dirname \$dlpath`~
16596 test -d \$dldir || mkdir -p \$dldir~
16597 $install_prog $dir/$dlname \$dldir/$dlname~
16598 chmod a+x \$dldir/$dlname~
16599 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16600 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16602 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16603 dlpath=$dir/\$dldll~
16605 shlibpath_overrides_runpath=yes
16609 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16610 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16614 # MinGW DLLs use traditional 'lib' prefix
16615 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16618 # pw32 DLLs use 'pw' prefix rather than 'lib'
16619 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16622 dynamic_linker='Win32 ld.exe'
16627 libname_spec='$name'
16628 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16629 library_names_spec='${libname}.dll.lib'
16633 sys_lib_search_path_spec=
16636 for lt_path in $LIB
16639 # Let DOS variable expansion print the short 8.3 style file name.
16640 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16641 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16644 # Convert to MSYS style.
16645 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16648 # Convert to unix form, then to dos form, then back to unix form
16649 # but this time dos style (no spaces!) so that the unix form looks
16650 # like /cygdrive/c/PROGRA~1:/cygdr...
16651 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16652 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16653 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16656 sys_lib_search_path_spec="$LIB"
16657 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16658 # It is most probably a Windows format PATH.
16659 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16661 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16663 # FIXME: find the short name or the path components, as spaces are
16664 # common. (e.g. "Program Files" -> "PROGRA~1")
16668 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16669 postinstall_cmds='base_file=`basename \${file}`~
16670 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16671 dldir=$destdir/`dirname \$dlpath`~
16672 test -d \$dldir || mkdir -p \$dldir~
16673 $install_prog $dir/$dlname \$dldir/$dlname'
16674 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16675 dlpath=$dir/\$dldll~
16677 shlibpath_overrides_runpath=yes
16678 dynamic_linker='Win32 link.exe'
16682 # Assume MSVC wrapper
16683 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16684 dynamic_linker='Win32 ld.exe'
16687 # FIXME: first we should search . and the directory the executable is in
16691 darwin* | rhapsody*)
16692 dynamic_linker="$host_os dyld"
16693 version_type=darwin
16696 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16697 soname_spec='${libname}${release}${major}$shared_ext'
16698 shlibpath_overrides_runpath=yes
16699 shlibpath_var=DYLD_LIBRARY_PATH
16700 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16702 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16706 version_type=linux # correct to gnu/linux during the next big refactor
16709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16710 soname_spec='${libname}${release}${shared_ext}$major'
16711 shlibpath_var=LD_LIBRARY_PATH
16714 freebsd* | dragonfly*)
16715 # DragonFly does not have aout. When/if they implement a new
16716 # versioning mechanism, adjust this.
16717 if test -x /usr/bin/objformat; then
16718 objformat=`/usr/bin/objformat`
16721 freebsd[23].*) objformat=aout ;;
16722 *) objformat=elf ;;
16725 version_type=freebsd-$objformat
16726 case $version_type in
16728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16733 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16737 shlibpath_var=LD_LIBRARY_PATH
16740 shlibpath_overrides_runpath=yes
16742 freebsd3.[01]* | freebsdelf3.[01]*)
16743 shlibpath_overrides_runpath=yes
16744 hardcode_into_libs=yes
16746 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16747 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16748 shlibpath_overrides_runpath=no
16749 hardcode_into_libs=yes
16751 *) # from 4.6 on, and DragonFly
16752 shlibpath_overrides_runpath=yes
16753 hardcode_into_libs=yes
16759 version_type=linux # correct to gnu/linux during the next big refactor
16762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16763 soname_spec='${libname}${release}${shared_ext}$major'
16764 shlibpath_var=LD_LIBRARY_PATH
16765 shlibpath_overrides_runpath=no
16766 hardcode_into_libs=yes
16770 version_type=linux # correct to gnu/linux during the next big refactor
16773 dynamic_linker="$host_os runtime_loader"
16774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16775 soname_spec='${libname}${release}${shared_ext}$major'
16776 shlibpath_var=LIBRARY_PATH
16777 shlibpath_overrides_runpath=yes
16778 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16779 hardcode_into_libs=yes
16782 hpux9* | hpux10* | hpux11*)
16783 # Give a soname corresponding to the major version so that dld.sl refuses to
16784 # link against other versions.
16791 hardcode_into_libs=yes
16792 dynamic_linker="$host_os dld.so"
16793 shlibpath_var=LD_LIBRARY_PATH
16794 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16796 soname_spec='${libname}${release}${shared_ext}$major'
16797 if test "X$HPUX_IA64_MODE" = X32; then
16798 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16800 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16802 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16806 hardcode_into_libs=yes
16807 dynamic_linker="$host_os dld.sl"
16808 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16809 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16811 soname_spec='${libname}${release}${shared_ext}$major'
16812 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16813 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16817 dynamic_linker="$host_os dld.sl"
16818 shlibpath_var=SHLIB_PATH
16819 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16821 soname_spec='${libname}${release}${shared_ext}$major'
16824 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16825 postinstall_cmds='chmod 555 $lib'
16826 # or fails outright, so override atomically:
16827 install_override_mode=555
16831 version_type=linux # correct to gnu/linux during the next big refactor
16834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16835 soname_spec='${libname}${release}${shared_ext}$major'
16836 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16837 shlibpath_var=LD_LIBRARY_PATH
16838 shlibpath_overrides_runpath=no
16839 hardcode_into_libs=yes
16842 irix5* | irix6* | nonstopux*)
16844 nonstopux*) version_type=nonstopux ;;
16846 if test "$lt_cv_prog_gnu_ld" = yes; then
16847 version_type=linux # correct to gnu/linux during the next big refactor
16854 soname_spec='${libname}${release}${shared_ext}$major'
16855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16857 irix5* | nonstopux*)
16858 libsuff= shlibsuff=
16861 case $LD in # libtool.m4 will add one of these switches to LD
16862 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16863 libsuff= shlibsuff= libmagic=32-bit;;
16864 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16865 libsuff=32 shlibsuff=N32 libmagic=N32;;
16866 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16867 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16868 *) libsuff= shlibsuff= libmagic=never-match;;
16872 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16873 shlibpath_overrides_runpath=no
16874 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16875 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16876 hardcode_into_libs=yes
16879 # No shared lib support for Linux oldld, aout, or coff.
16880 linux*oldld* | linux*aout* | linux*coff*)
16884 # This must be glibc/ELF.
16885 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16886 version_type=linux # correct to gnu/linux during the next big refactor
16889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16890 soname_spec='${libname}${release}${shared_ext}$major'
16891 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16892 shlibpath_var=LD_LIBRARY_PATH
16893 shlibpath_overrides_runpath=no
16895 # Some binutils ld are patched to set DT_RUNPATH
16896 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16897 $as_echo_n "(cached) " >&6
16899 lt_cv_shlibpath_overrides_runpath=no
16900 save_LDFLAGS=$LDFLAGS
16901 save_libdir=$libdir
16902 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16903 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16915 if ac_fn_cxx_try_link "$LINENO"; then :
16916 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16917 lt_cv_shlibpath_overrides_runpath=yes
16920 rm -f core conftest.err conftest.$ac_objext \
16921 conftest$ac_exeext conftest.$ac_ext
16922 LDFLAGS=$save_LDFLAGS
16923 libdir=$save_libdir
16927 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16929 # This implies no fast_install, which is unacceptable.
16930 # Some rework will be needed to allow for fast_install
16931 # before this can be enabled.
16932 hardcode_into_libs=yes
16934 # Append ld.so.conf contents to the search path
16935 if test -f /etc/ld.so.conf; then
16936 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' ' '`
16937 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16940 # We used to test for /lib/ld.so.1 and disable shared libraries on
16941 # powerpc, because MkLinux only supported shared libraries with the
16942 # GNU dynamic linker. Since this was broken with cross compilers,
16943 # most powerpc-linux boxes support dynamic linking these days and
16944 # people can always --disable-shared, the test was removed, and we
16945 # assume the GNU/Linux dynamic linker is in use.
16946 dynamic_linker='GNU/Linux ld.so'
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 shlibpath_var=LD_LIBRARY_PATH
16956 shlibpath_overrides_runpath=no
16957 hardcode_into_libs=yes
16958 dynamic_linker='NetBSD ld.elf_so'
16965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16967 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16968 dynamic_linker='NetBSD (a.out) ld.so'
16970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16971 soname_spec='${libname}${release}${shared_ext}$major'
16972 dynamic_linker='NetBSD ld.elf_so'
16974 shlibpath_var=LD_LIBRARY_PATH
16975 shlibpath_overrides_runpath=yes
16976 hardcode_into_libs=yes
16980 version_type=linux # correct to gnu/linux during the next big refactor
16981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16982 shlibpath_var=LD_LIBRARY_PATH
16983 shlibpath_overrides_runpath=yes
16990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16991 soname_spec='${libname}${release}${shared_ext}$major'
16992 shlibpath_var=LD_LIBRARY_PATH
16993 shlibpath_overrides_runpath=no
16994 hardcode_into_libs=yes
16995 dynamic_linker='ldqnx.so'
17000 sys_lib_dlsearch_path_spec="/usr/lib"
17002 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17004 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17005 *) need_version=no ;;
17007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17008 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17009 shlibpath_var=LD_LIBRARY_PATH
17010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17012 openbsd2.[89] | openbsd2.[89].*)
17013 shlibpath_overrides_runpath=no
17016 shlibpath_overrides_runpath=yes
17020 shlibpath_overrides_runpath=yes
17025 libname_spec='$name'
17028 library_names_spec='$libname${shared_ext} $libname.a'
17029 dynamic_linker='OS/2 ld.exe'
17030 shlibpath_var=LIBPATH
17033 osf3* | osf4* | osf5*)
17037 soname_spec='${libname}${release}${shared_ext}$major'
17038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17039 shlibpath_var=LD_LIBRARY_PATH
17040 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17041 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17049 version_type=linux # correct to gnu/linux during the next big refactor
17052 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17053 soname_spec='${libname}${release}${shared_ext}$major'
17054 shlibpath_var=LD_LIBRARY_PATH
17055 shlibpath_overrides_runpath=yes
17056 hardcode_into_libs=yes
17057 # ldd complains unless libraries are executable
17058 postinstall_cmds='chmod +x $lib'
17063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17064 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17065 shlibpath_var=LD_LIBRARY_PATH
17066 shlibpath_overrides_runpath=yes
17067 if test "$with_gnu_ld" = yes; then
17074 version_type=linux # correct to gnu/linux during the next big refactor
17075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17076 soname_spec='${libname}${release}${shared_ext}$major'
17077 shlibpath_var=LD_LIBRARY_PATH
17078 case $host_vendor in
17080 shlibpath_overrides_runpath=no
17082 runpath_var=LD_RUN_PATH
17090 shlibpath_overrides_runpath=no
17091 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17097 if test -d /usr/nec ;then
17098 version_type=linux # correct to gnu/linux during the next big refactor
17099 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17100 soname_spec='$libname${shared_ext}.$major'
17101 shlibpath_var=LD_LIBRARY_PATH
17105 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17106 version_type=freebsd-elf
17109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17110 soname_spec='${libname}${release}${shared_ext}$major'
17111 shlibpath_var=LD_LIBRARY_PATH
17112 shlibpath_overrides_runpath=yes
17113 hardcode_into_libs=yes
17114 if test "$with_gnu_ld" = yes; then
17115 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17117 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17120 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17124 sys_lib_dlsearch_path_spec='/usr/lib'
17128 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17129 version_type=linux # correct to gnu/linux during the next big refactor
17132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17133 shlibpath_var=LD_LIBRARY_PATH
17134 shlibpath_overrides_runpath=no
17135 hardcode_into_libs=yes
17139 version_type=linux # correct to gnu/linux during the next big refactor
17140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17141 soname_spec='${libname}${release}${shared_ext}$major'
17142 shlibpath_var=LD_LIBRARY_PATH
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17150 $as_echo "$dynamic_linker" >&6; }
17151 test "$dynamic_linker" = no && can_build_shared=no
17153 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17154 if test "$GCC" = yes; then
17155 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17158 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17159 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17161 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17162 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17203 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17204 hardcode_action_CXX=
17205 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17206 test -n "$runpath_var_CXX" ||
17207 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17209 # We can hardcode non-existent directories.
17210 if test "$hardcode_direct_CXX" != no &&
17211 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17212 # have to relink, otherwise we might link with an installed library
17213 # when we should be linking with a yet-to-be-installed one
17214 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17215 test "$hardcode_minus_L_CXX" != no; then
17216 # Linking always hardcodes the temporary library directory.
17217 hardcode_action_CXX=relink
17219 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17220 hardcode_action_CXX=immediate
17223 # We cannot hardcode anything, or else we can only hardcode existing
17225 hardcode_action_CXX=unsupported
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17228 $as_echo "$hardcode_action_CXX" >&6; }
17230 if test "$hardcode_action_CXX" = relink ||
17231 test "$inherit_rpath_CXX" = yes; then
17232 # Fast installation is not supported
17233 enable_fast_install=no
17234 elif test "$shlibpath_overrides_runpath" = yes ||
17235 test "$enable_shared" = no; then
17236 # Fast installation is not necessary
17237 enable_fast_install=needless
17246 fi # test -n "$compiler"
17249 CFLAGS=$lt_save_CFLAGS
17253 with_gnu_ld=$lt_save_with_gnu_ld
17254 lt_cv_path_LDCXX=$lt_cv_path_LD
17255 lt_cv_path_LD=$lt_save_path_LD
17256 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17257 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17258 fi # test "$_lt_caught_CXX_error" != yes
17261 ac_cpp='$CPP $CPPFLAGS'
17262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17268 ac_cpp='$CPP $CPPFLAGS'
17269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17272 if test -n "$ac_tool_prefix"; then
17273 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17274 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17276 $as_echo_n "checking for $ac_word... " >&6; }
17277 if ${ac_cv_prog_CC+:} false; then :
17278 $as_echo_n "(cached) " >&6
17280 if test -n "$CC"; then
17281 ac_cv_prog_CC="$CC" # Let the user override the test.
17283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17284 for as_dir in $PATH
17287 test -z "$as_dir" && as_dir=.
17288 for ac_exec_ext in '' $ac_executable_extensions; do
17289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17290 ac_cv_prog_CC="${ac_tool_prefix}gcc"
17291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17301 if test -n "$CC"; then
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17303 $as_echo "$CC" >&6; }
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17306 $as_echo "no" >&6; }
17311 if test -z "$ac_cv_prog_CC"; then
17313 # Extract the first word of "gcc", so it can be a program name with args.
17314 set dummy gcc; ac_word=$2
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17316 $as_echo_n "checking for $ac_word... " >&6; }
17317 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17318 $as_echo_n "(cached) " >&6
17320 if test -n "$ac_ct_CC"; then
17321 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17324 for as_dir in $PATH
17327 test -z "$as_dir" && as_dir=.
17328 for ac_exec_ext in '' $ac_executable_extensions; do
17329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17330 ac_cv_prog_ac_ct_CC="gcc"
17331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17341 if test -n "$ac_ct_CC"; then
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17343 $as_echo "$ac_ct_CC" >&6; }
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17346 $as_echo "no" >&6; }
17349 if test "x$ac_ct_CC" = x; then
17352 case $cross_compiling:$ac_tool_warned in
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17356 ac_tool_warned=yes ;;
17361 CC="$ac_cv_prog_CC"
17364 if test -z "$CC"; then
17365 if test -n "$ac_tool_prefix"; then
17366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17367 set dummy ${ac_tool_prefix}cc; ac_word=$2
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17369 $as_echo_n "checking for $ac_word... " >&6; }
17370 if ${ac_cv_prog_CC+:} false; then :
17371 $as_echo_n "(cached) " >&6
17373 if test -n "$CC"; then
17374 ac_cv_prog_CC="$CC" # Let the user override the test.
17376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17377 for as_dir in $PATH
17380 test -z "$as_dir" && as_dir=.
17381 for ac_exec_ext in '' $ac_executable_extensions; do
17382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17383 ac_cv_prog_CC="${ac_tool_prefix}cc"
17384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17394 if test -n "$CC"; then
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17396 $as_echo "$CC" >&6; }
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17399 $as_echo "no" >&6; }
17405 if test -z "$CC"; then
17406 # Extract the first word of "cc", so it can be a program name with args.
17407 set dummy cc; ac_word=$2
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17409 $as_echo_n "checking for $ac_word... " >&6; }
17410 if ${ac_cv_prog_CC+:} false; then :
17411 $as_echo_n "(cached) " >&6
17413 if test -n "$CC"; then
17414 ac_cv_prog_CC="$CC" # Let the user override the test.
17416 ac_prog_rejected=no
17417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17418 for as_dir in $PATH
17421 test -z "$as_dir" && as_dir=.
17422 for ac_exec_ext in '' $ac_executable_extensions; do
17423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17425 ac_prog_rejected=yes
17429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17436 if test $ac_prog_rejected = yes; then
17437 # We found a bogon in the path, so make sure we never use it.
17438 set dummy $ac_cv_prog_CC
17440 if test $# != 0; then
17441 # We chose a different compiler from the bogus one.
17442 # However, it has the same basename, so the bogon will be chosen
17443 # first if we set CC to just the basename; use the full file name.
17445 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17451 if test -n "$CC"; then
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17453 $as_echo "$CC" >&6; }
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17456 $as_echo "no" >&6; }
17461 if test -z "$CC"; then
17462 if test -n "$ac_tool_prefix"; then
17463 for ac_prog in cl.exe
17465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17468 $as_echo_n "checking for $ac_word... " >&6; }
17469 if ${ac_cv_prog_CC+:} false; then :
17470 $as_echo_n "(cached) " >&6
17472 if test -n "$CC"; then
17473 ac_cv_prog_CC="$CC" # Let the user override the test.
17475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17476 for as_dir in $PATH
17479 test -z "$as_dir" && as_dir=.
17480 for ac_exec_ext in '' $ac_executable_extensions; do
17481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17482 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17493 if test -n "$CC"; then
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17495 $as_echo "$CC" >&6; }
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498 $as_echo "no" >&6; }
17502 test -n "$CC" && break
17505 if test -z "$CC"; then
17507 for ac_prog in cl.exe
17509 # Extract the first word of "$ac_prog", so it can be a program name with args.
17510 set dummy $ac_prog; ac_word=$2
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17512 $as_echo_n "checking for $ac_word... " >&6; }
17513 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17514 $as_echo_n "(cached) " >&6
17516 if test -n "$ac_ct_CC"; then
17517 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17520 for as_dir in $PATH
17523 test -z "$as_dir" && as_dir=.
17524 for ac_exec_ext in '' $ac_executable_extensions; do
17525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17526 ac_cv_prog_ac_ct_CC="$ac_prog"
17527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17537 if test -n "$ac_ct_CC"; then
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17539 $as_echo "$ac_ct_CC" >&6; }
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17542 $as_echo "no" >&6; }
17546 test -n "$ac_ct_CC" && break
17549 if test "x$ac_ct_CC" = x; then
17552 case $cross_compiling:$ac_tool_warned in
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17556 ac_tool_warned=yes ;;
17565 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17567 as_fn_error $? "no acceptable C compiler found in \$PATH
17568 See \`config.log' for more details" "$LINENO" 5; }
17570 # Provide some information about the compiler.
17571 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17574 for ac_option in --version -v -V -qversion; do
17575 { { ac_try="$ac_compiler $ac_option >&5"
17576 case "(($ac_try" in
17577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17578 *) ac_try_echo=$ac_try;;
17580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17581 $as_echo "$ac_try_echo"; } >&5
17582 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17584 if test -s conftest.err; then
17586 ... rest of stderr output deleted ...
17587 10q' conftest.err >conftest.er1
17588 cat conftest.er1 >&5
17590 rm -f conftest.er1 conftest.err
17591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17592 test $ac_status = 0; }
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17596 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17597 if ${ac_cv_c_compiler_gnu+:} false; then :
17598 $as_echo_n "(cached) " >&6
17600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 /* end confdefs.h. */
17614 if ac_fn_c_try_compile "$LINENO"; then :
17615 ac_compiler_gnu=yes
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17624 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17625 if test $ac_compiler_gnu = yes; then
17630 ac_test_CFLAGS=${CFLAGS+set}
17631 ac_save_CFLAGS=$CFLAGS
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17633 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17634 if ${ac_cv_prog_cc_g+:} false; then :
17635 $as_echo_n "(cached) " >&6
17637 ac_save_c_werror_flag=$ac_c_werror_flag
17638 ac_c_werror_flag=yes
17641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17652 if ac_fn_c_try_compile "$LINENO"; then :
17653 ac_cv_prog_cc_g=yes
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17667 if ac_fn_c_try_compile "$LINENO"; then :
17670 ac_c_werror_flag=$ac_save_c_werror_flag
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 ac_cv_prog_cc_g=yes
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691 ac_c_werror_flag=$ac_save_c_werror_flag
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17694 $as_echo "$ac_cv_prog_cc_g" >&6; }
17695 if test "$ac_test_CFLAGS" = set; then
17696 CFLAGS=$ac_save_CFLAGS
17697 elif test $ac_cv_prog_cc_g = yes; then
17698 if test "$GCC" = yes; then
17704 if test "$GCC" = yes; then
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17712 if ${ac_cv_prog_cc_c89+:} false; then :
17713 $as_echo_n "(cached) " >&6
17715 ac_cv_prog_cc_c89=no
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17719 #include <stdarg.h>
17721 #include <sys/types.h>
17722 #include <sys/stat.h>
17723 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17724 struct buf { int x; };
17725 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17726 static char *e (p, i)
17732 static char *f (char * (*g) (char **, int), char **p, ...)
17737 s = g (p, va_arg (v,int));
17742 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17743 function prototypes and stuff, but not '\xHH' hex character constants.
17744 These don't provoke an error unfortunately, instead are silently treated
17745 as 'x'. The following induces an error, until -std is added to get
17746 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17747 array size at least. It's necessary to write '\x00'==0 to get something
17748 that's true only with -std. */
17749 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17751 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17752 inside strings and character constants. */
17754 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17756 int test (int i, double x);
17757 struct s1 {int (*f) (int a);};
17758 struct s2 {int (*f) (double a);};
17759 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17765 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17770 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17771 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17773 CC="$ac_save_CC $ac_arg"
17774 if ac_fn_c_try_compile "$LINENO"; then :
17775 ac_cv_prog_cc_c89=$ac_arg
17777 rm -f core conftest.err conftest.$ac_objext
17778 test "x$ac_cv_prog_cc_c89" != "xno" && break
17780 rm -f conftest.$ac_ext
17785 case "x$ac_cv_prog_cc_c89" in
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17788 $as_echo "none needed" >&6; } ;;
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17791 $as_echo "unsupported" >&6; } ;;
17793 CC="$CC $ac_cv_prog_cc_c89"
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17795 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17797 if test "x$ac_cv_prog_cc_c89" != xno; then :
17802 ac_cpp='$CPP $CPPFLAGS'
17803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17807 depcc="$CC" am_compiler_list=
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17810 $as_echo_n "checking dependency style of $depcc... " >&6; }
17811 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17812 $as_echo_n "(cached) " >&6
17814 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17815 # We make a subdir and do the tests there. Otherwise we can end up
17816 # making bogus files that we don't know about and never remove. For
17817 # instance it was reported that on HP-UX the gcc test will end up
17818 # making a dummy file named `D' -- because `-MD' means `put the output
17820 rm -rf conftest.dir
17822 # Copy depcomp to subdir because otherwise we won't find it if we're
17823 # using a relative directory.
17824 cp "$am_depcomp" conftest.dir
17826 # We will build objects and dependencies in a subdirectory because
17827 # it helps to detect inapplicable dependency modes. For instance
17828 # both Tru64's cc and ICC support -MD to output dependencies as a
17829 # side effect of compilation, but ICC will put the dependencies in
17830 # the current directory while Tru64 will put them in the object
17834 am_cv_CC_dependencies_compiler_type=none
17835 if test "$am_compiler_list" = ""; then
17836 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17838 am__universal=false
17839 case " $depcc " in #(
17840 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17843 for depmode in $am_compiler_list; do
17844 # Setup a source with many dependencies, because some compilers
17845 # like to wrap large dependency lists on column 80 (with \), and
17846 # we should not choose a depcomp mode which is confused by this.
17848 # We need to recreate these files for each test, as the compiler may
17849 # overwrite some of them when testing with obscure command lines.
17850 # This happens at least with the AIX C compiler.
17852 for i in 1 2 3 4 5 6; do
17853 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17854 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17855 # Solaris 8's {/usr,}/bin/sh.
17856 touch sub/conftst$i.h
17858 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17860 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17861 # mode. It turns out that the SunPro C++ compiler does not properly
17862 # handle `-M -o', and we need to detect this. Also, some Intel
17863 # versions had trouble with output in subdirs
17864 am__obj=sub/conftest.${OBJEXT-o}
17865 am__minus_obj="-o $am__obj"
17868 # This depmode causes a compiler race in universal mode.
17869 test "$am__universal" = false || continue
17872 # after this tag, mechanisms are not by side-effect, so they'll
17873 # only be used when explicitly requested
17874 if test "x$enable_dependency_tracking" = xyes; then
17880 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17881 # This compiler won't grok `-c -o', but also, the minuso test has
17882 # not run yet. These depmodes are late enough in the game, and
17883 # so weak that their functioning should not be impacted.
17884 am__obj=conftest.${OBJEXT-o}
17889 if depmode=$depmode \
17890 source=sub/conftest.c object=$am__obj \
17891 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17892 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17893 >/dev/null 2>conftest.err &&
17894 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17895 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17896 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17897 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17898 # icc doesn't choke on unknown options, it will just issue warnings
17899 # or remarks (even with -Werror). So we grep stderr for any message
17900 # that says an option was ignored or not supported.
17901 # When given -MP, icc 7.0 and 7.1 complain thusly:
17902 # icc: Command line warning: ignoring option '-M'; no argument required
17903 # The diagnosis changed in icc 8.0:
17904 # icc: Command line remark: option '-MP' not supported
17905 if (grep 'ignoring option' conftest.err ||
17906 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17907 am_cv_CC_dependencies_compiler_type=$depmode
17914 rm -rf conftest.dir
17916 am_cv_CC_dependencies_compiler_type=none
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17921 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17922 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17925 test "x$enable_dependency_tracking" != xno \
17926 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17927 am__fastdepCC_TRUE=
17928 am__fastdepCC_FALSE='#'
17930 am__fastdepCC_TRUE='#'
17931 am__fastdepCC_FALSE=
17944 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17945 if test -n "$ac_tool_prefix"; then
17946 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17947 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17949 $as_echo_n "checking for $ac_word... " >&6; }
17950 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17951 $as_echo_n "(cached) " >&6
17953 case $PKG_CONFIG in
17955 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17959 for as_dir in $PATH
17962 test -z "$as_dir" && as_dir=.
17963 for ac_exec_ext in '' $ac_executable_extensions; do
17964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17965 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17976 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17977 if test -n "$PKG_CONFIG"; then
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17979 $as_echo "$PKG_CONFIG" >&6; }
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17982 $as_echo "no" >&6; }
17987 if test -z "$ac_cv_path_PKG_CONFIG"; then
17988 ac_pt_PKG_CONFIG=$PKG_CONFIG
17989 # Extract the first word of "pkg-config", so it can be a program name with args.
17990 set dummy pkg-config; ac_word=$2
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17992 $as_echo_n "checking for $ac_word... " >&6; }
17993 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17994 $as_echo_n "(cached) " >&6
17996 case $ac_pt_PKG_CONFIG in
17998 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18002 for as_dir in $PATH
18005 test -z "$as_dir" && as_dir=.
18006 for ac_exec_ext in '' $ac_executable_extensions; do
18007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18008 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18019 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18020 if test -n "$ac_pt_PKG_CONFIG"; then
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18022 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18025 $as_echo "no" >&6; }
18028 if test "x$ac_pt_PKG_CONFIG" = x; then
18031 case $cross_compiling:$ac_tool_warned in
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18035 ac_tool_warned=yes ;;
18037 PKG_CONFIG=$ac_pt_PKG_CONFIG
18040 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18044 if test -n "$PKG_CONFIG"; then
18045 _pkg_min_version=0.9.0
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18047 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18048 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18050 $as_echo "yes" >&6; }
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18053 $as_echo "no" >&6; }
18058 # Check whether pkg-config supports Requires.private
18059 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
18060 pkgconfig_requires_private="Requires.private"
18062 pkgconfig_requires_private="Requires"
18066 # doxygen program for documentation building
18069 # Check whether --enable-doc was given.
18070 if test "${enable_doc+set}" = set; then :
18071 enableval=$enable_doc;
18072 if test "x${enableval}" = "xyes" ; then
18073 efl_enable_doc="yes"
18075 efl_enable_doc="no"
18079 efl_enable_doc="yes"
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18084 $as_echo_n "checking whether to build documentation... " >&6; }
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
18086 $as_echo "${efl_enable_doc}" >&6; }
18088 if test "x${efl_enable_doc}" = "xyes" ; then
18091 efl_doxygen="doxygen"
18094 # Check whether --with-doxygen was given.
18095 if test "${with_doxygen+set}" = set; then :
18096 withval=$with_doxygen;
18097 efl_doxygen=${withval}
18098 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18099 set dummy ${efl_doxygen}; ac_word=$2
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18101 $as_echo_n "checking for $ac_word... " >&6; }
18102 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18103 $as_echo_n "(cached) " >&6
18105 if test -n "$efl_have_doxygen"; then
18106 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18109 for as_dir in $PATH
18112 test -z "$as_dir" && as_dir=.
18113 for ac_exec_ext in '' $ac_executable_extensions; do
18114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18115 ac_cv_prog_efl_have_doxygen="yes"
18116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18123 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18126 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18127 if test -n "$efl_have_doxygen"; then
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18129 $as_echo "$efl_have_doxygen" >&6; }
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18132 $as_echo "no" >&6; }
18136 if test "x${efl_have_doxygen}" = "xno" ; then
18138 echo "The doxygen program you specified:"
18139 echo "${efl_doxygen}"
18140 echo "was not found. Please check the path and make sure "
18141 echo "the program exists and is executable."
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18143 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18147 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18148 set dummy ${efl_doxygen}; ac_word=$2
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18150 $as_echo_n "checking for $ac_word... " >&6; }
18151 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18152 $as_echo_n "(cached) " >&6
18154 if test -n "$efl_have_doxygen"; then
18155 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18158 for as_dir in $PATH
18161 test -z "$as_dir" && as_dir=.
18162 for ac_exec_ext in '' $ac_executable_extensions; do
18163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18164 ac_cv_prog_efl_have_doxygen="yes"
18165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18172 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18175 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18176 if test -n "$efl_have_doxygen"; then
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18178 $as_echo "$efl_have_doxygen" >&6; }
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18181 $as_echo "no" >&6; }
18185 if test "x${efl_have_doxygen}" = "xno" ; then
18187 echo "The doxygen program was not found in your execute path."
18188 echo "You may have doxygen installed somewhere not covered by your path."
18190 echo "If this is the case make sure you have the packages installed, AND"
18191 echo "that the doxygen program is in your execute path (see your"
18192 echo "shell manual page on setting the \$PATH environment variable), OR"
18193 echo "alternatively, specify the program to use with --with-doxygen."
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18195 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18204 if ! test "x${efl_have_doxygen}" = "xyes" ; then
18205 efl_enable_doc="no"
18208 if test "x${efl_enable_doc}" = "xyes"; then
18209 EFL_BUILD_DOC_TRUE=
18210 EFL_BUILD_DOC_FALSE='#'
18212 EFL_BUILD_DOC_TRUE='#'
18213 EFL_BUILD_DOC_FALSE=
18217 if test "x${efl_enable_doc}" = "xyes" ; then
18226 ### Checks for libraries
18228 # Evil library for compilation on Windows CE
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
18235 $as_echo_n "checking for EVIL... " >&6; }
18237 if test -n "$EVIL_CFLAGS"; then
18238 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
18239 elif test -n "$PKG_CONFIG"; then
18240 if test -n "$PKG_CONFIG" && \
18241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18242 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18245 test $ac_status = 0; }; then
18246 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
18247 test "x$?" != "x0" && pkg_failed=yes
18254 if test -n "$EVIL_LIBS"; then
18255 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
18256 elif test -n "$PKG_CONFIG"; then
18257 if test -n "$PKG_CONFIG" && \
18258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18259 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18262 test $ac_status = 0; }; then
18263 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
18264 test "x$?" != "x0" && pkg_failed=yes
18274 if test $pkg_failed = yes; then
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18276 $as_echo "no" >&6; }
18278 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18279 _pkg_short_errors_supported=yes
18281 _pkg_short_errors_supported=no
18283 if test $_pkg_short_errors_supported = yes; then
18284 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18286 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.0.0" 2>&1`
18288 # Put the nasty error message in config.log where it belongs
18289 echo "$EVIL_PKG_ERRORS" >&5
18291 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
18295 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18296 installed software in a non-standard prefix.
18298 Alternatively, you may set the environment variables EVIL_CFLAGS
18299 and EVIL_LIBS to avoid the need to call pkg-config.
18300 See the pkg-config man page for more details." "$LINENO" 5
18301 elif test $pkg_failed = untried; then
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18303 $as_echo "no" >&6; }
18304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18306 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18307 is in your PATH or set the PKG_CONFIG environment variable to the full
18308 path to pkg-config.
18310 Alternatively, you may set the environment variables EVIL_CFLAGS
18311 and EVIL_LIBS to avoid the need to call pkg-config.
18312 See the pkg-config man page for more details.
18314 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18315 See \`config.log' for more details" "$LINENO" 5; }
18317 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
18318 EVIL_LIBS=$pkg_cv_EVIL_LIBS
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18320 $as_echo "yes" >&6; }
18324 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
18326 requirement_evas="evil ${requirement_evas}"
18330 ### Checks for portability layer
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
18335 $as_echo_n "checking for EXOTIC... " >&6; }
18337 if test -n "$EXOTIC_CFLAGS"; then
18338 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
18339 elif test -n "$PKG_CONFIG"; then
18340 if test -n "$PKG_CONFIG" && \
18341 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18342 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18345 test $ac_status = 0; }; then
18346 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
18347 test "x$?" != "x0" && pkg_failed=yes
18354 if test -n "$EXOTIC_LIBS"; then
18355 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
18356 elif test -n "$PKG_CONFIG"; then
18357 if test -n "$PKG_CONFIG" && \
18358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18359 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18362 test $ac_status = 0; }; then
18363 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
18364 test "x$?" != "x0" && pkg_failed=yes
18374 if test $pkg_failed = yes; then
18375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18376 $as_echo "no" >&6; }
18378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18379 _pkg_short_errors_supported=yes
18381 _pkg_short_errors_supported=no
18383 if test $_pkg_short_errors_supported = yes; then
18384 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
18386 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
18388 # Put the nasty error message in config.log where it belongs
18389 echo "$EXOTIC_PKG_ERRORS" >&5
18392 elif test $pkg_failed = untried; then
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18394 $as_echo "no" >&6; }
18397 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
18398 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18400 $as_echo "yes" >&6; }
18401 enable_exotic="yes"
18404 if test "x${enable_exotic}" = "xyes"; then
18405 requirement_evas="exotic ${requirement_evas}"
18408 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
18411 if test "x${enable_exotic}" = "xyes"; then
18412 EVAS_HAVE_EXOTIC_TRUE=
18413 EVAS_HAVE_EXOTIC_FALSE='#'
18415 EVAS_HAVE_EXOTIC_TRUE='#'
18416 EVAS_HAVE_EXOTIC_FALSE=
18420 ## strong dependencies
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
18426 $as_echo_n "checking for EINA... " >&6; }
18428 if test -n "$EINA_CFLAGS"; then
18429 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
18430 elif test -n "$PKG_CONFIG"; then
18431 if test -n "$PKG_CONFIG" && \
18432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
18433 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
18435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18436 test $ac_status = 0; }; then
18437 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.0" 2>/dev/null`
18438 test "x$?" != "x0" && pkg_failed=yes
18445 if test -n "$EINA_LIBS"; then
18446 pkg_cv_EINA_LIBS="$EINA_LIBS"
18447 elif test -n "$PKG_CONFIG"; then
18448 if test -n "$PKG_CONFIG" && \
18449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
18450 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
18452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18453 test $ac_status = 0; }; then
18454 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.0" 2>/dev/null`
18455 test "x$?" != "x0" && pkg_failed=yes
18465 if test $pkg_failed = yes; then
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18467 $as_echo "no" >&6; }
18469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18470 _pkg_short_errors_supported=yes
18472 _pkg_short_errors_supported=no
18474 if test $_pkg_short_errors_supported = yes; then
18475 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.0" 2>&1`
18477 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.0" 2>&1`
18479 # Put the nasty error message in config.log where it belongs
18480 echo "$EINA_PKG_ERRORS" >&5
18482 as_fn_error $? "Package requirements (eina >= 1.6.0) were not met:
18486 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18487 installed software in a non-standard prefix.
18489 Alternatively, you may set the environment variables EINA_CFLAGS
18490 and EINA_LIBS to avoid the need to call pkg-config.
18491 See the pkg-config man page for more details." "$LINENO" 5
18492 elif test $pkg_failed = untried; then
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18494 $as_echo "no" >&6; }
18495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18497 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18498 is in your PATH or set the PKG_CONFIG environment variable to the full
18499 path to pkg-config.
18501 Alternatively, you may set the environment variables EINA_CFLAGS
18502 and EINA_LIBS to avoid the need to call pkg-config.
18503 See the pkg-config man page for more details.
18505 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18506 See \`config.log' for more details" "$LINENO" 5; }
18508 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
18509 EINA_LIBS=$pkg_cv_EINA_LIBS
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18511 $as_echo "yes" >&6; }
18514 CPPFLAGS_SAVE="$CPPFLAGS"
18515 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
18516 # The cast to long int works around a bug in the HP C Compiler
18517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18519 # This bug is HP SR number 8606223364.
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
18521 $as_echo_n "checking size of Eina_Unicode... " >&6; }
18522 if ${ac_cv_sizeof_Eina_Unicode+:} false; then :
18523 $as_echo_n "(cached) " >&6
18525 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode" "#include <Eina.h>
18529 if test "$ac_cv_type_Eina_Unicode" = yes; then
18530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18532 as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
18533 See \`config.log' for more details" "$LINENO" 5; }
18535 ac_cv_sizeof_Eina_Unicode=0
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
18541 $as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
18545 cat >>confdefs.h <<_ACEOF
18546 #define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
18550 CPPFLAGS="$CPPFLAGS_SAVE"
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
18556 $as_echo_n "checking for FREETYPE... " >&6; }
18558 if test -n "$FREETYPE_CFLAGS"; then
18559 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
18560 elif test -n "$PKG_CONFIG"; then
18561 if test -n "$PKG_CONFIG" && \
18562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18563 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18566 test $ac_status = 0; }; then
18567 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
18568 test "x$?" != "x0" && pkg_failed=yes
18575 if test -n "$FREETYPE_LIBS"; then
18576 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
18577 elif test -n "$PKG_CONFIG"; then
18578 if test -n "$PKG_CONFIG" && \
18579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18580 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18583 test $ac_status = 0; }; then
18584 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
18585 test "x$?" != "x0" && pkg_failed=yes
18595 if test $pkg_failed = yes; then
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18597 $as_echo "no" >&6; }
18599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18600 _pkg_short_errors_supported=yes
18602 _pkg_short_errors_supported=no
18604 if test $_pkg_short_errors_supported = yes; then
18605 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18607 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 9.3.0" 2>&1`
18609 # Put the nasty error message in config.log where it belongs
18610 echo "$FREETYPE_PKG_ERRORS" >&5
18612 as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
18614 $FREETYPE_PKG_ERRORS
18616 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18617 installed software in a non-standard prefix.
18619 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18620 and FREETYPE_LIBS to avoid the need to call pkg-config.
18621 See the pkg-config man page for more details." "$LINENO" 5
18622 elif test $pkg_failed = untried; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18624 $as_echo "no" >&6; }
18625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18627 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18628 is in your PATH or set the PKG_CONFIG environment variable to the full
18629 path to pkg-config.
18631 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18632 and FREETYPE_LIBS to avoid the need to call pkg-config.
18633 See the pkg-config man page for more details.
18635 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18636 See \`config.log' for more details" "$LINENO" 5; }
18638 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
18639 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18641 $as_echo "yes" >&6; }
18645 requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}"
18647 ## optional dependencies
18650 have_fontconfig="no"
18651 # Check whether --enable-fontconfig was given.
18652 if test "${enable_fontconfig+set}" = set; then :
18653 enableval=$enable_fontconfig;
18654 if test "x${enableval}" = "xyes" ; then
18655 want_fontconfig="yes"
18657 want_fontconfig="no"
18664 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18668 $as_echo_n "checking for FONTCONFIG... " >&6; }
18670 if test -n "$FONTCONFIG_CFLAGS"; then
18671 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18672 elif test -n "$PKG_CONFIG"; then
18673 if test -n "$PKG_CONFIG" && \
18674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18675 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18678 test $ac_status = 0; }; then
18679 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
18680 test "x$?" != "x0" && pkg_failed=yes
18687 if test -n "$FONTCONFIG_LIBS"; then
18688 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18689 elif test -n "$PKG_CONFIG"; then
18690 if test -n "$PKG_CONFIG" && \
18691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18692 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18695 test $ac_status = 0; }; then
18696 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
18697 test "x$?" != "x0" && pkg_failed=yes
18707 if test $pkg_failed = yes; then
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18709 $as_echo "no" >&6; }
18711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18712 _pkg_short_errors_supported=yes
18714 _pkg_short_errors_supported=no
18716 if test $_pkg_short_errors_supported = yes; then
18717 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18719 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.5.0" 2>&1`
18721 # Put the nasty error message in config.log where it belongs
18722 echo "$FONTCONFIG_PKG_ERRORS" >&5
18725 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18726 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18729 elif test $pkg_failed = untried; then
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18731 $as_echo "no" >&6; }
18733 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18734 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18738 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18739 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18741 $as_echo "yes" >&6; }
18743 have_fontconfig="yes"
18745 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18747 requirement_evas="fontconfig ${requirement_evas}"
18753 have_linebreak="no"
18754 want_linebreak="yes"
18755 # Check whether --enable-liblinebreak was given.
18756 if test "${enable_liblinebreak+set}" = set; then :
18757 enableval=$enable_liblinebreak;
18758 if test "x${enableval}" = "xyes" ; then
18759 want_linebreak="yes"
18761 want_linebreak="no"
18768 if test "x${want_linebreak}" = "xyes"; then
18769 EVAS_USE_LINEBREAK_TRUE=
18770 EVAS_USE_LINEBREAK_FALSE='#'
18772 EVAS_USE_LINEBREAK_TRUE='#'
18773 EVAS_USE_LINEBREAK_FALSE=
18776 if test "x${want_linebreak}" = "xyes" ; then
18777 have_linebreak="yes"
18778 LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18779 LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18783 $as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18786 have_linebreak="no"
18791 # Check whether --enable-fribidi was given.
18792 if test "${enable_fribidi+set}" = set; then :
18793 enableval=$enable_fribidi;
18794 if test "x${enableval}" = "xyes" ; then
18803 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18807 $as_echo_n "checking for FRIBIDI... " >&6; }
18809 if test -n "$FRIBIDI_CFLAGS"; then
18810 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18811 elif test -n "$PKG_CONFIG"; then
18812 if test -n "$PKG_CONFIG" && \
18813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18814 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18817 test $ac_status = 0; }; then
18818 pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18819 test "x$?" != "x0" && pkg_failed=yes
18826 if test -n "$FRIBIDI_LIBS"; then
18827 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18828 elif test -n "$PKG_CONFIG"; then
18829 if test -n "$PKG_CONFIG" && \
18830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18831 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18834 test $ac_status = 0; }; then
18835 pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18836 test "x$?" != "x0" && pkg_failed=yes
18846 if test $pkg_failed = yes; then
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18848 $as_echo "no" >&6; }
18850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18851 _pkg_short_errors_supported=yes
18853 _pkg_short_errors_supported=no
18855 if test $_pkg_short_errors_supported = yes; then
18856 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18858 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fribidi >= 0.19.2" 2>&1`
18860 # Put the nasty error message in config.log where it belongs
18861 echo "$FRIBIDI_PKG_ERRORS" >&5
18864 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18865 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18868 elif test $pkg_failed = untried; then
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18870 $as_echo "no" >&6; }
18872 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18873 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18877 FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18878 FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18880 $as_echo "yes" >&6; }
18884 $as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18886 requirement_evas="fribidi ${requirement_evas}"
18887 CPPFLAGS_SAVE="$CPPFLAGS"
18888 CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18889 # The cast to long int works around a bug in the HP C Compiler
18890 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18891 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18892 # This bug is HP SR number 8606223364.
18893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18894 $as_echo_n "checking size of FriBidiChar... " >&6; }
18895 if ${ac_cv_sizeof_FriBidiChar+:} false; then :
18896 $as_echo_n "(cached) " >&6
18898 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar" "#include <fribidi.h>
18902 if test "$ac_cv_type_FriBidiChar" = yes; then
18903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18905 as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18906 See \`config.log' for more details" "$LINENO" 5; }
18908 ac_cv_sizeof_FriBidiChar=0
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18914 $as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18918 cat >>confdefs.h <<_ACEOF
18919 #define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18923 CPPFLAGS="$CPPFLAGS_SAVE"
18928 if test "x${have_fribidi}" = "xno"; then
18934 have_harfbuzz_ft="no"
18935 # Check whether --enable-harfbuzz was given.
18936 if test "${enable_harfbuzz+set}" = set; then :
18937 enableval=$enable_harfbuzz;
18938 if test "x${enableval}" = "xyes" ; then
18939 want_harfbuzz="yes"
18947 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
18951 $as_echo_n "checking for HARFBUZZ... " >&6; }
18953 if test -n "$HARFBUZZ_CFLAGS"; then
18954 pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
18955 elif test -n "$PKG_CONFIG"; then
18956 if test -n "$PKG_CONFIG" && \
18957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18958 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18961 test $ac_status = 0; }; then
18962 pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.9.0" 2>/dev/null`
18963 test "x$?" != "x0" && pkg_failed=yes
18970 if test -n "$HARFBUZZ_LIBS"; then
18971 pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
18972 elif test -n "$PKG_CONFIG"; then
18973 if test -n "$PKG_CONFIG" && \
18974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18975 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18978 test $ac_status = 0; }; then
18979 pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.9.0" 2>/dev/null`
18980 test "x$?" != "x0" && pkg_failed=yes
18990 if test $pkg_failed = yes; then
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18992 $as_echo "no" >&6; }
18994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18995 _pkg_short_errors_supported=yes
18997 _pkg_short_errors_supported=no
18999 if test $_pkg_short_errors_supported = yes; then
19000 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19002 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "harfbuzz >= 0.9.0" 2>&1`
19004 # Put the nasty error message in config.log where it belongs
19005 echo "$HARFBUZZ_PKG_ERRORS" >&5
19008 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19009 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19012 elif test $pkg_failed = untried; then
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19014 $as_echo "no" >&6; }
19016 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19017 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
19021 HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
19022 HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19024 $as_echo "yes" >&6; }
19026 have_harfbuzz="yes"
19027 requirement_evas="harfbuzz ${requirement_evas}"
19030 if test "x$have_harfbuzz" = "xyes" ; then
19032 CPPFLAGS_SAVE="$CPPFLAGS"
19033 CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
19034 # must have for usage with harfbuzz although harfbuzz may not have it.
19036 ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
19037 if test "x$ac_cv_header_hb_ft_h" = xyes; then :
19039 have_harfbuzz_ft="yes"
19040 #Depend on harfbuzz ft for harfbuzz support
19042 $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
19047 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19048 as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
19055 CPPFLAGS="$CPPFLAGS_SAVE"
19059 if test "x${have_harfbuzz}" = "xno"; then
19065 # Check whether --enable-pixman was given.
19066 if test "${enable_pixman+set}" = set; then :
19067 enableval=$enable_pixman;
19068 if test "x${enableval}" = "xyes" ; then
19078 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
19082 $as_echo_n "checking for PIXMAN... " >&6; }
19084 if test -n "$PIXMAN_CFLAGS"; then
19085 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
19086 elif test -n "$PKG_CONFIG"; then
19087 if test -n "$PKG_CONFIG" && \
19088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19089 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19092 test $ac_status = 0; }; then
19093 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
19094 test "x$?" != "x0" && pkg_failed=yes
19101 if test -n "$PIXMAN_LIBS"; then
19102 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
19103 elif test -n "$PKG_CONFIG"; then
19104 if test -n "$PKG_CONFIG" && \
19105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19106 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19109 test $ac_status = 0; }; then
19110 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
19111 test "x$?" != "x0" && pkg_failed=yes
19121 if test $pkg_failed = yes; then
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19123 $as_echo "no" >&6; }
19125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19126 _pkg_short_errors_supported=yes
19128 _pkg_short_errors_supported=no
19130 if test $_pkg_short_errors_supported = yes; then
19131 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1`
19133 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1`
19135 # Put the nasty error message in config.log where it belongs
19136 echo "$PIXMAN_PKG_ERRORS" >&5
19139 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19140 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19143 elif test $pkg_failed = untried; then
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19145 $as_echo "no" >&6; }
19147 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19148 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19152 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
19153 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19155 $as_echo "yes" >&6; }
19159 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
19161 requirement_evas="pixman-1 ${requirement_evas}"
19166 have_pixman_font="no"
19167 # Check whether --enable-pixman-font was given.
19168 if test "${enable_pixman_font+set}" = set; then :
19169 enableval=$enable_pixman_font;
19170 have_pixman_font="yes"
19172 $as_echo "#define PIXMAN_FONT 1" >>confdefs.h
19179 have_pixman_rect="no"
19180 # Check whether --enable-pixman-rect was given.
19181 if test "${enable_pixman_rect+set}" = set; then :
19182 enableval=$enable_pixman_rect;
19183 have_pixman_rect="yes"
19185 $as_echo "#define PIXMAN_RECT 1" >>confdefs.h
19192 have_pixman_line="no"
19193 # Check whether --enable-pixman-line was given.
19194 if test "${enable_pixman_line+set}" = set; then :
19195 enableval=$enable_pixman_line;
19196 have_pixman_line="yes"
19198 $as_echo "#define PIXMAN_LINE 1" >>confdefs.h
19205 have_pixman_poly="no"
19206 # Check whether --enable-pixman-poly was given.
19207 if test "${enable_pixman_poly+set}" = set; then :
19208 enableval=$enable_pixman_poly;
19209 have_pixman_poly="yes"
19211 $as_echo "#define PIXMAN_POLY 1" >>confdefs.h
19218 have_pixman_image="no"
19219 # Check whether --enable-pixman-image was given.
19220 if test "${enable_pixman_image+set}" = set; then :
19221 enableval=$enable_pixman_image;
19222 have_pixman_image="yes"
19224 $as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
19231 have_pixman_image_scale_sample="no"
19232 # Check whether --enable-pixman-image-scale-sample was given.
19233 if test "${enable_pixman_image_scale_sample+set}" = set; then :
19234 enableval=$enable_pixman_image_scale_sample;
19235 have_pixman_image_scale_sample="yes"
19237 $as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
19244 have_tile_rotate="no"
19245 # Check whether --enable-tile-rotate was given.
19246 if test "${enable_tile_rotate+set}" = set; then :
19247 enableval=$enable_tile_rotate;
19248 have_tile_rotate="yes"
19250 $as_echo "#define TILE_ROTATE 1" >>confdefs.h
19257 ### Checks for header files
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19259 $as_echo_n "checking for ANSI C header files... " >&6; }
19260 if ${ac_cv_header_stdc+:} false; then :
19261 $as_echo_n "(cached) " >&6
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <stdlib.h>
19266 #include <stdarg.h>
19267 #include <string.h>
19278 if ac_fn_c_try_compile "$LINENO"; then :
19279 ac_cv_header_stdc=yes
19281 ac_cv_header_stdc=no
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19285 if test $ac_cv_header_stdc = yes; then
19286 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #include <string.h>
19292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19293 $EGREP "memchr" >/dev/null 2>&1; then :
19296 ac_cv_header_stdc=no
19302 if test $ac_cv_header_stdc = yes; then
19303 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19306 #include <stdlib.h>
19309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19310 $EGREP "free" >/dev/null 2>&1; then :
19313 ac_cv_header_stdc=no
19319 if test $ac_cv_header_stdc = yes; then
19320 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19321 if test "$cross_compiling" = yes; then :
19324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h. */
19327 #include <stdlib.h>
19328 #if ((' ' & 0x0FF) == 0x020)
19329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19332 # define ISLOWER(c) \
19333 (('a' <= (c) && (c) <= 'i') \
19334 || ('j' <= (c) && (c) <= 'r') \
19335 || ('s' <= (c) && (c) <= 'z'))
19336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19344 for (i = 0; i < 256; i++)
19345 if (XOR (islower (i), ISLOWER (i))
19346 || toupper (i) != TOUPPER (i))
19351 if ac_fn_c_try_run "$LINENO"; then :
19354 ac_cv_header_stdc=no
19356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19357 conftest.$ac_objext conftest.beam conftest.$ac_ext
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19363 $as_echo "$ac_cv_header_stdc" >&6; }
19364 if test $ac_cv_header_stdc = yes; then
19366 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19370 for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
19372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19373 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19375 cat >>confdefs.h <<_ACEOF
19376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19387 ac_cpp='$CPP $CPPFLAGS'
19388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
19394 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19398 #include <limits.h>
19410 if ac_fn_c_try_compile "$LINENO"; then :
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19412 $as_echo "yes" >&6; }
19416 cat >>confdefs.h <<_ACEOF
19417 #define PATH_MAX ${default_max}
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
19421 $as_echo "no: using ${default_max}" >&6; }
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19435 ### Checks for types
19436 ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
19438 if test "x$ac_cv_type_struct_sigaction" = xyes; then :
19440 cat >>confdefs.h <<_ACEOF
19441 #define HAVE_STRUCT_SIGACTION 1
19449 ### Checks for structures
19452 ### Checks for compiler characteristics
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19454 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19455 if ${ac_cv_c_const+:} false; then :
19456 $as_echo_n "(cached) " >&6
19458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19459 /* end confdefs.h. */
19464 /* FIXME: Include the comments suggested by Paul. */
19465 #ifndef __cplusplus
19466 /* Ultrix mips cc rejects this. */
19467 typedef int charset[2];
19469 /* SunOS 4.1.1 cc rejects this. */
19470 char const *const *pcpcc;
19472 /* NEC SVR4.0.2 mips cc rejects this. */
19473 struct point {int x, y;};
19474 static struct point const zero = {0,0};
19475 /* AIX XL C 1.02.0.0 rejects this.
19476 It does not let you subtract one const X* pointer from another in
19477 an arm of an if-expression whose if-part is not a constant
19479 const char *g = "string";
19480 pcpcc = &g + (g ? g-g : 0);
19481 /* HPUX 7.0 cc rejects these. */
19483 ppc = (char**) pcpcc;
19484 pcpcc = (char const *const *) ppc;
19485 { /* SCO 3.2v4 cc rejects this. */
19487 char const *s = 0 ? (char *) 0 : (char const *) 0;
19492 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19493 int x[] = {25, 17};
19494 const int *foo = &x[0];
19497 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19498 typedef const int *iptr;
19502 { /* AIX XL C 1.02.0.0 rejects this saying
19503 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19504 struct s { int j; const int *ap[3]; };
19505 struct s *b; b->j = 5;
19507 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19508 const int foo = 10;
19509 if (!foo) return 0;
19511 return !cs[0] && !zero.x;
19518 if ac_fn_c_try_compile "$LINENO"; then :
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19526 $as_echo "$ac_cv_c_const" >&6; }
19527 if test $ac_cv_c_const = no; then
19529 $as_echo "#define const /**/" >>confdefs.h
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
19534 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
19535 if ${ac_cv_c_bigendian+:} false; then :
19536 $as_echo_n "(cached) " >&6
19538 ac_cv_c_bigendian=unknown
19539 # See if we're dealing with a universal compiler.
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #ifndef __APPLE_CC__
19543 not a universal capable compiler
19548 if ac_fn_c_try_compile "$LINENO"; then :
19550 # Check for potential -arch flags. It is not universal unless
19551 # there are at least two -arch flags with different values.
19554 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
19555 if test -n "$ac_prev"; then
19557 i?86 | x86_64 | ppc | ppc64)
19558 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
19561 ac_cv_c_bigendian=universal
19567 elif test "x$ac_word" = "x-arch"; then
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573 if test $ac_cv_c_bigendian = unknown; then
19574 # See if sys/param.h defines the BYTE_ORDER macro.
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19577 #include <sys/types.h>
19578 #include <sys/param.h>
19583 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
19584 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
19586 bogus endian macros
19593 if ac_fn_c_try_compile "$LINENO"; then :
19594 # It does; now see whether it defined to BIG_ENDIAN or not.
19595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19597 #include <sys/types.h>
19598 #include <sys/param.h>
19603 #if BYTE_ORDER != BIG_ENDIAN
19611 if ac_fn_c_try_compile "$LINENO"; then :
19612 ac_cv_c_bigendian=yes
19614 ac_cv_c_bigendian=no
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 if test $ac_cv_c_bigendian = unknown; then
19621 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
19622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19624 #include <limits.h>
19629 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
19630 bogus endian macros
19637 if ac_fn_c_try_compile "$LINENO"; then :
19638 # It does; now see whether it defined to _BIG_ENDIAN or not.
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 #include <limits.h>
19646 #ifndef _BIG_ENDIAN
19654 if ac_fn_c_try_compile "$LINENO"; then :
19655 ac_cv_c_bigendian=yes
19657 ac_cv_c_bigendian=no
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 if test $ac_cv_c_bigendian = unknown; then
19664 # Compile a test program.
19665 if test "$cross_compiling" = yes; then :
19666 # Try to guess by grepping values from an object file.
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19669 short int ascii_mm[] =
19670 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19671 short int ascii_ii[] =
19672 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19673 int use_ascii (int i) {
19674 return ascii_mm[i] + ascii_ii[i];
19676 short int ebcdic_ii[] =
19677 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19678 short int ebcdic_mm[] =
19679 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19680 int use_ebcdic (int i) {
19681 return ebcdic_mm[i] + ebcdic_ii[i];
19688 return use_ascii (foo) == use_ebcdic (foo);
19693 if ac_fn_c_try_compile "$LINENO"; then :
19694 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
19695 ac_cv_c_bigendian=yes
19697 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19698 if test "$ac_cv_c_bigendian" = unknown; then
19699 ac_cv_c_bigendian=no
19701 # finding both strings is unlikely to happen, but who knows?
19702 ac_cv_c_bigendian=unknown
19706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19710 $ac_includes_default
19715 /* Are we little or big endian? From Harbison&Steele. */
19719 char c[sizeof (long int)];
19722 return u.c[sizeof (long int) - 1] == 1;
19728 if ac_fn_c_try_run "$LINENO"; then :
19729 ac_cv_c_bigendian=no
19731 ac_cv_c_bigendian=yes
19733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19734 conftest.$ac_objext conftest.beam conftest.$ac_ext
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19740 $as_echo "$ac_cv_c_bigendian" >&6; }
19741 case $ac_cv_c_bigendian in #(
19743 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19749 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19753 as_fn_error $? "unknown endianness
19754 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19757 case $ac_cv_prog_cc_stdc in #(
19759 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19762 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19763 if ${ac_cv_prog_cc_c99+:} false; then :
19764 $as_echo_n "(cached) " >&6
19766 ac_cv_prog_cc_c99=no
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #include <stdarg.h>
19771 #include <stdbool.h>
19772 #include <stdlib.h>
19776 // Check varargs macros. These examples are taken from C99 6.10.3.5.
19777 #define debug(...) fprintf (stderr, __VA_ARGS__)
19778 #define showlist(...) puts (#__VA_ARGS__)
19779 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19781 test_varargs_macros (void)
19786 debug ("X = %d\n", x);
19787 showlist (The first, second, and third items.);
19788 report (x>y, "x is %d but y is %d", x, y);
19791 // Check long long types.
19792 #define BIG64 18446744073709551615ull
19793 #define BIG32 4294967295ul
19794 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19796 your preprocessor is broken;
19800 your preprocessor is broken;
19802 static long long int bignum = -9223372036854775807LL;
19803 static unsigned long long int ubignum = BIG64;
19805 struct incomplete_array
19811 struct named_init {
19813 const wchar_t *name;
19817 typedef const char *ccp;
19820 test_restrict (ccp restrict text)
19822 // See if C++-style comments work.
19823 // Iterate through items via the restricted pointer.
19824 // Also check for declarations in for loops.
19825 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19830 // Check varargs and va_copy.
19832 test_varargs (const char *format, ...)
19835 va_start (args, format);
19837 va_copy (args_copy, args);
19847 case 's': // string
19848 str = va_arg (args_copy, const char *);
19851 number = va_arg (args_copy, int);
19854 fnumber = va_arg (args_copy, double);
19860 va_end (args_copy);
19869 _Bool success = false;
19872 if (test_restrict ("String literal") == 0)
19874 char *restrict newvar = "Another string";
19877 test_varargs ("s, d' f .", "string", 65, 34.234);
19878 test_varargs_macros ();
19880 // Check flexible array members.
19881 struct incomplete_array *ia =
19882 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19884 for (int i = 0; i < ia->datasize; ++i)
19885 ia->data[i] = i * 1.234;
19887 // Check named initializers.
19888 struct named_init ni = {
19890 .name = L"Test wide string",
19891 .average = 543.34343,
19896 int dynamic_array[ni.number];
19897 dynamic_array[ni.number - 1] = 543;
19899 // work around unused variable warnings
19900 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19901 || dynamic_array[ni.number - 1] != 543);
19907 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
19909 CC="$ac_save_CC $ac_arg"
19910 if ac_fn_c_try_compile "$LINENO"; then :
19911 ac_cv_prog_cc_c99=$ac_arg
19913 rm -f core conftest.err conftest.$ac_objext
19914 test "x$ac_cv_prog_cc_c99" != "xno" && break
19916 rm -f conftest.$ac_ext
19921 case "x$ac_cv_prog_cc_c99" in
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19924 $as_echo "none needed" >&6; } ;;
19926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19927 $as_echo "unsupported" >&6; } ;;
19929 CC="$CC $ac_cv_prog_cc_c99"
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19931 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19933 if test "x$ac_cv_prog_cc_c99" != xno; then :
19934 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19937 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19938 if ${ac_cv_prog_cc_c89+:} false; then :
19939 $as_echo_n "(cached) " >&6
19941 ac_cv_prog_cc_c89=no
19943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19944 /* end confdefs.h. */
19945 #include <stdarg.h>
19947 #include <sys/types.h>
19948 #include <sys/stat.h>
19949 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19950 struct buf { int x; };
19951 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19952 static char *e (p, i)
19958 static char *f (char * (*g) (char **, int), char **p, ...)
19963 s = g (p, va_arg (v,int));
19968 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19969 function prototypes and stuff, but not '\xHH' hex character constants.
19970 These don't provoke an error unfortunately, instead are silently treated
19971 as 'x'. The following induces an error, until -std is added to get
19972 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19973 array size at least. It's necessary to write '\x00'==0 to get something
19974 that's true only with -std. */
19975 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19977 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19978 inside strings and character constants. */
19980 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19982 int test (int i, double x);
19983 struct s1 {int (*f) (int a);};
19984 struct s2 {int (*f) (double a);};
19985 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19991 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19996 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19997 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19999 CC="$ac_save_CC $ac_arg"
20000 if ac_fn_c_try_compile "$LINENO"; then :
20001 ac_cv_prog_cc_c89=$ac_arg
20003 rm -f core conftest.err conftest.$ac_objext
20004 test "x$ac_cv_prog_cc_c89" != "xno" && break
20006 rm -f conftest.$ac_ext
20011 case "x$ac_cv_prog_cc_c89" in
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20014 $as_echo "none needed" >&6; } ;;
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20017 $as_echo "unsupported" >&6; } ;;
20019 CC="$CC $ac_cv_prog_cc_c89"
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
20021 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
20023 if test "x$ac_cv_prog_cc_c89" != xno; then :
20024 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
20026 ac_cv_prog_cc_stdc=no
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
20033 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
20034 if ${ac_cv_prog_cc_stdc+:} false; then :
20035 $as_echo_n "(cached) " >&6
20038 case $ac_cv_prog_cc_stdc in #(
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20041 $as_echo "unsupported" >&6; } ;; #(
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20044 $as_echo "none needed" >&6; } ;; #(
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
20047 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
20052 $as_echo_n "checking for __attribute__ ((unused))... " >&6; }
20053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20054 /* end confdefs.h. */
20056 void foo(int x __attribute__ ((unused))) {}
20067 if ac_fn_c_try_compile "$LINENO"; then :
20068 have_attribute_unused="yes"
20070 have_attribute_unused="no"
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
20074 $as_echo "${have_attribute_unused}" >&6; }
20076 if test "x${have_attribute_unused}" = "xyes" ; then
20078 $as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
20082 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
20088 $as_echo_n "checking for __attribute__ ((vector))... " >&6; }
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20092 typedef int v4si __attribute__ ((vector_size (16)));
20098 if (sizeof(v4si) == 16)
20107 if ac_fn_c_try_compile "$LINENO"; then :
20108 have_attribute_vector="yes"
20110 have_attribute_vector="no"
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
20114 $as_echo "${have_attribute_vector}" >&6; }
20116 if test "x${have_attribute_vector}" = "xyes" ; then
20118 $as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
20124 have_attribute_forceinline="no"
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
20127 $as_echo_n "checking for __forceinline... " >&6; }
20129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20130 /* end confdefs.h. */
20132 #include <windows.h>
20133 static __forceinline void foo(void) {}
20144 if ac_fn_c_try_compile "$LINENO"; then :
20146 have_attribute_always_inline="yes"
20147 have_attribute_forceinline="yes"
20150 have_attribute_always_inline="no"
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20155 $as_echo "${have_attribute_always_inline}" >&6; }
20157 if test "x${have_attribute_always_inline}" = "xno" ; then
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
20159 $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
20160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20161 /* end confdefs.h. */
20163 static __attribute__((__always_inline__)) inline void foo(void) {}
20174 if ac_fn_c_try_compile "$LINENO"; then :
20175 have_attribute_always_inline="yes"
20177 have_attribute_always_inline="no"
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20181 $as_echo "${have_attribute_always_inline}" >&6; }
20184 if test "x${have_attribute_always_inline}" = "xyes" ; then
20185 if test "x${have_attribute_forceinline}" = "xyes" ; then
20187 $as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
20191 $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
20196 $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
20202 ### Checks for linker characteristics
20203 lt_enable_auto_import=""
20204 case "${host_os}" in
20207 $as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
20209 lt_enable_auto_import="-Wl,--enable-auto-import"
20215 ### Checks for library functions
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
20218 $as_echo_n "checking for library containing strerror... " >&6; }
20219 if ${ac_cv_search_strerror+:} false; then :
20220 $as_echo_n "(cached) " >&6
20222 ac_func_search_save_LIBS=$LIBS
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20226 /* Override any GCC internal prototype to avoid an error.
20227 Use char because int might match the return type of a GCC
20228 builtin and then its argument prototype would still apply. */
20236 return strerror ();
20241 for ac_lib in '' cposix; do
20242 if test -z "$ac_lib"; then
20243 ac_res="none required"
20246 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20248 if ac_fn_c_try_link "$LINENO"; then :
20249 ac_cv_search_strerror=$ac_res
20251 rm -f core conftest.err conftest.$ac_objext \
20253 if ${ac_cv_search_strerror+:} false; then :
20257 if ${ac_cv_search_strerror+:} false; then :
20260 ac_cv_search_strerror=no
20262 rm conftest.$ac_ext
20263 LIBS=$ac_func_search_save_LIBS
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
20266 $as_echo "$ac_cv_search_strerror" >&6; }
20267 ac_res=$ac_cv_search_strerror
20268 if test "$ac_res" != no; then :
20269 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20273 for ac_func in siglongjmp fcntl
20275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20277 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20278 cat >>confdefs.h <<_ACEOF
20279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20287 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20288 if test "x$ac_cv_type_size_t" = xyes; then :
20292 cat >>confdefs.h <<_ACEOF
20293 #define size_t unsigned int
20298 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20299 # for constant arguments. Useless!
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
20301 $as_echo_n "checking for working alloca.h... " >&6; }
20302 if ${ac_cv_working_alloca_h+:} false; then :
20303 $as_echo_n "(cached) " >&6
20305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20306 /* end confdefs.h. */
20307 #include <alloca.h>
20311 char *p = (char *) alloca (2 * sizeof (int));
20317 if ac_fn_c_try_link "$LINENO"; then :
20318 ac_cv_working_alloca_h=yes
20320 ac_cv_working_alloca_h=no
20322 rm -f core conftest.err conftest.$ac_objext \
20323 conftest$ac_exeext conftest.$ac_ext
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
20326 $as_echo "$ac_cv_working_alloca_h" >&6; }
20327 if test $ac_cv_working_alloca_h = yes; then
20329 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
20334 $as_echo_n "checking for alloca... " >&6; }
20335 if ${ac_cv_func_alloca_works+:} false; then :
20336 $as_echo_n "(cached) " >&6
20338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20341 # define alloca __builtin_alloca
20344 # include <malloc.h>
20345 # define alloca _alloca
20347 # ifdef HAVE_ALLOCA_H
20348 # include <alloca.h>
20353 # ifndef alloca /* predefined by HP cc +Olibcalls */
20354 void *alloca (size_t);
20364 char *p = (char *) alloca (1);
20370 if ac_fn_c_try_link "$LINENO"; then :
20371 ac_cv_func_alloca_works=yes
20373 ac_cv_func_alloca_works=no
20375 rm -f core conftest.err conftest.$ac_objext \
20376 conftest$ac_exeext conftest.$ac_ext
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
20379 $as_echo "$ac_cv_func_alloca_works" >&6; }
20381 if test $ac_cv_func_alloca_works = yes; then
20383 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
20386 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20387 # that cause trouble. Some versions do not even contain alloca or
20388 # contain a buggy version. If you still want to use their alloca,
20389 # use ar to extract alloca.o from them instead of compiling alloca.c.
20391 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20393 $as_echo "#define C_ALLOCA 1" >>confdefs.h
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20397 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20398 if ${ac_cv_os_cray+:} false; then :
20399 $as_echo_n "(cached) " >&6
20401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20402 /* end confdefs.h. */
20403 #if defined CRAY && ! defined CRAY2
20410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20411 $EGREP "webecray" >/dev/null 2>&1; then :
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
20420 $as_echo "$ac_cv_os_cray" >&6; }
20421 if test $ac_cv_os_cray = yes; then
20422 for ac_func in _getb67 GETB67 getb67; do
20423 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20424 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20425 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20427 cat >>confdefs.h <<_ACEOF
20428 #define CRAY_STACKSEG_END $ac_func
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20438 $as_echo_n "checking stack direction for C alloca... " >&6; }
20439 if ${ac_cv_c_stack_direction+:} false; then :
20440 $as_echo_n "(cached) " >&6
20442 if test "$cross_compiling" = yes; then :
20443 ac_cv_c_stack_direction=0
20445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h. */
20447 $ac_includes_default
20449 find_stack_direction ()
20451 static char *addr = 0;
20456 return find_stack_direction ();
20459 return (&dummy > addr) ? 1 : -1;
20465 return find_stack_direction () < 0;
20468 if ac_fn_c_try_run "$LINENO"; then :
20469 ac_cv_c_stack_direction=1
20471 ac_cv_c_stack_direction=-1
20473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20474 conftest.$ac_objext conftest.beam conftest.$ac_ext
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
20479 $as_echo "$ac_cv_c_stack_direction" >&6; }
20480 cat >>confdefs.h <<_ACEOF
20481 #define STACK_DIRECTION $ac_cv_c_stack_direction
20491 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
20492 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
20493 _efl_have_fnmatch="yes"
20495 _efl_have_fnmatch="no"
20500 if test "x${_efl_have_fnmatch}" = "xyes" ; then
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
20502 $as_echo_n "checking for library containing fnmatch... " >&6; }
20503 if ${ac_cv_search_fnmatch+:} false; then :
20504 $as_echo_n "(cached) " >&6
20506 ac_func_search_save_LIBS=$LIBS
20507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20508 /* end confdefs.h. */
20510 /* Override any GCC internal prototype to avoid an error.
20511 Use char because int might match the return type of a GCC
20512 builtin and then its argument prototype would still apply. */
20525 for ac_lib in '' fnmatch evil exotic iberty; do
20526 if test -z "$ac_lib"; then
20527 ac_res="none required"
20530 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20532 if ac_fn_c_try_link "$LINENO"; then :
20533 ac_cv_search_fnmatch=$ac_res
20535 rm -f core conftest.err conftest.$ac_objext \
20537 if ${ac_cv_search_fnmatch+:} false; then :
20541 if ${ac_cv_search_fnmatch+:} false; then :
20544 ac_cv_search_fnmatch=no
20546 rm conftest.$ac_ext
20547 LIBS=$ac_func_search_save_LIBS
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
20550 $as_echo "$ac_cv_search_fnmatch" >&6; }
20551 ac_res=$ac_cv_search_fnmatch
20552 if test "$ac_res" != no; then :
20553 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20554 _efl_have_fnmatch="yes"
20556 _efl_have_fnmatch="no"
20561 EFL_FNMATCH_LIBS=""
20563 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
20564 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
20569 if test "x$_efl_have_fnmatch" = "xyes"; then :
20572 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
20582 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20586 # nothing on mingw platform
20589 for ac_func in dlsym
20591 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
20592 if test "x$ac_cv_func_dlsym" = xyes; then :
20593 cat >>confdefs.h <<_ACEOF
20594 #define HAVE_DLSYM 1
20602 if test "x$res" = "xyes"; then
20603 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
20607 $as_echo_n "checking for dlsym in -ldl... " >&6; }
20608 if ${ac_cv_lib_dl_dlsym+:} false; then :
20609 $as_echo_n "(cached) " >&6
20611 ac_check_lib_save_LIBS=$LIBS
20613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20616 /* Override any GCC internal prototype to avoid an error.
20617 Use char because int might match the return type of a GCC
20618 builtin and then its argument prototype would still apply. */
20631 if ac_fn_c_try_link "$LINENO"; then :
20632 ac_cv_lib_dl_dlsym=yes
20634 ac_cv_lib_dl_dlsym=no
20636 rm -f core conftest.err conftest.$ac_objext \
20637 conftest$ac_exeext conftest.$ac_ext
20638 LIBS=$ac_check_lib_save_LIBS
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
20641 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
20642 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
20648 if test "x$res" = "xyes"; then
20650 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20653 want_evas_engine_gl_xlib="no"
20654 want_evas_engine_gl_xcb="no"
20655 want_evas_engine_gl_sdl="no"
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20663 $as_echo_n "checking for lround in -lm... " >&6; }
20664 if ${ac_cv_lib_m_lround+:} false; then :
20665 $as_echo_n "(cached) " >&6
20667 ac_check_lib_save_LIBS=$LIBS
20669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20670 /* end confdefs.h. */
20672 /* Override any GCC internal prototype to avoid an error.
20673 Use char because int might match the return type of a GCC
20674 builtin and then its argument prototype would still apply. */
20687 if ac_fn_c_try_link "$LINENO"; then :
20688 ac_cv_lib_m_lround=yes
20690 ac_cv_lib_m_lround=no
20692 rm -f core conftest.err conftest.$ac_objext \
20693 conftest$ac_exeext conftest.$ac_ext
20694 LIBS=$ac_check_lib_save_LIBS
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20697 $as_echo "$ac_cv_lib_m_lround" >&6; }
20698 if test "x$ac_cv_lib_m_lround" = xyes; then :
20704 if test "x$res" = "xyes"; then
20706 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20710 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
20712 _efl_have_shm_open="no"
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20716 $as_echo_n "checking for shm_open in libc... " >&6; }
20717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20718 /* end confdefs.h. */
20720 #include <sys/mman.h>
20721 #include <sys/stat.h> /* For mode constants */
20722 #include <fcntl.h> /* For O_* constants */
20730 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20736 if ac_fn_c_try_link "$LINENO"; then :
20737 _efl_have_shm_open="yes"
20739 _efl_have_shm_open="no"
20741 rm -f core conftest.err conftest.$ac_objext \
20742 conftest$ac_exeext conftest.$ac_ext
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20745 $as_echo "${_efl_have_shm_open}" >&6; }
20747 if test "x${_efl_have_shm_open}" = "xno" ; then
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20749 $as_echo_n "checking for shm_open in librt... " >&6; }
20751 LIBS_save="${LIBS}"
20752 LIBS="${LIBS} -lrt"
20753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20754 /* end confdefs.h. */
20756 #include <sys/mman.h>
20757 #include <sys/stat.h> /* For mode constants */
20758 #include <fcntl.h> /* For O_* constants */
20766 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20772 if ac_fn_c_try_link "$LINENO"; then :
20774 EFL_SHM_OPEN_LIBS="-lrt"
20775 _efl_have_shm_open="yes"
20778 _efl_have_shm_open="no"
20780 rm -f core conftest.err conftest.$ac_objext \
20781 conftest$ac_exeext conftest.$ac_ext
20783 LIBS="${LIBS_save}"
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20786 $as_echo "${_efl_have_shm_open}" >&6; }
20791 if test "x${_efl_have_shm_open}" = "xyes" ; then
20793 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20797 if test "x${_efl_have_shm_open}" = "xyes"; then :
20804 # (shm_open (for cache server)
20805 # Check whether --enable-evas-cserve was given.
20806 if test "${enable_evas_cserve+set}" = set; then :
20807 enableval=$enable_evas_cserve;
20808 if test "x${enableval}" = "xyes" ; then
20809 want_evas_cserve="yes"
20811 want_evas_cserve="no"
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20817 $as_echo_n "checking whether to build shared cache server and support... " >&6; }
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20819 $as_echo "${want_evas_cserve}" >&6; }
20821 # (shm_open (for cache server)
20822 # Check whether --enable-evas-cserve2 was given.
20823 if test "${enable_evas_cserve2+set}" = set; then :
20824 enableval=$enable_evas_cserve2;
20825 if test "x${enableval}" = "xyes" ; then
20826 want_evas_cserve2="yes"
20828 want_evas_cserve2="no"
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server 2 and support" >&5
20834 $as_echo_n "checking whether to build shared cache server 2 and support... " >&6; }
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve2}" >&5
20836 $as_echo "${want_evas_cserve2}" >&6; }
20838 # cserve2 only works on Linux so far.
20839 if test "x${want_evas_cserve2}" = "xyes" ; then
20840 for ac_header in sys/epoll.h sys/inotify.h sys/signalfd.h
20842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20843 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20845 cat >>confdefs.h <<_ACEOF
20846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20851 want_evas_cserve2="no"
20860 if test "x${want_evas_cserve2}" = "xyes"; then
20861 want_evas_cserve="no"
20865 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
20867 _efl_have_shm_open="no"
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20871 $as_echo_n "checking for shm_open in libc... " >&6; }
20872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20875 #include <sys/mman.h>
20876 #include <sys/stat.h> /* For mode constants */
20877 #include <fcntl.h> /* For O_* constants */
20885 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20891 if ac_fn_c_try_link "$LINENO"; then :
20892 _efl_have_shm_open="yes"
20894 _efl_have_shm_open="no"
20896 rm -f core conftest.err conftest.$ac_objext \
20897 conftest$ac_exeext conftest.$ac_ext
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20900 $as_echo "${_efl_have_shm_open}" >&6; }
20902 if test "x${_efl_have_shm_open}" = "xno" ; then
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20904 $as_echo_n "checking for shm_open in librt... " >&6; }
20906 LIBS_save="${LIBS}"
20907 LIBS="${LIBS} -lrt"
20908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20911 #include <sys/mman.h>
20912 #include <sys/stat.h> /* For mode constants */
20913 #include <fcntl.h> /* For O_* constants */
20921 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20927 if ac_fn_c_try_link "$LINENO"; then :
20929 EFL_SHM_OPEN_LIBS="-lrt"
20930 _efl_have_shm_open="yes"
20933 _efl_have_shm_open="no"
20935 rm -f core conftest.err conftest.$ac_objext \
20936 conftest$ac_exeext conftest.$ac_ext
20938 LIBS="${LIBS_save}"
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20941 $as_echo "${_efl_have_shm_open}" >&6; }
20946 if test "x${_efl_have_shm_open}" = "xyes" ; then
20948 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20952 if test "x${_efl_have_shm_open}" = "xyes"; then :
20954 shm_open_libs=${EFL_SHM_OPEN_LIBS}
20958 want_evas_cserve="no"
20959 want_evas_cserve2="no"
20967 if test "x${want_evas_cserve}" = "xyes" ; then
20969 $as_echo "#define EVAS_CSERVE 1" >>confdefs.h
20973 if test "x${want_evas_cserve}" = "xyes"; then
20975 EVAS_CSERVE_FALSE='#'
20977 EVAS_CSERVE_TRUE='#'
20982 if test "x${want_evas_cserve2}" = "xyes" ; then
20984 $as_echo "#define EVAS_CSERVE2 1" >>confdefs.h
20988 if test "x${want_evas_cserve2}" = "xyes"; then
20990 EVAS_CSERVE2_FALSE='#'
20992 EVAS_CSERVE2_TRUE='#'
20993 EVAS_CSERVE2_FALSE=
20999 #######################################
21000 ## GL force flavor gles
21001 gl_flavor_gles="no"
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
21003 $as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
21004 # Check whether --enable-gl-flavor-gles was given.
21005 if test "${enable_gl_flavor_gles+set}" = set; then :
21006 enableval=$enable_gl_flavor_gles;
21007 if test "x$enableval" = "xyes" ; then
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21009 $as_echo "yes" >&6; }
21010 gl_flavor_gles="yes"
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21013 $as_echo "no" >&6; }
21014 gl_flavor_gles="no"
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21020 $as_echo "no" >&6; }
21021 gl_flavor_gles="no"
21027 #######################################
21028 ## GLES variety sgx
21029 gles_variety_sgx="no"
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
21031 $as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
21032 # Check whether --enable-gles-variety-sgx was given.
21033 if test "${enable_gles_variety_sgx+set}" = set; then :
21034 enableval=$enable_gles_variety_sgx;
21035 if test "x$enableval" = "xyes" ; then
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21037 $as_echo "yes" >&6; }
21039 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21041 gles_variety_sgx="yes"
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21044 $as_echo "no" >&6; }
21045 gles_variety_sgx="no"
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21051 $as_echo "no" >&6; }
21052 gles_variety_sgx="no"
21058 #######################################
21059 ## GLES variety s3c6410
21060 gles_variety_s3c6410="no"
21061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
21062 $as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
21063 # Check whether --enable-gles-variety-s3c6410 was given.
21064 if test "${enable_gles_variety_s3c6410+set}" = set; then :
21065 enableval=$enable_gles_variety_s3c6410;
21066 if test "x$enableval" = "xyes" ; then
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21068 $as_echo "yes" >&6; }
21070 $as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
21072 gles_variety_s3c6410="yes"
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21075 $as_echo "no" >&6; }
21076 gles_variety_s3c6410="no"
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21082 $as_echo "no" >&6; }
21083 gles_variety_s3c6410="no"
21089 if test "x$gl_flavor_gles" = "xyes"; then
21091 if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
21092 if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
21093 if test "x$eng" = "xx"; then
21096 as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
21097 --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
21098 --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
21099 You will also need to enable the OpenGL engine for X11 with:
21100 --enable-gl-xlib or --enable-gl-xcb
21105 #####################################################################
21111 want_engine="${want_evas_engine_buffer}"
21112 want_static_engine="no"
21114 have_evas_engine_buffer="no"
21116 # Check whether --enable-buffer was given.
21117 if test "${enable_buffer+set}" = set; then :
21118 enableval=$enable_buffer;
21119 if test "x${enableval}" = "xyes" ; then
21122 if test "x${enableval}" = "xstatic" ; then
21123 want_engine="static"
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
21133 $as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21135 $as_echo "${want_engine}" >&6; }
21137 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21141 evas_engine_buffer_cflags=""
21142 evas_engine_buffer_libs=""
21147 if test "x${have_dep}" = "xyes" ; then
21156 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21157 as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
21161 $as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21163 $as_echo "${have_engine}" >&6; }
21165 if test "x${have_engine}" = "xyes" ; then
21166 if test "x${want_engine}" = "xstatic" ; then
21167 have_evas_engine_buffer="static"
21168 want_static_engine="yes"
21170 have_evas_engine_buffer="yes"
21174 if test "x${have_engine}" = "xyes" ; then
21176 $as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
21180 if test "x${have_engine}" = "xyes"; then
21181 BUILD_ENGINE_BUFFER_TRUE=
21182 BUILD_ENGINE_BUFFER_FALSE='#'
21184 BUILD_ENGINE_BUFFER_TRUE='#'
21185 BUILD_ENGINE_BUFFER_FALSE=
21189 if test "x${want_static_engine}" = "xyes" ; then
21191 $as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
21193 have_static_module="yes"
21196 if test "x${want_static_engine}" = "xyes"; then
21197 EVAS_STATIC_BUILD_BUFFER_TRUE=
21198 EVAS_STATIC_BUILD_BUFFER_FALSE='#'
21200 EVAS_STATIC_BUILD_BUFFER_TRUE='#'
21201 EVAS_STATIC_BUILD_BUFFER_FALSE=
21213 want_engine="${want_evas_engine_software_gdi}"
21214 want_static_engine="no"
21216 have_evas_engine_software_gdi="no"
21218 # Check whether --enable-software-gdi was given.
21219 if test "${enable_software_gdi+set}" = set; then :
21220 enableval=$enable_software_gdi;
21221 if test "x${enableval}" = "xyes" ; then
21224 if test "x${enableval}" = "xstatic" ; then
21225 want_engine="static"
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
21235 $as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21237 $as_echo "${want_engine}" >&6; }
21239 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21243 evas_engine_software_gdi_cflags=""
21244 evas_engine_software_gdi_libs=""
21246 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
21247 if test "x$ac_cv_header_windows_h" = xyes; then :
21250 evas_engine_software_gdi_libs="-lgdi32"
21260 if test "x${have_dep}" = "xyes" ; then
21269 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21270 as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
21274 $as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21276 $as_echo "${have_engine}" >&6; }
21278 if test "x${have_engine}" = "xyes" ; then
21279 if test "x${want_engine}" = "xstatic" ; then
21280 have_evas_engine_software_gdi="static"
21281 want_static_engine="yes"
21283 have_evas_engine_software_gdi="yes"
21287 if test "x${have_engine}" = "xyes" ; then
21289 $as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
21293 if test "x${have_engine}" = "xyes"; then
21294 BUILD_ENGINE_SOFTWARE_GDI_TRUE=
21295 BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
21297 BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
21298 BUILD_ENGINE_SOFTWARE_GDI_FALSE=
21302 if test "x${want_static_engine}" = "xyes" ; then
21304 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
21306 have_static_module="yes"
21309 if test "x${want_static_engine}" = "xyes"; then
21310 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
21311 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
21313 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
21314 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
21326 want_engine="${want_evas_engine_software_ddraw}"
21327 want_static_engine="no"
21329 have_evas_engine_software_ddraw="no"
21331 # Check whether --enable-software-ddraw was given.
21332 if test "${enable_software_ddraw+set}" = set; then :
21333 enableval=$enable_software_ddraw;
21334 if test "x${enableval}" = "xyes" ; then
21337 if test "x${enableval}" = "xstatic" ; then
21338 want_engine="static"
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
21348 $as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
21349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21350 $as_echo "${want_engine}" >&6; }
21352 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21356 evas_engine_software_ddraw_cflags=""
21357 evas_engine_software_ddraw_libs=""
21359 ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
21360 if test "x$ac_cv_header_ddraw_h" = xyes; then :
21363 evas_engine_software_ddraw_libs="-lddraw"
21373 if test "x${have_dep}" = "xyes" ; then
21382 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21383 as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
21387 $as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21389 $as_echo "${have_engine}" >&6; }
21391 if test "x${have_engine}" = "xyes" ; then
21392 if test "x${want_engine}" = "xstatic" ; then
21393 have_evas_engine_software_ddraw="static"
21394 want_static_engine="yes"
21396 have_evas_engine_software_ddraw="yes"
21400 if test "x${have_engine}" = "xyes" ; then
21402 $as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
21406 if test "x${have_engine}" = "xyes"; then
21407 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
21408 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
21410 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
21411 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
21415 if test "x${want_static_engine}" = "xyes" ; then
21417 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
21419 have_static_module="yes"
21422 if test "x${want_static_engine}" = "xyes"; then
21423 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
21424 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
21426 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
21427 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
21439 want_engine="${want_evas_engine_direct3d}"
21440 want_static_engine="no"
21442 have_evas_engine_direct3d="no"
21444 # Check whether --enable-direct3d was given.
21445 if test "${enable_direct3d+set}" = set; then :
21446 enableval=$enable_direct3d;
21447 if test "x${enableval}" = "xyes" ; then
21450 if test "x${enableval}" = "xstatic" ; then
21451 want_engine="static"
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
21461 $as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21463 $as_echo "${want_engine}" >&6; }
21465 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21468 evas_engine_direct3d_cflags=""
21469 evas_engine_direct3d_libs=""
21471 for ac_header in d3d9.h d3dx9.h
21473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21474 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21476 cat >>confdefs.h <<_ACEOF
21477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21481 evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
21484 have_dep="no"; break
21494 if test "x${have_dep}" = "xyes" ; then
21503 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21504 as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
21508 $as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21510 $as_echo "${have_engine}" >&6; }
21512 if test "x${have_engine}" = "xyes" ; then
21513 if test "x${want_engine}" = "xstatic" ; then
21514 have_evas_engine_direct3d="static"
21515 want_static_engine="yes"
21517 have_evas_engine_direct3d="yes"
21521 if test "x${have_engine}" = "xyes" ; then
21523 $as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
21527 if test "x${have_engine}" = "xyes"; then
21528 BUILD_ENGINE_DIRECT3D_TRUE=
21529 BUILD_ENGINE_DIRECT3D_FALSE='#'
21531 BUILD_ENGINE_DIRECT3D_TRUE='#'
21532 BUILD_ENGINE_DIRECT3D_FALSE=
21536 if test "x${want_static_engine}" = "xyes" ; then
21538 $as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
21540 have_static_module="yes"
21543 if test "x${want_static_engine}" = "xyes"; then
21544 EVAS_STATIC_BUILD_DIRECT3D_TRUE=
21545 EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
21547 EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
21548 EVAS_STATIC_BUILD_DIRECT3D_FALSE=
21560 want_engine="${want_evas_engine_psl1ght}"
21561 want_static_engine="no"
21563 have_evas_engine_psl1ght="no"
21565 # Check whether --enable-psl1ght was given.
21566 if test "${enable_psl1ght+set}" = set; then :
21567 enableval=$enable_psl1ght;
21568 if test "x${enableval}" = "xyes" ; then
21571 if test "x${enableval}" = "xstatic" ; then
21572 want_engine="static"
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
21582 $as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21584 $as_echo "${want_engine}" >&6; }
21586 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21590 evas_engine_psl1ght_cflags=""
21591 evas_engine_psl1ght_libs=""
21593 ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
21594 if test "x$ac_cv_header_rsx_rsx_h" = xyes; then :
21603 if test "x${have_dep}" = "xyes" ; then
21612 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21613 as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
21617 $as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
21618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21619 $as_echo "${have_engine}" >&6; }
21621 if test "x${have_engine}" = "xyes" ; then
21622 if test "x${want_engine}" = "xstatic" ; then
21623 have_evas_engine_psl1ght="static"
21624 want_static_engine="yes"
21626 have_evas_engine_psl1ght="yes"
21630 if test "x${have_engine}" = "xyes" ; then
21632 $as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
21636 if test "x${have_engine}" = "xyes"; then
21637 BUILD_ENGINE_PSL1GHT_TRUE=
21638 BUILD_ENGINE_PSL1GHT_FALSE='#'
21640 BUILD_ENGINE_PSL1GHT_TRUE='#'
21641 BUILD_ENGINE_PSL1GHT_FALSE=
21645 if test "x${want_static_engine}" = "xyes" ; then
21647 $as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
21649 have_static_module="yes"
21652 if test "x${want_static_engine}" = "xyes"; then
21653 EVAS_STATIC_BUILD_PSL1GHT_TRUE=
21654 EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
21656 EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
21657 EVAS_STATIC_BUILD_PSL1GHT_FALSE=
21669 want_engine="${want_evas_engine_gl_sdl}"
21670 want_static_engine="no"
21672 have_evas_engine_gl_sdl="no"
21674 # Check whether --enable-gl-sdl was given.
21675 if test "${enable_gl_sdl+set}" = set; then :
21676 enableval=$enable_gl_sdl;
21677 if test "x${enableval}" = "xyes" ; then
21680 if test "x${enableval}" = "xstatic" ; then
21681 want_engine="static"
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
21691 $as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21693 $as_echo "${want_engine}" >&6; }
21695 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21700 evas_engine_gl_sdl_cflags=""
21701 evas_engine_gl_sdl_libs=""
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
21706 $as_echo_n "checking for SDL... " >&6; }
21708 if test -n "$SDL_CFLAGS"; then
21709 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
21710 elif test -n "$PKG_CONFIG"; then
21711 if test -n "$PKG_CONFIG" && \
21712 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21713 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21716 test $ac_status = 0; }; then
21717 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
21718 test "x$?" != "x0" && pkg_failed=yes
21725 if test -n "$SDL_LIBS"; then
21726 pkg_cv_SDL_LIBS="$SDL_LIBS"
21727 elif test -n "$PKG_CONFIG"; then
21728 if test -n "$PKG_CONFIG" && \
21729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21730 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21733 test $ac_status = 0; }; then
21734 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
21735 test "x$?" != "x0" && pkg_failed=yes
21745 if test $pkg_failed = yes; then
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21747 $as_echo "no" >&6; }
21749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21750 _pkg_short_errors_supported=yes
21752 _pkg_short_errors_supported=no
21754 if test $_pkg_short_errors_supported = yes; then
21755 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21757 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
21759 # Put the nasty error message in config.log where it belongs
21760 echo "$SDL_PKG_ERRORS" >&5
21762 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
21766 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21767 installed software in a non-standard prefix.
21769 Alternatively, you may set the environment variables SDL_CFLAGS
21770 and SDL_LIBS to avoid the need to call pkg-config.
21771 See the pkg-config man page for more details." "$LINENO" 5
21772 elif test $pkg_failed = untried; then
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21774 $as_echo "no" >&6; }
21775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21777 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21778 is in your PATH or set the PKG_CONFIG environment variable to the full
21779 path to pkg-config.
21781 Alternatively, you may set the environment variables SDL_CFLAGS
21782 and SDL_LIBS to avoid the need to call pkg-config.
21783 See the pkg-config man page for more details.
21785 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21786 See \`config.log' for more details" "$LINENO" 5; }
21788 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21789 SDL_LIBS=$pkg_cv_SDL_LIBS
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21791 $as_echo "yes" >&6; }
21795 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21796 evas_engine_gl_sdl_libs="${SDL_LIBS}"
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
21805 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
21806 CFLAGS_save="${CFLAGS}"
21807 CFLAGS="${CFLAGS} -pthread"
21808 LIBS_save="${LIBS}"
21809 LIBS="${LIBS} -pthread"
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21813 #include <pthread.h>
21819 pthread_create(NULL, NULL, NULL, NULL);
21825 if ac_fn_c_try_link "$LINENO"; then :
21830 rm -f core conftest.err conftest.$ac_objext \
21831 conftest$ac_exeext conftest.$ac_ext
21832 CFLAGS=${CFLAGS_save}
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
21835 $as_echo "${have_gl_pt}" >&6; }
21837 if test "x$have_gl_pt" = "xyes" ; then
21838 gl_pt_lib=" -pthread"
21841 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
21843 #include <GL/glext.h>
21846 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
21854 if test "x$gl_flavor_gles" = "xyes" ; then
21858 if test "x${have_dep}" = "xyes" ; then
21859 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21860 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
21861 evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
21863 ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
21864 #include <SDL/SDL_opengles.h>
21865 #include <EGL/egl.h>
21868 if test "x$ac_cv_header_SDL_SDL_opengles_h" = xyes; then :
21875 if test "x${have_egl}" = "xyes" ; then
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
21877 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
21878 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
21879 $as_echo_n "(cached) " >&6
21881 ac_check_lib_save_LIBS=$LIBS
21882 LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
21883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21884 /* end confdefs.h. */
21886 /* Override any GCC internal prototype to avoid an error.
21887 Use char because int might match the return type of a GCC
21888 builtin and then its argument prototype would still apply. */
21892 char glTexImage2D ();
21896 return glTexImage2D ();
21901 if ac_fn_c_try_link "$LINENO"; then :
21902 ac_cv_lib_GLESv2_glTexImage2D=yes
21904 ac_cv_lib_GLESv2_glTexImage2D=no
21906 rm -f core conftest.err conftest.$ac_objext \
21907 conftest$ac_exeext conftest.$ac_ext
21908 LIBS=$ac_check_lib_save_LIBS
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21911 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21912 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
21916 if test "x${have_glesv2}" = "xyes" ; then
21917 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21918 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21919 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21922 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21924 gles_variety_sgx="yes"
21932 if test "x${want_engine}" = "xstatic" ; then
21933 requirement_evas="${requirement} ${requirement_evas}"
21936 if test "x${have_dep}" = "xyes" ; then
21945 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21946 as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
21950 $as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21952 $as_echo "${have_engine}" >&6; }
21954 if test "x${have_engine}" = "xyes" ; then
21955 if test "x${want_engine}" = "xstatic" ; then
21956 have_evas_engine_gl_sdl="static"
21957 want_static_engine="yes"
21959 have_evas_engine_gl_sdl="yes"
21963 if test "x${have_engine}" = "xyes" ; then
21965 $as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
21969 if test "x${have_engine}" = "xyes"; then
21970 BUILD_ENGINE_GL_SDL_TRUE=
21971 BUILD_ENGINE_GL_SDL_FALSE='#'
21973 BUILD_ENGINE_GL_SDL_TRUE='#'
21974 BUILD_ENGINE_GL_SDL_FALSE=
21978 if test "x${want_static_engine}" = "xyes" ; then
21980 $as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
21982 have_static_module="yes"
21985 if test "x${want_static_engine}" = "xyes"; then
21986 EVAS_STATIC_BUILD_GL_SDL_TRUE=
21987 EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
21989 EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
21990 EVAS_STATIC_BUILD_GL_SDL_FALSE=
22002 want_engine="${want_evas_engine_gl_cocoa}"
22003 want_static_engine="no"
22005 have_evas_engine_gl_cocoa="no"
22007 # Check whether --enable-gl-cocoa was given.
22008 if test "${enable_gl_cocoa+set}" = set; then :
22009 enableval=$enable_gl_cocoa;
22010 if test "x${enableval}" = "xyes" ; then
22013 if test "x${enableval}" = "xstatic" ; then
22014 want_engine="static"
22023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
22024 $as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22026 $as_echo "${want_engine}" >&6; }
22028 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22031 evas_engine_gl_cocoa_cflags=""
22032 evas_engine_gl_cocoa_libs=""
22035 ac_cpp='$OBJCPP $CPPFLAGS'
22036 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
22042 LIBS="$LIBS -framework Cocoa"
22043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22044 /* end confdefs.h. */
22046 #include <Cocoa/Cocoa.h>
22053 window = [[NSWindow alloc]
22054 initWithContentRect:NSMakeRect(0, 0, 1, 1)
22055 styleMask:(NSTitledWindowMask)
22056 backing:NSBackingStoreBuffered
22065 if ac_fn_objc_try_link "$LINENO"; then :
22068 evas_engine_gl_cocoa_libs="-framework Cocoa"
22073 rm -f core conftest.err conftest.$ac_objext \
22074 conftest$ac_exeext conftest.$ac_ext
22078 ac_cpp='$CPP $CPPFLAGS'
22079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22084 if test "x${have_dep}" = "xyes" ; then
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
22088 $as_echo_n "checking for GL_EET... " >&6; }
22090 if test -n "$GL_EET_CFLAGS"; then
22091 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
22092 elif test -n "$PKG_CONFIG"; then
22093 if test -n "$PKG_CONFIG" && \
22094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22095 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22098 test $ac_status = 0; }; then
22099 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
22100 test "x$?" != "x0" && pkg_failed=yes
22107 if test -n "$GL_EET_LIBS"; then
22108 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
22109 elif test -n "$PKG_CONFIG"; then
22110 if test -n "$PKG_CONFIG" && \
22111 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22112 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22115 test $ac_status = 0; }; then
22116 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
22117 test "x$?" != "x0" && pkg_failed=yes
22127 if test $pkg_failed = yes; then
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22129 $as_echo "no" >&6; }
22131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22132 _pkg_short_errors_supported=yes
22134 _pkg_short_errors_supported=no
22136 if test $_pkg_short_errors_supported = yes; then
22137 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22139 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
22141 # Put the nasty error message in config.log where it belongs
22142 echo "$GL_EET_PKG_ERRORS" >&5
22145 elif test $pkg_failed = untried; then
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22147 $as_echo "no" >&6; }
22150 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
22151 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22153 $as_echo "yes" >&6; }
22161 if test "x${have_dep}" = "xyes" ; then
22170 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22171 as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
22175 $as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22177 $as_echo "${have_engine}" >&6; }
22179 if test "x${have_engine}" = "xyes" ; then
22180 if test "x${want_engine}" = "xstatic" ; then
22181 have_evas_engine_gl_cocoa="static"
22182 want_static_engine="yes"
22184 have_evas_engine_gl_cocoa="yes"
22188 if test "x${have_engine}" = "xyes" ; then
22190 $as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
22194 if test "x${have_engine}" = "xyes"; then
22195 BUILD_ENGINE_GL_COCOA_TRUE=
22196 BUILD_ENGINE_GL_COCOA_FALSE='#'
22198 BUILD_ENGINE_GL_COCOA_TRUE='#'
22199 BUILD_ENGINE_GL_COCOA_FALSE=
22203 if test "x${want_static_engine}" = "xyes" ; then
22205 $as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
22207 have_static_module="yes"
22210 if test "x${want_static_engine}" = "xyes"; then
22211 EVAS_STATIC_BUILD_GL_COCOA_TRUE=
22212 EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
22214 EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
22215 EVAS_STATIC_BUILD_GL_COCOA_FALSE=
22227 want_engine="${want_evas_engine_fb}"
22228 want_static_engine="no"
22230 have_evas_engine_fb="no"
22232 # Check whether --enable-fb was given.
22233 if test "${enable_fb+set}" = set; then :
22234 enableval=$enable_fb;
22235 if test "x${enableval}" = "xyes" ; then
22238 if test "x${enableval}" = "xstatic" ; then
22239 want_engine="static"
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
22249 $as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22251 $as_echo "${want_engine}" >&6; }
22253 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22257 evas_engine_fb_cflags=""
22258 evas_engine_fb_libs=""
22260 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
22261 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
22270 if test "x${have_dep}" = "xyes" ; then
22279 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22280 as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
22284 $as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22286 $as_echo "${have_engine}" >&6; }
22288 if test "x${have_engine}" = "xyes" ; then
22289 if test "x${want_engine}" = "xstatic" ; then
22290 have_evas_engine_fb="static"
22291 want_static_engine="yes"
22293 have_evas_engine_fb="yes"
22297 if test "x${have_engine}" = "xyes" ; then
22299 $as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
22303 if test "x${have_engine}" = "xyes"; then
22304 BUILD_ENGINE_FB_TRUE=
22305 BUILD_ENGINE_FB_FALSE='#'
22307 BUILD_ENGINE_FB_TRUE='#'
22308 BUILD_ENGINE_FB_FALSE=
22312 if test "x${want_static_engine}" = "xyes" ; then
22314 $as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
22316 have_static_module="yes"
22319 if test "x${want_static_engine}" = "xyes"; then
22320 EVAS_STATIC_BUILD_FB_TRUE=
22321 EVAS_STATIC_BUILD_FB_FALSE='#'
22323 EVAS_STATIC_BUILD_FB_TRUE='#'
22324 EVAS_STATIC_BUILD_FB_FALSE=
22336 want_engine="${want_evas_engine_directfb}"
22337 want_static_engine="no"
22339 have_evas_engine_directfb="no"
22341 # Check whether --enable-directfb was given.
22342 if test "${enable_directfb+set}" = set; then :
22343 enableval=$enable_directfb;
22344 if test "x${enableval}" = "xyes" ; then
22347 if test "x${enableval}" = "xstatic" ; then
22348 want_engine="static"
22357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
22358 $as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
22359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22360 $as_echo "${want_engine}" >&6; }
22362 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22367 evas_engine_directfb_cflags=""
22368 evas_engine_directfb_libs=""
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
22373 $as_echo_n "checking for DIRECTFB... " >&6; }
22375 if test -n "$DIRECTFB_CFLAGS"; then
22376 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
22377 elif test -n "$PKG_CONFIG"; then
22378 if test -n "$PKG_CONFIG" && \
22379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22380 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22383 test $ac_status = 0; }; then
22384 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
22385 test "x$?" != "x0" && pkg_failed=yes
22392 if test -n "$DIRECTFB_LIBS"; then
22393 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
22394 elif test -n "$PKG_CONFIG"; then
22395 if test -n "$PKG_CONFIG" && \
22396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22397 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22400 test $ac_status = 0; }; then
22401 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
22402 test "x$?" != "x0" && pkg_failed=yes
22412 if test $pkg_failed = yes; then
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22414 $as_echo "no" >&6; }
22416 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22417 _pkg_short_errors_supported=yes
22419 _pkg_short_errors_supported=no
22421 if test $_pkg_short_errors_supported = yes; then
22422 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22424 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "directfb >= 0.9.16" 2>&1`
22426 # Put the nasty error message in config.log where it belongs
22427 echo "$DIRECTFB_PKG_ERRORS" >&5
22429 as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
22431 $DIRECTFB_PKG_ERRORS
22433 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22434 installed software in a non-standard prefix.
22436 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22437 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22438 See the pkg-config man page for more details." "$LINENO" 5
22439 elif test $pkg_failed = untried; then
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22441 $as_echo "no" >&6; }
22442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22444 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22445 is in your PATH or set the PKG_CONFIG environment variable to the full
22446 path to pkg-config.
22448 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22449 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22450 See the pkg-config man page for more details.
22452 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22453 See \`config.log' for more details" "$LINENO" 5; }
22455 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
22456 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22458 $as_echo "yes" >&6; }
22461 requirement="directfb"
22462 evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
22463 evas_engine_directfb_libs="${DIRECTFB_LIBS}"
22471 if test "x${want_engine}" = "xstatic" ; then
22472 requirement_evas="${requirement} ${requirement_evas}"
22475 if test "x${have_dep}" = "xyes" ; then
22484 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22485 as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
22489 $as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22491 $as_echo "${have_engine}" >&6; }
22493 if test "x${have_engine}" = "xyes" ; then
22494 if test "x${want_engine}" = "xstatic" ; then
22495 have_evas_engine_directfb="static"
22496 want_static_engine="yes"
22498 have_evas_engine_directfb="yes"
22502 if test "x${have_engine}" = "xyes" ; then
22504 $as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
22508 if test "x${have_engine}" = "xyes"; then
22509 BUILD_ENGINE_DIRECTFB_TRUE=
22510 BUILD_ENGINE_DIRECTFB_FALSE='#'
22512 BUILD_ENGINE_DIRECTFB_TRUE='#'
22513 BUILD_ENGINE_DIRECTFB_FALSE=
22517 if test "x${want_static_engine}" = "xyes" ; then
22519 $as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
22521 have_static_module="yes"
22524 if test "x${want_static_engine}" = "xyes"; then
22525 EVAS_STATIC_BUILD_DIRECTFB_TRUE=
22526 EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
22528 EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
22529 EVAS_STATIC_BUILD_DIRECTFB_FALSE=
22541 want_engine="${want_evas_engine_software_8_x11}"
22542 want_static_engine="no"
22544 have_evas_engine_software_8_x11="no"
22546 # Check whether --enable-software-8-x11 was given.
22547 if test "${enable_software_8_x11+set}" = set; then :
22548 enableval=$enable_software_8_x11;
22549 if test "x${enableval}" = "xyes" ; then
22552 if test "x${enableval}" = "xstatic" ; then
22553 want_engine="static"
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
22563 $as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22565 $as_echo "${want_engine}" >&6; }
22567 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22571 evas_engine_software_8_x11_cflags=""
22572 evas_engine_software_8_x11_libs=""
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
22577 $as_echo_n "checking for XCB... " >&6; }
22579 if test -n "$XCB_CFLAGS"; then
22580 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
22581 elif test -n "$PKG_CONFIG"; then
22582 if test -n "$PKG_CONFIG" && \
22583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22584 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22587 test $ac_status = 0; }; then
22588 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22589 test "x$?" != "x0" && pkg_failed=yes
22596 if test -n "$XCB_LIBS"; then
22597 pkg_cv_XCB_LIBS="$XCB_LIBS"
22598 elif test -n "$PKG_CONFIG"; then
22599 if test -n "$PKG_CONFIG" && \
22600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22601 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22604 test $ac_status = 0; }; then
22605 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22606 test "x$?" != "x0" && pkg_failed=yes
22616 if test $pkg_failed = yes; then
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22618 $as_echo "no" >&6; }
22620 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22621 _pkg_short_errors_supported=yes
22623 _pkg_short_errors_supported=no
22625 if test $_pkg_short_errors_supported = yes; then
22626 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22628 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22630 # Put the nasty error message in config.log where it belongs
22631 echo "$XCB_PKG_ERRORS" >&5
22637 elif test $pkg_failed = untried; then
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22639 $as_echo "no" >&6; }
22645 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
22646 XCB_LIBS=$pkg_cv_XCB_LIBS
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22648 $as_echo "yes" >&6; }
22651 requirement="xcb xcb-shm xcb-image pixman-1"
22652 evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
22653 evas_engine_software_8_x11_libs="${XCB_LIBS}"
22660 if test "x${want_engine}" = "xstatic" ; then
22661 requirement_evas="${requirement} ${requirement_evas}"
22664 if test "x${have_dep}" = "xyes" ; then
22673 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22674 as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
22678 $as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22680 $as_echo "${have_engine}" >&6; }
22682 if test "x${have_engine}" = "xyes" ; then
22683 if test "x${want_engine}" = "xstatic" ; then
22684 have_evas_engine_software_8_x11="static"
22685 want_static_engine="yes"
22687 have_evas_engine_software_8_x11="yes"
22691 if test "x${have_engine}" = "xyes" ; then
22693 $as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
22697 if test "x${have_engine}" = "xyes"; then
22698 BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
22699 BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
22701 BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
22702 BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
22706 if test "x${want_static_engine}" = "xyes" ; then
22708 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
22710 have_static_module="yes"
22713 if test "x${want_static_engine}" = "xyes"; then
22714 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
22715 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
22717 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
22718 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
22730 want_engine="${want_evas_engine_software_16_x11}"
22731 want_static_engine="no"
22733 have_evas_engine_software_16_x11="no"
22735 # Check whether --enable-software-16-x11 was given.
22736 if test "${enable_software_16_x11+set}" = set; then :
22737 enableval=$enable_software_16_x11;
22738 if test "x${enableval}" = "xyes" ; then
22741 if test "x${enableval}" = "xstatic" ; then
22742 want_engine="static"
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
22752 $as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22754 $as_echo "${want_engine}" >&6; }
22756 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22760 evas_engine_software_16_x11_cflags=""
22761 evas_engine_software_16_x11_libs=""
22763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22764 $as_echo_n "checking for X... " >&6; }
22767 # Check whether --with-x was given.
22768 if test "${with_x+set}" = set; then :
22772 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22773 if test "x$with_x" = xno; then
22774 # The user explicitly disabled X.
22777 case $x_includes,$x_libraries in #(
22778 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22779 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22780 $as_echo_n "(cached) " >&6
22782 # One or both of the vars are not set, and there is no cached value.
22783 ac_x_includes=no ac_x_libraries=no
22784 rm -f -r conftest.dir
22785 if mkdir conftest.dir; then
22787 cat >Imakefile <<'_ACEOF'
22789 @echo incroot='${INCROOT}'
22791 @echo usrlibdir='${USRLIBDIR}'
22793 @echo libdir='${LIBDIR}'
22795 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22796 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22797 for ac_var in incroot usrlibdir libdir; do
22798 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22800 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22801 for ac_extension in a so sl dylib la dll; do
22802 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22803 test -f "$ac_im_libdir/libX11.$ac_extension"; then
22804 ac_im_usrlibdir=$ac_im_libdir; break
22807 # Screen out bogus values from the imake configuration. They are
22808 # bogus both because they are the default anyway, and because
22809 # using them would break gcc on systems where it needs fixed includes.
22810 case $ac_im_incroot in
22811 /usr/include) ac_x_includes= ;;
22812 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22814 case $ac_im_usrlibdir in
22815 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22816 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22820 rm -f -r conftest.dir
22823 # Standard set of common directories for X headers.
22824 # Check X11 before X11Rn because it is often a symlink to the current release.
22838 /usr/local/X11/include
22839 /usr/local/X11R7/include
22840 /usr/local/X11R6/include
22841 /usr/local/X11R5/include
22842 /usr/local/X11R4/include
22844 /usr/local/include/X11
22845 /usr/local/include/X11R7
22846 /usr/local/include/X11R6
22847 /usr/local/include/X11R5
22848 /usr/local/include/X11R4
22852 /usr/XFree86/include/X11
22856 /usr/unsupported/include
22857 /usr/athena/include
22858 /usr/local/x11r5/include
22859 /usr/lpp/Xamples/include
22861 /usr/openwin/include
22862 /usr/openwin/share/include'
22864 if test "$ac_x_includes" = no; then
22865 # Guess where to find include files, by looking for Xlib.h.
22866 # First, try using that file with no special directory specified.
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22868 /* end confdefs.h. */
22869 #include <X11/Xlib.h>
22871 if ac_fn_c_try_cpp "$LINENO"; then :
22872 # We can compile using X headers with no special include directory.
22875 for ac_dir in $ac_x_header_dirs; do
22876 if test -r "$ac_dir/X11/Xlib.h"; then
22877 ac_x_includes=$ac_dir
22882 rm -f conftest.err conftest.i conftest.$ac_ext
22883 fi # $ac_x_includes = no
22885 if test "$ac_x_libraries" = no; then
22886 # Check for the libraries.
22887 # See if we find them without any special options.
22888 # Don't add to $LIBS permanently.
22891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22892 /* end confdefs.h. */
22893 #include <X11/Xlib.h>
22902 if ac_fn_c_try_link "$LINENO"; then :
22904 # We can link X programs with no special library path.
22908 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22910 # Don't even attempt the hair of trying to link an X program!
22911 for ac_extension in a so sl dylib la dll; do
22912 if test -r "$ac_dir/libX11.$ac_extension"; then
22913 ac_x_libraries=$ac_dir
22919 rm -f core conftest.err conftest.$ac_objext \
22920 conftest$ac_exeext conftest.$ac_ext
22921 fi # $ac_x_libraries = no
22923 case $ac_x_includes,$ac_x_libraries in #(
22924 no,* | *,no | *\'*)
22925 # Didn't find X, or a directory has "'" in its name.
22926 ac_cv_have_x="have_x=no";; #(
22928 # Record where we found X for the cache.
22929 ac_cv_have_x="have_x=yes\
22930 ac_x_includes='$ac_x_includes'\
22931 ac_x_libraries='$ac_x_libraries'"
22937 eval "$ac_cv_have_x"
22940 if test "$have_x" != yes; then
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22942 $as_echo "$have_x" >&6; }
22945 # If each of the values was on the command line, it overrides each guess.
22946 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22947 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22948 # Update the cache value to reflect the command line values.
22949 ac_cv_have_x="have_x=yes\
22950 ac_x_includes='$x_includes'\
22951 ac_x_libraries='$x_libraries'"
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22953 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22956 if test "$no_x" = yes; then
22957 # Not all programs may use this symbol, but it does not hurt to define it.
22959 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22961 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22963 if test -n "$x_includes"; then
22964 X_CFLAGS="$X_CFLAGS -I$x_includes"
22967 # It would also be nice to do this for all -L options, not just this one.
22968 if test -n "$x_libraries"; then
22969 X_LIBS="$X_LIBS -L$x_libraries"
22970 # For Solaris; some versions of Sun CC require a space after -R and
22971 # others require no space. Words are not sufficient . . . .
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22973 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
22974 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22975 ac_xsave_c_werror_flag=$ac_c_werror_flag
22976 ac_c_werror_flag=yes
22977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h. */
22988 if ac_fn_c_try_link "$LINENO"; then :
22989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22990 $as_echo "no" >&6; }
22991 X_LIBS="$X_LIBS -R$x_libraries"
22993 LIBS="$ac_xsave_LIBS -R $x_libraries"
22994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22995 /* end confdefs.h. */
23005 if ac_fn_c_try_link "$LINENO"; then :
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23007 $as_echo "yes" >&6; }
23008 X_LIBS="$X_LIBS -R $x_libraries"
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
23011 $as_echo "neither works" >&6; }
23013 rm -f core conftest.err conftest.$ac_objext \
23014 conftest$ac_exeext conftest.$ac_ext
23016 rm -f core conftest.err conftest.$ac_objext \
23017 conftest$ac_exeext conftest.$ac_ext
23018 ac_c_werror_flag=$ac_xsave_c_werror_flag
23019 LIBS=$ac_xsave_LIBS
23022 # Check for system-dependent libraries X programs must link with.
23023 # Do this before checking for the system-independent R6 libraries
23024 # (-lICE), since we may need -lsocket or whatever for X linking.
23026 if test "$ISC" = yes; then
23027 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23029 # Martyn Johnson says this is needed for Ultrix, if the X
23030 # libraries were built with DECnet support. And Karl Berry says
23031 # the Alpha needs dnet_stub (dnet does not exist).
23032 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23036 /* Override any GCC internal prototype to avoid an error.
23037 Use char because int might match the return type of a GCC
23038 builtin and then its argument prototype would still apply. */
23042 char XOpenDisplay ();
23046 return XOpenDisplay ();
23051 if ac_fn_c_try_link "$LINENO"; then :
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23055 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23056 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23057 $as_echo_n "(cached) " >&6
23059 ac_check_lib_save_LIBS=$LIBS
23060 LIBS="-ldnet $LIBS"
23061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h. */
23064 /* Override any GCC internal prototype to avoid an error.
23065 Use char because int might match the return type of a GCC
23066 builtin and then its argument prototype would still apply. */
23074 return dnet_ntoa ();
23079 if ac_fn_c_try_link "$LINENO"; then :
23080 ac_cv_lib_dnet_dnet_ntoa=yes
23082 ac_cv_lib_dnet_dnet_ntoa=no
23084 rm -f core conftest.err conftest.$ac_objext \
23085 conftest$ac_exeext conftest.$ac_ext
23086 LIBS=$ac_check_lib_save_LIBS
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23089 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23090 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23091 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23094 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23096 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23097 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23098 $as_echo_n "(cached) " >&6
23100 ac_check_lib_save_LIBS=$LIBS
23101 LIBS="-ldnet_stub $LIBS"
23102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23103 /* end confdefs.h. */
23105 /* Override any GCC internal prototype to avoid an error.
23106 Use char because int might match the return type of a GCC
23107 builtin and then its argument prototype would still apply. */
23115 return dnet_ntoa ();
23120 if ac_fn_c_try_link "$LINENO"; then :
23121 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23123 ac_cv_lib_dnet_stub_dnet_ntoa=no
23125 rm -f core conftest.err conftest.$ac_objext \
23126 conftest$ac_exeext conftest.$ac_ext
23127 LIBS=$ac_check_lib_save_LIBS
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23130 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23131 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23132 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23137 rm -f core conftest.err conftest.$ac_objext \
23138 conftest$ac_exeext conftest.$ac_ext
23139 LIBS="$ac_xsave_LIBS"
23141 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23142 # to get the SysV transport functions.
23143 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23145 # The nsl library prevents programs from opening the X display
23146 # on Irix 5.2, according to T.E. Dickey.
23147 # The functions gethostbyname, getservbyname, and inet_addr are
23148 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23149 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23150 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23154 if test $ac_cv_func_gethostbyname = no; then
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23156 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23157 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23158 $as_echo_n "(cached) " >&6
23160 ac_check_lib_save_LIBS=$LIBS
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23165 /* Override any GCC internal prototype to avoid an error.
23166 Use char because int might match the return type of a GCC
23167 builtin and then its argument prototype would still apply. */
23171 char gethostbyname ();
23175 return gethostbyname ();
23180 if ac_fn_c_try_link "$LINENO"; then :
23181 ac_cv_lib_nsl_gethostbyname=yes
23183 ac_cv_lib_nsl_gethostbyname=no
23185 rm -f core conftest.err conftest.$ac_objext \
23186 conftest$ac_exeext conftest.$ac_ext
23187 LIBS=$ac_check_lib_save_LIBS
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23190 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23191 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23192 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23195 if test $ac_cv_lib_nsl_gethostbyname = no; then
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23197 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23198 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23199 $as_echo_n "(cached) " >&6
23201 ac_check_lib_save_LIBS=$LIBS
23203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23204 /* end confdefs.h. */
23206 /* Override any GCC internal prototype to avoid an error.
23207 Use char because int might match the return type of a GCC
23208 builtin and then its argument prototype would still apply. */
23212 char gethostbyname ();
23216 return gethostbyname ();
23221 if ac_fn_c_try_link "$LINENO"; then :
23222 ac_cv_lib_bsd_gethostbyname=yes
23224 ac_cv_lib_bsd_gethostbyname=no
23226 rm -f core conftest.err conftest.$ac_objext \
23227 conftest$ac_exeext conftest.$ac_ext
23228 LIBS=$ac_check_lib_save_LIBS
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23231 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23232 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23239 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23240 # socket/setsockopt and other routines are undefined under SCO ODT
23241 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23242 # on later versions), says Simon Leinen: it contains gethostby*
23243 # variants that don't use the name server (or something). -lsocket
23244 # must be given before -lnsl if both are needed. We assume that
23245 # if connect needs -lnsl, so does gethostbyname.
23246 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23247 if test "x$ac_cv_func_connect" = xyes; then :
23251 if test $ac_cv_func_connect = no; then
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23253 $as_echo_n "checking for connect in -lsocket... " >&6; }
23254 if ${ac_cv_lib_socket_connect+:} false; then :
23255 $as_echo_n "(cached) " >&6
23257 ac_check_lib_save_LIBS=$LIBS
23258 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23260 /* end confdefs.h. */
23262 /* Override any GCC internal prototype to avoid an error.
23263 Use char because int might match the return type of a GCC
23264 builtin and then its argument prototype would still apply. */
23277 if ac_fn_c_try_link "$LINENO"; then :
23278 ac_cv_lib_socket_connect=yes
23280 ac_cv_lib_socket_connect=no
23282 rm -f core conftest.err conftest.$ac_objext \
23283 conftest$ac_exeext conftest.$ac_ext
23284 LIBS=$ac_check_lib_save_LIBS
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23287 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23288 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23289 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23294 # Guillermo Gomez says -lposix is necessary on A/UX.
23295 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23296 if test "x$ac_cv_func_remove" = xyes; then :
23300 if test $ac_cv_func_remove = no; then
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23302 $as_echo_n "checking for remove in -lposix... " >&6; }
23303 if ${ac_cv_lib_posix_remove+:} false; then :
23304 $as_echo_n "(cached) " >&6
23306 ac_check_lib_save_LIBS=$LIBS
23307 LIBS="-lposix $LIBS"
23308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23309 /* end confdefs.h. */
23311 /* Override any GCC internal prototype to avoid an error.
23312 Use char because int might match the return type of a GCC
23313 builtin and then its argument prototype would still apply. */
23326 if ac_fn_c_try_link "$LINENO"; then :
23327 ac_cv_lib_posix_remove=yes
23329 ac_cv_lib_posix_remove=no
23331 rm -f core conftest.err conftest.$ac_objext \
23332 conftest$ac_exeext conftest.$ac_ext
23333 LIBS=$ac_check_lib_save_LIBS
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23336 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23337 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23338 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23343 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23344 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23345 if test "x$ac_cv_func_shmat" = xyes; then :
23349 if test $ac_cv_func_shmat = no; then
23350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23351 $as_echo_n "checking for shmat in -lipc... " >&6; }
23352 if ${ac_cv_lib_ipc_shmat+:} false; then :
23353 $as_echo_n "(cached) " >&6
23355 ac_check_lib_save_LIBS=$LIBS
23357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h. */
23360 /* Override any GCC internal prototype to avoid an error.
23361 Use char because int might match the return type of a GCC
23362 builtin and then its argument prototype would still apply. */
23375 if ac_fn_c_try_link "$LINENO"; then :
23376 ac_cv_lib_ipc_shmat=yes
23378 ac_cv_lib_ipc_shmat=no
23380 rm -f core conftest.err conftest.$ac_objext \
23381 conftest$ac_exeext conftest.$ac_ext
23382 LIBS=$ac_check_lib_save_LIBS
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23385 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23386 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23387 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23393 # Check for libraries that X11R6 Xt/Xaw programs need.
23394 ac_save_LDFLAGS=$LDFLAGS
23395 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23396 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23397 # check for ICE first), but we must link in the order -lSM -lICE or
23398 # we get undefined symbols. So assume we have SM if we have ICE.
23399 # These have to be linked with before -lX11, unlike the other
23400 # libraries we check for below, so use a different variable.
23401 # John Interrante, Karl Berry
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23403 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23404 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23405 $as_echo_n "(cached) " >&6
23407 ac_check_lib_save_LIBS=$LIBS
23408 LIBS="-lICE $X_EXTRA_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. */
23418 char IceConnectionNumber ();
23422 return IceConnectionNumber ();
23427 if ac_fn_c_try_link "$LINENO"; then :
23428 ac_cv_lib_ICE_IceConnectionNumber=yes
23430 ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
23437 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23438 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23439 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23442 LDFLAGS=$ac_save_LDFLAGS
23447 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23448 if test "x$ac_cv_header_X11_X_h" = xyes; then :
23454 if test "x${have_dep}" = "xyes" ; then
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
23456 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
23457 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
23458 $as_echo_n "(cached) " >&6
23460 ac_check_lib_save_LIBS=$LIBS
23462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h. */
23465 /* Override any GCC internal prototype to avoid an error.
23466 Use char because int might match the return type of a GCC
23467 builtin and then its argument prototype would still apply. */
23471 char XCreateImage ();
23475 return XCreateImage ();
23480 if ac_fn_c_try_link "$LINENO"; then :
23481 ac_cv_lib_X11_XCreateImage=yes
23483 ac_cv_lib_X11_XCreateImage=no
23485 rm -f core conftest.err conftest.$ac_objext \
23486 conftest$ac_exeext conftest.$ac_ext
23487 LIBS=$ac_check_lib_save_LIBS
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
23490 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
23491 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
23499 if test "x${have_dep}" = "xyes" ; then
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
23501 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
23502 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
23503 $as_echo_n "(cached) " >&6
23505 ac_check_lib_save_LIBS=$LIBS
23506 LIBS="-lXext $LIBS"
23507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h. */
23510 /* Override any GCC internal prototype to avoid an error.
23511 Use char because int might match the return type of a GCC
23512 builtin and then its argument prototype would still apply. */
23516 char XShmCreateImage ();
23520 return XShmCreateImage ();
23525 if ac_fn_c_try_link "$LINENO"; then :
23526 ac_cv_lib_Xext_XShmCreateImage=yes
23528 ac_cv_lib_Xext_XShmCreateImage=no
23530 rm -f core conftest.err conftest.$ac_objext \
23531 conftest$ac_exeext conftest.$ac_ext
23532 LIBS=$ac_check_lib_save_LIBS
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
23535 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
23536 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
23544 if test "x${have_dep}" = "xyes" ; then
23545 if test "xno" = "xyes" ; then
23546 x_libs="${x_libs} -lX11 -lXext"
23548 x_dir=${x_dir:-/usr/X11R6}
23549 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23550 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23552 evas_engine_software_16_x11_cflags="${x_cflags}"
23553 evas_engine_software_16_x11_libs="${x_libs}"
23559 if test "x${have_dep}" = "xyes" ; then
23568 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23569 as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
23573 $as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23575 $as_echo "${have_engine}" >&6; }
23577 if test "x${have_engine}" = "xyes" ; then
23578 if test "x${want_engine}" = "xstatic" ; then
23579 have_evas_engine_software_16_x11="static"
23580 want_static_engine="yes"
23582 have_evas_engine_software_16_x11="yes"
23586 if test "x${have_engine}" = "xyes" ; then
23588 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
23592 if test "x${have_engine}" = "xyes"; then
23593 BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
23594 BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
23596 BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
23597 BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
23601 if test "x${want_static_engine}" = "xyes" ; then
23603 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
23605 have_static_module="yes"
23608 if test "x${want_static_engine}" = "xyes"; then
23609 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
23610 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
23612 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
23613 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
23625 want_engine="${want_evas_engine_software_16_wince}"
23626 want_static_engine="no"
23628 have_evas_engine_software_16_wince="no"
23630 # Check whether --enable-software-16-wince was given.
23631 if test "${enable_software_16_wince+set}" = set; then :
23632 enableval=$enable_software_16_wince;
23633 if test "x${enableval}" = "xyes" ; then
23636 if test "x${enableval}" = "xstatic" ; then
23637 want_engine="static"
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
23647 $as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23649 $as_echo "${want_engine}" >&6; }
23651 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23655 evas_engine_software_16_wince_cflags=""
23656 evas_engine_software_16_wince_libs=""
23661 if test "x${have_dep}" = "xyes" ; then
23670 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23671 as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
23675 $as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23677 $as_echo "${have_engine}" >&6; }
23679 if test "x${have_engine}" = "xyes" ; then
23680 if test "x${want_engine}" = "xstatic" ; then
23681 have_evas_engine_software_16_wince="static"
23682 want_static_engine="yes"
23684 have_evas_engine_software_16_wince="yes"
23688 if test "x${have_engine}" = "xyes" ; then
23690 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
23694 if test "x${have_engine}" = "xyes"; then
23695 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
23696 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
23698 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
23699 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
23703 if test "x${want_static_engine}" = "xyes" ; then
23705 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
23707 have_static_module="yes"
23710 if test "x${want_static_engine}" = "xyes"; then
23711 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
23712 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
23714 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
23715 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
23727 want_engine="${want_evas_engine_software_16_sdl}"
23728 want_static_engine="no"
23730 have_evas_engine_software_16_sdl="no"
23732 # Check whether --enable-software-16-sdl was given.
23733 if test "${enable_software_16_sdl+set}" = set; then :
23734 enableval=$enable_software_16_sdl;
23735 if test "x${enableval}" = "xyes" ; then
23738 if test "x${enableval}" = "xstatic" ; then
23739 want_engine="static"
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
23749 $as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23751 $as_echo "${want_engine}" >&6; }
23753 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23758 evas_engine_software_16_sdl_cflags=""
23759 evas_engine_software_16_sdl_libs=""
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23764 $as_echo_n "checking for SDL... " >&6; }
23766 if test -n "$SDL_CFLAGS"; then
23767 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23768 elif test -n "$PKG_CONFIG"; then
23769 if test -n "$PKG_CONFIG" && \
23770 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23771 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23774 test $ac_status = 0; }; then
23775 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
23776 test "x$?" != "x0" && pkg_failed=yes
23783 if test -n "$SDL_LIBS"; then
23784 pkg_cv_SDL_LIBS="$SDL_LIBS"
23785 elif test -n "$PKG_CONFIG"; then
23786 if test -n "$PKG_CONFIG" && \
23787 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23788 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23791 test $ac_status = 0; }; then
23792 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
23793 test "x$?" != "x0" && pkg_failed=yes
23803 if test $pkg_failed = yes; then
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23805 $as_echo "no" >&6; }
23807 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23808 _pkg_short_errors_supported=yes
23810 _pkg_short_errors_supported=no
23812 if test $_pkg_short_errors_supported = yes; then
23813 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23815 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sdl >= 1.2.0" 2>&1`
23817 # Put the nasty error message in config.log where it belongs
23818 echo "$SDL_PKG_ERRORS" >&5
23820 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23824 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23825 installed software in a non-standard prefix.
23827 Alternatively, you may set the environment variables SDL_CFLAGS
23828 and SDL_LIBS to avoid the need to call pkg-config.
23829 See the pkg-config man page for more details." "$LINENO" 5
23830 elif test $pkg_failed = untried; then
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23832 $as_echo "no" >&6; }
23833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23835 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23836 is in your PATH or set the PKG_CONFIG environment variable to the full
23837 path to pkg-config.
23839 Alternatively, you may set the environment variables SDL_CFLAGS
23840 and SDL_LIBS to avoid the need to call pkg-config.
23841 See the pkg-config man page for more details.
23843 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23844 See \`config.log' for more details" "$LINENO" 5; }
23846 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23847 SDL_LIBS=$pkg_cv_SDL_LIBS
23848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23849 $as_echo "yes" >&6; }
23853 evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23854 evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23862 if test "x${want_engine}" = "xstatic" ; then
23863 requirement_evas="${requirement} ${requirement_evas}"
23866 if test "x${have_dep}" = "xyes" ; then
23875 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23876 as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23880 $as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23882 $as_echo "${have_engine}" >&6; }
23884 if test "x${have_engine}" = "xyes" ; then
23885 if test "x${want_engine}" = "xstatic" ; then
23886 have_evas_engine_software_16_sdl="static"
23887 want_static_engine="yes"
23889 have_evas_engine_software_16_sdl="yes"
23893 if test "x${have_engine}" = "xyes" ; then
23895 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23899 if test "x${have_engine}" = "xyes"; then
23900 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23901 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23903 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23904 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23908 if test "x${want_static_engine}" = "xyes" ; then
23910 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23912 have_static_module="yes"
23915 if test "x${want_static_engine}" = "xyes"; then
23916 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23917 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23919 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23920 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23932 want_engine="${want_evas_engine_wayland_shm}"
23933 want_static_engine="no"
23935 have_evas_engine_wayland_shm="no"
23937 # Check whether --enable-wayland-shm was given.
23938 if test "${enable_wayland_shm+set}" = set; then :
23939 enableval=$enable_wayland_shm;
23940 if test "x${enableval}" = "xyes" ; then
23943 if test "x${enableval}" = "xstatic" ; then
23944 want_engine="static"
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
23954 $as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23956 $as_echo "${want_engine}" >&6; }
23958 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23962 evas_engine_wayland_shm_cflags=""
23963 evas_engine_wayland_shm_libs=""
23968 if test "x${have_dep}" = "xyes" ; then
23977 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23978 as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
23982 $as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23984 $as_echo "${have_engine}" >&6; }
23986 if test "x${have_engine}" = "xyes" ; then
23987 if test "x${want_engine}" = "xstatic" ; then
23988 have_evas_engine_wayland_shm="static"
23989 want_static_engine="yes"
23991 have_evas_engine_wayland_shm="yes"
23995 if test "x${have_engine}" = "xyes" ; then
23997 $as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
24001 if test "x${have_engine}" = "xyes"; then
24002 BUILD_ENGINE_WAYLAND_SHM_TRUE=
24003 BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
24005 BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
24006 BUILD_ENGINE_WAYLAND_SHM_FALSE=
24010 if test "x${want_static_engine}" = "xyes" ; then
24012 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
24014 have_static_module="yes"
24017 if test "x${want_static_engine}" = "xyes"; then
24018 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
24019 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
24021 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
24022 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
24034 want_engine="${want_evas_engine_wayland_egl}"
24035 want_static_engine="no"
24037 have_evas_engine_wayland_egl="no"
24039 # Check whether --enable-wayland-egl was given.
24040 if test "${enable_wayland_egl+set}" = set; then :
24041 enableval=$enable_wayland_egl;
24042 if test "x${enableval}" = "xyes" ; then
24045 if test "x${enableval}" = "xstatic" ; then
24046 want_engine="static"
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
24056 $as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24058 $as_echo "${want_engine}" >&6; }
24060 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24065 evas_engine_wayland_egl_cflags=""
24066 evas_engine_wayland_egl_libs=""
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
24071 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
24073 if test -n "$WAYLAND_EGL_CFLAGS"; then
24074 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
24075 elif test -n "$PKG_CONFIG"; then
24076 if test -n "$PKG_CONFIG" && \
24077 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24078 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24081 test $ac_status = 0; }; then
24082 pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24083 test "x$?" != "x0" && pkg_failed=yes
24090 if test -n "$WAYLAND_EGL_LIBS"; then
24091 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
24092 elif test -n "$PKG_CONFIG"; then
24093 if test -n "$PKG_CONFIG" && \
24094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24095 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24098 test $ac_status = 0; }; then
24099 pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24100 test "x$?" != "x0" && pkg_failed=yes
24110 if test $pkg_failed = yes; then
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24112 $as_echo "no" >&6; }
24114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24115 _pkg_short_errors_supported=yes
24117 _pkg_short_errors_supported=no
24119 if test $_pkg_short_errors_supported = yes; then
24120 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24122 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24124 # Put the nasty error message in config.log where it belongs
24125 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
24131 elif test $pkg_failed = untried; then
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24133 $as_echo "no" >&6; }
24139 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
24140 WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24142 $as_echo "yes" >&6; }
24145 requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
24146 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24147 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
24151 if test "x${have_dep}" = "xyes" ; then
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
24155 $as_echo_n "checking for GL_EET... " >&6; }
24157 if test -n "$GL_EET_CFLAGS"; then
24158 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
24159 elif test -n "$PKG_CONFIG"; then
24160 if test -n "$PKG_CONFIG" && \
24161 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24162 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24165 test $ac_status = 0; }; then
24166 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
24167 test "x$?" != "x0" && pkg_failed=yes
24174 if test -n "$GL_EET_LIBS"; then
24175 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
24176 elif test -n "$PKG_CONFIG"; then
24177 if test -n "$PKG_CONFIG" && \
24178 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24179 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24182 test $ac_status = 0; }; then
24183 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
24184 test "x$?" != "x0" && pkg_failed=yes
24194 if test $pkg_failed = yes; then
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24196 $as_echo "no" >&6; }
24198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24199 _pkg_short_errors_supported=yes
24201 _pkg_short_errors_supported=no
24203 if test $_pkg_short_errors_supported = yes; then
24204 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24206 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
24208 # Put the nasty error message in config.log where it belongs
24209 echo "$GL_EET_PKG_ERRORS" >&5
24212 elif test $pkg_failed = untried; then
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24214 $as_echo "no" >&6; }
24217 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
24218 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24220 $as_echo "yes" >&6; }
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
24224 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
24225 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
24226 $as_echo_n "(cached) " >&6
24228 ac_check_lib_save_LIBS=$LIBS
24229 LIBS="-lGLESv2 -lEGL -lm $LIBS"
24230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24231 /* end confdefs.h. */
24233 /* Override any GCC internal prototype to avoid an error.
24234 Use char because int might match the return type of a GCC
24235 builtin and then its argument prototype would still apply. */
24239 char glTexImage2D ();
24243 return glTexImage2D ();
24248 if ac_fn_c_try_link "$LINENO"; then :
24249 ac_cv_lib_GLESv2_glTexImage2D=yes
24251 ac_cv_lib_GLESv2_glTexImage2D=no
24253 rm -f core conftest.err conftest.$ac_objext \
24254 conftest$ac_exeext conftest.$ac_ext
24255 LIBS=$ac_check_lib_save_LIBS
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
24258 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
24259 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
24263 if test "x${have_glesv2}" = "xyes" ; then
24264 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24265 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
24272 if test "x${want_engine}" = "xstatic" ; then
24273 requirement_evas="${requirement} ${requirement_evas}"
24276 if test "x${have_dep}" = "xyes" ; then
24285 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24286 as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
24290 $as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24292 $as_echo "${have_engine}" >&6; }
24294 if test "x${have_engine}" = "xyes" ; then
24295 if test "x${want_engine}" = "xstatic" ; then
24296 have_evas_engine_wayland_egl="static"
24297 want_static_engine="yes"
24299 have_evas_engine_wayland_egl="yes"
24303 if test "x${have_engine}" = "xyes" ; then
24305 $as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
24309 if test "x${have_engine}" = "xyes"; then
24310 BUILD_ENGINE_WAYLAND_EGL_TRUE=
24311 BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
24313 BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
24314 BUILD_ENGINE_WAYLAND_EGL_FALSE=
24318 if test "x${want_static_engine}" = "xyes" ; then
24320 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
24322 have_static_module="yes"
24325 if test "x${want_static_engine}" = "xyes"; then
24326 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
24327 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
24329 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
24330 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
24342 # Check whether --enable-sdl-primitive was given.
24343 if test "${enable_sdl_primitive+set}" = set; then :
24344 enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
24349 $as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
24351 $as_echo "${sdl_primitive}" >&6; }
24353 if test "x${sdl_primitive}" = "xyes" ; then
24355 $as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
24359 # if software generic need to be build as part of libevas.so
24360 have_static_software_generic="no"
24361 # Check whether --enable-static-software-generic was given.
24362 if test "${enable_static_software_generic+set}" = set; then :
24363 enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
24368 $as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
24370 $as_echo "${have_static_software_generic}" >&6; }
24372 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
24374 $as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
24375 have_static_software_generic="yes"
24378 if test "x${have_static_software_generic}" = "xyes"; then
24379 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
24380 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
24382 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
24383 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
24386 if test "x${have_static_software_generic}" = "xyes"; then
24388 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
24393 ######## Software Engine ########
24394 have_evas_engine_software_x11="no"
24395 have_evas_engine_software_xcb="no"
24396 have_evas_engine_software_xlib="no"
24397 build_software_xcb=
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
24402 $as_echo_n "checking whether to build Software XCB Engine... " >&6; }
24403 # Check whether --enable-software-xcb was given.
24404 if test "${enable_software_xcb+set}" = set; then :
24405 enableval=$enable_software_xcb; want_xcb=$enableval
24409 if test "x$want_xcb" != "xno" ; then
24413 want_engine="${want_evas_engine_software_xcb}"
24414 want_static_engine="no"
24416 have_evas_engine_software_xcb="no"
24418 # Check whether --enable-software-xcb was given.
24419 if test "${enable_software_xcb+set}" = set; then :
24420 enableval=$enable_software_xcb;
24421 if test "x${enableval}" = "xyes" ; then
24424 if test "x${enableval}" = "xstatic" ; then
24425 want_engine="static"
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
24435 $as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24437 $as_echo "${want_engine}" >&6; }
24439 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24444 evas_engine_software_xcb_cflags=""
24445 evas_engine_software_xcb_libs=""
24449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
24450 $as_echo_n "checking for XCB... " >&6; }
24452 if test -n "$XCB_CFLAGS"; then
24453 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
24454 elif test -n "$PKG_CONFIG"; then
24455 if test -n "$PKG_CONFIG" && \
24456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24457 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24460 test $ac_status = 0; }; then
24461 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24462 test "x$?" != "x0" && pkg_failed=yes
24469 if test -n "$XCB_LIBS"; then
24470 pkg_cv_XCB_LIBS="$XCB_LIBS"
24471 elif test -n "$PKG_CONFIG"; then
24472 if test -n "$PKG_CONFIG" && \
24473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24474 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24477 test $ac_status = 0; }; then
24478 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24479 test "x$?" != "x0" && pkg_failed=yes
24489 if test $pkg_failed = yes; then
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24491 $as_echo "no" >&6; }
24493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24494 _pkg_short_errors_supported=yes
24496 _pkg_short_errors_supported=no
24498 if test $_pkg_short_errors_supported = yes; then
24499 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24501 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24503 # Put the nasty error message in config.log where it belongs
24504 echo "$XCB_PKG_ERRORS" >&5
24510 elif test $pkg_failed = untried; then
24511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24512 $as_echo "no" >&6; }
24518 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
24519 XCB_LIBS=$pkg_cv_XCB_LIBS
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24521 $as_echo "yes" >&6; }
24524 requirement="xcb xcb-shm xcb-image pixman-1"
24525 evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
24526 evas_engine_software_xcb_libs="${XCB_LIBS}"
24533 if test "x${want_engine}" = "xstatic" ; then
24534 requirement_evas="${requirement} ${requirement_evas}"
24537 if test "x${have_dep}" = "xyes" ; then
24546 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24547 as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
24550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
24551 $as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24553 $as_echo "${have_engine}" >&6; }
24555 if test "x${have_engine}" = "xyes" ; then
24556 if test "x${want_engine}" = "xstatic" ; then
24557 have_evas_engine_software_xcb="static"
24558 want_static_engine="yes"
24560 have_evas_engine_software_xcb="yes"
24564 if test "x${have_engine}" = "xyes" ; then
24566 $as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
24570 if test "x${have_engine}" = "xyes"; then
24571 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24572 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24574 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24575 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24579 if test "x${want_static_engine}" = "xyes" ; then
24581 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
24583 have_static_module="yes"
24586 if test "x${want_static_engine}" = "xyes"; then
24587 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24588 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24590 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24591 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24599 if test "x$have_evas_engine_software_xcb" != "xno" ; then
24600 build_software_xcb="yes"
24601 have_evas_engine_software_x11="yes"
24603 cat >>confdefs.h <<_ACEOF
24604 #define BUILD_ENGINE_SOFTWARE_X11 1
24608 cat >>confdefs.h <<_ACEOF
24609 #define BUILD_ENGINE_SOFTWARE_XCB 1
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24615 $as_echo "no" >&6; }
24616 build_software_xcb="no"
24619 ## If we are not building XCB, then we can build XLib ##
24621 if test "x$build_software_xcb" = "xno" ; then
24625 want_engine="${want_evas_engine_software_xlib}"
24626 want_static_engine="no"
24628 have_evas_engine_software_xlib="no"
24630 # Check whether --enable-software-xlib was given.
24631 if test "${enable_software_xlib+set}" = set; then :
24632 enableval=$enable_software_xlib;
24633 if test "x${enableval}" = "xyes" ; then
24636 if test "x${enableval}" = "xstatic" ; then
24637 want_engine="static"
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
24647 $as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
24648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24649 $as_echo "${want_engine}" >&6; }
24651 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24655 evas_engine_software_xlib_cflags=""
24656 evas_engine_software_xlib_libs=""
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24659 $as_echo_n "checking for X... " >&6; }
24662 # Check whether --with-x was given.
24663 if test "${with_x+set}" = set; then :
24667 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24668 if test "x$with_x" = xno; then
24669 # The user explicitly disabled X.
24672 case $x_includes,$x_libraries in #(
24673 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24674 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24675 $as_echo_n "(cached) " >&6
24677 # One or both of the vars are not set, and there is no cached value.
24678 ac_x_includes=no ac_x_libraries=no
24679 rm -f -r conftest.dir
24680 if mkdir conftest.dir; then
24682 cat >Imakefile <<'_ACEOF'
24684 @echo incroot='${INCROOT}'
24686 @echo usrlibdir='${USRLIBDIR}'
24688 @echo libdir='${LIBDIR}'
24690 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24691 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24692 for ac_var in incroot usrlibdir libdir; do
24693 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24695 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24696 for ac_extension in a so sl dylib la dll; do
24697 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24698 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24699 ac_im_usrlibdir=$ac_im_libdir; break
24702 # Screen out bogus values from the imake configuration. They are
24703 # bogus both because they are the default anyway, and because
24704 # using them would break gcc on systems where it needs fixed includes.
24705 case $ac_im_incroot in
24706 /usr/include) ac_x_includes= ;;
24707 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24709 case $ac_im_usrlibdir in
24710 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24711 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24715 rm -f -r conftest.dir
24718 # Standard set of common directories for X headers.
24719 # Check X11 before X11Rn because it is often a symlink to the current release.
24733 /usr/local/X11/include
24734 /usr/local/X11R7/include
24735 /usr/local/X11R6/include
24736 /usr/local/X11R5/include
24737 /usr/local/X11R4/include
24739 /usr/local/include/X11
24740 /usr/local/include/X11R7
24741 /usr/local/include/X11R6
24742 /usr/local/include/X11R5
24743 /usr/local/include/X11R4
24747 /usr/XFree86/include/X11
24751 /usr/unsupported/include
24752 /usr/athena/include
24753 /usr/local/x11r5/include
24754 /usr/lpp/Xamples/include
24756 /usr/openwin/include
24757 /usr/openwin/share/include'
24759 if test "$ac_x_includes" = no; then
24760 # Guess where to find include files, by looking for Xlib.h.
24761 # First, try using that file with no special directory specified.
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764 #include <X11/Xlib.h>
24766 if ac_fn_c_try_cpp "$LINENO"; then :
24767 # We can compile using X headers with no special include directory.
24770 for ac_dir in $ac_x_header_dirs; do
24771 if test -r "$ac_dir/X11/Xlib.h"; then
24772 ac_x_includes=$ac_dir
24777 rm -f conftest.err conftest.i conftest.$ac_ext
24778 fi # $ac_x_includes = no
24780 if test "$ac_x_libraries" = no; then
24781 # Check for the libraries.
24782 # See if we find them without any special options.
24783 # Don't add to $LIBS permanently.
24786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24787 /* end confdefs.h. */
24788 #include <X11/Xlib.h>
24797 if ac_fn_c_try_link "$LINENO"; then :
24799 # We can link X programs with no special library path.
24803 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24805 # Don't even attempt the hair of trying to link an X program!
24806 for ac_extension in a so sl dylib la dll; do
24807 if test -r "$ac_dir/libX11.$ac_extension"; then
24808 ac_x_libraries=$ac_dir
24814 rm -f core conftest.err conftest.$ac_objext \
24815 conftest$ac_exeext conftest.$ac_ext
24816 fi # $ac_x_libraries = no
24818 case $ac_x_includes,$ac_x_libraries in #(
24819 no,* | *,no | *\'*)
24820 # Didn't find X, or a directory has "'" in its name.
24821 ac_cv_have_x="have_x=no";; #(
24823 # Record where we found X for the cache.
24824 ac_cv_have_x="have_x=yes\
24825 ac_x_includes='$ac_x_includes'\
24826 ac_x_libraries='$ac_x_libraries'"
24832 eval "$ac_cv_have_x"
24835 if test "$have_x" != yes; then
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24837 $as_echo "$have_x" >&6; }
24840 # If each of the values was on the command line, it overrides each guess.
24841 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24842 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24843 # Update the cache value to reflect the command line values.
24844 ac_cv_have_x="have_x=yes\
24845 ac_x_includes='$x_includes'\
24846 ac_x_libraries='$x_libraries'"
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24848 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24851 if test "$no_x" = yes; then
24852 # Not all programs may use this symbol, but it does not hurt to define it.
24854 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24856 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24858 if test -n "$x_includes"; then
24859 X_CFLAGS="$X_CFLAGS -I$x_includes"
24862 # It would also be nice to do this for all -L options, not just this one.
24863 if test -n "$x_libraries"; then
24864 X_LIBS="$X_LIBS -L$x_libraries"
24865 # For Solaris; some versions of Sun CC require a space after -R and
24866 # others require no space. Words are not sufficient . . . .
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24868 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24869 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24870 ac_xsave_c_werror_flag=$ac_c_werror_flag
24871 ac_c_werror_flag=yes
24872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24873 /* end confdefs.h. */
24883 if ac_fn_c_try_link "$LINENO"; then :
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24885 $as_echo "no" >&6; }
24886 X_LIBS="$X_LIBS -R$x_libraries"
24888 LIBS="$ac_xsave_LIBS -R $x_libraries"
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h. */
24900 if ac_fn_c_try_link "$LINENO"; then :
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24902 $as_echo "yes" >&6; }
24903 X_LIBS="$X_LIBS -R $x_libraries"
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24906 $as_echo "neither works" >&6; }
24908 rm -f core conftest.err conftest.$ac_objext \
24909 conftest$ac_exeext conftest.$ac_ext
24911 rm -f core conftest.err conftest.$ac_objext \
24912 conftest$ac_exeext conftest.$ac_ext
24913 ac_c_werror_flag=$ac_xsave_c_werror_flag
24914 LIBS=$ac_xsave_LIBS
24917 # Check for system-dependent libraries X programs must link with.
24918 # Do this before checking for the system-independent R6 libraries
24919 # (-lICE), since we may need -lsocket or whatever for X linking.
24921 if test "$ISC" = yes; then
24922 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24924 # Martyn Johnson says this is needed for Ultrix, if the X
24925 # libraries were built with DECnet support. And Karl Berry says
24926 # the Alpha needs dnet_stub (dnet does not exist).
24927 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24929 /* end confdefs.h. */
24931 /* Override any GCC internal prototype to avoid an error.
24932 Use char because int might match the return type of a GCC
24933 builtin and then its argument prototype would still apply. */
24937 char XOpenDisplay ();
24941 return XOpenDisplay ();
24946 if ac_fn_c_try_link "$LINENO"; then :
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24950 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24951 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
24952 $as_echo_n "(cached) " >&6
24954 ac_check_lib_save_LIBS=$LIBS
24955 LIBS="-ldnet $LIBS"
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24959 /* Override any GCC internal prototype to avoid an error.
24960 Use char because int might match the return type of a GCC
24961 builtin and then its argument prototype would still apply. */
24969 return dnet_ntoa ();
24974 if ac_fn_c_try_link "$LINENO"; then :
24975 ac_cv_lib_dnet_dnet_ntoa=yes
24977 ac_cv_lib_dnet_dnet_ntoa=no
24979 rm -f core conftest.err conftest.$ac_objext \
24980 conftest$ac_exeext conftest.$ac_ext
24981 LIBS=$ac_check_lib_save_LIBS
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24984 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24985 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
24986 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24989 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24991 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24992 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
24993 $as_echo_n "(cached) " >&6
24995 ac_check_lib_save_LIBS=$LIBS
24996 LIBS="-ldnet_stub $LIBS"
24997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
25000 /* Override any GCC internal prototype to avoid an error.
25001 Use char because int might match the return type of a GCC
25002 builtin and then its argument prototype would still apply. */
25010 return dnet_ntoa ();
25015 if ac_fn_c_try_link "$LINENO"; then :
25016 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25018 ac_cv_lib_dnet_stub_dnet_ntoa=no
25020 rm -f core conftest.err conftest.$ac_objext \
25021 conftest$ac_exeext conftest.$ac_ext
25022 LIBS=$ac_check_lib_save_LIBS
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25025 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25026 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25027 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25032 rm -f core conftest.err conftest.$ac_objext \
25033 conftest$ac_exeext conftest.$ac_ext
25034 LIBS="$ac_xsave_LIBS"
25036 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25037 # to get the SysV transport functions.
25038 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25040 # The nsl library prevents programs from opening the X display
25041 # on Irix 5.2, according to T.E. Dickey.
25042 # The functions gethostbyname, getservbyname, and inet_addr are
25043 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25044 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25045 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25049 if test $ac_cv_func_gethostbyname = no; then
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25051 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25052 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25053 $as_echo_n "(cached) " >&6
25055 ac_check_lib_save_LIBS=$LIBS
25057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25058 /* end confdefs.h. */
25060 /* Override any GCC internal prototype to avoid an error.
25061 Use char because int might match the return type of a GCC
25062 builtin and then its argument prototype would still apply. */
25066 char gethostbyname ();
25070 return gethostbyname ();
25075 if ac_fn_c_try_link "$LINENO"; then :
25076 ac_cv_lib_nsl_gethostbyname=yes
25078 ac_cv_lib_nsl_gethostbyname=no
25080 rm -f core conftest.err conftest.$ac_objext \
25081 conftest$ac_exeext conftest.$ac_ext
25082 LIBS=$ac_check_lib_save_LIBS
25084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25085 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25086 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25087 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25090 if test $ac_cv_lib_nsl_gethostbyname = no; then
25091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25092 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25093 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25094 $as_echo_n "(cached) " >&6
25096 ac_check_lib_save_LIBS=$LIBS
25098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25099 /* end confdefs.h. */
25101 /* Override any GCC internal prototype to avoid an error.
25102 Use char because int might match the return type of a GCC
25103 builtin and then its argument prototype would still apply. */
25107 char gethostbyname ();
25111 return gethostbyname ();
25116 if ac_fn_c_try_link "$LINENO"; then :
25117 ac_cv_lib_bsd_gethostbyname=yes
25119 ac_cv_lib_bsd_gethostbyname=no
25121 rm -f core conftest.err conftest.$ac_objext \
25122 conftest$ac_exeext conftest.$ac_ext
25123 LIBS=$ac_check_lib_save_LIBS
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25126 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25127 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25134 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25135 # socket/setsockopt and other routines are undefined under SCO ODT
25136 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25137 # on later versions), says Simon Leinen: it contains gethostby*
25138 # variants that don't use the name server (or something). -lsocket
25139 # must be given before -lnsl if both are needed. We assume that
25140 # if connect needs -lnsl, so does gethostbyname.
25141 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25142 if test "x$ac_cv_func_connect" = xyes; then :
25146 if test $ac_cv_func_connect = no; then
25147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25148 $as_echo_n "checking for connect in -lsocket... " >&6; }
25149 if ${ac_cv_lib_socket_connect+:} false; then :
25150 $as_echo_n "(cached) " >&6
25152 ac_check_lib_save_LIBS=$LIBS
25153 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25155 /* end confdefs.h. */
25157 /* Override any GCC internal prototype to avoid an error.
25158 Use char because int might match the return type of a GCC
25159 builtin and then its argument prototype would still apply. */
25172 if ac_fn_c_try_link "$LINENO"; then :
25173 ac_cv_lib_socket_connect=yes
25175 ac_cv_lib_socket_connect=no
25177 rm -f core conftest.err conftest.$ac_objext \
25178 conftest$ac_exeext conftest.$ac_ext
25179 LIBS=$ac_check_lib_save_LIBS
25181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25182 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25183 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25184 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25189 # Guillermo Gomez says -lposix is necessary on A/UX.
25190 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25191 if test "x$ac_cv_func_remove" = xyes; then :
25195 if test $ac_cv_func_remove = no; then
25196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25197 $as_echo_n "checking for remove in -lposix... " >&6; }
25198 if ${ac_cv_lib_posix_remove+:} false; then :
25199 $as_echo_n "(cached) " >&6
25201 ac_check_lib_save_LIBS=$LIBS
25202 LIBS="-lposix $LIBS"
25203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25204 /* end confdefs.h. */
25206 /* Override any GCC internal prototype to avoid an error.
25207 Use char because int might match the return type of a GCC
25208 builtin and then its argument prototype would still apply. */
25221 if ac_fn_c_try_link "$LINENO"; then :
25222 ac_cv_lib_posix_remove=yes
25224 ac_cv_lib_posix_remove=no
25226 rm -f core conftest.err conftest.$ac_objext \
25227 conftest$ac_exeext conftest.$ac_ext
25228 LIBS=$ac_check_lib_save_LIBS
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25231 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25232 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25238 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25239 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25240 if test "x$ac_cv_func_shmat" = xyes; then :
25244 if test $ac_cv_func_shmat = no; then
25245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25246 $as_echo_n "checking for shmat in -lipc... " >&6; }
25247 if ${ac_cv_lib_ipc_shmat+:} false; then :
25248 $as_echo_n "(cached) " >&6
25250 ac_check_lib_save_LIBS=$LIBS
25252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25253 /* end confdefs.h. */
25255 /* Override any GCC internal prototype to avoid an error.
25256 Use char because int might match the return type of a GCC
25257 builtin and then its argument prototype would still apply. */
25270 if ac_fn_c_try_link "$LINENO"; then :
25271 ac_cv_lib_ipc_shmat=yes
25273 ac_cv_lib_ipc_shmat=no
25275 rm -f core conftest.err conftest.$ac_objext \
25276 conftest$ac_exeext conftest.$ac_ext
25277 LIBS=$ac_check_lib_save_LIBS
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25280 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25281 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25288 # Check for libraries that X11R6 Xt/Xaw programs need.
25289 ac_save_LDFLAGS=$LDFLAGS
25290 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25291 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25292 # check for ICE first), but we must link in the order -lSM -lICE or
25293 # we get undefined symbols. So assume we have SM if we have ICE.
25294 # These have to be linked with before -lX11, unlike the other
25295 # libraries we check for below, so use a different variable.
25296 # John Interrante, Karl Berry
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25298 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25299 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25300 $as_echo_n "(cached) " >&6
25302 ac_check_lib_save_LIBS=$LIBS
25303 LIBS="-lICE $X_EXTRA_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. */
25313 char IceConnectionNumber ();
25317 return IceConnectionNumber ();
25322 if ac_fn_c_try_link "$LINENO"; then :
25323 ac_cv_lib_ICE_IceConnectionNumber=yes
25325 ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
25332 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25333 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25334 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25337 LDFLAGS=$ac_save_LDFLAGS
25342 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
25343 if test "x$ac_cv_header_X11_X_h" = xyes; then :
25349 if test "x${have_dep}" = "xyes" ; then
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
25351 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
25352 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
25353 $as_echo_n "(cached) " >&6
25355 ac_check_lib_save_LIBS=$LIBS
25357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25358 /* end confdefs.h. */
25360 /* Override any GCC internal prototype to avoid an error.
25361 Use char because int might match the return type of a GCC
25362 builtin and then its argument prototype would still apply. */
25366 char XCreateImage ();
25370 return XCreateImage ();
25375 if ac_fn_c_try_link "$LINENO"; then :
25376 ac_cv_lib_X11_XCreateImage=yes
25378 ac_cv_lib_X11_XCreateImage=no
25380 rm -f core conftest.err conftest.$ac_objext \
25381 conftest$ac_exeext conftest.$ac_ext
25382 LIBS=$ac_check_lib_save_LIBS
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
25385 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
25386 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
25394 if test "x${have_dep}" = "xyes" ; then
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
25396 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
25397 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
25398 $as_echo_n "(cached) " >&6
25400 ac_check_lib_save_LIBS=$LIBS
25401 LIBS="-lXext $LIBS"
25402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25403 /* end confdefs.h. */
25405 /* Override any GCC internal prototype to avoid an error.
25406 Use char because int might match the return type of a GCC
25407 builtin and then its argument prototype would still apply. */
25411 char XShmCreateImage ();
25415 return XShmCreateImage ();
25420 if ac_fn_c_try_link "$LINENO"; then :
25421 ac_cv_lib_Xext_XShmCreateImage=yes
25423 ac_cv_lib_Xext_XShmCreateImage=no
25425 rm -f core conftest.err conftest.$ac_objext \
25426 conftest$ac_exeext conftest.$ac_ext
25427 LIBS=$ac_check_lib_save_LIBS
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
25430 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
25431 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
25439 if test "x${have_dep}" = "xyes" ; then
25440 if test "xno" = "xyes" ; then
25441 x_libs="${x_libs} -lX11 -lXext"
25443 x_dir=${x_dir:-/usr/X11R6}
25444 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25445 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
25447 evas_engine_software_xlib_cflags="${x_cflags}"
25448 evas_engine_software_xlib_libs="${x_libs}"
25454 if test "x${have_dep}" = "xyes" ; then
25463 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
25464 as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
25468 $as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
25470 $as_echo "${have_engine}" >&6; }
25472 if test "x${have_engine}" = "xyes" ; then
25473 if test "x${want_engine}" = "xstatic" ; then
25474 have_evas_engine_software_xlib="static"
25475 want_static_engine="yes"
25477 have_evas_engine_software_xlib="yes"
25481 if test "x${have_engine}" = "xyes" ; then
25483 $as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
25487 if test "x${have_engine}" = "xyes"; then
25488 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25489 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25491 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25492 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25496 if test "x${want_static_engine}" = "xyes" ; then
25498 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
25500 have_static_module="yes"
25503 if test "x${want_static_engine}" = "xyes"; then
25504 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25505 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25507 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25508 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25516 # if software_x11 is available, define everything needed for X11
25517 if test "x$have_evas_engine_software_xlib" != "xno" ; then
25518 have_evas_engine_software_x11="yes"
25520 cat >>confdefs.h <<_ACEOF
25521 #define BUILD_ENGINE_SOFTWARE_X11 1
25525 cat >>confdefs.h <<_ACEOF
25526 #define BUILD_ENGINE_SOFTWARE_XLIB 1
25531 have_evas_engine_software_xlib="no"
25534 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
25536 cat >>confdefs.h <<_ACEOF
25537 #define EVAS_STATIC_BUILD_SOFTWARE_X11 1
25545 if test "x${have_evas_engine_software_xlib}" != "xno"; then
25546 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25547 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25549 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25550 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25553 if test "x${have_evas_engine_software_xcb}" != "xno"; then
25554 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
25555 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
25557 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
25558 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
25561 if test "x${have_evas_engine_software_x11}" != "xno"; then
25562 BUILD_ENGINE_SOFTWARE_X11_TRUE=
25563 BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
25565 BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
25566 BUILD_ENGINE_SOFTWARE_X11_FALSE=
25570 if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
25571 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
25572 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
25574 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
25575 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
25578 if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
25579 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25580 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25582 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25583 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25586 if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
25587 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
25588 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
25590 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
25591 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
25598 ######## OpenGL Engine ########
25599 have_evas_engine_gl_x11="no"
25600 have_evas_engine_gl_xcb="no"
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
25606 $as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
25607 # Check whether --enable-gl-xcb was given.
25608 if test "${enable_gl_xcb+set}" = set; then :
25609 enableval=$enable_gl_xcb; want_gl_xcb=$enableval
25613 if test "x$want_gl_xcb" = "xyes" ; then
25617 want_engine="${want_evas_engine_gl_xcb}"
25618 want_static_engine="no"
25620 have_evas_engine_gl_xcb="no"
25622 # Check whether --enable-gl-xcb was given.
25623 if test "${enable_gl_xcb+set}" = set; then :
25624 enableval=$enable_gl_xcb;
25625 if test "x${enableval}" = "xyes" ; then
25628 if test "x${enableval}" = "xstatic" ; then
25629 want_engine="static"
25638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
25639 $as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
25641 $as_echo "${want_engine}" >&6; }
25643 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
25646 evas_engine_gl_xcb_cflags=""
25647 evas_engine_gl_xcb_libs=""
25649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
25650 $as_echo_n "checking for X... " >&6; }
25653 # Check whether --with-x was given.
25654 if test "${with_x+set}" = set; then :
25658 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25659 if test "x$with_x" = xno; then
25660 # The user explicitly disabled X.
25663 case $x_includes,$x_libraries in #(
25664 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
25665 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
25666 $as_echo_n "(cached) " >&6
25668 # One or both of the vars are not set, and there is no cached value.
25669 ac_x_includes=no ac_x_libraries=no
25670 rm -f -r conftest.dir
25671 if mkdir conftest.dir; then
25673 cat >Imakefile <<'_ACEOF'
25675 @echo incroot='${INCROOT}'
25677 @echo usrlibdir='${USRLIBDIR}'
25679 @echo libdir='${LIBDIR}'
25681 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25682 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
25683 for ac_var in incroot usrlibdir libdir; do
25684 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25686 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25687 for ac_extension in a so sl dylib la dll; do
25688 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25689 test -f "$ac_im_libdir/libX11.$ac_extension"; then
25690 ac_im_usrlibdir=$ac_im_libdir; break
25693 # Screen out bogus values from the imake configuration. They are
25694 # bogus both because they are the default anyway, and because
25695 # using them would break gcc on systems where it needs fixed includes.
25696 case $ac_im_incroot in
25697 /usr/include) ac_x_includes= ;;
25698 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25700 case $ac_im_usrlibdir in
25701 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25702 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25706 rm -f -r conftest.dir
25709 # Standard set of common directories for X headers.
25710 # Check X11 before X11Rn because it is often a symlink to the current release.
25724 /usr/local/X11/include
25725 /usr/local/X11R7/include
25726 /usr/local/X11R6/include
25727 /usr/local/X11R5/include
25728 /usr/local/X11R4/include
25730 /usr/local/include/X11
25731 /usr/local/include/X11R7
25732 /usr/local/include/X11R6
25733 /usr/local/include/X11R5
25734 /usr/local/include/X11R4
25738 /usr/XFree86/include/X11
25742 /usr/unsupported/include
25743 /usr/athena/include
25744 /usr/local/x11r5/include
25745 /usr/lpp/Xamples/include
25747 /usr/openwin/include
25748 /usr/openwin/share/include'
25750 if test "$ac_x_includes" = no; then
25751 # Guess where to find include files, by looking for Xlib.h.
25752 # First, try using that file with no special directory specified.
25753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25754 /* end confdefs.h. */
25755 #include <X11/Xlib.h>
25757 if ac_fn_c_try_cpp "$LINENO"; then :
25758 # We can compile using X headers with no special include directory.
25761 for ac_dir in $ac_x_header_dirs; do
25762 if test -r "$ac_dir/X11/Xlib.h"; then
25763 ac_x_includes=$ac_dir
25768 rm -f conftest.err conftest.i conftest.$ac_ext
25769 fi # $ac_x_includes = no
25771 if test "$ac_x_libraries" = no; then
25772 # Check for the libraries.
25773 # See if we find them without any special options.
25774 # Don't add to $LIBS permanently.
25777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25778 /* end confdefs.h. */
25779 #include <X11/Xlib.h>
25788 if ac_fn_c_try_link "$LINENO"; then :
25790 # We can link X programs with no special library path.
25794 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25796 # Don't even attempt the hair of trying to link an X program!
25797 for ac_extension in a so sl dylib la dll; do
25798 if test -r "$ac_dir/libX11.$ac_extension"; then
25799 ac_x_libraries=$ac_dir
25805 rm -f core conftest.err conftest.$ac_objext \
25806 conftest$ac_exeext conftest.$ac_ext
25807 fi # $ac_x_libraries = no
25809 case $ac_x_includes,$ac_x_libraries in #(
25810 no,* | *,no | *\'*)
25811 # Didn't find X, or a directory has "'" in its name.
25812 ac_cv_have_x="have_x=no";; #(
25814 # Record where we found X for the cache.
25815 ac_cv_have_x="have_x=yes\
25816 ac_x_includes='$ac_x_includes'\
25817 ac_x_libraries='$ac_x_libraries'"
25823 eval "$ac_cv_have_x"
25826 if test "$have_x" != yes; then
25827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25828 $as_echo "$have_x" >&6; }
25831 # If each of the values was on the command line, it overrides each guess.
25832 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25833 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25834 # Update the cache value to reflect the command line values.
25835 ac_cv_have_x="have_x=yes\
25836 ac_x_includes='$x_includes'\
25837 ac_x_libraries='$x_libraries'"
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25839 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25842 if test "$no_x" = yes; then
25843 # Not all programs may use this symbol, but it does not hurt to define it.
25845 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25847 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25849 if test -n "$x_includes"; then
25850 X_CFLAGS="$X_CFLAGS -I$x_includes"
25853 # It would also be nice to do this for all -L options, not just this one.
25854 if test -n "$x_libraries"; then
25855 X_LIBS="$X_LIBS -L$x_libraries"
25856 # For Solaris; some versions of Sun CC require a space after -R and
25857 # others require no space. Words are not sufficient . . . .
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25859 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25860 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25861 ac_xsave_c_werror_flag=$ac_c_werror_flag
25862 ac_c_werror_flag=yes
25863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25864 /* end confdefs.h. */
25874 if ac_fn_c_try_link "$LINENO"; then :
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25876 $as_echo "no" >&6; }
25877 X_LIBS="$X_LIBS -R$x_libraries"
25879 LIBS="$ac_xsave_LIBS -R $x_libraries"
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25891 if ac_fn_c_try_link "$LINENO"; then :
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25893 $as_echo "yes" >&6; }
25894 X_LIBS="$X_LIBS -R $x_libraries"
25896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25897 $as_echo "neither works" >&6; }
25899 rm -f core conftest.err conftest.$ac_objext \
25900 conftest$ac_exeext conftest.$ac_ext
25902 rm -f core conftest.err conftest.$ac_objext \
25903 conftest$ac_exeext conftest.$ac_ext
25904 ac_c_werror_flag=$ac_xsave_c_werror_flag
25905 LIBS=$ac_xsave_LIBS
25908 # Check for system-dependent libraries X programs must link with.
25909 # Do this before checking for the system-independent R6 libraries
25910 # (-lICE), since we may need -lsocket or whatever for X linking.
25912 if test "$ISC" = yes; then
25913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25915 # Martyn Johnson says this is needed for Ultrix, if the X
25916 # libraries were built with DECnet support. And Karl Berry says
25917 # the Alpha needs dnet_stub (dnet does not exist).
25918 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h. */
25922 /* Override any GCC internal prototype to avoid an error.
25923 Use char because int might match the return type of a GCC
25924 builtin and then its argument prototype would still apply. */
25928 char XOpenDisplay ();
25932 return XOpenDisplay ();
25937 if ac_fn_c_try_link "$LINENO"; then :
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25941 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25942 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25943 $as_echo_n "(cached) " >&6
25945 ac_check_lib_save_LIBS=$LIBS
25946 LIBS="-ldnet $LIBS"
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25950 /* Override any GCC internal prototype to avoid an error.
25951 Use char because int might match the return type of a GCC
25952 builtin and then its argument prototype would still apply. */
25960 return dnet_ntoa ();
25965 if ac_fn_c_try_link "$LINENO"; then :
25966 ac_cv_lib_dnet_dnet_ntoa=yes
25968 ac_cv_lib_dnet_dnet_ntoa=no
25970 rm -f core conftest.err conftest.$ac_objext \
25971 conftest$ac_exeext conftest.$ac_ext
25972 LIBS=$ac_check_lib_save_LIBS
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25975 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25976 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25977 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25980 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25982 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25983 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25984 $as_echo_n "(cached) " >&6
25986 ac_check_lib_save_LIBS=$LIBS
25987 LIBS="-ldnet_stub $LIBS"
25988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25989 /* end confdefs.h. */
25991 /* Override any GCC internal prototype to avoid an error.
25992 Use char because int might match the return type of a GCC
25993 builtin and then its argument prototype would still apply. */
26001 return dnet_ntoa ();
26006 if ac_fn_c_try_link "$LINENO"; then :
26007 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26009 ac_cv_lib_dnet_stub_dnet_ntoa=no
26011 rm -f core conftest.err conftest.$ac_objext \
26012 conftest$ac_exeext conftest.$ac_ext
26013 LIBS=$ac_check_lib_save_LIBS
26015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26016 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26017 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
26018 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26023 rm -f core conftest.err conftest.$ac_objext \
26024 conftest$ac_exeext conftest.$ac_ext
26025 LIBS="$ac_xsave_LIBS"
26027 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26028 # to get the SysV transport functions.
26029 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26031 # The nsl library prevents programs from opening the X display
26032 # on Irix 5.2, according to T.E. Dickey.
26033 # The functions gethostbyname, getservbyname, and inet_addr are
26034 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26035 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
26036 if test "x$ac_cv_func_gethostbyname" = xyes; then :
26040 if test $ac_cv_func_gethostbyname = no; then
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
26042 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26043 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
26044 $as_echo_n "(cached) " >&6
26046 ac_check_lib_save_LIBS=$LIBS
26048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26049 /* end confdefs.h. */
26051 /* Override any GCC internal prototype to avoid an error.
26052 Use char because int might match the return type of a GCC
26053 builtin and then its argument prototype would still apply. */
26057 char gethostbyname ();
26061 return gethostbyname ();
26066 if ac_fn_c_try_link "$LINENO"; then :
26067 ac_cv_lib_nsl_gethostbyname=yes
26069 ac_cv_lib_nsl_gethostbyname=no
26071 rm -f core conftest.err conftest.$ac_objext \
26072 conftest$ac_exeext conftest.$ac_ext
26073 LIBS=$ac_check_lib_save_LIBS
26075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26076 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26077 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
26078 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26081 if test $ac_cv_lib_nsl_gethostbyname = no; then
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26083 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26084 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
26085 $as_echo_n "(cached) " >&6
26087 ac_check_lib_save_LIBS=$LIBS
26089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26090 /* end confdefs.h. */
26092 /* Override any GCC internal prototype to avoid an error.
26093 Use char because int might match the return type of a GCC
26094 builtin and then its argument prototype would still apply. */
26098 char gethostbyname ();
26102 return gethostbyname ();
26107 if ac_fn_c_try_link "$LINENO"; then :
26108 ac_cv_lib_bsd_gethostbyname=yes
26110 ac_cv_lib_bsd_gethostbyname=no
26112 rm -f core conftest.err conftest.$ac_objext \
26113 conftest$ac_exeext conftest.$ac_ext
26114 LIBS=$ac_check_lib_save_LIBS
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26117 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26118 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
26119 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26125 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26126 # socket/setsockopt and other routines are undefined under SCO ODT
26127 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26128 # on later versions), says Simon Leinen: it contains gethostby*
26129 # variants that don't use the name server (or something). -lsocket
26130 # must be given before -lnsl if both are needed. We assume that
26131 # if connect needs -lnsl, so does gethostbyname.
26132 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26133 if test "x$ac_cv_func_connect" = xyes; then :
26137 if test $ac_cv_func_connect = no; then
26138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26139 $as_echo_n "checking for connect in -lsocket... " >&6; }
26140 if ${ac_cv_lib_socket_connect+:} false; then :
26141 $as_echo_n "(cached) " >&6
26143 ac_check_lib_save_LIBS=$LIBS
26144 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26146 /* end confdefs.h. */
26148 /* Override any GCC internal prototype to avoid an error.
26149 Use char because int might match the return type of a GCC
26150 builtin and then its argument prototype would still apply. */
26163 if ac_fn_c_try_link "$LINENO"; then :
26164 ac_cv_lib_socket_connect=yes
26166 ac_cv_lib_socket_connect=no
26168 rm -f core conftest.err conftest.$ac_objext \
26169 conftest$ac_exeext conftest.$ac_ext
26170 LIBS=$ac_check_lib_save_LIBS
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26173 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26174 if test "x$ac_cv_lib_socket_connect" = xyes; then :
26175 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26180 # Guillermo Gomez says -lposix is necessary on A/UX.
26181 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26182 if test "x$ac_cv_func_remove" = xyes; then :
26186 if test $ac_cv_func_remove = no; then
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26188 $as_echo_n "checking for remove in -lposix... " >&6; }
26189 if ${ac_cv_lib_posix_remove+:} false; then :
26190 $as_echo_n "(cached) " >&6
26192 ac_check_lib_save_LIBS=$LIBS
26193 LIBS="-lposix $LIBS"
26194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26197 /* Override any GCC internal prototype to avoid an error.
26198 Use char because int might match the return type of a GCC
26199 builtin and then its argument prototype would still apply. */
26212 if ac_fn_c_try_link "$LINENO"; then :
26213 ac_cv_lib_posix_remove=yes
26215 ac_cv_lib_posix_remove=no
26217 rm -f core conftest.err conftest.$ac_objext \
26218 conftest$ac_exeext conftest.$ac_ext
26219 LIBS=$ac_check_lib_save_LIBS
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26222 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26223 if test "x$ac_cv_lib_posix_remove" = xyes; then :
26224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26229 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26230 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26231 if test "x$ac_cv_func_shmat" = xyes; then :
26235 if test $ac_cv_func_shmat = no; then
26236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26237 $as_echo_n "checking for shmat in -lipc... " >&6; }
26238 if ${ac_cv_lib_ipc_shmat+:} false; then :
26239 $as_echo_n "(cached) " >&6
26241 ac_check_lib_save_LIBS=$LIBS
26243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26244 /* end confdefs.h. */
26246 /* Override any GCC internal prototype to avoid an error.
26247 Use char because int might match the return type of a GCC
26248 builtin and then its argument prototype would still apply. */
26261 if ac_fn_c_try_link "$LINENO"; then :
26262 ac_cv_lib_ipc_shmat=yes
26264 ac_cv_lib_ipc_shmat=no
26266 rm -f core conftest.err conftest.$ac_objext \
26267 conftest$ac_exeext conftest.$ac_ext
26268 LIBS=$ac_check_lib_save_LIBS
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26271 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26272 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
26273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26279 # Check for libraries that X11R6 Xt/Xaw programs need.
26280 ac_save_LDFLAGS=$LDFLAGS
26281 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26282 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26283 # check for ICE first), but we must link in the order -lSM -lICE or
26284 # we get undefined symbols. So assume we have SM if we have ICE.
26285 # These have to be linked with before -lX11, unlike the other
26286 # libraries we check for below, so use a different variable.
26287 # John Interrante, Karl Berry
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26289 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26290 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
26291 $as_echo_n "(cached) " >&6
26293 ac_check_lib_save_LIBS=$LIBS
26294 LIBS="-lICE $X_EXTRA_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. */
26304 char IceConnectionNumber ();
26308 return IceConnectionNumber ();
26313 if ac_fn_c_try_link "$LINENO"; then :
26314 ac_cv_lib_ICE_IceConnectionNumber=yes
26316 ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
26323 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26324 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
26325 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26328 LDFLAGS=$ac_save_LDFLAGS
26333 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26335 #include <GL/glext.h>
26336 #include <GL/glx.h>
26339 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26351 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
26352 CFLAGS_save="${CFLAGS}"
26353 CFLAGS="${CFLAGS} -pthread"
26354 LIBS_save="${LIBS}"
26355 LIBS="${LIBS} -pthread"
26356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26357 /* end confdefs.h. */
26359 #include <pthread.h>
26365 pthread_create(NULL, NULL, NULL, NULL);
26371 if ac_fn_c_try_link "$LINENO"; then :
26376 rm -f core conftest.err conftest.$ac_objext \
26377 conftest$ac_exeext conftest.$ac_ext
26378 CFLAGS=${CFLAGS_save}
26380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26381 $as_echo "${have_gl_pt}" >&6; }
26383 if test "x$have_gl_pt" = "xyes" ; then
26384 gl_pt_lib=" -pthread"
26387 if test "x${have_dep}" = "xyes" ; then
26388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26389 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26390 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
26391 $as_echo_n "(cached) " >&6
26393 ac_check_lib_save_LIBS=$LIBS
26395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26396 /* end confdefs.h. */
26398 /* Override any GCC internal prototype to avoid an error.
26399 Use char because int might match the return type of a GCC
26400 builtin and then its argument prototype would still apply. */
26404 char XCreateColormap ();
26408 return XCreateColormap ();
26413 if ac_fn_c_try_link "$LINENO"; then :
26414 ac_cv_lib_X11_XCreateColormap=yes
26416 ac_cv_lib_X11_XCreateColormap=no
26418 rm -f core conftest.err conftest.$ac_objext \
26419 conftest$ac_exeext conftest.$ac_ext
26420 LIBS=$ac_check_lib_save_LIBS
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26423 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26424 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
26432 if test "x${have_dep}" = "xyes" ; then
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26434 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26435 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
26436 $as_echo_n "(cached) " >&6
26438 ac_check_lib_save_LIBS=$LIBS
26439 LIBS="-lXrender $LIBS"
26440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26441 /* end confdefs.h. */
26443 /* Override any GCC internal prototype to avoid an error.
26444 Use char because int might match the return type of a GCC
26445 builtin and then its argument prototype would still apply. */
26449 char XRenderCreatePicture ();
26453 return XRenderCreatePicture ();
26458 if ac_fn_c_try_link "$LINENO"; then :
26459 ac_cv_lib_Xrender_XRenderCreatePicture=yes
26461 ac_cv_lib_Xrender_XRenderCreatePicture=no
26463 rm -f core conftest.err conftest.$ac_objext \
26464 conftest$ac_exeext conftest.$ac_ext
26465 LIBS=$ac_check_lib_save_LIBS
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
26468 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
26469 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
26477 if test "x${have_dep}" = "xyes" ; then
26478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
26479 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
26480 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
26481 $as_echo_n "(cached) " >&6
26483 ac_check_lib_save_LIBS=$LIBS
26484 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
26485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26486 /* end confdefs.h. */
26488 /* Override any GCC internal prototype to avoid an error.
26489 Use char because int might match the return type of a GCC
26490 builtin and then its argument prototype would still apply. */
26494 char glXCreateContext ();
26498 return glXCreateContext ();
26503 if ac_fn_c_try_link "$LINENO"; then :
26504 ac_cv_lib_GL_glXCreateContext=yes
26506 ac_cv_lib_GL_glXCreateContext=no
26508 rm -f core conftest.err conftest.$ac_objext \
26509 conftest$ac_exeext conftest.$ac_ext
26510 LIBS=$ac_check_lib_save_LIBS
26512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
26513 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
26514 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
26524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
26525 $as_echo_n "checking for XCB_GL... " >&6; }
26527 if test -n "$XCB_GL_CFLAGS"; then
26528 pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
26529 elif test -n "$PKG_CONFIG"; then
26530 if test -n "$PKG_CONFIG" && \
26531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26532 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26535 test $ac_status = 0; }; then
26536 pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26537 test "x$?" != "x0" && pkg_failed=yes
26544 if test -n "$XCB_GL_LIBS"; then
26545 pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
26546 elif test -n "$PKG_CONFIG"; then
26547 if test -n "$PKG_CONFIG" && \
26548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26549 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26552 test $ac_status = 0; }; then
26553 pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26554 test "x$?" != "x0" && pkg_failed=yes
26564 if test $pkg_failed = yes; then
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26566 $as_echo "no" >&6; }
26568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26569 _pkg_short_errors_supported=yes
26571 _pkg_short_errors_supported=no
26573 if test $_pkg_short_errors_supported = yes; then
26574 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26576 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26578 # Put the nasty error message in config.log where it belongs
26579 echo "$XCB_GL_PKG_ERRORS" >&5
26585 elif test $pkg_failed = untried; then
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26587 $as_echo "no" >&6; }
26593 XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
26594 XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26596 $as_echo "yes" >&6; }
26599 requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
26600 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
26601 evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
26605 if test "x$gl_flavor_gles" = "xyes" ; then
26609 if test "x${have_dep}" = "xyes" ; then
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26613 $as_echo_n "checking for GL_EET... " >&6; }
26615 if test -n "$GL_EET_CFLAGS"; then
26616 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26617 elif test -n "$PKG_CONFIG"; then
26618 if test -n "$PKG_CONFIG" && \
26619 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26620 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26623 test $ac_status = 0; }; then
26624 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26625 test "x$?" != "x0" && pkg_failed=yes
26632 if test -n "$GL_EET_LIBS"; then
26633 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26634 elif test -n "$PKG_CONFIG"; then
26635 if test -n "$PKG_CONFIG" && \
26636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26637 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26640 test $ac_status = 0; }; then
26641 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26642 test "x$?" != "x0" && pkg_failed=yes
26652 if test $pkg_failed = yes; then
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26654 $as_echo "no" >&6; }
26656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26657 _pkg_short_errors_supported=yes
26659 _pkg_short_errors_supported=no
26661 if test $_pkg_short_errors_supported = yes; then
26662 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26664 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26666 # Put the nasty error message in config.log where it belongs
26667 echo "$GL_EET_PKG_ERRORS" >&5
26670 elif test $pkg_failed = untried; then
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26672 $as_echo "no" >&6; }
26675 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26676 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26678 $as_echo "yes" >&6; }
26681 if test "x${have_dep}" = "xyes" ; then
26682 if test "xno" = "xyes" ; then
26683 x_libs="${x_libs} -lX11 -lXext -lXrender"
26685 x_dir=${x_dir:-/usr/X11R6}
26686 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26687 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26689 evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
26690 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
26691 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
26694 if test "xno" = "xyes" ; then
26695 x_libs="${x_libs} -lX11 -lXext -lXrender"
26697 x_dir=${x_dir:-/usr/X11R6}
26698 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26699 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26701 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
26702 #include <GLES2/gl2.h>
26703 #include <GLES2/gl2ext.h>
26704 #include <EGL/egl.h>
26707 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
26714 if test "x${have_egl}" = "xyes" ; then
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
26716 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
26717 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
26718 $as_echo_n "(cached) " >&6
26720 ac_check_lib_save_LIBS=$LIBS
26721 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
26722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26723 /* end confdefs.h. */
26725 /* Override any GCC internal prototype to avoid an error.
26726 Use char because int might match the return type of a GCC
26727 builtin and then its argument prototype would still apply. */
26731 char glTexImage2D ();
26735 return glTexImage2D ();
26740 if ac_fn_c_try_link "$LINENO"; then :
26741 ac_cv_lib_GLESv2_glTexImage2D=yes
26743 ac_cv_lib_GLESv2_glTexImage2D=no
26745 rm -f core conftest.err conftest.$ac_objext \
26746 conftest$ac_exeext conftest.$ac_ext
26747 LIBS=$ac_check_lib_save_LIBS
26749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
26750 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
26751 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
26755 if test "x${have_glesv2}" = "xyes" ; then
26758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26759 $as_echo_n "checking for GL_EET... " >&6; }
26761 if test -n "$GL_EET_CFLAGS"; then
26762 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26763 elif test -n "$PKG_CONFIG"; then
26764 if test -n "$PKG_CONFIG" && \
26765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26766 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26769 test $ac_status = 0; }; then
26770 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26771 test "x$?" != "x0" && pkg_failed=yes
26778 if test -n "$GL_EET_LIBS"; then
26779 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26780 elif test -n "$PKG_CONFIG"; then
26781 if test -n "$PKG_CONFIG" && \
26782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26783 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26786 test $ac_status = 0; }; then
26787 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26788 test "x$?" != "x0" && pkg_failed=yes
26798 if test $pkg_failed = yes; then
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26800 $as_echo "no" >&6; }
26802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26803 _pkg_short_errors_supported=yes
26805 _pkg_short_errors_supported=no
26807 if test $_pkg_short_errors_supported = yes; then
26808 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26810 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
26812 # Put the nasty error message in config.log where it belongs
26813 echo "$GL_EET_PKG_ERRORS" >&5
26816 elif test $pkg_failed = untried; then
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26818 $as_echo "no" >&6; }
26821 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26822 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26824 $as_echo "yes" >&6; }
26827 if test "x${have_dep}" = "xyes" ; then
26828 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26829 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26830 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26833 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26835 gles_variety_sgx="yes"
26844 if test "x${have_dep}" = "xyes" ; then
26853 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26854 as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26858 $as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26860 $as_echo "${have_engine}" >&6; }
26862 if test "x${have_engine}" = "xyes" ; then
26863 if test "x${want_engine}" = "xstatic" ; then
26864 have_evas_engine_gl_xcb="static"
26865 want_static_engine="yes"
26867 have_evas_engine_gl_xcb="yes"
26871 if test "x${have_engine}" = "xyes" ; then
26873 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26877 if test "x${have_engine}" = "xyes"; then
26878 BUILD_ENGINE_GL_XCB_TRUE=
26879 BUILD_ENGINE_GL_XCB_FALSE='#'
26881 BUILD_ENGINE_GL_XCB_TRUE='#'
26882 BUILD_ENGINE_GL_XCB_FALSE=
26886 if test "x${want_static_engine}" = "xyes" ; then
26888 $as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26890 have_static_module="yes"
26893 if test "x${want_static_engine}" = "xyes"; then
26894 EVAS_STATIC_BUILD_GL_XCB_TRUE=
26895 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26897 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26898 EVAS_STATIC_BUILD_GL_XCB_FALSE=
26906 if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26908 have_evas_engine_gl_x11="yes"
26910 $as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26913 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26915 if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26917 $as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26924 $as_echo "no" >&6; }
26928 ## If we are not building XCB, then we can build XLib ##
26930 if test "x$build_gl_xcb" = "xno" ; then
26934 want_engine="${want_evas_engine_gl_xlib}"
26935 want_static_engine="no"
26937 have_evas_engine_gl_xlib="no"
26939 # Check whether --enable-gl-xlib was given.
26940 if test "${enable_gl_xlib+set}" = set; then :
26941 enableval=$enable_gl_xlib;
26942 if test "x${enableval}" = "xyes" ; then
26945 if test "x${enableval}" = "xstatic" ; then
26946 want_engine="static"
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
26956 $as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
26957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
26958 $as_echo "${want_engine}" >&6; }
26960 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
26963 evas_engine_gl_xlib_cflags=""
26964 evas_engine_gl_xlib_libs=""
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26967 $as_echo_n "checking for X... " >&6; }
26970 # Check whether --with-x was given.
26971 if test "${with_x+set}" = set; then :
26975 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26976 if test "x$with_x" = xno; then
26977 # The user explicitly disabled X.
26980 case $x_includes,$x_libraries in #(
26981 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
26982 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
26983 $as_echo_n "(cached) " >&6
26985 # One or both of the vars are not set, and there is no cached value.
26986 ac_x_includes=no ac_x_libraries=no
26987 rm -f -r conftest.dir
26988 if mkdir conftest.dir; then
26990 cat >Imakefile <<'_ACEOF'
26992 @echo incroot='${INCROOT}'
26994 @echo usrlibdir='${USRLIBDIR}'
26996 @echo libdir='${LIBDIR}'
26998 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26999 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
27000 for ac_var in incroot usrlibdir libdir; do
27001 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
27003 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27004 for ac_extension in a so sl dylib la dll; do
27005 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
27006 test -f "$ac_im_libdir/libX11.$ac_extension"; then
27007 ac_im_usrlibdir=$ac_im_libdir; break
27010 # Screen out bogus values from the imake configuration. They are
27011 # bogus both because they are the default anyway, and because
27012 # using them would break gcc on systems where it needs fixed includes.
27013 case $ac_im_incroot in
27014 /usr/include) ac_x_includes= ;;
27015 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27017 case $ac_im_usrlibdir in
27018 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
27019 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27023 rm -f -r conftest.dir
27026 # Standard set of common directories for X headers.
27027 # Check X11 before X11Rn because it is often a symlink to the current release.
27041 /usr/local/X11/include
27042 /usr/local/X11R7/include
27043 /usr/local/X11R6/include
27044 /usr/local/X11R5/include
27045 /usr/local/X11R4/include
27047 /usr/local/include/X11
27048 /usr/local/include/X11R7
27049 /usr/local/include/X11R6
27050 /usr/local/include/X11R5
27051 /usr/local/include/X11R4
27055 /usr/XFree86/include/X11
27059 /usr/unsupported/include
27060 /usr/athena/include
27061 /usr/local/x11r5/include
27062 /usr/lpp/Xamples/include
27064 /usr/openwin/include
27065 /usr/openwin/share/include'
27067 if test "$ac_x_includes" = no; then
27068 # Guess where to find include files, by looking for Xlib.h.
27069 # First, try using that file with no special directory specified.
27070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27071 /* end confdefs.h. */
27072 #include <X11/Xlib.h>
27074 if ac_fn_c_try_cpp "$LINENO"; then :
27075 # We can compile using X headers with no special include directory.
27078 for ac_dir in $ac_x_header_dirs; do
27079 if test -r "$ac_dir/X11/Xlib.h"; then
27080 ac_x_includes=$ac_dir
27085 rm -f conftest.err conftest.i conftest.$ac_ext
27086 fi # $ac_x_includes = no
27088 if test "$ac_x_libraries" = no; then
27089 # Check for the libraries.
27090 # See if we find them without any special options.
27091 # Don't add to $LIBS permanently.
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27096 #include <X11/Xlib.h>
27105 if ac_fn_c_try_link "$LINENO"; then :
27107 # We can link X programs with no special library path.
27111 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27113 # Don't even attempt the hair of trying to link an X program!
27114 for ac_extension in a so sl dylib la dll; do
27115 if test -r "$ac_dir/libX11.$ac_extension"; then
27116 ac_x_libraries=$ac_dir
27122 rm -f core conftest.err conftest.$ac_objext \
27123 conftest$ac_exeext conftest.$ac_ext
27124 fi # $ac_x_libraries = no
27126 case $ac_x_includes,$ac_x_libraries in #(
27127 no,* | *,no | *\'*)
27128 # Didn't find X, or a directory has "'" in its name.
27129 ac_cv_have_x="have_x=no";; #(
27131 # Record where we found X for the cache.
27132 ac_cv_have_x="have_x=yes\
27133 ac_x_includes='$ac_x_includes'\
27134 ac_x_libraries='$ac_x_libraries'"
27140 eval "$ac_cv_have_x"
27143 if test "$have_x" != yes; then
27144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
27145 $as_echo "$have_x" >&6; }
27148 # If each of the values was on the command line, it overrides each guess.
27149 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27150 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27151 # Update the cache value to reflect the command line values.
27152 ac_cv_have_x="have_x=yes\
27153 ac_x_includes='$x_includes'\
27154 ac_x_libraries='$x_libraries'"
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
27156 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
27159 if test "$no_x" = yes; then
27160 # Not all programs may use this symbol, but it does not hurt to define it.
27162 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
27164 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27166 if test -n "$x_includes"; then
27167 X_CFLAGS="$X_CFLAGS -I$x_includes"
27170 # It would also be nice to do this for all -L options, not just this one.
27171 if test -n "$x_libraries"; then
27172 X_LIBS="$X_LIBS -L$x_libraries"
27173 # For Solaris; some versions of Sun CC require a space after -R and
27174 # others require no space. Words are not sufficient . . . .
27175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
27176 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
27177 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27178 ac_xsave_c_werror_flag=$ac_c_werror_flag
27179 ac_c_werror_flag=yes
27180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27181 /* end confdefs.h. */
27191 if ac_fn_c_try_link "$LINENO"; then :
27192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27193 $as_echo "no" >&6; }
27194 X_LIBS="$X_LIBS -R$x_libraries"
27196 LIBS="$ac_xsave_LIBS -R $x_libraries"
27197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27198 /* end confdefs.h. */
27208 if ac_fn_c_try_link "$LINENO"; then :
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27210 $as_echo "yes" >&6; }
27211 X_LIBS="$X_LIBS -R $x_libraries"
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
27214 $as_echo "neither works" >&6; }
27216 rm -f core conftest.err conftest.$ac_objext \
27217 conftest$ac_exeext conftest.$ac_ext
27219 rm -f core conftest.err conftest.$ac_objext \
27220 conftest$ac_exeext conftest.$ac_ext
27221 ac_c_werror_flag=$ac_xsave_c_werror_flag
27222 LIBS=$ac_xsave_LIBS
27225 # Check for system-dependent libraries X programs must link with.
27226 # Do this before checking for the system-independent R6 libraries
27227 # (-lICE), since we may need -lsocket or whatever for X linking.
27229 if test "$ISC" = yes; then
27230 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27232 # Martyn Johnson says this is needed for Ultrix, if the X
27233 # libraries were built with DECnet support. And Karl Berry says
27234 # the Alpha needs dnet_stub (dnet does not exist).
27235 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27237 /* end confdefs.h. */
27239 /* Override any GCC internal prototype to avoid an error.
27240 Use char because int might match the return type of a GCC
27241 builtin and then its argument prototype would still apply. */
27245 char XOpenDisplay ();
27249 return XOpenDisplay ();
27254 if ac_fn_c_try_link "$LINENO"; then :
27257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
27258 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
27259 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
27260 $as_echo_n "(cached) " >&6
27262 ac_check_lib_save_LIBS=$LIBS
27263 LIBS="-ldnet $LIBS"
27264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27265 /* end confdefs.h. */
27267 /* Override any GCC internal prototype to avoid an error.
27268 Use char because int might match the return type of a GCC
27269 builtin and then its argument prototype would still apply. */
27277 return dnet_ntoa ();
27282 if ac_fn_c_try_link "$LINENO"; then :
27283 ac_cv_lib_dnet_dnet_ntoa=yes
27285 ac_cv_lib_dnet_dnet_ntoa=no
27287 rm -f core conftest.err conftest.$ac_objext \
27288 conftest$ac_exeext conftest.$ac_ext
27289 LIBS=$ac_check_lib_save_LIBS
27291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27292 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
27293 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
27294 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27297 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
27299 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
27300 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
27301 $as_echo_n "(cached) " >&6
27303 ac_check_lib_save_LIBS=$LIBS
27304 LIBS="-ldnet_stub $LIBS"
27305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27306 /* end confdefs.h. */
27308 /* Override any GCC internal prototype to avoid an error.
27309 Use char because int might match the return type of a GCC
27310 builtin and then its argument prototype would still apply. */
27318 return dnet_ntoa ();
27323 if ac_fn_c_try_link "$LINENO"; then :
27324 ac_cv_lib_dnet_stub_dnet_ntoa=yes
27326 ac_cv_lib_dnet_stub_dnet_ntoa=no
27328 rm -f core conftest.err conftest.$ac_objext \
27329 conftest$ac_exeext conftest.$ac_ext
27330 LIBS=$ac_check_lib_save_LIBS
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27333 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
27334 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
27335 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27340 rm -f core conftest.err conftest.$ac_objext \
27341 conftest$ac_exeext conftest.$ac_ext
27342 LIBS="$ac_xsave_LIBS"
27344 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27345 # to get the SysV transport functions.
27346 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27348 # The nsl library prevents programs from opening the X display
27349 # on Irix 5.2, according to T.E. Dickey.
27350 # The functions gethostbyname, getservbyname, and inet_addr are
27351 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27352 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
27353 if test "x$ac_cv_func_gethostbyname" = xyes; then :
27357 if test $ac_cv_func_gethostbyname = no; then
27358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
27359 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
27360 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
27361 $as_echo_n "(cached) " >&6
27363 ac_check_lib_save_LIBS=$LIBS
27365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27366 /* end confdefs.h. */
27368 /* Override any GCC internal prototype to avoid an error.
27369 Use char because int might match the return type of a GCC
27370 builtin and then its argument prototype would still apply. */
27374 char gethostbyname ();
27378 return gethostbyname ();
27383 if ac_fn_c_try_link "$LINENO"; then :
27384 ac_cv_lib_nsl_gethostbyname=yes
27386 ac_cv_lib_nsl_gethostbyname=no
27388 rm -f core conftest.err conftest.$ac_objext \
27389 conftest$ac_exeext conftest.$ac_ext
27390 LIBS=$ac_check_lib_save_LIBS
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
27393 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
27394 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
27395 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27398 if test $ac_cv_lib_nsl_gethostbyname = no; then
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
27400 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
27401 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
27402 $as_echo_n "(cached) " >&6
27404 ac_check_lib_save_LIBS=$LIBS
27406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27407 /* end confdefs.h. */
27409 /* Override any GCC internal prototype to avoid an error.
27410 Use char because int might match the return type of a GCC
27411 builtin and then its argument prototype would still apply. */
27415 char gethostbyname ();
27419 return gethostbyname ();
27424 if ac_fn_c_try_link "$LINENO"; then :
27425 ac_cv_lib_bsd_gethostbyname=yes
27427 ac_cv_lib_bsd_gethostbyname=no
27429 rm -f core conftest.err conftest.$ac_objext \
27430 conftest$ac_exeext conftest.$ac_ext
27431 LIBS=$ac_check_lib_save_LIBS
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
27434 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
27435 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
27436 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27442 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27443 # socket/setsockopt and other routines are undefined under SCO ODT
27444 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27445 # on later versions), says Simon Leinen: it contains gethostby*
27446 # variants that don't use the name server (or something). -lsocket
27447 # must be given before -lnsl if both are needed. We assume that
27448 # if connect needs -lnsl, so does gethostbyname.
27449 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
27450 if test "x$ac_cv_func_connect" = xyes; then :
27454 if test $ac_cv_func_connect = no; then
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
27456 $as_echo_n "checking for connect in -lsocket... " >&6; }
27457 if ${ac_cv_lib_socket_connect+:} false; then :
27458 $as_echo_n "(cached) " >&6
27460 ac_check_lib_save_LIBS=$LIBS
27461 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27463 /* end confdefs.h. */
27465 /* Override any GCC internal prototype to avoid an error.
27466 Use char because int might match the return type of a GCC
27467 builtin and then its argument prototype would still apply. */
27480 if ac_fn_c_try_link "$LINENO"; then :
27481 ac_cv_lib_socket_connect=yes
27483 ac_cv_lib_socket_connect=no
27485 rm -f core conftest.err conftest.$ac_objext \
27486 conftest$ac_exeext conftest.$ac_ext
27487 LIBS=$ac_check_lib_save_LIBS
27489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
27490 $as_echo "$ac_cv_lib_socket_connect" >&6; }
27491 if test "x$ac_cv_lib_socket_connect" = xyes; then :
27492 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27497 # Guillermo Gomez says -lposix is necessary on A/UX.
27498 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
27499 if test "x$ac_cv_func_remove" = xyes; then :
27503 if test $ac_cv_func_remove = no; then
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
27505 $as_echo_n "checking for remove in -lposix... " >&6; }
27506 if ${ac_cv_lib_posix_remove+:} false; then :
27507 $as_echo_n "(cached) " >&6
27509 ac_check_lib_save_LIBS=$LIBS
27510 LIBS="-lposix $LIBS"
27511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27512 /* end confdefs.h. */
27514 /* Override any GCC internal prototype to avoid an error.
27515 Use char because int might match the return type of a GCC
27516 builtin and then its argument prototype would still apply. */
27529 if ac_fn_c_try_link "$LINENO"; then :
27530 ac_cv_lib_posix_remove=yes
27532 ac_cv_lib_posix_remove=no
27534 rm -f core conftest.err conftest.$ac_objext \
27535 conftest$ac_exeext conftest.$ac_ext
27536 LIBS=$ac_check_lib_save_LIBS
27538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
27539 $as_echo "$ac_cv_lib_posix_remove" >&6; }
27540 if test "x$ac_cv_lib_posix_remove" = xyes; then :
27541 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27546 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27547 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
27548 if test "x$ac_cv_func_shmat" = xyes; then :
27552 if test $ac_cv_func_shmat = no; then
27553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
27554 $as_echo_n "checking for shmat in -lipc... " >&6; }
27555 if ${ac_cv_lib_ipc_shmat+:} false; then :
27556 $as_echo_n "(cached) " >&6
27558 ac_check_lib_save_LIBS=$LIBS
27560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27561 /* end confdefs.h. */
27563 /* Override any GCC internal prototype to avoid an error.
27564 Use char because int might match the return type of a GCC
27565 builtin and then its argument prototype would still apply. */
27578 if ac_fn_c_try_link "$LINENO"; then :
27579 ac_cv_lib_ipc_shmat=yes
27581 ac_cv_lib_ipc_shmat=no
27583 rm -f core conftest.err conftest.$ac_objext \
27584 conftest$ac_exeext conftest.$ac_ext
27585 LIBS=$ac_check_lib_save_LIBS
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
27588 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
27589 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
27590 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27596 # Check for libraries that X11R6 Xt/Xaw programs need.
27597 ac_save_LDFLAGS=$LDFLAGS
27598 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27599 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27600 # check for ICE first), but we must link in the order -lSM -lICE or
27601 # we get undefined symbols. So assume we have SM if we have ICE.
27602 # These have to be linked with before -lX11, unlike the other
27603 # libraries we check for below, so use a different variable.
27604 # John Interrante, Karl Berry
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
27606 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
27607 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
27608 $as_echo_n "(cached) " >&6
27610 ac_check_lib_save_LIBS=$LIBS
27611 LIBS="-lICE $X_EXTRA_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. */
27621 char IceConnectionNumber ();
27625 return IceConnectionNumber ();
27630 if ac_fn_c_try_link "$LINENO"; then :
27631 ac_cv_lib_ICE_IceConnectionNumber=yes
27633 ac_cv_lib_ICE_IceConnectionNumber=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_ICE_IceConnectionNumber" >&5
27640 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27641 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
27642 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27645 LDFLAGS=$ac_save_LDFLAGS
27650 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27652 #include <GL/glext.h>
27653 #include <GL/glx.h>
27654 #include <X11/Xlib.h>
27655 #include <X11/Xatom.h>
27656 #include <X11/Xutil.h>
27657 #include <X11/extensions/Xrender.h>
27658 #include <X11/Xresource.h>
27661 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
27673 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
27674 CFLAGS_save="${CFLAGS}"
27675 CFLAGS="${CFLAGS} -pthread"
27676 LIBS_save="${LIBS}"
27677 LIBS="${LIBS} -pthread"
27678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27679 /* end confdefs.h. */
27681 #include <pthread.h>
27687 pthread_create(NULL, NULL, NULL, NULL);
27693 if ac_fn_c_try_link "$LINENO"; then :
27698 rm -f core conftest.err conftest.$ac_objext \
27699 conftest$ac_exeext conftest.$ac_ext
27700 CFLAGS=${CFLAGS_save}
27702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
27703 $as_echo "${have_gl_pt}" >&6; }
27705 if test "x$have_gl_pt" = "xyes" ; then
27706 gl_pt_lib=" -pthread"
27709 if test "x${have_dep}" = "xyes" ; then
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
27711 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
27712 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
27713 $as_echo_n "(cached) " >&6
27715 ac_check_lib_save_LIBS=$LIBS
27717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27718 /* end confdefs.h. */
27720 /* Override any GCC internal prototype to avoid an error.
27721 Use char because int might match the return type of a GCC
27722 builtin and then its argument prototype would still apply. */
27726 char XCreateColormap ();
27730 return XCreateColormap ();
27735 if ac_fn_c_try_link "$LINENO"; then :
27736 ac_cv_lib_X11_XCreateColormap=yes
27738 ac_cv_lib_X11_XCreateColormap=no
27740 rm -f core conftest.err conftest.$ac_objext \
27741 conftest$ac_exeext conftest.$ac_ext
27742 LIBS=$ac_check_lib_save_LIBS
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
27745 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
27746 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
27754 if test "x${have_dep}" = "xyes" ; then
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
27756 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
27757 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
27758 $as_echo_n "(cached) " >&6
27760 ac_check_lib_save_LIBS=$LIBS
27761 LIBS="-lXrender $LIBS"
27762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27763 /* end confdefs.h. */
27765 /* Override any GCC internal prototype to avoid an error.
27766 Use char because int might match the return type of a GCC
27767 builtin and then its argument prototype would still apply. */
27771 char XRenderCreatePicture ();
27775 return XRenderCreatePicture ();
27780 if ac_fn_c_try_link "$LINENO"; then :
27781 ac_cv_lib_Xrender_XRenderCreatePicture=yes
27783 ac_cv_lib_Xrender_XRenderCreatePicture=no
27785 rm -f core conftest.err conftest.$ac_objext \
27786 conftest$ac_exeext conftest.$ac_ext
27787 LIBS=$ac_check_lib_save_LIBS
27789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
27790 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
27791 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
27799 if test "x${have_dep}" = "xyes" ; then
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
27801 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
27802 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
27803 $as_echo_n "(cached) " >&6
27805 ac_check_lib_save_LIBS=$LIBS
27806 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
27807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27808 /* end confdefs.h. */
27810 /* Override any GCC internal prototype to avoid an error.
27811 Use char because int might match the return type of a GCC
27812 builtin and then its argument prototype would still apply. */
27816 char glXCreateContext ();
27820 return glXCreateContext ();
27825 if ac_fn_c_try_link "$LINENO"; then :
27826 ac_cv_lib_GL_glXCreateContext=yes
27828 ac_cv_lib_GL_glXCreateContext=no
27830 rm -f core conftest.err conftest.$ac_objext \
27831 conftest$ac_exeext conftest.$ac_ext
27832 LIBS=$ac_check_lib_save_LIBS
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27835 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27836 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
27844 if test "x$gl_flavor_gles" = "xyes" ; then
27848 if test "x${have_dep}" = "xyes" ; then
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27852 $as_echo_n "checking for GL_EET... " >&6; }
27854 if test -n "$GL_EET_CFLAGS"; then
27855 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27856 elif test -n "$PKG_CONFIG"; then
27857 if test -n "$PKG_CONFIG" && \
27858 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27859 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27862 test $ac_status = 0; }; then
27863 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27864 test "x$?" != "x0" && pkg_failed=yes
27871 if test -n "$GL_EET_LIBS"; then
27872 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27873 elif test -n "$PKG_CONFIG"; then
27874 if test -n "$PKG_CONFIG" && \
27875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27876 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27879 test $ac_status = 0; }; then
27880 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27881 test "x$?" != "x0" && pkg_failed=yes
27891 if test $pkg_failed = yes; then
27892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27893 $as_echo "no" >&6; }
27895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27896 _pkg_short_errors_supported=yes
27898 _pkg_short_errors_supported=no
27900 if test $_pkg_short_errors_supported = yes; then
27901 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27903 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
27905 # Put the nasty error message in config.log where it belongs
27906 echo "$GL_EET_PKG_ERRORS" >&5
27909 elif test $pkg_failed = untried; then
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27911 $as_echo "no" >&6; }
27914 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27915 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27917 $as_echo "yes" >&6; }
27920 if test "x${have_dep}" = "xyes" ; then
27921 if test "xno" = "xyes" ; then
27922 x_libs="${x_libs} -lX11 -lXext -lXrender"
27924 x_dir=${x_dir:-/usr/X11R6}
27925 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27926 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27928 evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27929 evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27930 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27933 if test "xno" = "xyes" ; then
27934 x_libs="${x_libs} -lX11 -lXext -lXrender"
27936 x_dir=${x_dir:-/usr/X11R6}
27937 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27938 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27940 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27941 #include <GLES2/gl2.h>
27942 #include <GLES2/gl2ext.h>
27943 #include <EGL/egl.h>
27944 #include <X11/Xlib.h>
27945 #include <X11/Xatom.h>
27946 #include <X11/Xutil.h>
27947 #include <X11/extensions/Xrender.h>
27948 #include <X11/Xresource.h>
27951 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
27958 if test "x${have_egl}" = "xyes" ; then
27959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
27960 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
27961 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
27962 $as_echo_n "(cached) " >&6
27964 ac_check_lib_save_LIBS=$LIBS
27965 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
27966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27967 /* end confdefs.h. */
27969 /* Override any GCC internal prototype to avoid an error.
27970 Use char because int might match the return type of a GCC
27971 builtin and then its argument prototype would still apply. */
27975 char glTexImage2D ();
27979 return glTexImage2D ();
27984 if ac_fn_c_try_link "$LINENO"; then :
27985 ac_cv_lib_GLESv2_glTexImage2D=yes
27987 ac_cv_lib_GLESv2_glTexImage2D=no
27989 rm -f core conftest.err conftest.$ac_objext \
27990 conftest$ac_exeext conftest.$ac_ext
27991 LIBS=$ac_check_lib_save_LIBS
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
27994 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
27995 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
27999 if test "x${have_glesv2}" = "xyes" ; then
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
28003 $as_echo_n "checking for GL_EET... " >&6; }
28005 if test -n "$GL_EET_CFLAGS"; then
28006 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
28007 elif test -n "$PKG_CONFIG"; then
28008 if test -n "$PKG_CONFIG" && \
28009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28010 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28013 test $ac_status = 0; }; then
28014 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
28015 test "x$?" != "x0" && pkg_failed=yes
28022 if test -n "$GL_EET_LIBS"; then
28023 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
28024 elif test -n "$PKG_CONFIG"; then
28025 if test -n "$PKG_CONFIG" && \
28026 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
28027 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
28029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28030 test $ac_status = 0; }; then
28031 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
28032 test "x$?" != "x0" && pkg_failed=yes
28042 if test $pkg_failed = yes; then
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28044 $as_echo "no" >&6; }
28046 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28047 _pkg_short_errors_supported=yes
28049 _pkg_short_errors_supported=no
28051 if test $_pkg_short_errors_supported = yes; then
28052 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28054 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.99" 2>&1`
28056 # Put the nasty error message in config.log where it belongs
28057 echo "$GL_EET_PKG_ERRORS" >&5
28060 elif test $pkg_failed = untried; then
28061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28062 $as_echo "no" >&6; }
28065 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
28066 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28068 $as_echo "yes" >&6; }
28071 if test "x${have_dep}" = "xyes" ; then
28072 evas_engine_gl_xlib_cflags="${x_cflags}"
28073 evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
28074 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
28077 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
28079 gles_variety_sgx="yes"
28089 if test "x${have_dep}" = "xyes" ; then
28098 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28099 as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
28103 $as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
28105 $as_echo "${have_engine}" >&6; }
28107 if test "x${have_engine}" = "xyes" ; then
28108 if test "x${want_engine}" = "xstatic" ; then
28109 have_evas_engine_gl_xlib="static"
28110 want_static_engine="yes"
28112 have_evas_engine_gl_xlib="yes"
28116 if test "x${have_engine}" = "xyes" ; then
28118 $as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
28122 if test "x${have_engine}" = "xyes"; then
28123 BUILD_ENGINE_GL_XLIB_TRUE=
28124 BUILD_ENGINE_GL_XLIB_FALSE='#'
28126 BUILD_ENGINE_GL_XLIB_TRUE='#'
28127 BUILD_ENGINE_GL_XLIB_FALSE=
28131 if test "x${want_static_engine}" = "xyes" ; then
28133 $as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
28135 have_static_module="yes"
28138 if test "x${want_static_engine}" = "xyes"; then
28139 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28140 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28142 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28143 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28151 if test "x$have_evas_engine_gl_xlib" != "xno" ; then
28152 have_evas_engine_gl_x11="yes"
28154 cat >>confdefs.h <<_ACEOF
28155 #define BUILD_ENGINE_GL_X11 1
28159 cat >>confdefs.h <<_ACEOF
28160 #define BUILD_ENGINE_GL_XLIB 1
28163 if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
28165 cat >>confdefs.h <<_ACEOF
28166 #define EVAS_STATIC_BUILD_GL_X11 1
28172 have_evas_engine_gl_xlib="no"
28176 if test "x${have_evas_engine_gl_xlib}" != "xno"; then
28177 BUILD_ENGINE_GL_XLIB_TRUE=
28178 BUILD_ENGINE_GL_XLIB_FALSE='#'
28180 BUILD_ENGINE_GL_XLIB_TRUE='#'
28181 BUILD_ENGINE_GL_XLIB_FALSE=
28184 if test "x${have_evas_engine_gl_xcb}" != "xno"; then
28185 BUILD_ENGINE_GL_XCB_TRUE=
28186 BUILD_ENGINE_GL_XCB_FALSE='#'
28188 BUILD_ENGINE_GL_XCB_TRUE='#'
28189 BUILD_ENGINE_GL_XCB_FALSE=
28192 if test "x${have_evas_engine_gl_x11}" != "xno"; then
28193 BUILD_ENGINE_GL_X11_TRUE=
28194 BUILD_ENGINE_GL_X11_FALSE='#'
28196 BUILD_ENGINE_GL_X11_TRUE='#'
28197 BUILD_ENGINE_GL_X11_FALSE=
28201 if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28202 EVAS_STATIC_BUILD_GL_X11_TRUE=
28203 EVAS_STATIC_BUILD_GL_X11_FALSE='#'
28205 EVAS_STATIC_BUILD_GL_X11_TRUE='#'
28206 EVAS_STATIC_BUILD_GL_X11_FALSE=
28209 if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28210 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28211 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28213 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28214 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28217 if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
28218 EVAS_STATIC_BUILD_GL_XCB_TRUE=
28219 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
28221 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
28222 EVAS_STATIC_BUILD_GL_XCB_FALSE=
28229 have_evas_engine_gl_common="no"
28230 have_static_evas_engine_gl_common="no"
28231 if test "x$have_evas_engine_gl_xlib" = "xyes" \
28232 || test "x$have_evas_engine_gl_xcb" = "xyes" \
28233 || test "x$have_evas_engine_gl_sdl" = "xyes" \
28234 || test "x$have_evas_engine_gl_cocoa" = "xyes" \
28235 || test "x$have_evas_engine_wayland_egl" = "xyes"; then
28236 have_evas_engine_gl_common="yes"
28238 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
28239 || test "x$have_evas_engine_gl_xcb" = "xstatic" \
28240 || test "x$have_evas_engine_gl_sdl" = "xstatic" \
28241 || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
28242 || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
28243 have_evas_engine_gl_common="yes"
28244 have_static_evas_engine_gl_common="yes"
28247 if test "x$have_evas_engine_gl_common" = "xyes"; then
28248 evas_engine_gl_common_libs=""
28250 $as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
28256 if test "x$have_evas_engine_gl_common" = "xyes"; then
28257 BUILD_ENGINE_GL_COMMON_TRUE=
28258 BUILD_ENGINE_GL_COMMON_FALSE='#'
28260 BUILD_ENGINE_GL_COMMON_TRUE='#'
28261 BUILD_ENGINE_GL_COMMON_FALSE=
28265 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28266 EVAS_STATIC_BUILD_GL_COMMON_TRUE=
28267 EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
28269 EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
28270 EVAS_STATIC_BUILD_GL_COMMON_FALSE=
28273 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28275 $as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
28280 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
28281 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>
28283 if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = xyes; then :
28285 $as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
28291 if test "x$gl_flavor_gles" = "xyes"; then
28292 ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
28294 if test "x$ac_cv_have_decl_SDL_OPENGLES" = xyes; then :
28296 $as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
28302 # if software 16 x11 is enabled - build software_16 (the generic 16bit
28303 # engine). later enable it fb_16 or other "16" bit engines are enabled.
28304 have_evas_engine_software_16="no"
28305 if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
28306 have_evas_engine_software_16="yes"
28308 if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
28309 have_evas_engine_software_16="yes"
28311 if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
28312 have_evas_engine_software_16="yes"
28314 if test "x$have_evas_engine_software_16" = "xyes"; then
28315 BUILD_ENGINE_SOFTWARE_16_TRUE=
28316 BUILD_ENGINE_SOFTWARE_16_FALSE='#'
28318 BUILD_ENGINE_SOFTWARE_16_TRUE='#'
28319 BUILD_ENGINE_SOFTWARE_16_FALSE=
28323 # if software 16 need to be build as part of libevas.so
28324 have_static_software_16="no"
28325 # Check whether --enable-static-software-16 was given.
28326 if test "${enable_static_software_16+set}" = set; then :
28327 enableval=$enable_static_software_16; have_static_software_16=${enableval}
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
28332 $as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
28334 $as_echo "${have_static_software_16}" >&6; }
28336 if test "x${have_static_software_16}" = "xyes"; then
28337 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
28338 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
28340 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
28341 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
28344 if test "x${have_static_software_16}" = "xyes"; then
28346 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
28350 # if software 8 x11 is enabled - build software_8 (the generic 8bit
28352 have_evas_engine_software_8="no"
28353 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
28354 have_evas_engine_software_8="yes"
28356 if test "x$have_evas_engine_software_8" = "xyes"; then
28357 BUILD_ENGINE_SOFTWARE_8_TRUE=
28358 BUILD_ENGINE_SOFTWARE_8_FALSE='#'
28360 BUILD_ENGINE_SOFTWARE_8_TRUE='#'
28361 BUILD_ENGINE_SOFTWARE_8_FALSE=
28365 # if software 8 need to be build as part of libevas.so
28366 have_static_software_8="no"
28367 # Check whether --enable-static-software-8 was given.
28368 if test "${enable_static_software_8+set}" = set; then :
28369 enableval=$enable_static_software_8; have_static_software_8=${enableval}
28373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
28374 $as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
28376 $as_echo "${have_static_software_8}" >&6; }
28378 if test "x${have_static_software_8}" = "xyes"; then
28379 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
28380 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
28382 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
28383 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
28386 if test "x${have_static_software_8}" = "xyes"; then
28388 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
28392 #####################################################################
28400 want_loader="${want_evas_image_loader_edb}"
28401 want_static_loader="no"
28403 have_evas_image_loader_edb="no"
28405 # Check whether --enable-image-loader-edb was given.
28406 if test "${enable_image_loader_edb+set}" = set; then :
28407 enableval=$enable_image_loader_edb;
28408 if test "x${enableval}" = "xyes" ; then
28411 if test "x${enableval}" = "xstatic" ; then
28412 want_loader="static"
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
28423 $as_echo_n "checking whether to enable Edb image loader... " >&6; }
28424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28425 $as_echo "${want_loader}" >&6; }
28427 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28432 evas_image_loader_edb_cflags=""
28433 evas_image_loader_edb_libs=""
28437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
28438 $as_echo_n "checking for EDB... " >&6; }
28440 if test -n "$EDB_CFLAGS"; then
28441 pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
28442 elif test -n "$PKG_CONFIG"; then
28443 if test -n "$PKG_CONFIG" && \
28444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28445 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28448 test $ac_status = 0; }; then
28449 pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
28450 test "x$?" != "x0" && pkg_failed=yes
28457 if test -n "$EDB_LIBS"; then
28458 pkg_cv_EDB_LIBS="$EDB_LIBS"
28459 elif test -n "$PKG_CONFIG"; then
28460 if test -n "$PKG_CONFIG" && \
28461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28462 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28465 test $ac_status = 0; }; then
28466 pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
28467 test "x$?" != "x0" && pkg_failed=yes
28477 if test $pkg_failed = yes; then
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28479 $as_echo "no" >&6; }
28481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28482 _pkg_short_errors_supported=yes
28484 _pkg_short_errors_supported=no
28486 if test $_pkg_short_errors_supported = yes; then
28487 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edb" 2>&1`
28489 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edb" 2>&1`
28491 # Put the nasty error message in config.log where it belongs
28492 echo "$EDB_PKG_ERRORS" >&5
28495 elif test $pkg_failed = untried; then
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28497 $as_echo "no" >&6; }
28500 EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
28501 EDB_LIBS=$pkg_cv_EDB_LIBS
28502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28503 $as_echo "yes" >&6; }
28504 have_dep="yes" requirement="edb"
28506 evas_image_loader_edb_cflags="${EDB_CFLAGS}"
28507 evas_image_loader_edb_libs="${EDB_LIBS}"
28512 if test "x${want_loader}" = "xstatic" ; then
28513 requirement_evas="${requirement} ${requirement_evas}"
28516 if test "x${have_dep}" = "xyes" ; then
28525 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28526 as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
28530 $as_echo_n "checking whether Edb image loader will be built... " >&6; }
28531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28532 $as_echo "${have_loader}" >&6; }
28534 if test "x${have_loader}" = "xyes" ; then
28535 if test "x${want_loader}" = "xstatic" ; then
28536 have_evas_image_loader_edb="static"
28537 want_static_loader="yes"
28539 have_evas_image_loader_edb="yes"
28543 if test "x${have_loader}" = "xyes" ; then
28545 $as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
28549 if test "x${have_loader}" = "xyes"; then
28550 BUILD_LOADER_EDB_TRUE=
28551 BUILD_LOADER_EDB_FALSE='#'
28553 BUILD_LOADER_EDB_TRUE='#'
28554 BUILD_LOADER_EDB_FALSE=
28558 if test "x${want_static_loader}" = "xyes" ; then
28560 $as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
28562 have_static_module="yes"
28565 if test "x${want_static_loader}" = "xyes"; then
28566 EVAS_STATIC_BUILD_EDB_TRUE=
28567 EVAS_STATIC_BUILD_EDB_FALSE='#'
28569 EVAS_STATIC_BUILD_EDB_TRUE='#'
28570 EVAS_STATIC_BUILD_EDB_FALSE=
28584 want_loader="${want_evas_image_loader_eet}"
28585 want_static_loader="no"
28587 have_evas_image_loader_eet="no"
28589 # Check whether --enable-image-loader-eet was given.
28590 if test "${enable_image_loader_eet+set}" = set; then :
28591 enableval=$enable_image_loader_eet;
28592 if test "x${enableval}" = "xyes" ; then
28595 if test "x${enableval}" = "xstatic" ; then
28596 want_loader="static"
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
28607 $as_echo_n "checking whether to enable Eet image loader... " >&6; }
28608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28609 $as_echo "${want_loader}" >&6; }
28611 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28616 evas_image_loader_eet_cflags=""
28617 evas_image_loader_eet_libs=""
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28622 $as_echo_n "checking for EET... " >&6; }
28624 if test -n "$EET_CFLAGS"; then
28625 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28626 elif test -n "$PKG_CONFIG"; then
28627 if test -n "$PKG_CONFIG" && \
28628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28629 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28632 test $ac_status = 0; }; then
28633 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28634 test "x$?" != "x0" && pkg_failed=yes
28641 if test -n "$EET_LIBS"; then
28642 pkg_cv_EET_LIBS="$EET_LIBS"
28643 elif test -n "$PKG_CONFIG"; then
28644 if test -n "$PKG_CONFIG" && \
28645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28646 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28649 test $ac_status = 0; }; then
28650 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28651 test "x$?" != "x0" && pkg_failed=yes
28661 if test $pkg_failed = yes; then
28662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28663 $as_echo "no" >&6; }
28665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28666 _pkg_short_errors_supported=yes
28668 _pkg_short_errors_supported=no
28670 if test $_pkg_short_errors_supported = yes; then
28671 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28673 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28675 # Put the nasty error message in config.log where it belongs
28676 echo "$EET_PKG_ERRORS" >&5
28679 elif test $pkg_failed = untried; then
28680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28681 $as_echo "no" >&6; }
28684 EET_CFLAGS=$pkg_cv_EET_CFLAGS
28685 EET_LIBS=$pkg_cv_EET_LIBS
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28687 $as_echo "yes" >&6; }
28688 have_dep="yes" requirement="eet >= 1.4.0"
28690 evas_image_loader_eet_cflags="${EET_CFLAGS}"
28691 evas_image_loader_eet_libs="${EET_LIBS}"
28696 if test "x${want_loader}" = "xstatic" ; then
28697 requirement_evas="${requirement} ${requirement_evas}"
28700 if test "x${have_dep}" = "xyes" ; then
28709 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28710 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
28714 $as_echo_n "checking whether Eet image loader will be built... " >&6; }
28715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28716 $as_echo "${have_loader}" >&6; }
28718 if test "x${have_loader}" = "xyes" ; then
28719 if test "x${want_loader}" = "xstatic" ; then
28720 have_evas_image_loader_eet="static"
28721 want_static_loader="yes"
28723 have_evas_image_loader_eet="yes"
28727 if test "x${have_loader}" = "xyes" ; then
28729 $as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
28733 if test "x${have_loader}" = "xyes"; then
28734 BUILD_LOADER_EET_TRUE=
28735 BUILD_LOADER_EET_FALSE='#'
28737 BUILD_LOADER_EET_TRUE='#'
28738 BUILD_LOADER_EET_FALSE=
28742 if test "x${want_static_loader}" = "xyes" ; then
28744 $as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
28746 have_static_module="yes"
28749 if test "x${want_static_loader}" = "xyes"; then
28750 EVAS_STATIC_BUILD_EET_TRUE=
28751 EVAS_STATIC_BUILD_EET_FALSE='#'
28753 EVAS_STATIC_BUILD_EET_TRUE='#'
28754 EVAS_STATIC_BUILD_EET_FALSE=
28765 want_loader="${want_evas_font_loader_eet}"
28766 have_evas_font_loader_eet="no"
28768 # Check whether --enable-font-loader-eet was given.
28769 if test "${enable_font_loader_eet+set}" = set; then :
28770 enableval=$enable_font_loader_eet; want_loader=${enableval}
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
28776 $as_echo_n "checking whether to enable Eet font loader... " >&6; }
28777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28778 $as_echo "${want_loader}" >&6; }
28780 if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
28783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28784 $as_echo_n "checking for EET... " >&6; }
28786 if test -n "$EET_CFLAGS"; then
28787 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28788 elif test -n "$PKG_CONFIG"; then
28789 if test -n "$PKG_CONFIG" && \
28790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28791 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28794 test $ac_status = 0; }; then
28795 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28796 test "x$?" != "x0" && pkg_failed=yes
28803 if test -n "$EET_LIBS"; then
28804 pkg_cv_EET_LIBS="$EET_LIBS"
28805 elif test -n "$PKG_CONFIG"; then
28806 if test -n "$PKG_CONFIG" && \
28807 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28808 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28811 test $ac_status = 0; }; then
28812 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28813 test "x$?" != "x0" && pkg_failed=yes
28823 if test $pkg_failed = yes; then
28824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28825 $as_echo "no" >&6; }
28827 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28828 _pkg_short_errors_supported=yes
28830 _pkg_short_errors_supported=no
28832 if test $_pkg_short_errors_supported = yes; then
28833 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28835 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eet >= 1.6.0" 2>&1`
28837 # Put the nasty error message in config.log where it belongs
28838 echo "$EET_PKG_ERRORS" >&5
28840 have_evas_font_loader_eet="no"
28841 elif test $pkg_failed = untried; then
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28843 $as_echo "no" >&6; }
28844 have_evas_font_loader_eet="no"
28846 EET_CFLAGS=$pkg_cv_EET_CFLAGS
28847 EET_LIBS=$pkg_cv_EET_LIBS
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28849 $as_echo "yes" >&6; }
28850 have_evas_font_loader_eet="yes"
28854 if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28855 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28858 if test "x$have_evas_font_loader_eet" = "xyes" ; then
28860 $as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28862 requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28875 want_loader="${want_evas_image_loader_gif}"
28876 want_static_loader="no"
28878 have_evas_image_loader_gif="no"
28880 # Check whether --enable-image-loader-gif was given.
28881 if test "${enable_image_loader_gif+set}" = set; then :
28882 enableval=$enable_image_loader_gif;
28883 if test "x${enableval}" = "xyes" ; then
28886 if test "x${enableval}" = "xstatic" ; then
28887 want_loader="static"
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28898 $as_echo_n "checking whether to enable Gif image loader... " >&6; }
28899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28900 $as_echo "${want_loader}" >&6; }
28902 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28906 evas_image_loader_gif_cflags=""
28907 evas_image_loader_gif_libs=""
28909 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28910 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
28916 if test "x${have_dep}" = "xyes" ; then
28917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28918 $as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28919 if ${ac_cv_lib_gif_DGifOpenFileName+:} false; then :
28920 $as_echo_n "(cached) " >&6
28922 ac_check_lib_save_LIBS=$LIBS
28924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28925 /* end confdefs.h. */
28927 /* Override any GCC internal prototype to avoid an error.
28928 Use char because int might match the return type of a GCC
28929 builtin and then its argument prototype would still apply. */
28933 char DGifOpenFileName ();
28937 return DGifOpenFileName ();
28942 if ac_fn_c_try_link "$LINENO"; then :
28943 ac_cv_lib_gif_DGifOpenFileName=yes
28945 ac_cv_lib_gif_DGifOpenFileName=no
28947 rm -f core conftest.err conftest.$ac_objext \
28948 conftest$ac_exeext conftest.$ac_ext
28949 LIBS=$ac_check_lib_save_LIBS
28951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
28952 $as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
28953 if test "x$ac_cv_lib_gif_DGifOpenFileName" = xyes; then :
28955 evas_image_loader_gif_libs="-lgif"
28963 if test "x${have_dep}" = "xno" ; then
28964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
28965 $as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
28966 if ${ac_cv_lib_ungif_DGifOpenFileName+:} false; then :
28967 $as_echo_n "(cached) " >&6
28969 ac_check_lib_save_LIBS=$LIBS
28970 LIBS="-lungif $LIBS"
28971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28972 /* end confdefs.h. */
28974 /* Override any GCC internal prototype to avoid an error.
28975 Use char because int might match the return type of a GCC
28976 builtin and then its argument prototype would still apply. */
28980 char DGifOpenFileName ();
28984 return DGifOpenFileName ();
28989 if ac_fn_c_try_link "$LINENO"; then :
28990 ac_cv_lib_ungif_DGifOpenFileName=yes
28992 ac_cv_lib_ungif_DGifOpenFileName=no
28994 rm -f core conftest.err conftest.$ac_objext \
28995 conftest$ac_exeext conftest.$ac_ext
28996 LIBS=$ac_check_lib_save_LIBS
28998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
28999 $as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
29000 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = xyes; then :
29003 evas_image_loader_gif_libs="-lungif"
29014 if test "x${have_dep}" = "xyes" ; then
29023 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29024 as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
29028 $as_echo_n "checking whether Gif image loader will be built... " >&6; }
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29030 $as_echo "${have_loader}" >&6; }
29032 if test "x${have_loader}" = "xyes" ; then
29033 if test "x${want_loader}" = "xstatic" ; then
29034 have_evas_image_loader_gif="static"
29035 want_static_loader="yes"
29037 have_evas_image_loader_gif="yes"
29041 if test "x${have_loader}" = "xyes" ; then
29043 $as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
29047 if test "x${have_loader}" = "xyes"; then
29048 BUILD_LOADER_GIF_TRUE=
29049 BUILD_LOADER_GIF_FALSE='#'
29051 BUILD_LOADER_GIF_TRUE='#'
29052 BUILD_LOADER_GIF_FALSE=
29056 if test "x${want_static_loader}" = "xyes" ; then
29058 $as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
29060 have_static_module="yes"
29063 if test "x${want_static_loader}" = "xyes"; then
29064 EVAS_STATIC_BUILD_GIF_TRUE=
29065 EVAS_STATIC_BUILD_GIF_FALSE='#'
29067 EVAS_STATIC_BUILD_GIF_TRUE='#'
29068 EVAS_STATIC_BUILD_GIF_FALSE=
29077 have_evas_image_saver_jpeg="no"
29083 want_loader="${want_evas_image_loader_jpeg}"
29084 want_static_loader="no"
29086 have_evas_image_loader_jpeg="no"
29088 # Check whether --enable-image-loader-jpeg was given.
29089 if test "${enable_image_loader_jpeg+set}" = set; then :
29090 enableval=$enable_image_loader_jpeg;
29091 if test "x${enableval}" = "xyes" ; then
29094 if test "x${enableval}" = "xstatic" ; then
29095 want_loader="static"
29105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
29106 $as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29108 $as_echo "${want_loader}" >&6; }
29110 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29114 evas_image_loader_jpeg_cflags=""
29115 evas_image_loader_jpeg_libs=""
29117 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
29118 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
29124 if test "x${have_dep}" = "xyes" ; then
29125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
29126 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
29127 if ${ac_cv_lib_jpeg_jpeg_CreateDecompress+:} false; then :
29128 $as_echo_n "(cached) " >&6
29130 ac_check_lib_save_LIBS=$LIBS
29131 LIBS="-ljpeg $LIBS"
29132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29133 /* end confdefs.h. */
29135 /* Override any GCC internal prototype to avoid an error.
29136 Use char because int might match the return type of a GCC
29137 builtin and then its argument prototype would still apply. */
29141 char jpeg_CreateDecompress ();
29145 return jpeg_CreateDecompress ();
29150 if ac_fn_c_try_link "$LINENO"; then :
29151 ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
29153 ac_cv_lib_jpeg_jpeg_CreateDecompress=no
29155 rm -f core conftest.err conftest.$ac_objext \
29156 conftest$ac_exeext conftest.$ac_ext
29157 LIBS=$ac_check_lib_save_LIBS
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
29160 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
29161 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = xyes; then :
29163 evas_image_loader_jpeg_libs="-ljpeg"
29164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29165 /* end confdefs.h. */
29168 #include <jpeglib.h>
29169 #include <setjmp.h>
29175 struct jpeg_decompress_struct decomp;
29176 decomp.region_x = 0;
29182 if ac_fn_c_try_compile "$LINENO"; then :
29183 have_jpeg_region="yes"
29185 have_jpeg_region="no"
29187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 if test "x${have_jpeg_region}" = "xyes" ; then
29196 $as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
29204 if test "x${have_dep}" = "xyes" ; then
29213 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29214 as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
29218 $as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29220 $as_echo "${have_loader}" >&6; }
29222 if test "x${have_loader}" = "xyes" ; then
29223 if test "x${want_loader}" = "xstatic" ; then
29224 have_evas_image_loader_jpeg="static"
29225 want_static_loader="yes"
29227 have_evas_image_loader_jpeg="yes"
29231 if test "x${have_loader}" = "xyes" ; then
29233 $as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
29237 if test "x${have_loader}" = "xyes"; then
29238 BUILD_LOADER_JPEG_TRUE=
29239 BUILD_LOADER_JPEG_FALSE='#'
29241 BUILD_LOADER_JPEG_TRUE='#'
29242 BUILD_LOADER_JPEG_FALSE=
29246 if test "x${want_static_loader}" = "xyes" ; then
29248 $as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
29250 have_static_module="yes"
29253 if test "x${want_static_loader}" = "xyes"; then
29254 EVAS_STATIC_BUILD_JPEG_TRUE=
29255 EVAS_STATIC_BUILD_JPEG_FALSE='#'
29257 EVAS_STATIC_BUILD_JPEG_TRUE='#'
29258 EVAS_STATIC_BUILD_JPEG_FALSE=
29271 if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
29273 $as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
29275 have_evas_image_saver_jpeg="yes"
29279 if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
29280 BUILD_SAVER_JPEG_TRUE=
29281 BUILD_SAVER_JPEG_FALSE='#'
29283 BUILD_SAVER_JPEG_TRUE='#'
29284 BUILD_SAVER_JPEG_FALSE=
29293 want_loader="${want_evas_image_loader_pmaps}"
29294 want_static_loader="no"
29296 have_evas_image_loader_pmaps="no"
29298 # Check whether --enable-image-loader-pmaps was given.
29299 if test "${enable_image_loader_pmaps+set}" = set; then :
29300 enableval=$enable_image_loader_pmaps;
29301 if test "x${enableval}" = "xyes" ; then
29304 if test "x${enableval}" = "xstatic" ; then
29305 want_loader="static"
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
29316 $as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
29317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29318 $as_echo "${want_loader}" >&6; }
29320 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29324 evas_image_loader_pmaps_cflags=""
29325 evas_image_loader_pmaps_libs=""
29330 if test "x${have_dep}" = "xyes" ; then
29339 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29340 as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
29343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
29344 $as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29346 $as_echo "${have_loader}" >&6; }
29348 if test "x${have_loader}" = "xyes" ; then
29349 if test "x${want_loader}" = "xstatic" ; then
29350 have_evas_image_loader_pmaps="static"
29351 want_static_loader="yes"
29353 have_evas_image_loader_pmaps="yes"
29357 if test "x${have_loader}" = "xyes" ; then
29359 $as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
29363 if test "x${have_loader}" = "xyes"; then
29364 BUILD_LOADER_PMAPS_TRUE=
29365 BUILD_LOADER_PMAPS_FALSE='#'
29367 BUILD_LOADER_PMAPS_TRUE='#'
29368 BUILD_LOADER_PMAPS_FALSE=
29372 if test "x${want_static_loader}" = "xyes" ; then
29374 $as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
29376 have_static_module="yes"
29379 if test "x${want_static_loader}" = "xyes"; then
29380 EVAS_STATIC_BUILD_PMAPS_TRUE=
29381 EVAS_STATIC_BUILD_PMAPS_FALSE='#'
29383 EVAS_STATIC_BUILD_PMAPS_TRUE='#'
29384 EVAS_STATIC_BUILD_PMAPS_FALSE=
29398 want_loader="${want_evas_image_loader_png}"
29399 want_static_loader="no"
29401 have_evas_image_loader_png="no"
29403 # Check whether --enable-image-loader-png was given.
29404 if test "${enable_image_loader_png+set}" = set; then :
29405 enableval=$enable_image_loader_png;
29406 if test "x${enableval}" = "xyes" ; then
29409 if test "x${enableval}" = "xstatic" ; then
29410 want_loader="static"
29420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
29421 $as_echo_n "checking whether to enable PNG image loader... " >&6; }
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29423 $as_echo "${want_loader}" >&6; }
29425 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29430 evas_image_loader_png_cflags=""
29431 evas_image_loader_png_libs=""
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29436 $as_echo_n "checking for PNG... " >&6; }
29438 if test -n "$PNG_CFLAGS"; then
29439 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29440 elif test -n "$PKG_CONFIG"; then
29441 if test -n "$PKG_CONFIG" && \
29442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29443 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29446 test $ac_status = 0; }; then
29447 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
29448 test "x$?" != "x0" && pkg_failed=yes
29455 if test -n "$PNG_LIBS"; then
29456 pkg_cv_PNG_LIBS="$PNG_LIBS"
29457 elif test -n "$PKG_CONFIG"; then
29458 if test -n "$PKG_CONFIG" && \
29459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29460 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29463 test $ac_status = 0; }; then
29464 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
29465 test "x$?" != "x0" && pkg_failed=yes
29475 if test $pkg_failed = yes; then
29476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29477 $as_echo "no" >&6; }
29479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29480 _pkg_short_errors_supported=yes
29482 _pkg_short_errors_supported=no
29484 if test $_pkg_short_errors_supported = yes; then
29485 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29487 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng >= 1.2.10" 2>&1`
29489 # Put the nasty error message in config.log where it belongs
29490 echo "$PNG_PKG_ERRORS" >&5
29493 elif test $pkg_failed = untried; then
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29495 $as_echo "no" >&6; }
29498 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29499 PNG_LIBS=$pkg_cv_PNG_LIBS
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29501 $as_echo "yes" >&6; }
29502 have_dep="yes" requirement="libpng"
29505 if test "x${have_dep}" = "xno" ; then
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29509 $as_echo_n "checking for PNG... " >&6; }
29511 if test -n "$PNG_CFLAGS"; then
29512 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29513 elif test -n "$PKG_CONFIG"; then
29514 if test -n "$PKG_CONFIG" && \
29515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29516 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29519 test $ac_status = 0; }; then
29520 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
29521 test "x$?" != "x0" && pkg_failed=yes
29528 if test -n "$PNG_LIBS"; then
29529 pkg_cv_PNG_LIBS="$PNG_LIBS"
29530 elif test -n "$PKG_CONFIG"; then
29531 if test -n "$PKG_CONFIG" && \
29532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29533 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29536 test $ac_status = 0; }; then
29537 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
29538 test "x$?" != "x0" && pkg_failed=yes
29548 if test $pkg_failed = yes; then
29549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29550 $as_echo "no" >&6; }
29552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29553 _pkg_short_errors_supported=yes
29555 _pkg_short_errors_supported=no
29557 if test $_pkg_short_errors_supported = yes; then
29558 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng15" 2>&1`
29560 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng15" 2>&1`
29562 # Put the nasty error message in config.log where it belongs
29563 echo "$PNG_PKG_ERRORS" >&5
29566 elif test $pkg_failed = untried; then
29567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29568 $as_echo "no" >&6; }
29571 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29572 PNG_LIBS=$pkg_cv_PNG_LIBS
29573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29574 $as_echo "yes" >&6; }
29575 have_dep="yes" requirement="libpng15"
29579 if test "x${have_dep}" = "xno" ; then
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29583 $as_echo_n "checking for PNG... " >&6; }
29585 if test -n "$PNG_CFLAGS"; then
29586 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29587 elif test -n "$PKG_CONFIG"; then
29588 if test -n "$PKG_CONFIG" && \
29589 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29590 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29593 test $ac_status = 0; }; then
29594 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
29595 test "x$?" != "x0" && pkg_failed=yes
29602 if test -n "$PNG_LIBS"; then
29603 pkg_cv_PNG_LIBS="$PNG_LIBS"
29604 elif test -n "$PKG_CONFIG"; then
29605 if test -n "$PKG_CONFIG" && \
29606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29607 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29610 test $ac_status = 0; }; then
29611 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
29612 test "x$?" != "x0" && pkg_failed=yes
29622 if test $pkg_failed = yes; then
29623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29624 $as_echo "no" >&6; }
29626 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29627 _pkg_short_errors_supported=yes
29629 _pkg_short_errors_supported=no
29631 if test $_pkg_short_errors_supported = yes; then
29632 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng14" 2>&1`
29634 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng14" 2>&1`
29636 # Put the nasty error message in config.log where it belongs
29637 echo "$PNG_PKG_ERRORS" >&5
29640 elif test $pkg_failed = untried; then
29641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29642 $as_echo "no" >&6; }
29645 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29646 PNG_LIBS=$pkg_cv_PNG_LIBS
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29648 $as_echo "yes" >&6; }
29649 have_dep="yes" requirement="libpng14"
29653 if test "x${have_dep}" = "xno" ; then
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29657 $as_echo_n "checking for PNG... " >&6; }
29659 if test -n "$PNG_CFLAGS"; then
29660 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29661 elif test -n "$PKG_CONFIG"; then
29662 if test -n "$PKG_CONFIG" && \
29663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29664 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29667 test $ac_status = 0; }; then
29668 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
29669 test "x$?" != "x0" && pkg_failed=yes
29676 if test -n "$PNG_LIBS"; then
29677 pkg_cv_PNG_LIBS="$PNG_LIBS"
29678 elif test -n "$PKG_CONFIG"; then
29679 if test -n "$PKG_CONFIG" && \
29680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29681 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29684 test $ac_status = 0; }; then
29685 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
29686 test "x$?" != "x0" && pkg_failed=yes
29696 if test $pkg_failed = yes; then
29697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29698 $as_echo "no" >&6; }
29700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29701 _pkg_short_errors_supported=yes
29703 _pkg_short_errors_supported=no
29705 if test $_pkg_short_errors_supported = yes; then
29706 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29708 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng12 >= 1.2.10" 2>&1`
29710 # Put the nasty error message in config.log where it belongs
29711 echo "$PNG_PKG_ERRORS" >&5
29714 elif test $pkg_failed = untried; then
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29716 $as_echo "no" >&6; }
29719 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29720 PNG_LIBS=$pkg_cv_PNG_LIBS
29721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29722 $as_echo "yes" >&6; }
29723 have_dep="yes" requirement="libpng12"
29727 evas_image_loader_png_cflags="${PNG_CFLAGS}"
29728 evas_image_loader_png_libs="${PNG_LIBS}"
29733 if test "x${want_loader}" = "xstatic" ; then
29734 requirement_evas="${requirement} ${requirement_evas}"
29737 if test "x${have_dep}" = "xyes" ; then
29746 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29747 as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
29750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
29751 $as_echo_n "checking whether PNG image loader will be built... " >&6; }
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29753 $as_echo "${have_loader}" >&6; }
29755 if test "x${have_loader}" = "xyes" ; then
29756 if test "x${want_loader}" = "xstatic" ; then
29757 have_evas_image_loader_png="static"
29758 want_static_loader="yes"
29760 have_evas_image_loader_png="yes"
29764 if test "x${have_loader}" = "xyes" ; then
29766 $as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
29770 if test "x${have_loader}" = "xyes"; then
29771 BUILD_LOADER_PNG_TRUE=
29772 BUILD_LOADER_PNG_FALSE='#'
29774 BUILD_LOADER_PNG_TRUE='#'
29775 BUILD_LOADER_PNG_FALSE=
29779 if test "x${want_static_loader}" = "xyes" ; then
29781 $as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
29783 have_static_module="yes"
29786 if test "x${want_static_loader}" = "xyes"; then
29787 EVAS_STATIC_BUILD_PNG_TRUE=
29788 EVAS_STATIC_BUILD_PNG_FALSE='#'
29790 EVAS_STATIC_BUILD_PNG_TRUE='#'
29791 EVAS_STATIC_BUILD_PNG_FALSE=
29805 want_loader="${want_evas_image_loader_svg}"
29806 want_static_loader="no"
29808 have_evas_image_loader_svg="no"
29810 # Check whether --enable-image-loader-svg was given.
29811 if test "${enable_image_loader_svg+set}" = set; then :
29812 enableval=$enable_image_loader_svg;
29813 if test "x${enableval}" = "xyes" ; then
29816 if test "x${enableval}" = "xstatic" ; then
29817 want_loader="static"
29827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29828 $as_echo_n "checking whether to enable SVG image loader... " >&6; }
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29830 $as_echo "${want_loader}" >&6; }
29832 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29837 evas_image_loader_svg_cflags=""
29838 evas_image_loader_svg_libs=""
29842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29843 $as_echo_n "checking for SVG... " >&6; }
29845 if test -n "$SVG_CFLAGS"; then
29846 pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29847 elif test -n "$PKG_CONFIG"; then
29848 if test -n "$PKG_CONFIG" && \
29849 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29850 ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29853 test $ac_status = 0; }; then
29854 pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "esvg >= 0.0.16" 2>/dev/null`
29855 test "x$?" != "x0" && pkg_failed=yes
29862 if test -n "$SVG_LIBS"; then
29863 pkg_cv_SVG_LIBS="$SVG_LIBS"
29864 elif test -n "$PKG_CONFIG"; then
29865 if test -n "$PKG_CONFIG" && \
29866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29867 ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29870 test $ac_status = 0; }; then
29871 pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "esvg >= 0.0.16" 2>/dev/null`
29872 test "x$?" != "x0" && pkg_failed=yes
29882 if test $pkg_failed = yes; then
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29884 $as_echo "no" >&6; }
29886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29887 _pkg_short_errors_supported=yes
29889 _pkg_short_errors_supported=no
29891 if test $_pkg_short_errors_supported = yes; then
29892 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29894 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "esvg >= 0.0.16" 2>&1`
29896 # Put the nasty error message in config.log where it belongs
29897 echo "$SVG_PKG_ERRORS" >&5
29900 elif test $pkg_failed = untried; then
29901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29902 $as_echo "no" >&6; }
29905 SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29906 SVG_LIBS=$pkg_cv_SVG_LIBS
29907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29908 $as_echo "yes" >&6; }
29909 have_dep="yes" have_esvg="yes" requirement="esvg"
29912 if test "x${have_dep}" = "xyes" ; then
29913 evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29914 evas_image_loader_svg_libs="${SVG_LIBS}"
29920 if test "x${want_loader}" = "xstatic" ; then
29921 requirement_evas="${requirement} ${requirement_evas}"
29924 if test "x${have_dep}" = "xyes" ; then
29933 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29934 as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29938 $as_echo_n "checking whether SVG image loader will be built... " >&6; }
29939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29940 $as_echo "${have_loader}" >&6; }
29942 if test "x${have_loader}" = "xyes" ; then
29943 if test "x${want_loader}" = "xstatic" ; then
29944 have_evas_image_loader_svg="static"
29945 want_static_loader="yes"
29947 have_evas_image_loader_svg="yes"
29951 if test "x${have_loader}" = "xyes" ; then
29953 $as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
29957 if test "x${have_loader}" = "xyes"; then
29958 BUILD_LOADER_SVG_TRUE=
29959 BUILD_LOADER_SVG_FALSE='#'
29961 BUILD_LOADER_SVG_TRUE='#'
29962 BUILD_LOADER_SVG_FALSE=
29966 if test "x${want_static_loader}" = "xyes" ; then
29968 $as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
29970 have_static_module="yes"
29973 if test "x${want_static_loader}" = "xyes"; then
29974 EVAS_STATIC_BUILD_SVG_TRUE=
29975 EVAS_STATIC_BUILD_SVG_FALSE='#'
29977 EVAS_STATIC_BUILD_SVG_TRUE='#'
29978 EVAS_STATIC_BUILD_SVG_FALSE=
29992 want_loader="${want_evas_image_loader_tiff}"
29993 want_static_loader="no"
29995 have_evas_image_loader_tiff="no"
29997 # Check whether --enable-image-loader-tiff was given.
29998 if test "${enable_image_loader_tiff+set}" = set; then :
29999 enableval=$enable_image_loader_tiff;
30000 if test "x${enableval}" = "xyes" ; then
30003 if test "x${enableval}" = "xstatic" ; then
30004 want_loader="static"
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
30015 $as_echo_n "checking whether to enable Tiff image loader... " >&6; }
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30017 $as_echo "${want_loader}" >&6; }
30019 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30023 evas_image_loader_tiff_cflags=""
30024 evas_image_loader_tiff_libs=""
30026 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
30027 if test "x$ac_cv_header_tiffio_h" = xyes; then :
30033 if test "x${have_dep}" = "xyes" ; then
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30035 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30036 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30037 $as_echo_n "(cached) " >&6
30039 ac_check_lib_save_LIBS=$LIBS
30040 LIBS="-ltiff $LIBS"
30041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30042 /* end confdefs.h. */
30044 /* Override any GCC internal prototype to avoid an error.
30045 Use char because int might match the return type of a GCC
30046 builtin and then its argument prototype would still apply. */
30050 char TIFFReadScanline ();
30054 return TIFFReadScanline ();
30059 if ac_fn_c_try_link "$LINENO"; then :
30060 ac_cv_lib_tiff_TIFFReadScanline=yes
30062 ac_cv_lib_tiff_TIFFReadScanline=no
30064 rm -f core conftest.err conftest.$ac_objext \
30065 conftest$ac_exeext conftest.$ac_ext
30066 LIBS=$ac_check_lib_save_LIBS
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30069 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30070 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30072 evas_image_loader_tiff_libs="-ltiff"
30080 if test "x${have_dep}" = "xno" ; then
30081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30082 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30083 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30084 $as_echo_n "(cached) " >&6
30086 ac_check_lib_save_LIBS=$LIBS
30087 LIBS="-ltiff $LIBS"
30088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30089 /* end confdefs.h. */
30091 /* Override any GCC internal prototype to avoid an error.
30092 Use char because int might match the return type of a GCC
30093 builtin and then its argument prototype would still apply. */
30097 char TIFFReadScanline ();
30101 return TIFFReadScanline ();
30106 if ac_fn_c_try_link "$LINENO"; then :
30107 ac_cv_lib_tiff_TIFFReadScanline=yes
30109 ac_cv_lib_tiff_TIFFReadScanline=no
30111 rm -f core conftest.err conftest.$ac_objext \
30112 conftest$ac_exeext conftest.$ac_ext
30113 LIBS=$ac_check_lib_save_LIBS
30115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30116 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30117 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30120 evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
30127 if test "x${have_dep}" = "xno" ; then
30128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
30129 $as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
30130 if ${ac_cv_lib_tiff34_TIFFReadScanline+:} false; then :
30131 $as_echo_n "(cached) " >&6
30133 ac_check_lib_save_LIBS=$LIBS
30134 LIBS="-ltiff34 $LIBS"
30135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30136 /* end confdefs.h. */
30138 /* Override any GCC internal prototype to avoid an error.
30139 Use char because int might match the return type of a GCC
30140 builtin and then its argument prototype would still apply. */
30144 char TIFFReadScanline ();
30148 return TIFFReadScanline ();
30153 if ac_fn_c_try_link "$LINENO"; then :
30154 ac_cv_lib_tiff34_TIFFReadScanline=yes
30156 ac_cv_lib_tiff34_TIFFReadScanline=no
30158 rm -f core conftest.err conftest.$ac_objext \
30159 conftest$ac_exeext conftest.$ac_ext
30160 LIBS=$ac_check_lib_save_LIBS
30162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
30163 $as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
30164 if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = xyes; then :
30167 evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
30178 if test "x${have_dep}" = "xyes" ; then
30187 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30188 as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
30191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
30192 $as_echo_n "checking whether Tiff image loader will be built... " >&6; }
30193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30194 $as_echo "${have_loader}" >&6; }
30196 if test "x${have_loader}" = "xyes" ; then
30197 if test "x${want_loader}" = "xstatic" ; then
30198 have_evas_image_loader_tiff="static"
30199 want_static_loader="yes"
30201 have_evas_image_loader_tiff="yes"
30205 if test "x${have_loader}" = "xyes" ; then
30207 $as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
30211 if test "x${have_loader}" = "xyes"; then
30212 BUILD_LOADER_TIFF_TRUE=
30213 BUILD_LOADER_TIFF_FALSE='#'
30215 BUILD_LOADER_TIFF_TRUE='#'
30216 BUILD_LOADER_TIFF_FALSE=
30220 if test "x${want_static_loader}" = "xyes" ; then
30222 $as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
30224 have_static_module="yes"
30227 if test "x${want_static_loader}" = "xyes"; then
30228 EVAS_STATIC_BUILD_TIFF_TRUE=
30229 EVAS_STATIC_BUILD_TIFF_FALSE='#'
30231 EVAS_STATIC_BUILD_TIFF_TRUE='#'
30232 EVAS_STATIC_BUILD_TIFF_FALSE=
30246 want_loader="${want_evas_image_loader_xpm}"
30247 want_static_loader="no"
30249 have_evas_image_loader_xpm="no"
30251 # Check whether --enable-image-loader-xpm was given.
30252 if test "${enable_image_loader_xpm+set}" = set; then :
30253 enableval=$enable_image_loader_xpm;
30254 if test "x${enableval}" = "xyes" ; then
30257 if test "x${enableval}" = "xstatic" ; then
30258 want_loader="static"
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
30269 $as_echo_n "checking whether to enable XPM image loader... " >&6; }
30270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30271 $as_echo "${want_loader}" >&6; }
30273 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30277 evas_image_loader_xpm_cflags=""
30278 evas_image_loader_xpm_libs=""
30283 if test "x${have_dep}" = "xyes" ; then
30292 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30293 as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
30297 $as_echo_n "checking whether XPM image loader will be built... " >&6; }
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30299 $as_echo "${have_loader}" >&6; }
30301 if test "x${have_loader}" = "xyes" ; then
30302 if test "x${want_loader}" = "xstatic" ; then
30303 have_evas_image_loader_xpm="static"
30304 want_static_loader="yes"
30306 have_evas_image_loader_xpm="yes"
30310 if test "x${have_loader}" = "xyes" ; then
30312 $as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
30316 if test "x${have_loader}" = "xyes"; then
30317 BUILD_LOADER_XPM_TRUE=
30318 BUILD_LOADER_XPM_FALSE='#'
30320 BUILD_LOADER_XPM_TRUE='#'
30321 BUILD_LOADER_XPM_FALSE=
30325 if test "x${want_static_loader}" = "xyes" ; then
30327 $as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
30329 have_static_module="yes"
30332 if test "x${want_static_loader}" = "xyes"; then
30333 EVAS_STATIC_BUILD_XPM_TRUE=
30334 EVAS_STATIC_BUILD_XPM_FALSE='#'
30336 EVAS_STATIC_BUILD_XPM_TRUE='#'
30337 EVAS_STATIC_BUILD_XPM_FALSE=
30351 want_loader="${want_evas_image_loader_bmp}"
30352 want_static_loader="no"
30354 have_evas_image_loader_bmp="no"
30356 # Check whether --enable-image-loader-bmp was given.
30357 if test "${enable_image_loader_bmp+set}" = set; then :
30358 enableval=$enable_image_loader_bmp;
30359 if test "x${enableval}" = "xyes" ; then
30362 if test "x${enableval}" = "xstatic" ; then
30363 want_loader="static"
30373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
30374 $as_echo_n "checking whether to enable BMP image loader... " >&6; }
30375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30376 $as_echo "${want_loader}" >&6; }
30378 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30382 evas_image_loader_bmp_cflags=""
30383 evas_image_loader_bmp_libs=""
30388 if test "x${have_dep}" = "xyes" ; then
30397 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30398 as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
30402 $as_echo_n "checking whether BMP image loader will be built... " >&6; }
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30404 $as_echo "${have_loader}" >&6; }
30406 if test "x${have_loader}" = "xyes" ; then
30407 if test "x${want_loader}" = "xstatic" ; then
30408 have_evas_image_loader_bmp="static"
30409 want_static_loader="yes"
30411 have_evas_image_loader_bmp="yes"
30415 if test "x${have_loader}" = "xyes" ; then
30417 $as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
30421 if test "x${have_loader}" = "xyes"; then
30422 BUILD_LOADER_BMP_TRUE=
30423 BUILD_LOADER_BMP_FALSE='#'
30425 BUILD_LOADER_BMP_TRUE='#'
30426 BUILD_LOADER_BMP_FALSE=
30430 if test "x${want_static_loader}" = "xyes" ; then
30432 $as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
30434 have_static_module="yes"
30437 if test "x${want_static_loader}" = "xyes"; then
30438 EVAS_STATIC_BUILD_BMP_TRUE=
30439 EVAS_STATIC_BUILD_BMP_FALSE='#'
30441 EVAS_STATIC_BUILD_BMP_TRUE='#'
30442 EVAS_STATIC_BUILD_BMP_FALSE=
30456 want_loader="${want_evas_image_loader_tga}"
30457 want_static_loader="no"
30459 have_evas_image_loader_tga="no"
30461 # Check whether --enable-image-loader-tga was given.
30462 if test "${enable_image_loader_tga+set}" = set; then :
30463 enableval=$enable_image_loader_tga;
30464 if test "x${enableval}" = "xyes" ; then
30467 if test "x${enableval}" = "xstatic" ; then
30468 want_loader="static"
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
30479 $as_echo_n "checking whether to enable TGA image loader... " >&6; }
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30481 $as_echo "${want_loader}" >&6; }
30483 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30487 evas_image_loader_tga_cflags=""
30488 evas_image_loader_tga_libs=""
30493 if test "x${have_dep}" = "xyes" ; then
30502 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30503 as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
30507 $as_echo_n "checking whether TGA image loader will be built... " >&6; }
30508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30509 $as_echo "${have_loader}" >&6; }
30511 if test "x${have_loader}" = "xyes" ; then
30512 if test "x${want_loader}" = "xstatic" ; then
30513 have_evas_image_loader_tga="static"
30514 want_static_loader="yes"
30516 have_evas_image_loader_tga="yes"
30520 if test "x${have_loader}" = "xyes" ; then
30522 $as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
30526 if test "x${have_loader}" = "xyes"; then
30527 BUILD_LOADER_TGA_TRUE=
30528 BUILD_LOADER_TGA_FALSE='#'
30530 BUILD_LOADER_TGA_TRUE='#'
30531 BUILD_LOADER_TGA_FALSE=
30535 if test "x${want_static_loader}" = "xyes" ; then
30537 $as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
30539 have_static_module="yes"
30542 if test "x${want_static_loader}" = "xyes"; then
30543 EVAS_STATIC_BUILD_TGA_TRUE=
30544 EVAS_STATIC_BUILD_TGA_FALSE='#'
30546 EVAS_STATIC_BUILD_TGA_TRUE='#'
30547 EVAS_STATIC_BUILD_TGA_FALSE=
30561 want_loader="${want_evas_image_loader_wbmp}"
30562 want_static_loader="no"
30564 have_evas_image_loader_wbmp="no"
30566 # Check whether --enable-image-loader-wbmp was given.
30567 if test "${enable_image_loader_wbmp+set}" = set; then :
30568 enableval=$enable_image_loader_wbmp;
30569 if test "x${enableval}" = "xyes" ; then
30572 if test "x${enableval}" = "xstatic" ; then
30573 want_loader="static"
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
30584 $as_echo_n "checking whether to enable WBMP image loader... " >&6; }
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30586 $as_echo "${want_loader}" >&6; }
30588 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30592 evas_image_loader_wbmp_cflags=""
30593 evas_image_loader_wbmp_libs=""
30598 if test "x${have_dep}" = "xyes" ; then
30607 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30608 as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
30612 $as_echo_n "checking whether WBMP image loader will be built... " >&6; }
30613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30614 $as_echo "${have_loader}" >&6; }
30616 if test "x${have_loader}" = "xyes" ; then
30617 if test "x${want_loader}" = "xstatic" ; then
30618 have_evas_image_loader_wbmp="static"
30619 want_static_loader="yes"
30621 have_evas_image_loader_wbmp="yes"
30625 if test "x${have_loader}" = "xyes" ; then
30627 $as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
30631 if test "x${have_loader}" = "xyes"; then
30632 BUILD_LOADER_WBMP_TRUE=
30633 BUILD_LOADER_WBMP_FALSE='#'
30635 BUILD_LOADER_WBMP_TRUE='#'
30636 BUILD_LOADER_WBMP_FALSE=
30640 if test "x${want_static_loader}" = "xyes" ; then
30642 $as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
30644 have_static_module="yes"
30647 if test "x${want_static_loader}" = "xyes"; then
30648 EVAS_STATIC_BUILD_WBMP_TRUE=
30649 EVAS_STATIC_BUILD_WBMP_FALSE='#'
30651 EVAS_STATIC_BUILD_WBMP_TRUE='#'
30652 EVAS_STATIC_BUILD_WBMP_FALSE=
30666 want_loader="${want_evas_image_loader_ico}"
30667 want_static_loader="no"
30669 have_evas_image_loader_ico="no"
30671 # Check whether --enable-image-loader-ico was given.
30672 if test "${enable_image_loader_ico+set}" = set; then :
30673 enableval=$enable_image_loader_ico;
30674 if test "x${enableval}" = "xyes" ; then
30677 if test "x${enableval}" = "xstatic" ; then
30678 want_loader="static"
30688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
30689 $as_echo_n "checking whether to enable ICO image loader... " >&6; }
30690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30691 $as_echo "${want_loader}" >&6; }
30693 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30697 evas_image_loader_ico_cflags=""
30698 evas_image_loader_ico_libs=""
30703 if test "x${have_dep}" = "xyes" ; then
30712 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30713 as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
30716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
30717 $as_echo_n "checking whether ICO image loader will be built... " >&6; }
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30719 $as_echo "${have_loader}" >&6; }
30721 if test "x${have_loader}" = "xyes" ; then
30722 if test "x${want_loader}" = "xstatic" ; then
30723 have_evas_image_loader_ico="static"
30724 want_static_loader="yes"
30726 have_evas_image_loader_ico="yes"
30730 if test "x${have_loader}" = "xyes" ; then
30732 $as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
30736 if test "x${have_loader}" = "xyes"; then
30737 BUILD_LOADER_ICO_TRUE=
30738 BUILD_LOADER_ICO_FALSE='#'
30740 BUILD_LOADER_ICO_TRUE='#'
30741 BUILD_LOADER_ICO_FALSE=
30745 if test "x${want_static_loader}" = "xyes" ; then
30747 $as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
30749 have_static_module="yes"
30752 if test "x${want_static_loader}" = "xyes"; then
30753 EVAS_STATIC_BUILD_ICO_TRUE=
30754 EVAS_STATIC_BUILD_ICO_FALSE='#'
30756 EVAS_STATIC_BUILD_ICO_TRUE='#'
30757 EVAS_STATIC_BUILD_ICO_FALSE=
30771 want_loader="${want_evas_image_loader_psd}"
30772 want_static_loader="no"
30774 have_evas_image_loader_psd="no"
30776 # Check whether --enable-image-loader-psd was given.
30777 if test "${enable_image_loader_psd+set}" = set; then :
30778 enableval=$enable_image_loader_psd;
30779 if test "x${enableval}" = "xyes" ; then
30782 if test "x${enableval}" = "xstatic" ; then
30783 want_loader="static"
30793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
30794 $as_echo_n "checking whether to enable PSD image loader... " >&6; }
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30796 $as_echo "${want_loader}" >&6; }
30798 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30802 evas_image_loader_psd_cflags=""
30803 evas_image_loader_psd_libs=""
30808 if test "x${have_dep}" = "xyes" ; then
30817 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30818 as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30822 $as_echo_n "checking whether PSD image loader will be built... " >&6; }
30823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30824 $as_echo "${have_loader}" >&6; }
30826 if test "x${have_loader}" = "xyes" ; then
30827 if test "x${want_loader}" = "xstatic" ; then
30828 have_evas_image_loader_psd="static"
30829 want_static_loader="yes"
30831 have_evas_image_loader_psd="yes"
30835 if test "x${have_loader}" = "xyes" ; then
30837 $as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30841 if test "x${have_loader}" = "xyes"; then
30842 BUILD_LOADER_PSD_TRUE=
30843 BUILD_LOADER_PSD_FALSE='#'
30845 BUILD_LOADER_PSD_TRUE='#'
30846 BUILD_LOADER_PSD_FALSE=
30850 if test "x${want_static_loader}" = "xyes" ; then
30852 $as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30854 have_static_module="yes"
30857 if test "x${want_static_loader}" = "xyes"; then
30858 EVAS_STATIC_BUILD_PSD_TRUE=
30859 EVAS_STATIC_BUILD_PSD_FALSE='#'
30861 EVAS_STATIC_BUILD_PSD_TRUE='#'
30862 EVAS_STATIC_BUILD_PSD_FALSE=
30876 want_loader="${want_evas_image_loader_generic}"
30877 want_static_loader="no"
30879 have_evas_image_loader_generic="no"
30881 # Check whether --enable-image-loader-generic was given.
30882 if test "${enable_image_loader_generic+set}" = set; then :
30883 enableval=$enable_image_loader_generic;
30884 if test "x${enableval}" = "xyes" ; then
30887 if test "x${enableval}" = "xstatic" ; then
30888 want_loader="static"
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30899 $as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30901 $as_echo "${want_loader}" >&6; }
30903 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30907 evas_image_loader_generic_cflags=""
30908 evas_image_loader_generic_libs=""
30913 if test "x${have_dep}" = "xyes" ; then
30922 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30923 as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30927 $as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30929 $as_echo "${have_loader}" >&6; }
30931 if test "x${have_loader}" = "xyes" ; then
30932 if test "x${want_loader}" = "xstatic" ; then
30933 have_evas_image_loader_generic="static"
30934 want_static_loader="yes"
30936 have_evas_image_loader_generic="yes"
30940 if test "x${have_loader}" = "xyes" ; then
30942 $as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30946 if test "x${have_loader}" = "xyes"; then
30947 BUILD_LOADER_GENERIC_TRUE=
30948 BUILD_LOADER_GENERIC_FALSE='#'
30950 BUILD_LOADER_GENERIC_TRUE='#'
30951 BUILD_LOADER_GENERIC_FALSE=
30955 if test "x${want_static_loader}" = "xyes" ; then
30957 $as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
30959 have_static_module="yes"
30962 if test "x${want_static_loader}" = "xyes"; then
30963 EVAS_STATIC_BUILD_GENERIC_TRUE=
30964 EVAS_STATIC_BUILD_GENERIC_FALSE='#'
30966 EVAS_STATIC_BUILD_GENERIC_TRUE='#'
30967 EVAS_STATIC_BUILD_GENERIC_FALSE=
30976 #####################################################################
30977 ## Cpu based optimizations
30979 #######################################
30983 build_pthreads="no"
30986 # basic pthread support
30987 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
30988 if test "x$ac_cv_header_pthread_h" = xyes; then :
31001 # sched_getaffinity pthread_attr_setaffinity_np
31002 for ac_header in pthread.h sched.h
31004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
31005 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
31006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
31007 cat >>confdefs.h <<_ACEOF
31008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
31011 CFLAGS_save="${CFLAGS}"
31012 CFLAGS="${CFLAGS} -pthread"
31013 LIBS_save="${LIBS}"
31014 LIBS="${LIBS} -pthread"
31015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31016 /* end confdefs.h. */
31018 #include <pthread.h>
31025 pthread_attr_setaffinity_np(NULL, 0, NULL);
31026 pthread_barrier_wait(NULL);
31032 if ac_fn_c_try_link "$LINENO"; then :
31033 build_pthreads="yes"
31035 build_pthreads="no"
31037 rm -f core conftest.err conftest.$ac_objext \
31038 conftest$ac_exeext conftest.$ac_ext
31039 CFLAGS=${CFLAGS_save}
31043 build_pthreads="no"
31049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
31050 $as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
31051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
31052 $as_echo "${build_pthreads}" >&6; }
31054 #######################################
31056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
31057 $as_echo_n "checking whether to build pthread code... " >&6; }
31058 # Check whether --enable-pthreads was given.
31059 if test "${enable_pthreads+set}" = set; then :
31060 enableval=$enable_pthreads;
31061 if test "x$enableval" = "xyes" ; then
31062 if test "x$build_pthreads" = "xyes"; then
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31064 $as_echo "yes" >&6; }
31066 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31068 build_pthreads="yes"
31069 need_pthreads="yes"
31071 if "x$use_strict" = "xyes"; then
31072 as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
31075 $as_echo "no: pthread headers or functions not found" >&6; }
31079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31080 $as_echo "no" >&6; }
31081 build_pthreads="no"
31086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
31087 $as_echo "$build_pthreads" >&6; }
31088 if test "x$build_pthreads" = "xyes" ; then
31090 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31092 need_pthreads="yes"
31099 #######################################
31101 build_pipe_render="no"
31103 # Let disable pipe render strongly as it doesn't massively improve performance, but
31104 # just hammer more watt for a few more percent. The code is kept as the understanding
31105 # is that with an async pipeline things will be better.
31107 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
31108 #AC_ARG_ENABLE(pipe-render,
31109 # AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
31110 # [ build_pipe_render=$enableval ]
31112 #AC_MSG_RESULT($build_pipe_render)
31114 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
31115 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
31116 # AC_MSG_RESULT(yes)
31117 # AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
31118 # build_pipe_render="yes"
31119 # need_pthreads="yes"
31121 # AC_MSG_RESULT(no)
31122 # build_pipe_render="no"
31125 #######################################
31127 build_async_events="auto"
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
31129 $as_echo_n "checking whether to build Async Events support... " >&6; }
31130 # Check whether --enable-async-events was given.
31131 if test "${enable_async_events+set}" = set; then :
31132 enableval=$enable_async_events; build_async_events=$enableval
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
31137 $as_echo "$build_async_events" >&6; }
31139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
31140 $as_echo_n "checking whether we can build Async Events support... " >&6; }
31141 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31143 $as_echo "yes" >&6; }
31145 $as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
31147 build_async_events="yes"
31149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31150 $as_echo "no" >&6; }
31151 build_async_events="no"
31154 #######################################
31155 ## Async image preload
31156 build_async_preload="auto"
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
31158 $as_echo_n "checking whether to build Async Image Preload support... " >&6; }
31159 # Check whether --enable-async-preload was given.
31160 if test "${enable_async_preload+set}" = set; then :
31161 enableval=$enable_async_preload; build_async_preload=$enableval
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
31166 $as_echo "$build_async_preload" >&6; }
31168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
31169 $as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
31170 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
31171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31172 $as_echo "yes" >&6; }
31174 $as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
31176 build_async_preload="yes"
31177 need_pthreads="yes"
31179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31180 $as_echo "no" >&6; }
31181 build_async_preload="no"
31184 #######################################
31185 ## Link with pthread if needed
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
31187 $as_echo_n "checking whether we should link with pthread... " >&6; }
31188 if test "x$need_pthreads" = "xyes"; then
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31190 $as_echo "yes" >&6; }
31191 pthread_cflags="-pthread"
31192 pthread_libs="-pthread"
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31195 $as_echo "no" >&6; }
31198 #######################################
31203 build_cpu_mmx="yes"
31206 build_cpu_mmx="yes"
31209 build_cpu_mmx="yes"
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
31213 $as_echo_n "checking whether to build mmx code... " >&6; }
31214 # Check whether --enable-cpu-mmx was given.
31215 if test "${enable_cpu_mmx+set}" = set; then :
31216 enableval=$enable_cpu_mmx;
31217 if test "x$enableval" = "xyes" ; then
31218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31219 $as_echo "yes" >&6; }
31221 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31223 build_cpu_mmx="yes"
31225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31226 $as_echo "no" >&6; }
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
31233 $as_echo "$build_cpu_mmx" >&6; }
31234 if test "x$build_cpu_mmx" = "xyes" ; then
31236 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31244 #######################################
31249 build_cpu_sse="yes"
31252 build_cpu_sse="yes"
31255 build_cpu_sse="yes"
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
31259 $as_echo_n "checking whether to build sse code... " >&6; }
31260 # Check whether --enable-cpu-sse was given.
31261 if test "${enable_cpu_sse+set}" = set; then :
31262 enableval=$enable_cpu_sse;
31263 if test "x$enableval" = "xyes" ; then
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31265 $as_echo "yes" >&6; }
31267 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31269 build_cpu_sse="yes"
31271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31272 $as_echo "no" >&6; }
31278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
31279 $as_echo "$build_cpu_sse" >&6; }
31280 if test "x$build_cpu_sse" = "xyes" ; then
31282 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31290 #######################################
31292 build_cpu_sse3="no"
31295 build_cpu_sse3="yes"
31298 build_cpu_sse3="yes"
31301 build_cpu_sse3="yes"
31304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
31305 $as_echo_n "checking whether to build sse3 code... " >&6; }
31306 # Check whether --enable-cpu-sse3 was given.
31307 if test "${enable_cpu_sse3+set}" = set; then :
31308 enableval=$enable_cpu_sse3;
31309 if test "x$enableval" = "xyes" ; then
31310 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31311 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31314 $as_echo "yes" >&6; }
31316 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31318 build_cpu_sse3="yes"
31322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31323 $as_echo "no" >&6; }
31324 build_cpu_sse3="no"
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31331 $as_echo "no" >&6; }
31332 build_cpu_sse3="no"
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
31338 $as_echo "$build_cpu_sse3" >&6; }
31339 if test "x$build_cpu_sse3" = "xyes" ; then
31340 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31341 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31344 $as_echo "yes" >&6; }
31346 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31348 build_cpu_sse3="yes"
31352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31353 $as_echo "no" >&6; }
31354 build_cpu_sse3="no"
31366 # as a big warning flag to anyone doing stuff like this...
31367 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
31368 # build flags in makefiles (from configure or anywhere else)
31369 # EVER as this screws your ability to build 1 binary and
31370 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
31371 # person building choses to add optimization flags themselves
31372 # and decide the minimum baseline cpu arch is X then that's
31373 # their business, but NEVER should it be done here. NEVER.
31374 # I now have to do this due to the way this sse3 code was done - using
31375 # intrinsics and "functions" (opcodes) and types that only compile *IF*
31376 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
31377 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
31378 # off until further notice for 32bit x86.
31379 EVAS_SSE3_CFLAGS=" "
31380 if test "x$build_cpu_sse3" = "xyes" ; then
31381 EVAS_SSE3_CFLAGS="-msse3 "
31382 # CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
31388 #######################################
31390 build_cpu_altivec="no"
31393 build_cpu_altivec="auto"
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
31398 $as_echo_n "checking whether to build altivec code... " >&6; }
31399 # Check whether --enable-cpu-altivec was given.
31400 if test "${enable_cpu_altivec+set}" = set; then :
31401 enableval=$enable_cpu_altivec; build_cpu_altivec=$enableval
31404 if test ! "x$build_cpu_altivec" = "xauto"; then
31405 build_cpu_altivec="no"
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
31412 $as_echo "$build_cpu_altivec" >&6; }
31414 if test "x$build_cpu_altivec" = "xyes"; then
31415 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31416 if test "x$ac_cv_header_altivec_h" = xyes; then :
31419 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31422 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31424 build_cpu_altivec="yes"
31428 save_CFLAGS=$CFLAGS
31429 save_CPPFLAGS=$CPPFLAGS
31430 CFLAGS=$CFLAGS" -maltivec"
31431 CPPFLAGS=$CPPFLAGS" -maltivec"
31432 unset ac_cv_header_altivec_h
31433 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31434 if test "x$ac_cv_header_altivec_h" = xyes; then :
31437 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31440 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31442 build_cpu_altivec="yes"
31446 if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
31447 as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
31449 build_cpu_altivec="no"
31455 CFLAGS=$save_CFLAGS
31456 CPPFLAGS=$save_CPPFLAGS
31464 if test "x$build_cpu_altivec" = "xyes"; then
31465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
31466 $as_echo_n "checking whether to use altivec compiler flag... " >&6; }
31467 if test "x$GCC" = "xyes"; then
31468 if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
31469 altivec_cflags="-faltivec"
31471 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31473 elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
31474 altivec_cflags="-maltivec"
31476 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
31481 $as_echo "$altivec_cflags" >&6; }
31482 CFLAGS="$CFLAGS $altivec_cflags"
31485 #######################################
31487 build_cpu_neon="no"
31490 build_cpu_neon="yes"
31493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
31494 $as_echo_n "checking whether to build neon code... " >&6; }
31495 # Check whether --enable-cpu-neon was given.
31496 if test "${enable_cpu_neon+set}" = set; then :
31497 enableval=$enable_cpu_neon;
31498 if test "x$enableval" = "xyes" ; then
31499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31500 /* end confdefs.h. */
31505 asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
31510 if ac_fn_c_try_compile "$LINENO"; then :
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31513 $as_echo "yes" >&6; }
31515 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31517 build_cpu_neon="yes"
31521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31522 $as_echo "no" >&6; }
31523 build_cpu_neon="no"
31526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31529 $as_echo "no" >&6; }
31530 build_cpu_neon="no"
31535 if test "x$build_cpu_neon" = "xyes" ; then
31536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31537 /* end confdefs.h. */
31538 #include <arm_neon.h>
31542 asm volatile ("vqadd.u8 d0, d1, d0\n")
31547 if ac_fn_c_try_compile "$LINENO"; then :
31549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31550 $as_echo "yes" >&6; }
31552 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31554 build_cpu_neon="yes"
31558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31559 $as_echo "no" >&6; }
31560 build_cpu_neon="no"
31563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31570 #######################################
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
31574 $as_echo_n "checking whether to build c code... " >&6; }
31575 # Check whether --enable-cpu-c was given.
31576 if test "${enable_cpu_c+set}" = set; then :
31577 enableval=$enable_cpu_c;
31578 if test "x$enableval" = "xyes" ; then
31579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31580 $as_echo "yes" >&6; }
31582 $as_echo "#define BUILD_C 1" >>confdefs.h
31586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31587 $as_echo "no" >&6; }
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
31594 $as_echo "$build_cpu_c" >&6; }
31595 if test "x$build_cpu_c" = "xyes" ; then
31597 $as_echo "#define BUILD_C 1" >>confdefs.h
31605 #######################################
31607 want_evas_magic_debug="yes"
31608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
31609 $as_echo_n "checking whether to check magic for evas object... " >&6; }
31610 # Check whether --enable-evas-magic-debug was given.
31611 if test "${enable_evas_magic_debug+set}" = set; then :
31612 enableval=$enable_evas_magic_debug; want_evas_magic_debug="$enableval"
31616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
31617 $as_echo "$want_evas_magic_debug" >&6; }
31619 if test "x$want_evas_magic_debug" = "xyes"; then
31620 EVAS_MAGIC_DEBUG_TRUE=
31621 EVAS_MAGIC_DEBUG_FALSE='#'
31623 EVAS_MAGIC_DEBUG_TRUE='#'
31624 EVAS_MAGIC_DEBUG_FALSE=
31627 if test "x$want_evas_magic_debug" = "xyes"; then
31629 $as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
31633 #####################################################################
31634 ## ARGB engine options
31636 #######################################
31637 ## Nearest sampling scaler
31640 # Check whether --enable-scale-sample was given.
31641 if test "${enable_scale_sample+set}" = set; then :
31642 enableval=$enable_scale_sample;
31643 if test "x${enableval}" = "xyes" ; then
31644 _efl_enable_scaler_option_scale_sample="yes"
31646 _efl_enable_scaler_option_scale_sample="no"
31650 _efl_enable_scaler_option_scale_sample="yes"
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
31655 $as_echo_n "checking whether to build sampling scaler... " >&6; }
31656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
31657 $as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
31659 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31661 $as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
31665 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31666 scaler_sample="yes"
31674 ## Smooth super and sub sampling scaler
31677 # Check whether --enable-scale-smooth was given.
31678 if test "${enable_scale_smooth+set}" = set; then :
31679 enableval=$enable_scale_smooth;
31680 if test "x${enableval}" = "xyes" ; then
31681 _efl_enable_scaler_option_scale_smooth="yes"
31683 _efl_enable_scaler_option_scale_smooth="no"
31687 _efl_enable_scaler_option_scale_smooth="yes"
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
31692 $as_echo_n "checking whether to build smooth scaler... " >&6; }
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
31694 $as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
31696 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31698 $as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
31702 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31703 scaler_smooth="yes"
31712 #######################################
31713 ## YUV -> ARGB converter
31716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
31717 $as_echo_n "checking whether to build yuv converter code... " >&6; }
31718 # Check whether --enable-convert-yuv was given.
31719 if test "${enable_convert_yuv+set}" = set; then :
31720 enableval=$enable_convert_yuv;
31721 if test "x$enableval" = "xyes" ; then
31722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31723 $as_echo "yes" >&6; }
31725 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31730 $as_echo "no" >&6; }
31736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
31737 $as_echo "$conv_yuv" >&6; }
31738 if test "x$conv_yuv" = "xyes" ; then
31740 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31748 #####################################################################
31749 ## Output rendering features
31751 #######################################
31752 ## Small dither mask instead of big one (lower quality)
31755 # Check whether --enable-small-dither-mask was given.
31756 if test "${enable_small_dither_mask+set}" = set; then :
31757 enableval=$enable_small_dither_mask;
31758 if test "x${enableval}" = "xyes" ; then
31759 _efl_enable_dither_option_small_dither_mask="yes"
31761 _efl_enable_dither_option_small_dither_mask="no"
31765 _efl_enable_dither_option_small_dither_mask="no"
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
31770 $as_echo_n "checking whether to build small dither mask... " >&6; }
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
31772 $as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
31774 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31776 $as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
31780 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31781 conv_small_dither="yes"
31783 conv_small_dither="no"
31789 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
31792 # Check whether --enable-line-dither-mask was given.
31793 if test "${enable_line_dither_mask+set}" = set; then :
31794 enableval=$enable_line_dither_mask;
31795 if test "x${enableval}" = "xyes" ; then
31796 _efl_enable_dither_option_line_dither_mask="yes"
31798 _efl_enable_dither_option_line_dither_mask="no"
31802 _efl_enable_dither_option_line_dither_mask="no"
31806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31807 $as_echo_n "checking whether to build line dither mask... " >&6; }
31808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31809 $as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31811 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31813 $as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31817 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31818 conv_line_dither="yes"
31820 conv_line_dither="no"
31826 ## No dither mask at all for 16bpp
31829 # Check whether --enable-no-dither-mask was given.
31830 if test "${enable_no_dither_mask+set}" = set; then :
31831 enableval=$enable_no_dither_mask;
31832 if test "x${enableval}" = "xyes" ; then
31833 _efl_enable_dither_option_no_dither_mask="yes"
31835 _efl_enable_dither_option_no_dither_mask="no"
31839 _efl_enable_dither_option_no_dither_mask="no"
31843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31844 $as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31846 $as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31848 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31850 $as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31854 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31855 conv_no_dither="yes"
31857 conv_no_dither="no"
31864 #######################################
31865 ## Convert to 8bpp RGB 332
31868 conv_8_rgb_332="no"
31871 # Check whether --enable-convert-8-rgb-332 was given.
31872 if test "${enable_convert_8_rgb_332+set}" = set; then :
31873 enableval=$enable_convert_8_rgb_332; conv_8_rgb_332=$enableval
31881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31882 $as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31884 $as_echo "$conv_8_rgb_332" >&6; }
31886 if test "x$conv_8_rgb_332" = "xyes" ; then
31888 $as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31896 ## Convert to 8bpp RGB 666
31899 conv_8_rgb_666="no"
31902 # Check whether --enable-convert-8-rgb-666 was given.
31903 if test "${enable_convert_8_rgb_666+set}" = set; then :
31904 enableval=$enable_convert_8_rgb_666; conv_8_rgb_666=$enableval
31912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31913 $as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31915 $as_echo "$conv_8_rgb_666" >&6; }
31917 if test "x$conv_8_rgb_666" = "xyes" ; then
31919 $as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31927 ## Convert to 8bpp RGB 232
31930 conv_8_rgb_232="no"
31933 # Check whether --enable-convert-8-rgb-232 was given.
31934 if test "${enable_convert_8_rgb_232+set}" = set; then :
31935 enableval=$enable_convert_8_rgb_232; conv_8_rgb_232=$enableval
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31944 $as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31946 $as_echo "$conv_8_rgb_232" >&6; }
31948 if test "x$conv_8_rgb_232" = "xyes" ; then
31950 $as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
31958 ## Convert to 8bpp RGB 222
31961 conv_8_rgb_222="no"
31964 # Check whether --enable-convert-8-rgb-222 was given.
31965 if test "${enable_convert_8_rgb_222+set}" = set; then :
31966 enableval=$enable_convert_8_rgb_222; conv_8_rgb_222=$enableval
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
31975 $as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
31976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
31977 $as_echo "$conv_8_rgb_222" >&6; }
31979 if test "x$conv_8_rgb_222" = "xyes" ; then
31981 $as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
31989 ## Convert to 8bpp RGB 221
31992 conv_8_rgb_221="no"
31995 # Check whether --enable-convert-8-rgb-221 was given.
31996 if test "${enable_convert_8_rgb_221+set}" = set; then :
31997 enableval=$enable_convert_8_rgb_221; conv_8_rgb_221=$enableval
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
32006 $as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
32007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
32008 $as_echo "$conv_8_rgb_221" >&6; }
32010 if test "x$conv_8_rgb_221" = "xyes" ; then
32012 $as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
32020 ## Convert to 8bpp RGB 121
32023 conv_8_rgb_121="no"
32026 # Check whether --enable-convert-8-rgb-121 was given.
32027 if test "${enable_convert_8_rgb_121+set}" = set; then :
32028 enableval=$enable_convert_8_rgb_121; conv_8_rgb_121=$enableval
32036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
32037 $as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
32038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
32039 $as_echo "$conv_8_rgb_121" >&6; }
32041 if test "x$conv_8_rgb_121" = "xyes" ; then
32043 $as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
32051 ## Convert to 8bpp RGB 111
32054 conv_8_rgb_111="no"
32057 # Check whether --enable-convert-8-rgb-111 was given.
32058 if test "${enable_convert_8_rgb_111+set}" = set; then :
32059 enableval=$enable_convert_8_rgb_111; conv_8_rgb_111=$enableval
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
32068 $as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
32070 $as_echo "$conv_8_rgb_111" >&6; }
32072 if test "x$conv_8_rgb_111" = "xyes" ; then
32074 $as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
32082 ## Convert to 16bpp RGB 565
32085 conv_16_rgb_565="no"
32088 # Check whether --enable-convert-16-rgb-565 was given.
32089 if test "${enable_convert_16_rgb_565+set}" = set; then :
32090 enableval=$enable_convert_16_rgb_565; conv_16_rgb_565=$enableval
32092 conv_16_rgb_565=yes
32098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
32099 $as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
32101 $as_echo "$conv_16_rgb_565" >&6; }
32103 if test "x$conv_16_rgb_565" = "xyes" ; then
32105 $as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
32113 ## Convert to 16bpp BGR 565
32116 conv_16_bgr_565="no"
32119 # Check whether --enable-convert-16-bgr-565 was given.
32120 if test "${enable_convert_16_bgr_565+set}" = set; then :
32121 enableval=$enable_convert_16_bgr_565; conv_16_bgr_565=$enableval
32123 conv_16_bgr_565=yes
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
32130 $as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
32132 $as_echo "$conv_16_bgr_565" >&6; }
32134 if test "x$conv_16_bgr_565" = "xyes" ; then
32136 $as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
32144 ## Convert to 16bpp RGB 555
32147 conv_16_rgb_555="no"
32150 # Check whether --enable-convert-16-rgb-555 was given.
32151 if test "${enable_convert_16_rgb_555+set}" = set; then :
32152 enableval=$enable_convert_16_rgb_555; conv_16_rgb_555=$enableval
32154 conv_16_rgb_555=yes
32160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
32161 $as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
32162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
32163 $as_echo "$conv_16_rgb_555" >&6; }
32165 if test "x$conv_16_rgb_555" = "xyes" ; then
32167 $as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
32175 ## Convert to 16bpp RGB 444
32178 conv_16_rgb_444="no"
32181 # Check whether --enable-convert-16-rgb-444 was given.
32182 if test "${enable_convert_16_rgb_444+set}" = set; then :
32183 enableval=$enable_convert_16_rgb_444; conv_16_rgb_444=$enableval
32185 conv_16_rgb_444=yes
32191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
32192 $as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
32194 $as_echo "$conv_16_rgb_444" >&6; }
32196 if test "x$conv_16_rgb_444" = "xyes" ; then
32198 $as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
32207 #######################################
32208 ## Convert to 16bpp RGB 565 (444 ipaq)
32209 conv_16_rgb_ipq="yes"
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
32211 $as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
32212 # Check whether --enable-convert-16-rgb-ipq was given.
32213 if test "${enable_convert_16_rgb_ipq+set}" = set; then :
32214 enableval=$enable_convert_16_rgb_ipq;
32215 if test "x$enableval" = "xyes" ; then
32217 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32219 conv_16_rgb_ipq="yes"
32221 conv_16_rgb_ipq="no"
32226 if test "x$conv_16_rgb_ipq" = "xyes" ; then
32228 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
32236 $as_echo "$conv_16_rgb_ipq" >&6; }
32238 #######################################
32239 ## Convert to 16bpp RGB with rotation of 0
32242 conv_16_rgb_rot_0="no"
32245 # Check whether --enable-convert-16-rgb-rot-0 was given.
32246 if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
32247 enableval=$enable_convert_16_rgb_rot_0; conv_16_rgb_rot_0=$enableval
32249 conv_16_rgb_rot_0=yes
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
32256 $as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
32257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
32258 $as_echo "$conv_16_rgb_rot_0" >&6; }
32260 if test "x$conv_16_rgb_rot_0" = "xyes" ; then
32262 $as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
32270 ## Convert to 16bpp RGB with rotation of 180
32273 conv_16_rgb_rot_180="no"
32276 # Check whether --enable-convert-16-rgb-rot-180 was given.
32277 if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
32278 enableval=$enable_convert_16_rgb_rot_180; conv_16_rgb_rot_180=$enableval
32280 conv_16_rgb_rot_180=yes
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
32287 $as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
32288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
32289 $as_echo "$conv_16_rgb_rot_180" >&6; }
32291 if test "x$conv_16_rgb_rot_180" = "xyes" ; then
32293 $as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
32301 ## Convert to 16bpp RGB with rotation of 270
32304 conv_16_rgb_rot_270="no"
32307 # Check whether --enable-convert-16-rgb-rot-270 was given.
32308 if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
32309 enableval=$enable_convert_16_rgb_rot_270; conv_16_rgb_rot_270=$enableval
32311 conv_16_rgb_rot_270=yes
32317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
32318 $as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
32319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
32320 $as_echo "$conv_16_rgb_rot_270" >&6; }
32322 if test "x$conv_16_rgb_rot_270" = "xyes" ; then
32324 $as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
32332 ## Convert to 16bpp RGB with rotation of 90
32335 conv_16_rgb_rot_90="no"
32338 # Check whether --enable-convert-16-rgb-rot-90 was given.
32339 if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
32340 enableval=$enable_convert_16_rgb_rot_90; conv_16_rgb_rot_90=$enableval
32342 conv_16_rgb_rot_90=yes
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
32349 $as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
32350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
32351 $as_echo "$conv_16_rgb_rot_90" >&6; }
32353 if test "x$conv_16_rgb_rot_90" = "xyes" ; then
32355 $as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
32364 #######################################
32365 ## Convert to 24bpp RGB 888
32368 conv_24_rgb_888="no"
32371 # Check whether --enable-convert-24-rgb-888 was given.
32372 if test "${enable_convert_24_rgb_888+set}" = set; then :
32373 enableval=$enable_convert_24_rgb_888; conv_24_rgb_888=$enableval
32375 conv_24_rgb_888=yes
32381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
32382 $as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
32384 $as_echo "$conv_24_rgb_888" >&6; }
32386 if test "x$conv_24_rgb_888" = "xyes" ; then
32388 $as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
32396 ## Convert to 24bpp BGR 888
32399 conv_24_bgr_888="no"
32402 # Check whether --enable-convert-24-bgr-888 was given.
32403 if test "${enable_convert_24_bgr_888+set}" = set; then :
32404 enableval=$enable_convert_24_bgr_888; conv_24_bgr_888=$enableval
32406 conv_24_bgr_888=yes
32412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
32413 $as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
32414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
32415 $as_echo "$conv_24_bgr_888" >&6; }
32417 if test "x$conv_24_bgr_888" = "xyes" ; then
32419 $as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
32427 ## Convert to 32bpp RGB 8888
32430 conv_32_rgb_8888="no"
32433 # Check whether --enable-convert-32-rgb-8888 was given.
32434 if test "${enable_convert_32_rgb_8888+set}" = set; then :
32435 enableval=$enable_convert_32_rgb_8888; conv_32_rgb_8888=$enableval
32437 conv_32_rgb_8888=yes
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
32444 $as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
32446 $as_echo "$conv_32_rgb_8888" >&6; }
32448 if test "x$conv_32_rgb_8888" = "xyes" ; then
32450 $as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
32458 ## Convert to 32bpp RGBX 8888
32461 conv_32_rgbx_8888="no"
32464 # Check whether --enable-convert-32-rgbx-8888 was given.
32465 if test "${enable_convert_32_rgbx_8888+set}" = set; then :
32466 enableval=$enable_convert_32_rgbx_8888; conv_32_rgbx_8888=$enableval
32468 conv_32_rgbx_8888=yes
32474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
32475 $as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
32477 $as_echo "$conv_32_rgbx_8888" >&6; }
32479 if test "x$conv_32_rgbx_8888" = "xyes" ; then
32481 $as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
32489 ## Convert to 32bpp BGR 8888
32492 conv_32_bgr_8888="no"
32495 # Check whether --enable-convert-32-bgr-8888 was given.
32496 if test "${enable_convert_32_bgr_8888+set}" = set; then :
32497 enableval=$enable_convert_32_bgr_8888; conv_32_bgr_8888=$enableval
32499 conv_32_bgr_8888=yes
32505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
32506 $as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
32507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
32508 $as_echo "$conv_32_bgr_8888" >&6; }
32510 if test "x$conv_32_bgr_8888" = "xyes" ; then
32512 $as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
32520 ## Convert to 32bpp BGRX 8888
32523 conv_32_bgrx_8888="no"
32526 # Check whether --enable-convert-32-bgrx-8888 was given.
32527 if test "${enable_convert_32_bgrx_8888+set}" = set; then :
32528 enableval=$enable_convert_32_bgrx_8888; conv_32_bgrx_8888=$enableval
32530 conv_32_bgrx_8888=yes
32536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
32537 $as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
32538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
32539 $as_echo "$conv_32_bgrx_8888" >&6; }
32541 if test "x$conv_32_bgrx_8888" = "xyes" ; then
32543 $as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
32552 #######################################
32553 ## Convert to 24bpp RGB 666 (666 ezx)
32554 conv_24_rgb_ezx="yes"
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
32556 $as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
32557 # Check whether --enable-convert-24-rgb-ezx was given.
32558 if test "${enable_convert_24_rgb_ezx+set}" = set; then :
32559 enableval=$enable_convert_24_rgb_ezx;
32560 if test "x$enableval" = "xyes" ; then
32562 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32564 conv_24_rgb_ezx="yes"
32566 conv_24_rgb_ezx="no"
32571 if test "x$conv_24_rgb_ezx" = "xyes" ; then
32573 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
32581 $as_echo "$conv_24_rgb_ezx" >&6; }
32583 #######################################
32584 ## Convert to 32bpp RGB 666 (666 ezx)
32585 conv_32_rgb_ezx="yes"
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
32587 $as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
32588 # Check whether --enable-convert-32-rgb-ezx was given.
32589 if test "${enable_convert_32_rgb_ezx+set}" = set; then :
32590 enableval=$enable_convert_32_rgb_ezx;
32591 if test "x$enableval" = "xyes" ; then
32593 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32595 conv_32_rgb_ezx="yes"
32597 conv_32_rgb_ezx="no"
32602 if test "x$conv_32_rgb_ezx" = "xyes" ; then
32604 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
32612 $as_echo "$conv_32_rgb_ezx" >&6; }
32614 #######################################
32615 ## Convert to 32bpp RGB with rotation of 0
32618 conv_32_rgb_rot_0="no"
32621 # Check whether --enable-convert-32-rgb-rot-0 was given.
32622 if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
32623 enableval=$enable_convert_32_rgb_rot_0; conv_32_rgb_rot_0=$enableval
32625 conv_32_rgb_rot_0=yes
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
32632 $as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
32634 $as_echo "$conv_32_rgb_rot_0" >&6; }
32636 if test "x$conv_32_rgb_rot_0" = "xyes" ; then
32638 $as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
32646 ## Convert to 32bpp RGB with rotation of 180
32649 conv_32_rgb_rot_180="no"
32652 # Check whether --enable-convert-32-rgb-rot-180 was given.
32653 if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
32654 enableval=$enable_convert_32_rgb_rot_180; conv_32_rgb_rot_180=$enableval
32656 conv_32_rgb_rot_180=yes
32662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
32663 $as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
32664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
32665 $as_echo "$conv_32_rgb_rot_180" >&6; }
32667 if test "x$conv_32_rgb_rot_180" = "xyes" ; then
32669 $as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
32677 ## Convert to 32bpp RGB with rotation of 270
32680 conv_32_rgb_rot_270="no"
32683 # Check whether --enable-convert-32-rgb-rot-270 was given.
32684 if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
32685 enableval=$enable_convert_32_rgb_rot_270; conv_32_rgb_rot_270=$enableval
32687 conv_32_rgb_rot_270=yes
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
32694 $as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
32695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
32696 $as_echo "$conv_32_rgb_rot_270" >&6; }
32698 if test "x$conv_32_rgb_rot_270" = "xyes" ; then
32700 $as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
32708 ## Convert to 32bpp RGB with rotation of 90
32711 conv_32_rgb_rot_90="no"
32714 # Check whether --enable-convert-32-rgb-rot-90 was given.
32715 if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
32716 enableval=$enable_convert_32_rgb_rot_90; conv_32_rgb_rot_90=$enableval
32718 conv_32_rgb_rot_90=yes
32724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
32725 $as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
32726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
32727 $as_echo "$conv_32_rgb_rot_90" >&6; }
32729 if test "x$conv_32_rgb_rot_90" = "xyes" ; then
32731 $as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
32740 #######################################
32741 ## Convert to 8bpp grayscale with 256 value, no palette
32747 # Check whether --enable-convert-8-gry-1 was given.
32748 if test "${enable_convert_8_gry_1+set}" = set; then :
32749 enableval=$enable_convert_8_gry_1; conv_8_gry_1=$enableval
32757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
32758 $as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
32759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
32760 $as_echo "$conv_8_gry_1" >&6; }
32762 if test "x$conv_8_gry_1" = "xyes" ; then
32764 $as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
32772 ## Convert to 8bpp grayscale with 16 value, no palette
32778 # Check whether --enable-convert-8-gry-16 was given.
32779 if test "${enable_convert_8_gry_16+set}" = set; then :
32780 enableval=$enable_convert_8_gry_16; conv_8_gry_16=$enableval
32788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32789 $as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32791 $as_echo "$conv_8_gry_16" >&6; }
32793 if test "x$conv_8_gry_16" = "xyes" ; then
32795 $as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32804 #######################################
32805 ## Convert to 8bpp grayscale, 64-palette
32806 conv_8_grayscale_64="yes"
32807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32808 $as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32809 # Check whether --enable-convert-8-grayscale-64 was given.
32810 if test "${enable_convert_8_grayscale_64+set}" = set; then :
32811 enableval=$enable_convert_8_grayscale_64;
32812 if test "x$enableval" = "xyes"; then
32814 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32816 conv_8_grayscale_64="yes"
32818 conv_8_grayscale_64="no"
32823 if test "x$conv_8_grayscale_64" = "xyes"; then
32825 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32833 $as_echo "$conv_8_grayscale_64" >&6; }
32839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32840 $as_echo_n "checking whether to enable build with valgrind... " >&6; }
32841 # Check whether --enable-valgrind was given.
32842 if test "${enable_valgrind+set}" = set; then :
32843 enableval=$enable_valgrind; want_valgrind=$enableval
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32848 $as_echo "$want_valgrind" >&6; }
32850 if test x$want_valgrind = "xyes"; then
32853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32854 $as_echo_n "checking for VALGRIND... " >&6; }
32856 if test -n "$VALGRIND_CFLAGS"; then
32857 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32858 elif test -n "$PKG_CONFIG"; then
32859 if test -n "$PKG_CONFIG" && \
32860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32861 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32864 test $ac_status = 0; }; then
32865 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32866 test "x$?" != "x0" && pkg_failed=yes
32873 if test -n "$VALGRIND_LIBS"; then
32874 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32875 elif test -n "$PKG_CONFIG"; then
32876 if test -n "$PKG_CONFIG" && \
32877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32878 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32881 test $ac_status = 0; }; then
32882 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32883 test "x$?" != "x0" && pkg_failed=yes
32893 if test $pkg_failed = yes; then
32894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32895 $as_echo "no" >&6; }
32897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32898 _pkg_short_errors_supported=yes
32900 _pkg_short_errors_supported=no
32902 if test $_pkg_short_errors_supported = yes; then
32903 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32905 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind >= 2.4.0" 2>&1`
32907 # Put the nasty error message in config.log where it belongs
32908 echo "$VALGRIND_PKG_ERRORS" >&5
32911 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32912 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32916 elif test $pkg_failed = untried; then
32917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32918 $as_echo "no" >&6; }
32920 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32921 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32926 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32927 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32929 $as_echo "yes" >&6; }
32932 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32935 requirement_evas="valgrind ${requirement_evas}"
32942 install_examples="yes"
32943 # Check whether --enable-install-examples was given.
32944 if test "${enable_install_examples+set}" = set; then :
32945 enableval=$enable_install_examples;
32946 if test "x${enableval}" = "xyes" ; then
32947 install_examples="yes"
32949 install_examples="no"
32953 install_examples="yes"
32956 if test "x${install_examples}" = "xyes"; then
32957 INSTALL_EXAMPLES_TRUE=
32958 INSTALL_EXAMPLES_FALSE='#'
32960 INSTALL_EXAMPLES_TRUE='#'
32961 INSTALL_EXAMPLES_FALSE=
32965 build_examples="no"
32966 # Check whether --enable-build-examples was given.
32967 if test "${enable_build_examples+set}" = set; then :
32968 enableval=$enable_build_examples;
32969 if test "x${enableval}" = "xyes" ; then
32970 build_examples="yes"
32971 # put in here the dependencies for Evas' examples. they are
32972 # meant to be 'real world' usage examples, thus one will be
32973 # using higher level libraries on these programs
32976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
32977 $as_echo_n "checking for ECORE_EVAS... " >&6; }
32979 if test -n "$ECORE_EVAS_CFLAGS"; then
32980 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
32981 elif test -n "$PKG_CONFIG"; then
32982 if test -n "$PKG_CONFIG" && \
32983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32984 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32987 test $ac_status = 0; }; then
32988 pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
32989 test "x$?" != "x0" && pkg_failed=yes
32996 if test -n "$ECORE_EVAS_LIBS"; then
32997 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
32998 elif test -n "$PKG_CONFIG"; then
32999 if test -n "$PKG_CONFIG" && \
33000 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
33001 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
33003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33004 test $ac_status = 0; }; then
33005 pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
33006 test "x$?" != "x0" && pkg_failed=yes
33016 if test $pkg_failed = yes; then
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33018 $as_echo "no" >&6; }
33020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33021 _pkg_short_errors_supported=yes
33023 _pkg_short_errors_supported=no
33025 if test $_pkg_short_errors_supported = yes; then
33026 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33028 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-evas ecore" 2>&1`
33030 # Put the nasty error message in config.log where it belongs
33031 echo "$ECORE_EVAS_PKG_ERRORS" >&5
33033 build_examples="no"
33034 elif test $pkg_failed = untried; then
33035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33036 $as_echo "no" >&6; }
33037 build_examples="no"
33039 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
33040 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
33041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33042 $as_echo "yes" >&6; }
33047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
33048 $as_echo_n "checking for EDJE... " >&6; }
33050 if test -n "$EDJE_CFLAGS"; then
33051 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
33052 elif test -n "$PKG_CONFIG"; then
33053 if test -n "$PKG_CONFIG" && \
33054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33055 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33058 test $ac_status = 0; }; then
33059 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
33060 test "x$?" != "x0" && pkg_failed=yes
33067 if test -n "$EDJE_LIBS"; then
33068 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
33069 elif test -n "$PKG_CONFIG"; then
33070 if test -n "$PKG_CONFIG" && \
33071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
33072 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
33074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33075 test $ac_status = 0; }; then
33076 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
33077 test "x$?" != "x0" && pkg_failed=yes
33087 if test $pkg_failed = yes; then
33088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33089 $as_echo "no" >&6; }
33091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33092 _pkg_short_errors_supported=yes
33094 _pkg_short_errors_supported=no
33096 if test $_pkg_short_errors_supported = yes; then
33097 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "edje" 2>&1`
33099 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "edje" 2>&1`
33101 # Put the nasty error message in config.log where it belongs
33102 echo "$EDJE_PKG_ERRORS" >&5
33104 build_examples="no"
33105 elif test $pkg_failed = untried; then
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33107 $as_echo "no" >&6; }
33108 build_examples="no"
33110 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
33111 EDJE_LIBS=$pkg_cv_EDJE_LIBS
33112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33113 $as_echo "yes" >&6; }
33114 edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
33118 build_examples="no"
33122 build_examples="no"
33125 if test "x${build_examples}" = "xyes"; then
33126 BUILD_EXAMPLES_TRUE=
33127 BUILD_EXAMPLES_FALSE='#'
33129 BUILD_EXAMPLES_TRUE='#'
33130 BUILD_EXAMPLES_FALSE=
33134 ## Unit tests, coverage
33139 # Check whether --enable-tests was given.
33140 if test "${enable_tests+set}" = set; then :
33141 enableval=$enable_tests;
33142 if test "x${enableval}" = "xyes" ; then
33143 _efl_enable_tests="yes"
33145 _efl_enable_tests="no"
33149 _efl_enable_tests="no"
33153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
33154 $as_echo_n "checking whether tests are built... " >&6; }
33155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
33156 $as_echo "${_efl_enable_tests}" >&6; }
33160 if test "x${_efl_enable_tests}" = "xyes" ; then
33163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
33164 $as_echo_n "checking for CHECK... " >&6; }
33166 if test -n "$CHECK_CFLAGS"; then
33167 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
33168 elif test -n "$PKG_CONFIG"; then
33169 if test -n "$PKG_CONFIG" && \
33170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33171 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33174 test $ac_status = 0; }; then
33175 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
33176 test "x$?" != "x0" && pkg_failed=yes
33183 if test -n "$CHECK_LIBS"; then
33184 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
33185 elif test -n "$PKG_CONFIG"; then
33186 if test -n "$PKG_CONFIG" && \
33187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33188 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33191 test $ac_status = 0; }; then
33192 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
33193 test "x$?" != "x0" && pkg_failed=yes
33203 if test $pkg_failed = yes; then
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33205 $as_echo "no" >&6; }
33207 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33208 _pkg_short_errors_supported=yes
33210 _pkg_short_errors_supported=no
33212 if test $_pkg_short_errors_supported = yes; then
33213 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33215 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.5" 2>&1`
33217 # Put the nasty error message in config.log where it belongs
33218 echo "$CHECK_PKG_ERRORS" >&5
33220 _efl_enable_tests="no"
33221 elif test $pkg_failed = untried; then
33222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33223 $as_echo "no" >&6; }
33224 _efl_enable_tests="no"
33226 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
33227 CHECK_LIBS=$pkg_cv_CHECK_LIBS
33228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33229 $as_echo "yes" >&6; }
33233 if test "x${_efl_enable_tests}" = "xyes" ; then
33235 $as_echo "#define HAVE_TESTS 1" >>confdefs.h
33239 if test "x${_efl_enable_tests}" = "xyes"; then
33240 EFL_ENABLE_TESTS_TRUE=
33241 EFL_ENABLE_TESTS_FALSE='#'
33243 EFL_ENABLE_TESTS_TRUE='#'
33244 EFL_ENABLE_TESTS_FALSE=
33248 if test "x$_efl_enable_tests" = "xyes"; then :
33258 # Check whether --enable-coverage was given.
33259 if test "${enable_coverage+set}" = set; then :
33260 enableval=$enable_coverage;
33261 if test "x${enableval}" = "xyes" ; then
33262 _efl_enable_coverage="yes"
33264 _efl_enable_coverage="no"
33268 _efl_enable_coverage="no"
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
33273 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
33275 $as_echo "$_efl_enable_coverage" >&6; }
33278 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
33280 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
33281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
33282 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
33283 _efl_enable_coverage="no"
33286 if test "x$_efl_enable_coverage" = "xyes" ; then
33287 # Extract the first word of "lcov", so it can be a program name with args.
33288 set dummy lcov; ac_word=$2
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33290 $as_echo_n "checking for $ac_word... " >&6; }
33291 if ${ac_cv_prog_have_lcov+:} false; then :
33292 $as_echo_n "(cached) " >&6
33294 if test -n "$have_lcov"; then
33295 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
33297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33298 for as_dir in $PATH
33301 test -z "$as_dir" && as_dir=.
33302 for ac_exec_ext in '' $ac_executable_extensions; do
33303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33304 ac_cv_prog_have_lcov="yes"
33305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33312 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
33315 have_lcov=$ac_cv_prog_have_lcov
33316 if test -n "$have_lcov"; then
33317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
33318 $as_echo "$have_lcov" >&6; }
33320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33321 $as_echo "no" >&6; }
33325 if test "x$have_lcov" = "xyes" ; then
33326 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
33327 EFL_COVERAGE_LIBS="-lgcov"
33328 # remove any optimisation flag and force debug symbols
33329 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
33331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
33332 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
33333 _efl_enable_coverage="no"
33340 if test "x${_efl_enable_coverage}" = "xyes"; then
33341 EFL_ENABLE_COVERAGE_TRUE=
33342 EFL_ENABLE_COVERAGE_FALSE='#'
33344 EFL_ENABLE_COVERAGE_TRUE='#'
33345 EFL_ENABLE_COVERAGE_FALSE=
33349 if test "x$_efl_enable_coverage" = "xyes"; then :
33350 enable_coverage="yes"
33352 enable_coverage="no"
33355 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
33356 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
33357 if test "x$enable_coverage" = "xyes" ; then
33358 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
33366 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
33367 EVAS_GENERAL_LIBS="${EINA_LIBS}"
33371 #####################################################################
33380 #####################################################################
33383 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"
33385 cat >confcache <<\_ACEOF
33386 # This file is a shell script that caches the results of configure
33387 # tests run on this system so they can be shared between configure
33388 # scripts and configure runs, see configure's option --config-cache.
33389 # It is not useful on other systems. If it contains results you don't
33390 # want to keep, you may remove or edit it.
33392 # config.status only pays attention to the cache file if you give it
33393 # the --recheck option to rerun configure.
33395 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33396 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33397 # following values.
33401 # The following way of writing the cache mishandles newlines in values,
33402 # but we know of no workaround that is simple, portable, and efficient.
33403 # So, we kill variables containing newlines.
33404 # Ultrix sh set writes to stderr and can't be redirected directly,
33405 # and sets the high bit in the cache file unless we assign to the vars.
33407 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33408 eval ac_val=\$$ac_var
33412 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33413 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33416 _ | IFS | as_nl) ;; #(
33417 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33418 *) { eval $ac_var=; unset $ac_var;} ;;
33424 case $as_nl`(ac_space=' '; set) 2>&1` in #(
33425 *${as_nl}ac_space=\ *)
33426 # `set' does not quote correctly, so add quotes: double-quote
33427 # substitution turns \\\\ into \\, and sed turns \\ into \.
33430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33433 # `set' quotes correctly as required by POSIX, so do not add quotes.
33434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33443 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33445 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33447 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33448 if test -w "$cache_file"; then
33449 if test "x$cache_file" != "x/dev/null"; then
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33451 $as_echo "$as_me: updating cache $cache_file" >&6;}
33452 if test ! -f "$cache_file" || test -h "$cache_file"; then
33453 cat confcache >"$cache_file"
33455 case $cache_file in #(
33457 mv -f confcache "$cache_file"$$ &&
33458 mv -f "$cache_file"$$ "$cache_file" ;; #(
33460 mv -f confcache "$cache_file" ;;
33465 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33466 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33471 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33472 # Let make expand exec_prefix.
33473 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33475 DEFS=-DHAVE_CONFIG_H
33480 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33481 # 1. Remove the extension, and $U if already installed.
33482 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33483 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33484 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33485 # will be set to the directory where LIBOBJS objects are built.
33486 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33487 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33489 LIBOBJS=$ac_libobjs
33491 LTLIBOBJS=$ac_ltlibobjs
33494 if test -n "$EXEEXT"; then
33496 am__EXEEXT_FALSE='#'
33498 am__EXEEXT_TRUE='#'
33502 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33503 as_fn_error $? "conditional \"AMDEP\" was never defined.
33504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33506 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33507 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33510 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33511 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33514 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33515 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33518 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33519 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33522 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33523 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33526 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
33527 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
33528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33530 if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
33531 as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
33532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33534 if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
33535 as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
33536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33539 if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
33540 as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
33541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33543 if test -z "${EVAS_CSERVE2_TRUE}" && test -z "${EVAS_CSERVE2_FALSE}"; then
33544 as_fn_error $? "conditional \"EVAS_CSERVE2\" was never defined.
33545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33547 if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
33548 as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
33549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33551 if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
33552 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
33553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33555 if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
33556 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
33557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33559 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
33560 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
33561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33563 if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
33564 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
33565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33567 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
33568 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
33569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33571 if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
33572 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
33573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33575 if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
33576 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
33577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33579 if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
33580 as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
33581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33583 if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
33584 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
33585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33587 if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
33588 as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
33589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33591 if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
33592 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
33593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33595 if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
33596 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
33597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33599 if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
33600 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
33601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33603 if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
33604 as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
33605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33607 if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
33608 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
33609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33611 if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
33612 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
33613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33615 if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
33616 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
33617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33619 if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
33620 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
33621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33623 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
33624 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
33625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33627 if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
33628 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
33629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33631 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
33632 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
33633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33635 if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
33636 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
33637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33639 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
33640 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
33641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33643 if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
33644 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
33645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33647 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
33648 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
33649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33651 if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
33652 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
33653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33655 if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
33656 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
33657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33659 if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
33660 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
33661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33663 if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
33664 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
33665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33667 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
33668 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
33669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33671 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33672 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33675 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33676 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33679 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33680 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33683 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33684 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33687 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33688 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33691 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33692 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33695 if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
33696 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
33697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33699 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
33700 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
33701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33703 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33704 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33707 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33708 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33711 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33712 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33715 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33716 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33719 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33720 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33723 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33724 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33727 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33728 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33731 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33732 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33735 if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
33736 as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
33737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33739 if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
33740 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
33741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33743 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33744 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33747 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33748 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33751 if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
33752 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
33753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33755 if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
33756 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
33757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33759 if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
33760 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
33761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33763 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
33764 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
33765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33767 if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
33768 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
33769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33771 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
33772 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
33773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33775 if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
33776 as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
33777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33779 if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
33780 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
33781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33783 if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
33784 as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
33785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33787 if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
33788 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
33789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33791 if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
33792 as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
33793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33795 if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
33796 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
33797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33799 if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
33800 as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
33801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33803 if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33804 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33807 if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33808 as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33811 if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33812 as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33815 if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33816 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33819 if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33820 as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33823 if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33824 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33827 if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33828 as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33831 if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33832 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33835 if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33836 as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33839 if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33840 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33843 if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33844 as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33847 if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33848 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33851 if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33852 as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33855 if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33856 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33859 if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33860 as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33863 if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33864 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33867 if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33868 as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33871 if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33872 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33875 if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33876 as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33879 if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33880 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33883 if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33884 as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33887 if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33888 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33891 if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33892 as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33895 if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33896 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33899 if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33900 as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33903 if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33904 as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33907 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33908 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33911 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33912 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33915 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33916 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33920 : "${CONFIG_STATUS=./config.status}"
33922 ac_clean_files_save=$ac_clean_files
33923 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33925 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33927 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33929 # Generated by $as_me.
33930 # Run this file to recreate the current configuration.
33931 # Compiler output produced by configure, useful for debugging
33932 # configure, is in config.log if it exists.
33935 ac_cs_recheck=false
33938 SHELL=\${CONFIG_SHELL-$SHELL}
33941 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
33942 ## -------------------- ##
33943 ## M4sh Initialization. ##
33944 ## -------------------- ##
33946 # Be more Bourne compatible
33947 DUALCASE=1; export DUALCASE # for MKS sh
33948 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33951 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33952 # is contrary to our usage. Disable this feature.
33953 alias -g '${1+"$@"}'='"$@"'
33954 setopt NO_GLOB_SUBST
33956 case `(set -o) 2>/dev/null` in #(
33968 # Printing a long string crashes Solaris 7 /usr/bin/printf.
33969 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33970 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33972 # Prefer a ksh shell builtin over an external printf program on Solaris,
33973 # but without wasting forks for bash or zsh.
33974 if test -z "$BASH_VERSION$ZSH_VERSION" \
33975 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
33976 as_echo='print -r --'
33977 as_echo_n='print -rn --'
33978 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33979 as_echo='printf %s\n'
33980 as_echo_n='printf %s'
33982 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33983 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33984 as_echo_n='/usr/ucb/echo -n'
33986 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33987 as_echo_n_body='eval
33991 expr "X$arg" : "X\\(.*\\)$as_nl";
33992 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33994 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33996 export as_echo_n_body
33997 as_echo_n='sh -c $as_echo_n_body as_echo'
33999 export as_echo_body
34000 as_echo='sh -c $as_echo_body as_echo'
34003 # The user is always right.
34004 if test "${PATH_SEPARATOR+set}" != set; then
34006 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
34007 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
34014 # We need space, tab and new line, in precisely that order. Quoting is
34015 # there to prevent editors from complaining about space-tab.
34016 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
34017 # splitting by setting IFS to empty value.)
34020 # Find who we are. Look in the path if we contain no directory separator.
34023 *[\\/]* ) as_myself=$0 ;;
34024 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34025 for as_dir in $PATH
34028 test -z "$as_dir" && as_dir=.
34029 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34035 # We did not find ourselves, most probably we were run as `sh COMMAND'
34036 # in which case we are not to be found in the path.
34037 if test "x$as_myself" = x; then
34040 if test ! -f "$as_myself"; then
34041 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
34045 # Unset variables that we do not need and which cause bugs (e.g. in
34046 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
34047 # suppresses any "Segmentation fault" message there. '((' could
34048 # trigger a bug in pdksh 5.2.14.
34049 for as_var in BASH_ENV ENV MAIL MAILPATH
34050 do eval test x\${$as_var+set} = xset \
34051 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
34064 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34067 # as_fn_error STATUS ERROR [LINENO LOG_FD]
34068 # ----------------------------------------
34069 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
34070 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
34071 # script with STATUS, using 1 if that was 0.
34074 as_status=$1; test $as_status -eq 0 && as_status=1
34076 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
34077 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
34079 $as_echo "$as_me: error: $2" >&2
34080 as_fn_exit $as_status
34084 # as_fn_set_status STATUS
34085 # -----------------------
34086 # Set $? to STATUS, without forking.
34087 as_fn_set_status ()
34090 } # as_fn_set_status
34092 # as_fn_exit STATUS
34093 # -----------------
34094 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34098 as_fn_set_status $1
34104 # Portably unset VAR.
34107 { eval $1=; unset $1;}
34109 as_unset=as_fn_unset
34110 # as_fn_append VAR VALUE
34111 # ----------------------
34112 # Append the text in VALUE to the end of the definition contained in VAR. Take
34113 # advantage of any shell optimizations that allow amortized linear growth over
34114 # repeated appends, instead of the typical quadratic growth present in naive
34116 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34117 eval 'as_fn_append ()
34128 # as_fn_arith ARG...
34129 # ------------------
34130 # Perform arithmetic evaluation on the ARGs, and store the result in the
34131 # global $as_val. Take advantage of shells that can avoid forks. The arguments
34132 # must be portable across $(()) and expr.
34133 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34134 eval 'as_fn_arith ()
34141 as_val=`expr "$@" || test $? -eq 1`
34146 if expr a : '\(a\)' >/dev/null 2>&1 &&
34147 test "X`expr 00001 : '.*\(...\)'`" = X001; then
34153 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34154 as_basename=basename
34159 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34165 as_me=`$as_basename -- "$0" ||
34166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34167 X"$0" : 'X\(//\)$' \| \
34168 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34170 sed '/^.*\/\([^/][^/]*\)\/*$/{
34184 # Avoid depending upon Character Ranges.
34185 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34186 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34187 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34188 as_cr_digits='0123456789'
34189 as_cr_alnum=$as_cr_Letters$as_cr_digits
34191 ECHO_C= ECHO_N= ECHO_T=
34192 case `echo -n x` in #(((((
34194 case `echo 'xy\c'` in
34195 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
34197 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
34204 rm -f conf$$ conf$$.exe conf$$.file
34205 if test -d conf$$.dir; then
34206 rm -f conf$$.dir/conf$$.file
34209 mkdir conf$$.dir 2>/dev/null
34211 if (echo >conf$$.file) 2>/dev/null; then
34212 if ln -s conf$$.file conf$$ 2>/dev/null; then
34214 # ... but there are two gotchas:
34215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34217 # In both cases, we have to default to `cp -p'.
34218 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34220 elif ln conf$$.file conf$$ 2>/dev/null; then
34228 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34229 rmdir conf$$.dir 2>/dev/null
34234 # Create "$as_dir" as a directory, including parents if necessary.
34239 -*) as_dir=./$as_dir;;
34241 test -d "$as_dir" || eval $as_mkdir_p || {
34245 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34246 *) as_qdir=$as_dir;;
34248 as_dirs="'$as_qdir' $as_dirs"
34249 as_dir=`$as_dirname -- "$as_dir" ||
34250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34251 X"$as_dir" : 'X\(//\)[^/]' \| \
34252 X"$as_dir" : 'X\(//\)$' \| \
34253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34254 $as_echo X"$as_dir" |
34255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34259 /^X\(\/\/\)[^/].*/{
34272 test -d "$as_dir" && break
34274 test -z "$as_dirs" || eval "mkdir $as_dirs"
34275 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
34279 if mkdir -p . 2>/dev/null; then
34280 as_mkdir_p='mkdir -p "$as_dir"'
34282 test -d ./-p && rmdir ./-p
34286 if test -x / >/dev/null 2>&1; then
34287 as_test_x='test -x'
34289 if ls -dL / >/dev/null 2>&1; then
34296 if test -d "$1"; then
34302 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
34303 ???[sx]*):;;*)false;;esac;fi
34307 as_executable_p=$as_test_x
34309 # Sed expression to map a string onto a valid CPP name.
34310 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34312 # Sed expression to map a string onto a valid variable name.
34313 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34317 ## ----------------------------------- ##
34318 ## Main body of $CONFIG_STATUS script. ##
34319 ## ----------------------------------- ##
34321 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34324 # Save the log message, to keep $0 and so on meaningful, and to
34325 # report actual input values of CONFIG_FILES etc. instead of their
34326 # values after options handling.
34328 This file was extended by evas $as_me 1.7.5, which was
34329 generated by GNU Autoconf 2.68. Invocation command line was
34331 CONFIG_FILES = $CONFIG_FILES
34332 CONFIG_HEADERS = $CONFIG_HEADERS
34333 CONFIG_LINKS = $CONFIG_LINKS
34334 CONFIG_COMMANDS = $CONFIG_COMMANDS
34337 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34342 case $ac_config_files in *"
34343 "*) set x $ac_config_files; shift; ac_config_files=$*;;
34346 case $ac_config_headers in *"
34347 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34352 # Files that config.status was made for.
34353 config_files="$ac_config_files"
34354 config_headers="$ac_config_headers"
34355 config_commands="$ac_config_commands"
34359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34361 \`$as_me' instantiates files and other configuration actions
34362 from templates according to the current configuration. Unless the files
34363 and actions are specified as TAGs, all are instantiated by default.
34365 Usage: $0 [OPTION]... [TAG]...
34367 -h, --help print this help, then exit
34368 -V, --version print version number and configuration settings, then exit
34369 --config print configuration, then exit
34370 -q, --quiet, --silent
34371 do not print progress messages
34372 -d, --debug don't remove temporary files
34373 --recheck update $as_me by reconfiguring in the same conditions
34374 --file=FILE[:TEMPLATE]
34375 instantiate the configuration file FILE
34376 --header=FILE[:TEMPLATE]
34377 instantiate the configuration header FILE
34379 Configuration files:
34382 Configuration headers:
34385 Configuration commands:
34388 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
34391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34392 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34394 evas config.status 1.7.5
34395 configured by $0, generated by GNU Autoconf 2.68,
34396 with options \\"\$ac_cs_config\\"
34398 Copyright (C) 2010 Free Software Foundation, Inc.
34399 This config.status script is free software; the Free Software Foundation
34400 gives unlimited permission to copy, distribute and modify it."
34407 test -n "\$AWK" || AWK=awk
34410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34411 # The default lists apply if the user does not specify any file.
34417 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34418 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34422 ac_option=`expr "X$1" : 'X\([^=]*\)='`
34434 # Handling of the options.
34435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34437 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34438 $as_echo "$ac_cs_version"; exit ;;
34439 --config | --confi | --conf | --con | --co | --c )
34440 $as_echo "$ac_cs_config"; exit ;;
34441 --debug | --debu | --deb | --de | --d | -d )
34443 --file | --fil | --fi | --f )
34446 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34447 '') as_fn_error $? "missing file argument" ;;
34449 as_fn_append CONFIG_FILES " '$ac_optarg'"
34450 ac_need_defaults=false;;
34451 --header | --heade | --head | --hea )
34454 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34456 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
34457 ac_need_defaults=false;;
34459 # Conflict between --help and --header
34460 as_fn_error $? "ambiguous option: \`$1'
34461 Try \`$0 --help' for more information.";;
34462 --help | --hel | -h )
34463 $as_echo "$ac_cs_usage"; exit ;;
34464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34465 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34468 # This is an error.
34469 -*) as_fn_error $? "unrecognized option: \`$1'
34470 Try \`$0 --help' for more information." ;;
34472 *) as_fn_append ac_config_targets " $1"
34473 ac_need_defaults=false ;;
34479 ac_configure_extra_args=
34481 if $ac_cs_silent; then
34483 ac_configure_extra_args="$ac_configure_extra_args --silent"
34487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34488 if \$ac_cs_recheck; then
34489 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34491 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
34492 CONFIG_SHELL='$SHELL'
34493 export CONFIG_SHELL
34498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34503 ## Running $as_me. ##
34509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34513 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34516 # The HP-UX ksh and POSIX shell print the target directory to stdout
34517 # if CDPATH is set.
34518 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34520 sed_quote_subst='$sed_quote_subst'
34521 double_quote_subst='$double_quote_subst'
34522 delay_variable_subst='$delay_variable_subst'
34523 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
34524 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
34525 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
34526 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
34527 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
34528 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
34529 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
34530 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
34531 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
34532 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
34533 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
34534 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
34535 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
34536 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
34537 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
34538 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
34539 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
34540 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
34541 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
34542 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
34543 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
34544 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
34545 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
34546 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
34547 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
34548 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
34549 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
34550 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
34551 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
34552 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
34553 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
34554 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
34555 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
34556 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
34557 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
34558 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
34559 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
34560 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
34561 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
34562 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
34563 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
34564 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
34565 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
34566 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
34567 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
34568 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
34569 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34570 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34571 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
34572 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
34573 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
34574 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
34575 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
34576 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
34577 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
34578 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
34579 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
34580 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"`'
34581 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
34582 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
34583 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
34584 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
34585 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
34586 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
34587 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
34588 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
34589 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
34590 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
34591 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
34592 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
34593 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
34594 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
34595 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
34596 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
34597 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
34598 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
34599 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34600 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
34601 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
34602 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
34603 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
34604 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
34605 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
34606 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34607 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
34608 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34609 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
34610 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34611 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
34612 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
34613 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
34614 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
34615 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
34616 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
34617 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
34618 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
34619 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
34620 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
34621 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
34622 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
34623 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
34624 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
34625 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
34626 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
34627 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
34628 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
34629 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
34630 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
34631 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
34632 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
34633 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
34634 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
34635 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
34636 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
34637 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
34638 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
34639 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
34640 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
34641 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34642 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34643 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
34644 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
34645 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
34646 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
34647 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
34648 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
34649 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
34650 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
34651 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
34652 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
34653 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
34654 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
34655 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
34656 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
34657 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
34658 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
34659 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
34660 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
34661 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
34662 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34663 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34664 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
34665 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
34666 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
34667 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
34668 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
34669 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
34670 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
34671 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
34672 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
34673 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34674 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34675 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
34676 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34677 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34678 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34679 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34680 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34681 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34682 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
34683 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34684 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34685 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34686 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
34687 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
34688 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
34689 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
34690 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
34691 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
34692 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
34693 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
34694 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
34695 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34696 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34697 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34698 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34699 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34700 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
34701 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
34702 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
34703 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34704 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34705 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
34706 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
34707 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
34710 LTCFLAGS='$LTCFLAGS'
34711 compiler='$compiler_DEFAULT'
34713 # A function that is used when there is no print builtin or printf.
34714 func_fallback_echo ()
34716 eval 'cat <<_LTECHO_EOF
34721 # Quote evaled strings.
34738 deplibs_check_method \
34742 sharedlib_from_linklib_cmd \
34745 archiver_list_spec \
34751 lt_cv_sys_global_symbol_pipe \
34752 lt_cv_sys_global_symbol_to_cdecl \
34753 lt_cv_sys_global_symbol_to_c_name_address \
34754 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34755 nm_file_list_spec \
34756 lt_prog_compiler_no_builtin_flag \
34757 lt_prog_compiler_pic \
34758 lt_prog_compiler_wl \
34759 lt_prog_compiler_static \
34760 lt_cv_prog_compiler_c_o \
34769 export_dynamic_flag_spec \
34770 whole_archive_flag_spec \
34771 compiler_needs_object \
34773 allow_undefined_flag \
34774 no_undefined_flag \
34775 hardcode_libdir_flag_spec \
34776 hardcode_libdir_separator \
34780 variables_saved_for_relink \
34782 library_names_spec \
34784 install_override_mode \
34788 compiler_lib_search_dirs \
34793 compiler_lib_search_path \
34797 lt_prog_compiler_no_builtin_flag_CXX \
34798 lt_prog_compiler_pic_CXX \
34799 lt_prog_compiler_wl_CXX \
34800 lt_prog_compiler_static_CXX \
34801 lt_cv_prog_compiler_c_o_CXX \
34802 export_dynamic_flag_spec_CXX \
34803 whole_archive_flag_spec_CXX \
34804 compiler_needs_object_CXX \
34806 allow_undefined_flag_CXX \
34807 no_undefined_flag_CXX \
34808 hardcode_libdir_flag_spec_CXX \
34809 hardcode_libdir_separator_CXX \
34810 exclude_expsyms_CXX \
34811 include_expsyms_CXX \
34812 file_list_spec_CXX \
34813 compiler_lib_search_dirs_CXX \
34814 predep_objects_CXX \
34815 postdep_objects_CXX \
34818 compiler_lib_search_path_CXX; do
34819 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34820 *[\\\\\\\`\\"\\\$]*)
34821 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34824 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34829 # Double-quote double-evaled strings.
34830 for var in reload_cmds \
34831 old_postinstall_cmds \
34832 old_postuninstall_cmds \
34834 extract_expsyms_cmds \
34835 old_archive_from_new_cmds \
34836 old_archive_from_expsyms_cmds \
34838 archive_expsym_cmds \
34840 module_expsym_cmds \
34841 export_symbols_cmds \
34845 postuninstall_cmds \
34847 sys_lib_search_path_spec \
34848 sys_lib_dlsearch_path_spec \
34850 old_archive_cmds_CXX \
34851 old_archive_from_new_cmds_CXX \
34852 old_archive_from_expsyms_cmds_CXX \
34854 archive_expsym_cmds_CXX \
34856 module_expsym_cmds_CXX \
34857 export_symbols_cmds_CXX \
34859 postlink_cmds_CXX; do
34860 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34861 *[\\\\\\\`\\"\\\$]*)
34862 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34865 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34870 ac_aux_dir='$ac_aux_dir'
34871 xsi_shell='$xsi_shell'
34872 lt_shell_append='$lt_shell_append'
34874 # See if we are running on zsh, and set the options which allow our
34875 # commands through without removal of \ escapes INIT.
34876 if test -n "\${ZSH_VERSION+set}" ; then
34877 setopt NO_GLOB_SUBST
34883 TIMESTAMP='$TIMESTAMP'
34894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34896 # Handling of arguments.
34897 for ac_config_target in $ac_config_targets
34899 case $ac_config_target in
34900 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34901 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34902 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34903 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34904 "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34905 "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34906 "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34907 "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34908 "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34909 "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34910 "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34911 "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34912 "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34913 "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34914 "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34915 "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34916 "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34917 "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34918 "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34919 "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34920 "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34921 "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34922 "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34923 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34924 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34925 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34926 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34927 "src/bin/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/Makefile" ;;
34928 "src/bin/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/jpeg/Makefile" ;;
34929 "src/bin/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/png/Makefile" ;;
34930 "src/bin/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/eet/Makefile" ;;
34931 "src/bin/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tiff/Makefile" ;;
34932 "src/bin/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/xpm/Makefile" ;;
34933 "src/bin/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/bmp/Makefile" ;;
34934 "src/bin/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/ico/Makefile" ;;
34935 "src/bin/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tga/Makefile" ;;
34936 "src/bin/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/pmaps/Makefile" ;;
34937 "src/bin/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/wbmp/Makefile" ;;
34938 "src/bin/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/psd/Makefile" ;;
34939 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34940 "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34941 "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34942 "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34943 "src/lib/cache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache2/Makefile" ;;
34944 "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34945 "src/lib/cserve2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve2/Makefile" ;;
34946 "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34947 "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34948 "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34949 "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34950 "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34951 "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
34952 "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
34953 "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
34954 "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
34955 "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
34956 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
34957 "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
34958 "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
34959 "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
34960 "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
34961 "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
34962 "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
34963 "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
34964 "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
34965 "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
34966 "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
34967 "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
34968 "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
34969 "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
34970 "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
34971 "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
34972 "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
34973 "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
34974 "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
34975 "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
34976 "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
34977 "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
34978 "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
34979 "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
34980 "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
34981 "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
34982 "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
34983 "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
34984 "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
34985 "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
34986 "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
34987 "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
34988 "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
34989 "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
34990 "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
34991 "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
34992 "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
34993 "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
34994 "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
34995 "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
34996 "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
34997 "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
34998 "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
34999 "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
35000 "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
35001 "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
35002 "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
35003 "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
35004 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
35005 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
35006 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
35007 "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
35009 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
35014 # If the user did not use the arguments to specify the items to instantiate,
35015 # then the envvar interface is used. Set only those that are not.
35016 # We use the long form for the default assignment because of an extremely
35017 # bizarre bug on SunOS 4.1.3.
35018 if $ac_need_defaults; then
35019 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35020 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35021 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35024 # Have a temporary directory for convenience. Make it in the build tree
35025 # simply because there is no reason against having it here, and in addition,
35026 # creating and moving files from /tmp can sometimes cause problems.
35027 # Hook for its removal unless debugging.
35028 # Note that there is a small window in which the directory will not be cleaned:
35029 # after its creation but before its name has been assigned to `$tmp'.
35033 trap 'exit_status=$?
35034 : "${ac_tmp:=$tmp}"
35035 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
35037 trap 'as_fn_exit 1' 1 2 13 15
35039 # Create a (secure) tmp directory for tmp files.
35042 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
35046 tmp=./conf$$-$RANDOM
35047 (umask 077 && mkdir "$tmp")
35048 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
35051 # Set up the scripts for CONFIG_FILES section.
35052 # No need to generate them if there are no CONFIG_FILES.
35053 # This happens for instance with `./config.status config.h'.
35054 if test -n "$CONFIG_FILES"; then
35057 ac_cr=`echo X | tr X '\015'`
35058 # On cygwin, bash can eat \r inside `` if the user requested igncr.
35059 # But we know of no other shell where ac_cr would be empty at this
35060 # point, so we can use a bashism as a fallback.
35061 if test "x$ac_cr" = x; then
35062 eval ac_cr=\$\'\\r\'
35064 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
35065 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
35068 ac_cs_awk_cr=$ac_cr
35071 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
35076 echo "cat >conf$$subs.awk <<_ACEOF" &&
35077 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35079 } >conf$$subs.sh ||
35080 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35081 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
35083 for ac_last_try in false false false false false :; do
35084 . ./conf$$subs.sh ||
35085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35087 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35088 if test $ac_delim_n = $ac_delim_num; then
35090 elif $ac_last_try; then
35091 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35093 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35096 rm -f conf$$subs.sh
35098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35099 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
35103 s/^/S["/; s/!.*/"]=/
35113 s/\(.\{148\}\)..*/\1/
35115 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
35120 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35127 s/\(.\{148\}\)..*/\1/
35129 s/["\\]/\\&/g; s/^/"/; s/$/"/
35133 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35138 ' <conf$$subs.awk | sed '
35143 ' >>$CONFIG_STATUS || ac_write_fail=1
35144 rm -f conf$$subs.awk
35145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35147 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
35148 for (key in S) S_is_set[key] = 1
35154 nfields = split(line, field, "@")
35156 len = length(field[1])
35157 for (i = 2; i < nfields; i++) {
35159 keylen = length(key)
35160 if (S_is_set[key]) {
35162 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
35163 len += length(value) + length(field[++i])
35174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35175 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
35176 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
35179 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
35180 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
35183 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
35184 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
35185 # trailing colons and then remove the whole line if VPATH becomes empty
35186 # (actually we leave an empty line to preserve line numbers).
35187 if test "x$srcdir" = x.; then
35188 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
35206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35207 fi # test -n "$CONFIG_FILES"
35209 # Set up the scripts for CONFIG_HEADERS section.
35210 # No need to generate them if there are no CONFIG_HEADERS.
35211 # This happens for instance with `./config.status Makefile'.
35212 if test -n "$CONFIG_HEADERS"; then
35213 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
35217 # Transform confdefs.h into an awk script `defines.awk', embedded as
35218 # here-document in config.status, that substitutes the proper values into
35219 # config.h.in to produce config.h.
35221 # Create a delimiter string that does not exist in confdefs.h, to ease
35222 # handling of long lines.
35224 for ac_last_try in false false :; do
35225 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
35226 if test -z "$ac_tt"; then
35228 elif $ac_last_try; then
35229 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
35231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35235 # For the awk script, D is an array of macro values keyed by name,
35236 # likewise P contains macro parameters if any. Preserve backslash
35237 # newline sequences.
35239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35241 s/.\{148\}/&'"$ac_delim"'/g
35244 s/^[ ]*#[ ]*define[ ][ ]*/ /
35251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
35253 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
35257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
35258 D["\1"]=" \3\\\\\\n"\\/p
35260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
35265 s/.\{148\}/&'"$ac_delim"'/g
35270 s/["\\]/\\&/g; s/^/"/; s/$/"/p
35273 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
35275 ' <confdefs.h | sed '
35276 s/'"$ac_delim"'/"\\\
35277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
35279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35280 for (key in D) D_is_set[key] = 1
35283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
35285 split(line, arg, " ")
35286 if (arg[1] == "#") {
35290 defundef = substr(arg[1], 2)
35293 split(mac1, mac2, "(") #)
35295 prefix = substr(line, 1, index(line, defundef) - 1)
35296 if (D_is_set[macro]) {
35297 # Preserve the white space surrounding the "#".
35298 print prefix "define", macro P[macro] D[macro]
35301 # Replace #undef with comments. This is necessary, for example,
35302 # in the case of _POSIX_SOURCE, which is predefined and required
35303 # on some systems where configure will not decide to define it.
35304 if (defundef == "undef") {
35305 print "/*", prefix defundef, macro, "*/"
35313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35314 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
35315 fi # test -n "$CONFIG_HEADERS"
35318 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
35323 :[FHLC]) ac_mode=$ac_tag; continue;;
35325 case $ac_mode$ac_tag in
35327 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
35328 :[FH]-) ac_tag=-:-;;
35329 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
35346 -) ac_f="$ac_tmp/stdin";;
35347 *) # Look for the file first in the build tree, then in the source tree
35348 # (if the path is not absolute). The absolute path cannot be DOS-style,
35349 # because $ac_f cannot contain `:'.
35353 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
35355 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
35357 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
35358 as_fn_append ac_file_inputs " '$ac_f'"
35361 # Let's still pretend it is `configure' which instantiates (i.e., don't
35362 # use $as_me), people would be surprised to read:
35363 # /* config.h. Generated by config.status. */
35364 configure_input='Generated from '`
35365 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
35367 if test x"$ac_file" != x-; then
35368 configure_input="$ac_file. $configure_input"
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
35370 $as_echo "$as_me: creating $ac_file" >&6;}
35372 # Neutralize special characters interpreted by sed in replacement strings.
35373 case $configure_input in #(
35374 *\&* | *\|* | *\\* )
35375 ac_sed_conf_input=`$as_echo "$configure_input" |
35376 sed 's/[\\\\&|]/\\\\&/g'`;; #(
35377 *) ac_sed_conf_input=$configure_input;;
35381 *:-:* | *:-) cat >"$ac_tmp/stdin" \
35382 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35387 ac_dir=`$as_dirname -- "$ac_file" ||
35388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35389 X"$ac_file" : 'X\(//\)[^/]' \| \
35390 X"$ac_file" : 'X\(//\)$' \| \
35391 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35392 $as_echo X"$ac_file" |
35393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35397 /^X\(\/\/\)[^/].*/{
35410 as_dir="$ac_dir"; as_fn_mkdir_p
35414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
35416 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
35417 # A ".." for each directory in $ac_dir_suffix.
35418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
35419 case $ac_top_builddir_sub in
35420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
35421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
35424 ac_abs_top_builddir=$ac_pwd
35425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
35426 # for backward compatibility:
35427 ac_top_builddir=$ac_top_build_prefix
35430 .) # We are building in place.
35432 ac_top_srcdir=$ac_top_builddir_sub
35433 ac_abs_top_srcdir=$ac_pwd ;;
35434 [\\/]* | ?:[\\/]* ) # Absolute name.
35435 ac_srcdir=$srcdir$ac_dir_suffix;
35436 ac_top_srcdir=$srcdir
35437 ac_abs_top_srcdir=$srcdir ;;
35438 *) # Relative name.
35439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
35440 ac_top_srcdir=$ac_top_build_prefix$srcdir
35441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
35443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
35453 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35454 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35456 ac_MKDIR_P=$MKDIR_P
35458 [\\/$]* | ?:[\\/]* ) ;;
35459 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
35463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35464 # If the template does not know about datarootdir, expand it.
35465 # FIXME: This hack should be removed a few years after 2.60.
35466 ac_datarootdir_hack=; ac_datarootdir_seen=
35477 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
35478 *datarootdir*) ac_datarootdir_seen=yes;;
35479 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35481 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35484 ac_datarootdir_hack='
35485 s&@datadir@&$datadir&g
35486 s&@docdir@&$docdir&g
35487 s&@infodir@&$infodir&g
35488 s&@localedir@&$localedir&g
35489 s&@mandir@&$mandir&g
35490 s&\\\${datarootdir}&$datarootdir&g' ;;
35494 # Neutralize VPATH when `$srcdir' = `.'.
35495 # Shell code in configure.ac might set extrasub.
35496 # FIXME: do we really want to maintain this feature?
35497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35498 ac_sed_extra="$ac_vpsub
35501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35503 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35504 s|@configure_input@|$ac_sed_conf_input|;t t
35505 s&@top_builddir@&$ac_top_builddir_sub&;t t
35506 s&@top_build_prefix@&$ac_top_build_prefix&;t t
35507 s&@srcdir@&$ac_srcdir&;t t
35508 s&@abs_srcdir@&$ac_abs_srcdir&;t t
35509 s&@top_srcdir@&$ac_top_srcdir&;t t
35510 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35511 s&@builddir@&$ac_builddir&;t t
35512 s&@abs_builddir@&$ac_abs_builddir&;t t
35513 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35514 s&@INSTALL@&$ac_INSTALL&;t t
35515 s&@MKDIR_P@&$ac_MKDIR_P&;t t
35516 $ac_datarootdir_hack
35518 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
35519 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35522 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
35523 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
35524 "$ac_tmp/out"`; test -z "$ac_out"; } &&
35525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35526 which seems to be undefined. Please make sure it is defined" >&5
35527 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35528 which seems to be undefined. Please make sure it is defined" >&2;}
35530 rm -f "$ac_tmp/stdin"
35532 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
35533 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
35535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35541 if test x"$ac_file" != x-; then
35543 $as_echo "/* $configure_input */" \
35544 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
35545 } >"$ac_tmp/config.h" \
35546 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35547 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
35548 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
35549 $as_echo "$as_me: $ac_file is unchanged" >&6;}
35552 mv "$ac_tmp/config.h" "$ac_file" \
35553 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35556 $as_echo "/* $configure_input */" \
35557 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
35558 || as_fn_error $? "could not create -" "$LINENO" 5
35560 # Compute "$ac_file"'s index in $config_headers.
35563 for _am_header in $config_headers :; do
35564 case $_am_header in
35565 $_am_arg | $_am_arg:* )
35568 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35571 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
35572 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35573 X"$_am_arg" : 'X\(//\)[^/]' \| \
35574 X"$_am_arg" : 'X\(//\)$' \| \
35575 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
35576 $as_echo X"$_am_arg" |
35577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35581 /^X\(\/\/\)[^/].*/{
35593 s/.*/./; q'`/stamp-h$_am_stamp_count
35596 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
35597 $as_echo "$as_me: executing $ac_file commands" >&6;}
35602 case $ac_file$ac_mode in
35603 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
35604 # Autoconf 2.62 quotes --file arguments for eval, but not when files
35605 # are listed without --file. Let's play safe and only enable the eval
35606 # if we detect the quoting.
35607 case $CONFIG_FILES in
35608 *\'*) eval set x "$CONFIG_FILES" ;;
35609 *) set x $CONFIG_FILES ;;
35614 # Strip MF so we end up with the name of the file.
35615 mf=`echo "$mf" | sed -e 's/:.*$//'`
35616 # Check whether this is an Automake generated Makefile or not.
35617 # We used to match only the files named `Makefile.in', but
35618 # some people rename them; so instead we look at the file content.
35619 # Grep'ing the first line is not enough: some people post-process
35620 # each Makefile.in and add a new line on top of each file to say so.
35621 # Grep'ing the whole file is not good either: AIX grep has a line
35622 # limit of 2048, but all sed's we know have understand at least 4000.
35623 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
35624 dirpart=`$as_dirname -- "$mf" ||
35625 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35626 X"$mf" : 'X\(//\)[^/]' \| \
35627 X"$mf" : 'X\(//\)$' \| \
35628 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35634 /^X\(\/\/\)[^/].*/{
35650 # Extract the definition of DEPDIR, am__include, and am__quote
35651 # from the Makefile without running `make'.
35652 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35653 test -z "$DEPDIR" && continue
35654 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35655 test -z "am__include" && continue
35656 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35657 # When using ansi2knr, U may be empty or an underscore; expand it
35658 U=`sed -n 's/^U = //p' < "$mf"`
35659 # Find all dependency output files, they are included files with
35660 # $(DEPDIR) in their names. We invoke sed twice because it is the
35661 # simplest approach to changing $(DEPDIR) to its actual value in the
35663 for file in `sed -n "
35664 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35665 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35666 # Make sure the directory exists.
35667 test -f "$dirpart/$file" && continue
35668 fdir=`$as_dirname -- "$file" ||
35669 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35670 X"$file" : 'X\(//\)[^/]' \| \
35671 X"$file" : 'X\(//\)$' \| \
35672 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35673 $as_echo X"$file" |
35674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35678 /^X\(\/\/\)[^/].*/{
35691 as_dir=$dirpart/$fdir; as_fn_mkdir_p
35692 # echo "creating $dirpart/$file"
35693 echo '# dummy' > "$dirpart/$file"
35700 # See if we are running on zsh, and set the options which allow our
35701 # commands through without removal of \ escapes.
35702 if test -n "${ZSH_VERSION+set}" ; then
35703 setopt NO_GLOB_SUBST
35706 cfgfile="${ofile}T"
35707 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35710 cat <<_LT_EOF >> "$cfgfile"
35713 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35714 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
35715 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35716 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35718 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35719 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
35721 # Written by Gordon Matzigkeit, 1996
35723 # This file is part of GNU Libtool.
35725 # GNU Libtool is free software; you can redistribute it and/or
35726 # modify it under the terms of the GNU General Public License as
35727 # published by the Free Software Foundation; either version 2 of
35728 # the License, or (at your option) any later version.
35730 # As a special exception to the GNU General Public License,
35731 # if you distribute this file as part of a program or library that
35732 # is built using GNU Libtool, you may include this file under the
35733 # same distribution terms that you use for the rest of that program.
35735 # GNU Libtool is distributed in the hope that it will be useful,
35736 # but WITHOUT ANY WARRANTY; without even the implied warranty of
35737 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35738 # GNU General Public License for more details.
35740 # You should have received a copy of the GNU General Public License
35741 # along with GNU Libtool; see the file COPYING. If not, a copy
35742 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
35743 # obtained by writing to the Free Software Foundation, Inc.,
35744 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
35747 # The names of the tagged configurations supported by this script.
35748 available_tags="CXX "
35750 # ### BEGIN LIBTOOL CONFIG
35752 # Assembler program.
35755 # DLL creation program.
35756 DLLTOOL=$lt_DLLTOOL
35758 # Object dumper program.
35759 OBJDUMP=$lt_OBJDUMP
35761 # Which release of libtool.m4 was used?
35762 macro_version=$macro_version
35763 macro_revision=$macro_revision
35765 # Whether or not to build shared libraries.
35766 build_libtool_libs=$enable_shared
35768 # Whether or not to build static libraries.
35769 build_old_libs=$enable_static
35771 # What type of objects to build.
35774 # Whether or not to optimize for fast installation.
35775 fast_install=$enable_fast_install
35777 # Shell to use when invoking shell scripts.
35780 # An echo program that protects backslashes.
35783 # The PATH separator for the build system.
35784 PATH_SEPARATOR=$lt_PATH_SEPARATOR
35787 host_alias=$host_alias
35791 # The build system.
35792 build_alias=$build_alias
35796 # A sed program that does not truncate output.
35799 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35800 Xsed="\$SED -e 1s/^X//"
35802 # A grep program that handles long lines.
35808 # A literal string matcher.
35811 # A BSD- or MS-compatible name lister.
35814 # Whether we need soft or hard links.
35817 # What is the maximum length of a command?
35818 max_cmd_len=$max_cmd_len
35820 # Object file suffix (normally "o").
35823 # Executable file suffix (normally "").
35826 # whether the shell understands "unset".
35829 # turn spaces into newlines.
35832 # turn newlines into spaces.
35835 # convert \$build file names to \$host format.
35836 to_host_file_cmd=$lt_cv_to_host_file_cmd
35838 # convert \$build files to toolchain format.
35839 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
35841 # Method to check whether dependent libraries are shared objects.
35842 deplibs_check_method=$lt_deplibs_check_method
35844 # Command to use when deplibs_check_method = "file_magic".
35845 file_magic_cmd=$lt_file_magic_cmd
35847 # How to find potential files when deplibs_check_method = "file_magic".
35848 file_magic_glob=$lt_file_magic_glob
35850 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
35851 want_nocaseglob=$lt_want_nocaseglob
35853 # Command to associate shared and link libraries.
35854 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
35859 # Flags to create an archive.
35860 AR_FLAGS=$lt_AR_FLAGS
35862 # How to feed a file listing to the archiver.
35863 archiver_list_spec=$lt_archiver_list_spec
35865 # A symbol stripping program.
35868 # Commands used to install an old-style archive.
35870 old_postinstall_cmds=$lt_old_postinstall_cmds
35871 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35873 # Whether to use a lock for old archive extraction.
35874 lock_old_archive_extraction=$lock_old_archive_extraction
35879 # LTCC compiler flags.
35880 LTCFLAGS=$lt_CFLAGS
35882 # Take the output of nm and produce a listing of raw symbols and C names.
35883 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35885 # Transform the output of nm in a proper C declaration.
35886 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35888 # Transform the output of nm in a C name address pair.
35889 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35891 # Transform the output of nm in a C name address pair when lib prefix is needed.
35892 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35894 # Specify filename containing input files for \$NM.
35895 nm_file_list_spec=$lt_nm_file_list_spec
35897 # The root where to search for dependent libraries,and in which our libraries should be installed.
35898 lt_sysroot=$lt_sysroot
35900 # The name of the directory that contains temporary libtool files.
35903 # Used to examine libraries when file_magic_cmd begins with "file".
35904 MAGIC_CMD=$MAGIC_CMD
35906 # Must we lock files when doing compilation?
35907 need_locks=$lt_need_locks
35910 MANIFEST_TOOL=$lt_MANIFEST_TOOL
35912 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35913 DSYMUTIL=$lt_DSYMUTIL
35915 # Tool to change global to local symbols on Mac OS X.
35918 # Tool to manipulate fat objects and archives on Mac OS X.
35921 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
35924 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35925 OTOOL64=$lt_OTOOL64
35927 # Old archive suffix (normally "a").
35930 # Shared library suffix (normally ".so").
35931 shrext_cmds=$lt_shrext_cmds
35933 # The commands to extract the exported symbol list from a shared archive.
35934 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35936 # Variables whose values should be saved in libtool wrapper scripts and
35937 # restored at link time.
35938 variables_saved_for_relink=$lt_variables_saved_for_relink
35940 # Do we need the "lib" prefix for modules?
35941 need_lib_prefix=$need_lib_prefix
35943 # Do we need a version for libraries?
35944 need_version=$need_version
35946 # Library versioning type.
35947 version_type=$version_type
35949 # Shared library runtime path variable.
35950 runpath_var=$runpath_var
35952 # Shared library path variable.
35953 shlibpath_var=$shlibpath_var
35955 # Is shlibpath searched before the hard-coded library search path?
35956 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35958 # Format of library name prefix.
35959 libname_spec=$lt_libname_spec
35961 # List of archive names. First name is the real one, the rest are links.
35962 # The last name is the one that the linker finds with -lNAME
35963 library_names_spec=$lt_library_names_spec
35965 # The coded name of the library, if different from the real name.
35966 soname_spec=$lt_soname_spec
35968 # Permission mode override for installation of shared libraries.
35969 install_override_mode=$lt_install_override_mode
35971 # Command to use after installation of a shared archive.
35972 postinstall_cmds=$lt_postinstall_cmds
35974 # Command to use after uninstallation of a shared archive.
35975 postuninstall_cmds=$lt_postuninstall_cmds
35977 # Commands used to finish a libtool library installation in a directory.
35978 finish_cmds=$lt_finish_cmds
35980 # As "finish_cmds", except a single script fragment to be evaled but
35982 finish_eval=$lt_finish_eval
35984 # Whether we should hardcode library paths into libraries.
35985 hardcode_into_libs=$hardcode_into_libs
35987 # Compile-time system search path for libraries.
35988 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35990 # Run-time system search path for libraries.
35991 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35993 # Whether dlopen is supported.
35994 dlopen_support=$enable_dlopen
35996 # Whether dlopen of programs is supported.
35997 dlopen_self=$enable_dlopen_self
35999 # Whether dlopen of statically linked programs is supported.
36000 dlopen_self_static=$enable_dlopen_self_static
36002 # Commands to strip libraries.
36003 old_striplib=$lt_old_striplib
36004 striplib=$lt_striplib
36007 # The linker used to build libraries.
36010 # How to create reloadable object files.
36011 reload_flag=$lt_reload_flag
36012 reload_cmds=$lt_reload_cmds
36014 # Commands used to build an old-style archive.
36015 old_archive_cmds=$lt_old_archive_cmds
36017 # A language specific compiler.
36020 # Is the compiler the GNU compiler?
36023 # Compiler flag to turn off builtin functions.
36024 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36026 # Additional compiler flags for building library objects.
36027 pic_flag=$lt_lt_prog_compiler_pic
36029 # How to pass a linker flag through the compiler.
36030 wl=$lt_lt_prog_compiler_wl
36032 # Compiler flag to prevent dynamic linking.
36033 link_static_flag=$lt_lt_prog_compiler_static
36035 # Does compiler simultaneously support -c and -o options?
36036 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36038 # Whether or not to add -lc for building shared libraries.
36039 build_libtool_need_lc=$archive_cmds_need_lc
36041 # Whether or not to disallow shared libs when runtime libs are static.
36042 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36044 # Compiler flag to allow reflexive dlopens.
36045 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36047 # Compiler flag to generate shared objects directly from archives.
36048 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36050 # Whether the compiler copes with passing no objects directly.
36051 compiler_needs_object=$lt_compiler_needs_object
36053 # Create an old-style archive from a shared archive.
36054 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36056 # Create a temporary old-style archive to link instead of a shared archive.
36057 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36059 # Commands used to build a shared archive.
36060 archive_cmds=$lt_archive_cmds
36061 archive_expsym_cmds=$lt_archive_expsym_cmds
36063 # Commands used to build a loadable module if different from building
36064 # a shared archive.
36065 module_cmds=$lt_module_cmds
36066 module_expsym_cmds=$lt_module_expsym_cmds
36068 # Whether we are building with GNU ld or not.
36069 with_gnu_ld=$lt_with_gnu_ld
36071 # Flag that allows shared libraries with undefined symbols to be built.
36072 allow_undefined_flag=$lt_allow_undefined_flag
36074 # Flag that enforces no undefined symbols.
36075 no_undefined_flag=$lt_no_undefined_flag
36077 # Flag to hardcode \$libdir into a binary during linking.
36078 # This must work even if \$libdir does not exist
36079 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36081 # Whether we need a single "-rpath" flag with a separated argument.
36082 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36084 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36085 # DIR into the resulting binary.
36086 hardcode_direct=$hardcode_direct
36088 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36089 # DIR into the resulting binary and the resulting library dependency is
36090 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36091 # library is relocated.
36092 hardcode_direct_absolute=$hardcode_direct_absolute
36094 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36095 # into the resulting binary.
36096 hardcode_minus_L=$hardcode_minus_L
36098 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36099 # into the resulting binary.
36100 hardcode_shlibpath_var=$hardcode_shlibpath_var
36102 # Set to "yes" if building a shared library automatically hardcodes DIR
36103 # into the library and all subsequent libraries and executables linked
36105 hardcode_automatic=$hardcode_automatic
36107 # Set to yes if linker adds runtime paths of dependent libraries
36108 # to runtime path list.
36109 inherit_rpath=$inherit_rpath
36111 # Whether libtool must link a program against all its dependency libraries.
36112 link_all_deplibs=$link_all_deplibs
36114 # Set to "yes" if exported symbols are required.
36115 always_export_symbols=$always_export_symbols
36117 # The commands to list exported symbols.
36118 export_symbols_cmds=$lt_export_symbols_cmds
36120 # Symbols that should not be listed in the preloaded symbols.
36121 exclude_expsyms=$lt_exclude_expsyms
36123 # Symbols that must always be exported.
36124 include_expsyms=$lt_include_expsyms
36126 # Commands necessary for linking programs (against libraries) with templates.
36127 prelink_cmds=$lt_prelink_cmds
36129 # Commands necessary for finishing linking programs.
36130 postlink_cmds=$lt_postlink_cmds
36132 # Specify filename containing input files.
36133 file_list_spec=$lt_file_list_spec
36135 # How to hardcode a shared library path into an executable.
36136 hardcode_action=$hardcode_action
36138 # The directories searched by this compiler when creating a shared library.
36139 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36141 # Dependencies to place before and after the objects being linked to
36142 # create a shared library.
36143 predep_objects=$lt_predep_objects
36144 postdep_objects=$lt_postdep_objects
36145 predeps=$lt_predeps
36146 postdeps=$lt_postdeps
36148 # The library search path used internally by the compiler when linking
36149 # a shared library.
36150 compiler_lib_search_path=$lt_compiler_lib_search_path
36152 # ### END LIBTOOL CONFIG
36158 cat <<\_LT_EOF >> "$cfgfile"
36159 # AIX sometimes has problems with the GCC collect2 program. For some
36160 # reason, if we set the COLLECT_NAMES environment variable, the problems
36161 # vanish in a puff of smoke.
36162 if test "X${COLLECT_NAMES+set}" != Xset; then
36164 export COLLECT_NAMES
36171 ltmain="$ac_aux_dir/ltmain.sh"
36174 # We use sed instead of cat because bash on DJGPP gets confused if
36175 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36176 # text mode, it properly converts lines to CR/LF. This bash problem
36177 # is reportedly fixed, but why not run on old versions too?
36178 sed '$q' "$ltmain" >> "$cfgfile" \
36179 || (rm -f "$cfgfile"; exit 1)
36181 if test x"$xsi_shell" = xyes; then
36182 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
36186 \ */*) func_dirname_result="${1%/*}${2}" ;;\
36187 \ * ) func_dirname_result="${3}" ;;\
36189 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
36190 && mv -f "$cfgfile.tmp" "$cfgfile" \
36191 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36192 test 0 -eq $? || _lt_function_replace_fail=:
36195 sed -e '/^func_basename ()$/,/^} # func_basename /c\
36198 \ func_basename_result="${1##*/}"\
36199 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
36200 && mv -f "$cfgfile.tmp" "$cfgfile" \
36201 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36202 test 0 -eq $? || _lt_function_replace_fail=:
36205 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
36206 func_dirname_and_basename ()\
36209 \ */*) func_dirname_result="${1%/*}${2}" ;;\
36210 \ * ) func_dirname_result="${3}" ;;\
36212 \ func_basename_result="${1##*/}"\
36213 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
36214 && mv -f "$cfgfile.tmp" "$cfgfile" \
36215 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36216 test 0 -eq $? || _lt_function_replace_fail=:
36219 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
36222 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
36223 \ # positional parameters, so assign one to ordinary parameter first.\
36224 \ func_stripname_result=${3}\
36225 \ func_stripname_result=${func_stripname_result#"${1}"}\
36226 \ func_stripname_result=${func_stripname_result%"${2}"}\
36227 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
36228 && mv -f "$cfgfile.tmp" "$cfgfile" \
36229 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36230 test 0 -eq $? || _lt_function_replace_fail=:
36233 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
36234 func_split_long_opt ()\
36236 \ func_split_long_opt_name=${1%%=*}\
36237 \ func_split_long_opt_arg=${1#*=}\
36238 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
36239 && mv -f "$cfgfile.tmp" "$cfgfile" \
36240 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36241 test 0 -eq $? || _lt_function_replace_fail=:
36244 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
36245 func_split_short_opt ()\
36247 \ func_split_short_opt_arg=${1#??}\
36248 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
36249 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
36250 && mv -f "$cfgfile.tmp" "$cfgfile" \
36251 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36252 test 0 -eq $? || _lt_function_replace_fail=:
36255 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
36259 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
36260 \ *) func_lo2o_result=${1} ;;\
36262 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
36263 && mv -f "$cfgfile.tmp" "$cfgfile" \
36264 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36265 test 0 -eq $? || _lt_function_replace_fail=:
36268 sed -e '/^func_xform ()$/,/^} # func_xform /c\
36271 func_xform_result=${1%.*}.lo\
36272 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
36273 && mv -f "$cfgfile.tmp" "$cfgfile" \
36274 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36275 test 0 -eq $? || _lt_function_replace_fail=:
36278 sed -e '/^func_arith ()$/,/^} # func_arith /c\
36281 func_arith_result=$(( $* ))\
36282 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
36283 && mv -f "$cfgfile.tmp" "$cfgfile" \
36284 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36285 test 0 -eq $? || _lt_function_replace_fail=:
36288 sed -e '/^func_len ()$/,/^} # func_len /c\
36291 func_len_result=${#1}\
36292 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
36293 && mv -f "$cfgfile.tmp" "$cfgfile" \
36294 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36295 test 0 -eq $? || _lt_function_replace_fail=:
36299 if test x"$lt_shell_append" = xyes; then
36300 sed -e '/^func_append ()$/,/^} # func_append /c\
36303 eval "${1}+=\\${2}"\
36304 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
36305 && mv -f "$cfgfile.tmp" "$cfgfile" \
36306 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36307 test 0 -eq $? || _lt_function_replace_fail=:
36310 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
36311 func_append_quoted ()\
36313 \ func_quote_for_eval "${2}"\
36314 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
36315 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
36316 && mv -f "$cfgfile.tmp" "$cfgfile" \
36317 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36318 test 0 -eq $? || _lt_function_replace_fail=:
36321 # Save a `func_append' function call where possible by direct use of '+='
36322 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
36323 && mv -f "$cfgfile.tmp" "$cfgfile" \
36324 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36325 test 0 -eq $? || _lt_function_replace_fail=:
36327 # Save a `func_append' function call even when '+=' is not available
36328 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 if test x"$_lt_function_replace_fail" = x":"; then
36335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
36336 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
36340 mv -f "$cfgfile" "$ofile" ||
36341 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36345 cat <<_LT_EOF >> "$ofile"
36347 # ### BEGIN LIBTOOL TAG CONFIG: CXX
36349 # The linker used to build libraries.
36352 # How to create reloadable object files.
36353 reload_flag=$lt_reload_flag_CXX
36354 reload_cmds=$lt_reload_cmds_CXX
36356 # Commands used to build an old-style archive.
36357 old_archive_cmds=$lt_old_archive_cmds_CXX
36359 # A language specific compiler.
36360 CC=$lt_compiler_CXX
36362 # Is the compiler the GNU compiler?
36365 # Compiler flag to turn off builtin functions.
36366 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
36368 # Additional compiler flags for building library objects.
36369 pic_flag=$lt_lt_prog_compiler_pic_CXX
36371 # How to pass a linker flag through the compiler.
36372 wl=$lt_lt_prog_compiler_wl_CXX
36374 # Compiler flag to prevent dynamic linking.
36375 link_static_flag=$lt_lt_prog_compiler_static_CXX
36377 # Does compiler simultaneously support -c and -o options?
36378 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
36380 # Whether or not to add -lc for building shared libraries.
36381 build_libtool_need_lc=$archive_cmds_need_lc_CXX
36383 # Whether or not to disallow shared libs when runtime libs are static.
36384 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
36386 # Compiler flag to allow reflexive dlopens.
36387 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
36389 # Compiler flag to generate shared objects directly from archives.
36390 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
36392 # Whether the compiler copes with passing no objects directly.
36393 compiler_needs_object=$lt_compiler_needs_object_CXX
36395 # Create an old-style archive from a shared archive.
36396 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
36398 # Create a temporary old-style archive to link instead of a shared archive.
36399 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
36401 # Commands used to build a shared archive.
36402 archive_cmds=$lt_archive_cmds_CXX
36403 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
36405 # Commands used to build a loadable module if different from building
36406 # a shared archive.
36407 module_cmds=$lt_module_cmds_CXX
36408 module_expsym_cmds=$lt_module_expsym_cmds_CXX
36410 # Whether we are building with GNU ld or not.
36411 with_gnu_ld=$lt_with_gnu_ld_CXX
36413 # Flag that allows shared libraries with undefined symbols to be built.
36414 allow_undefined_flag=$lt_allow_undefined_flag_CXX
36416 # Flag that enforces no undefined symbols.
36417 no_undefined_flag=$lt_no_undefined_flag_CXX
36419 # Flag to hardcode \$libdir into a binary during linking.
36420 # This must work even if \$libdir does not exist
36421 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
36423 # Whether we need a single "-rpath" flag with a separated argument.
36424 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
36426 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36427 # DIR into the resulting binary.
36428 hardcode_direct=$hardcode_direct_CXX
36430 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36431 # DIR into the resulting binary and the resulting library dependency is
36432 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36433 # library is relocated.
36434 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
36436 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36437 # into the resulting binary.
36438 hardcode_minus_L=$hardcode_minus_L_CXX
36440 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36441 # into the resulting binary.
36442 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
36444 # Set to "yes" if building a shared library automatically hardcodes DIR
36445 # into the library and all subsequent libraries and executables linked
36447 hardcode_automatic=$hardcode_automatic_CXX
36449 # Set to yes if linker adds runtime paths of dependent libraries
36450 # to runtime path list.
36451 inherit_rpath=$inherit_rpath_CXX
36453 # Whether libtool must link a program against all its dependency libraries.
36454 link_all_deplibs=$link_all_deplibs_CXX
36456 # Set to "yes" if exported symbols are required.
36457 always_export_symbols=$always_export_symbols_CXX
36459 # The commands to list exported symbols.
36460 export_symbols_cmds=$lt_export_symbols_cmds_CXX
36462 # Symbols that should not be listed in the preloaded symbols.
36463 exclude_expsyms=$lt_exclude_expsyms_CXX
36465 # Symbols that must always be exported.
36466 include_expsyms=$lt_include_expsyms_CXX
36468 # Commands necessary for linking programs (against libraries) with templates.
36469 prelink_cmds=$lt_prelink_cmds_CXX
36471 # Commands necessary for finishing linking programs.
36472 postlink_cmds=$lt_postlink_cmds_CXX
36474 # Specify filename containing input files.
36475 file_list_spec=$lt_file_list_spec_CXX
36477 # How to hardcode a shared library path into an executable.
36478 hardcode_action=$hardcode_action_CXX
36480 # The directories searched by this compiler when creating a shared library.
36481 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
36483 # Dependencies to place before and after the objects being linked to
36484 # create a shared library.
36485 predep_objects=$lt_predep_objects_CXX
36486 postdep_objects=$lt_postdep_objects_CXX
36487 predeps=$lt_predeps_CXX
36488 postdeps=$lt_postdeps_CXX
36490 # The library search path used internally by the compiler when linking
36491 # a shared library.
36492 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
36494 # ### END LIBTOOL TAG CONFIG: CXX
36505 ac_clean_files=$ac_clean_files_save
36507 test $ac_write_fail = 0 ||
36508 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36511 # configure is writing to config.log, and then calls config.status.
36512 # config.status does its own redirection, appending to config.log.
36513 # Unfortunately, on DOS this fails, as config.log is still kept open
36514 # by configure, so config.status won't be able to write to it; its
36515 # output is simply discarded. So we exec the FD to /dev/null,
36516 # effectively closing config.log, so it can be properly (re)opened and
36517 # appended to by config.status. When coming back to configure, we
36518 # need to make the FD available again.
36519 if test "$no_create" != yes; then
36521 ac_config_status_args=
36522 test "$silent" = yes &&
36523 ac_config_status_args="$ac_config_status_args --quiet"
36525 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36527 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36528 # would make configure fail if this is the last instruction.
36529 $ac_cs_success || as_fn_exit 1
36531 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
36532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
36533 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
36537 #####################################################################
36540 if test "x$build_pthreads" = "xno" ; then
36541 if test "x$build_pipe_render" = "xyes" ; then
36542 echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
36543 echo " needs thread support."
36548 if test "x${has_pthreads}" = "xno" ; then
36549 if test "x$build_async_preload" = "xyes" ; then
36550 echo "ERROR: PThreads off, but Async Preload on. Async Preload"
36551 echo " needs thread support."
36556 #####################################################################
36562 echo "------------------------------------------------------------------------"
36563 echo "$PACKAGE $VERSION"
36564 echo "------------------------------------------------------------------------"
36566 echo "Configuration Options Summary:"
36569 echo " Software Memory Buffer.....: $have_evas_engine_buffer"
36570 echo " Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
36571 echo $ECHO_N " OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
36572 if test "x$have_evas_engine_gl_x11" = "xyes"; then
36573 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36577 echo " Software GDI...............: $have_evas_engine_software_gdi"
36578 echo " Software DirectDraw........: $have_evas_engine_software_ddraw"
36579 echo " Direct3d...................: $have_evas_engine_direct3d"
36580 echo " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
36581 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
36582 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36586 echo " OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
36587 echo " Software Framebuffer.......: $have_evas_engine_fb"
36588 echo " DirectFB...................: $have_evas_engine_directfb"
36589 echo " PSL1GHT....................: $have_evas_engine_psl1ght"
36590 echo " Software 8bit grayscale....: $have_evas_engine_software_8"
36591 # FIXME: kill software 16bit
36592 echo " Software 16bit ............: $have_evas_engine_software_16"
36593 echo " Software 16bit X11.........: $have_evas_engine_software_16_x11"
36594 echo " Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
36595 echo " Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
36596 echo " Wayland Shm................: $have_evas_engine_wayland_shm"
36597 echo " Wayland Egl................: $have_evas_engine_wayland_egl"
36599 echo "Image Loaders:"
36600 echo " BMP.....................: $have_evas_image_loader_bmp"
36601 echo " EDB.....................: $have_evas_image_loader_edb"
36602 echo " EET.....................: $have_evas_image_loader_eet"
36603 echo " GENERIC.................: $have_evas_image_loader_generic"
36604 echo " GIF.....................: $have_evas_image_loader_gif"
36605 echo " ICO.....................: $have_evas_image_loader_ico"
36606 echo " JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
36607 echo " PMAPS...................: $have_evas_image_loader_pmaps"
36608 echo " PNG.....................: $have_evas_image_loader_png"
36609 echo " PSD.....................: $have_evas_image_loader_psd"
36610 echo " SVG.....................: $have_evas_image_loader_svg"
36611 echo " TGA.....................: $have_evas_image_loader_tga"
36612 echo " TIFF....................: $have_evas_image_loader_tiff"
36613 echo " WBMP....................: $have_evas_image_loader_wbmp"
36614 echo " XPM.....................: $have_evas_image_loader_xpm"
36616 echo "Font Sourcing Systems:"
36617 echo " EET.....................: $have_evas_font_loader_eet"
36619 echo "Font Searching Systems:"
36620 echo " Fontconfig..............: $have_fontconfig"
36622 echo "Font Rendering Helpers:"
36623 echo " Fribidi.................: $have_fribidi"
36624 echo " Harfbuzz................: $have_harfbuzz"
36625 echo " liblinebreak............: $have_linebreak"
36626 # FIXME: add non freetype2 font engine support
36627 # FIXME: make freetype2 optional
36629 echo "CPU Specific Extensions:"
36630 echo " Fallback C Code.........: $build_cpu_c"
36631 echo " MMX.....................: $build_cpu_mmx"
36632 echo " SSE.....................: $build_cpu_sse"
36633 echo " SSE3....................: $build_cpu_sse3"
36634 echo " ALTIVEC.................: $build_cpu_altivec"
36635 echo " NEON....................: $build_cpu_neon"
36636 echo " Thread Support..........: $build_pthreads"
36639 echo " MAGIC_DEBUG.............: $want_evas_magic_debug"
36640 echo " Cache Server............: $want_evas_cserve"
36641 echo " Cache Server 2..........: $want_evas_cserve2"
36643 echo " Threaded Pipe Rendering.: $build_pipe_render"
36644 echo " Async Events............: $build_async_events"
36645 echo " Async Image Preload.....: $build_async_preload"
36647 echo " Pixman..................: $have_pixman"
36648 echo " Pixman Fonts............: $have_pixman_font"
36649 echo " Pixman Rects............: $have_pixman_rect"
36650 echo " Pixman Lines............: $have_pixman_line"
36651 echo " Pixman Polygons.........: $have_pixman_poly"
36652 echo " Pixman Images...........: $have_pixman_image"
36653 echo " Pixman Image ScaleSample: $have_pixman_image_scale_sample"
36655 echo " Tiled 32BPP rotate......: $have_tile_rotate"
36657 echo "ARGB Software Engine Options:"
36658 echo " Sampling Scaler.........: $scaler_sample"
36659 echo " Smooth Scaler...........: $scaler_smooth"
36660 # FIXME: add an mmx scaler routine
36661 echo " YUV Converter...........: $conv_yuv"
36662 # FIXME: add more YUV format and colorvariant support
36664 echo "ARGB Conversion Options:"
36665 echo " Smaller Dither Mask.....: $conv_small_dither"
36666 echo " Line Dither Mask........: $conv_line_dither"
36667 echo " No Dither Mask for 16bpp: $conv_no_dither"
36668 echo " 8bpp RGB 332............: $conv_8_rgb_332"
36669 echo " 8bpp RGB 666............: $conv_8_rgb_666"
36670 echo " 8bpp RGB 232............: $conv_8_rgb_232"
36671 echo " 8bpp RGB 222............: $conv_8_rgb_222"
36672 echo " 8bpp RGB 221............: $conv_8_rgb_221"
36673 echo " 8bpp RGB 121............: $conv_8_rgb_121"
36674 echo " 8bpp RGB 111............: $conv_8_rgb_111"
36675 echo " 8bpp Grayscale (256)....: $conv_8_gry_1"
36676 echo " 8bpp Grayscale (16).....: $conv_8_gry_16"
36677 echo " 8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
36678 # FIXME: add grayscale and B&W support to standard x converters
36679 echo " 16bpp RGB 565...........: $conv_16_rgb_565"
36680 echo " 16bpp BGR 565...........: $conv_16_bgr_565"
36681 echo " 16bpp RGB 555...........: $conv_16_rgb_555"
36682 echo " 16bpp RGB 444...........: $conv_16_rgb_444"
36683 echo " 16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
36684 # FIXME: add 555 (444 ipaq) support
36685 # FIXME: add 30bpp support
36686 # FIXME: add palletted support (ugh!)
36687 # FIXME: add 8bpp and below rotation
36688 echo " 16bpp Rotation 0........: $conv_16_rgb_rot_0"
36689 echo " 16bpp Rotation 90.......: $conv_16_rgb_rot_90"
36690 echo " 16bpp Rotation 180......: $conv_16_rgb_rot_180"
36691 echo " 16bpp Rotation 270......: $conv_16_rgb_rot_270"
36692 echo " 24bpp RGB 888...........: $conv_24_rgb_888"
36693 echo " 24bpp BGR 888...........: $conv_24_bgr_888"
36694 echo " 24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
36695 # FIXME: add 24bpp rotation
36696 echo " 32bpp RGB 8888..........: $conv_32_rgb_8888"
36697 echo " 32bpp RGBX 8888.........: $conv_32_rgbx_8888"
36698 echo " 32bpp BGR 8888..........: $conv_32_bgr_8888"
36699 echo " 32bpp BGRX 8888.........: $conv_32_bgrx_8888"
36700 echo " 32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
36701 echo " 32bpp Rotation 0........: $conv_32_rgb_rot_0"
36702 echo " 32bpp Rotation 90.......: $conv_32_rgb_rot_90"
36703 echo " 32bpp Rotation 180......: $conv_32_rgb_rot_180"
36704 echo " 32bpp Rotation 270......: $conv_32_rgb_rot_270"
36706 echo "Documentation.............: ${build_doc}"
36707 if test "x${build_doc}" = "xyes" ; then
36708 echo " Installation..........: make install-doc"
36710 echo "Examples..................: install:${install_examples} build:${build_examples}"
36711 if test "x${enable_tests}" = "xyes" ; then
36712 echo "Tests.....................: ${enable_tests} (make check)"
36714 echo "Tests.....................: ${enable_tests}"
36716 if test "x${enable_coverage}" = "xyes" ; then
36717 echo "Coverage..................: ${enable_coverage} (make coverage)"
36719 echo "Coverage..................: ${enable_coverage}"
36722 echo "Compilation............: make (or gmake)"
36723 echo " CPPFLAGS.............: $CPPFLAGS"
36724 echo " CFLAGS...............: $CFLAGS"
36725 echo " CXXFLAGS.............: $CXXFLAGS"
36726 echo " LDFLAGS..............: $LDFLAGS"
36728 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
36729 echo " prefix...............: $prefix"
36731 if test "x${have_static_module}" = "xyes" ; then
36732 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
36733 echo " You must know what you are doing, or else you will have a lot of"
36734 echo " problems. And Kenny will be killed."
36735 echo " Think about that."