2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for evas 1.7.1.
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status=$1; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596 for dir in $PATH /usr/ucb; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X/bin/ksh; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL=/bin/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 SHELL="$CONFIG_SHELL"
639 ECHO="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix=/usr/local
694 ac_config_libobj_dir=.
701 # Identity of this package.
703 PACKAGE_TARNAME='evas'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='evas 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars='am__EXEEXT_FALSE
758 EFL_ENABLE_COVERAGE_FALSE
759 EFL_ENABLE_COVERAGE_TRUE
763 EFL_ENABLE_TESTS_FALSE
764 EFL_ENABLE_TESTS_TRUE
774 INSTALL_EXAMPLES_FALSE
775 INSTALL_EXAMPLES_TRUE
778 EVAS_MAGIC_DEBUG_FALSE
779 EVAS_MAGIC_DEBUG_TRUE
781 EVAS_STATIC_BUILD_GENERIC_FALSE
782 EVAS_STATIC_BUILD_GENERIC_TRUE
783 BUILD_LOADER_GENERIC_FALSE
784 BUILD_LOADER_GENERIC_TRUE
785 evas_image_loader_generic_libs
786 evas_image_loader_generic_cflags
787 EVAS_STATIC_BUILD_PSD_FALSE
788 EVAS_STATIC_BUILD_PSD_TRUE
789 BUILD_LOADER_PSD_FALSE
790 BUILD_LOADER_PSD_TRUE
791 evas_image_loader_psd_libs
792 evas_image_loader_psd_cflags
793 EVAS_STATIC_BUILD_ICO_FALSE
794 EVAS_STATIC_BUILD_ICO_TRUE
795 BUILD_LOADER_ICO_FALSE
796 BUILD_LOADER_ICO_TRUE
797 evas_image_loader_ico_libs
798 evas_image_loader_ico_cflags
799 EVAS_STATIC_BUILD_WBMP_FALSE
800 EVAS_STATIC_BUILD_WBMP_TRUE
801 BUILD_LOADER_WBMP_FALSE
802 BUILD_LOADER_WBMP_TRUE
803 evas_image_loader_wbmp_libs
804 evas_image_loader_wbmp_cflags
805 EVAS_STATIC_BUILD_TGA_FALSE
806 EVAS_STATIC_BUILD_TGA_TRUE
807 BUILD_LOADER_TGA_FALSE
808 BUILD_LOADER_TGA_TRUE
809 evas_image_loader_tga_libs
810 evas_image_loader_tga_cflags
811 EVAS_STATIC_BUILD_BMP_FALSE
812 EVAS_STATIC_BUILD_BMP_TRUE
813 BUILD_LOADER_BMP_FALSE
814 BUILD_LOADER_BMP_TRUE
815 evas_image_loader_bmp_libs
816 evas_image_loader_bmp_cflags
817 EVAS_STATIC_BUILD_XPM_FALSE
818 EVAS_STATIC_BUILD_XPM_TRUE
819 BUILD_LOADER_XPM_FALSE
820 BUILD_LOADER_XPM_TRUE
821 evas_image_loader_xpm_libs
822 evas_image_loader_xpm_cflags
823 EVAS_STATIC_BUILD_TIFF_FALSE
824 EVAS_STATIC_BUILD_TIFF_TRUE
825 BUILD_LOADER_TIFF_FALSE
826 BUILD_LOADER_TIFF_TRUE
827 evas_image_loader_tiff_libs
828 evas_image_loader_tiff_cflags
829 EVAS_STATIC_BUILD_SVG_FALSE
830 EVAS_STATIC_BUILD_SVG_TRUE
831 BUILD_LOADER_SVG_FALSE
832 BUILD_LOADER_SVG_TRUE
833 evas_image_loader_svg_libs
834 evas_image_loader_svg_cflags
837 EVAS_STATIC_BUILD_PNG_FALSE
838 EVAS_STATIC_BUILD_PNG_TRUE
839 BUILD_LOADER_PNG_FALSE
840 BUILD_LOADER_PNG_TRUE
841 evas_image_loader_png_libs
842 evas_image_loader_png_cflags
845 EVAS_STATIC_BUILD_PMAPS_FALSE
846 EVAS_STATIC_BUILD_PMAPS_TRUE
847 BUILD_LOADER_PMAPS_FALSE
848 BUILD_LOADER_PMAPS_TRUE
849 evas_image_loader_pmaps_libs
850 evas_image_loader_pmaps_cflags
851 BUILD_SAVER_JPEG_FALSE
852 BUILD_SAVER_JPEG_TRUE
853 EVAS_STATIC_BUILD_JPEG_FALSE
854 EVAS_STATIC_BUILD_JPEG_TRUE
855 BUILD_LOADER_JPEG_FALSE
856 BUILD_LOADER_JPEG_TRUE
857 evas_image_loader_jpeg_libs
858 evas_image_loader_jpeg_cflags
859 EVAS_STATIC_BUILD_GIF_FALSE
860 EVAS_STATIC_BUILD_GIF_TRUE
861 BUILD_LOADER_GIF_FALSE
862 BUILD_LOADER_GIF_TRUE
863 evas_image_loader_gif_libs
864 evas_image_loader_gif_cflags
865 EVAS_STATIC_BUILD_EET_FALSE
866 EVAS_STATIC_BUILD_EET_TRUE
867 BUILD_LOADER_EET_FALSE
868 BUILD_LOADER_EET_TRUE
869 evas_image_loader_eet_libs
870 evas_image_loader_eet_cflags
873 EVAS_STATIC_BUILD_EDB_FALSE
874 EVAS_STATIC_BUILD_EDB_TRUE
875 BUILD_LOADER_EDB_FALSE
876 BUILD_LOADER_EDB_TRUE
877 evas_image_loader_edb_libs
878 evas_image_loader_edb_cflags
881 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE
882 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE
883 BUILD_ENGINE_SOFTWARE_8_FALSE
884 BUILD_ENGINE_SOFTWARE_8_TRUE
885 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE
886 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE
887 BUILD_ENGINE_SOFTWARE_16_FALSE
888 BUILD_ENGINE_SOFTWARE_16_TRUE
889 EVAS_STATIC_BUILD_GL_COMMON_FALSE
890 EVAS_STATIC_BUILD_GL_COMMON_TRUE
891 BUILD_ENGINE_GL_COMMON_FALSE
892 BUILD_ENGINE_GL_COMMON_TRUE
893 evas_engine_gl_common_libs
894 have_evas_engine_gl_x11
895 EVAS_STATIC_BUILD_GL_X11_FALSE
896 EVAS_STATIC_BUILD_GL_X11_TRUE
897 BUILD_ENGINE_GL_X11_FALSE
898 BUILD_ENGINE_GL_X11_TRUE
899 have_evas_engine_gl_xlib
900 EVAS_STATIC_BUILD_GL_XLIB_FALSE
901 EVAS_STATIC_BUILD_GL_XLIB_TRUE
902 BUILD_ENGINE_GL_XLIB_FALSE
903 BUILD_ENGINE_GL_XLIB_TRUE
904 evas_engine_gl_xlib_libs
905 evas_engine_gl_xlib_cflags
906 have_evas_engine_gl_xcb
907 EVAS_STATIC_BUILD_GL_XCB_FALSE
908 EVAS_STATIC_BUILD_GL_XCB_TRUE
909 BUILD_ENGINE_GL_XCB_FALSE
910 BUILD_ENGINE_GL_XCB_TRUE
911 evas_engine_gl_xcb_libs
912 evas_engine_gl_xcb_cflags
915 have_evas_engine_software_x11
916 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE
917 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE
918 BUILD_ENGINE_SOFTWARE_X11_FALSE
919 BUILD_ENGINE_SOFTWARE_X11_TRUE
920 have_evas_engine_software_xlib
921 have_evas_engine_software_xcb
922 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE
923 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE
924 BUILD_ENGINE_SOFTWARE_XLIB_FALSE
925 BUILD_ENGINE_SOFTWARE_XLIB_TRUE
926 evas_engine_software_xlib_libs
927 evas_engine_software_xlib_cflags
928 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE
929 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE
930 BUILD_ENGINE_SOFTWARE_XCB_FALSE
931 BUILD_ENGINE_SOFTWARE_XCB_TRUE
932 evas_engine_software_xcb_libs
933 evas_engine_software_xcb_cflags
934 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE
935 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE
936 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE
937 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE
938 BUILD_ENGINE_WAYLAND_EGL_FALSE
939 BUILD_ENGINE_WAYLAND_EGL_TRUE
940 evas_engine_wayland_egl_libs
941 evas_engine_wayland_egl_cflags
944 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE
945 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE
946 BUILD_ENGINE_WAYLAND_SHM_FALSE
947 BUILD_ENGINE_WAYLAND_SHM_TRUE
948 evas_engine_wayland_shm_libs
949 evas_engine_wayland_shm_cflags
950 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE
951 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE
952 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE
953 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE
954 evas_engine_software_16_sdl_libs
955 evas_engine_software_16_sdl_cflags
956 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE
957 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE
958 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE
959 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE
960 evas_engine_software_16_wince_libs
961 evas_engine_software_16_wince_cflags
962 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE
963 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE
964 BUILD_ENGINE_SOFTWARE_16_X11_FALSE
965 BUILD_ENGINE_SOFTWARE_16_X11_TRUE
966 evas_engine_software_16_x11_libs
967 evas_engine_software_16_x11_cflags
973 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE
974 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE
975 BUILD_ENGINE_SOFTWARE_8_X11_FALSE
976 BUILD_ENGINE_SOFTWARE_8_X11_TRUE
977 evas_engine_software_8_x11_libs
978 evas_engine_software_8_x11_cflags
981 EVAS_STATIC_BUILD_DIRECTFB_FALSE
982 EVAS_STATIC_BUILD_DIRECTFB_TRUE
983 BUILD_ENGINE_DIRECTFB_FALSE
984 BUILD_ENGINE_DIRECTFB_TRUE
985 evas_engine_directfb_libs
986 evas_engine_directfb_cflags
989 EVAS_STATIC_BUILD_FB_FALSE
990 EVAS_STATIC_BUILD_FB_TRUE
991 BUILD_ENGINE_FB_FALSE
994 evas_engine_fb_cflags
995 EVAS_STATIC_BUILD_GL_COCOA_FALSE
996 EVAS_STATIC_BUILD_GL_COCOA_TRUE
997 BUILD_ENGINE_GL_COCOA_FALSE
998 BUILD_ENGINE_GL_COCOA_TRUE
999 evas_engine_gl_cocoa_libs
1000 evas_engine_gl_cocoa_cflags
1003 EVAS_STATIC_BUILD_GL_SDL_FALSE
1004 EVAS_STATIC_BUILD_GL_SDL_TRUE
1005 BUILD_ENGINE_GL_SDL_FALSE
1006 BUILD_ENGINE_GL_SDL_TRUE
1007 evas_engine_gl_sdl_libs
1008 evas_engine_gl_sdl_cflags
1011 EVAS_STATIC_BUILD_PSL1GHT_FALSE
1012 EVAS_STATIC_BUILD_PSL1GHT_TRUE
1013 BUILD_ENGINE_PSL1GHT_FALSE
1014 BUILD_ENGINE_PSL1GHT_TRUE
1015 evas_engine_psl1ght_libs
1016 evas_engine_psl1ght_cflags
1017 EVAS_STATIC_BUILD_DIRECT3D_FALSE
1018 EVAS_STATIC_BUILD_DIRECT3D_TRUE
1019 BUILD_ENGINE_DIRECT3D_FALSE
1020 BUILD_ENGINE_DIRECT3D_TRUE
1021 evas_engine_direct3d_libs
1022 evas_engine_direct3d_cflags
1023 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE
1024 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE
1025 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE
1026 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE
1027 evas_engine_software_ddraw_libs
1028 evas_engine_software_ddraw_cflags
1029 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE
1030 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE
1031 BUILD_ENGINE_SOFTWARE_GDI_FALSE
1032 BUILD_ENGINE_SOFTWARE_GDI_TRUE
1033 evas_engine_software_gdi_libs
1034 evas_engine_software_gdi_cflags
1035 EVAS_STATIC_BUILD_BUFFER_FALSE
1036 EVAS_STATIC_BUILD_BUFFER_TRUE
1037 BUILD_ENGINE_BUFFER_FALSE
1038 BUILD_ENGINE_BUFFER_TRUE
1039 evas_engine_buffer_libs
1040 evas_engine_buffer_cflags
1050 lt_enable_auto_import
1059 EVAS_USE_LINEBREAK_FALSE
1060 EVAS_USE_LINEBREAK_TRUE
1067 EVAS_HAVE_EXOTIC_FALSE
1068 EVAS_HAVE_EXOTIC_TRUE
1077 pkgconfig_requires_private
1082 am__fastdepCXX_FALSE
1088 am__fastdepOBJC_FALSE
1089 am__fastdepOBJC_TRUE
1145 AM_DEFAULT_VERBOSITY
1154 INSTALL_STRIP_PROGRAM
1196 program_transform_name
1209 enable_option_checking
1211 enable_dependency_tracking
1232 enable_pixman_image_scale_sample
1236 enable_gl_flavor_gles
1237 enable_gles_variety_sgx
1238 enable_gles_variety_s3c6410
1241 enable_software_ddraw
1248 enable_software_8_x11
1249 enable_software_16_x11
1251 enable_software_16_wince
1252 enable_software_16_sdl
1255 enable_sdl_primitive
1256 enable_static_software_generic
1258 enable_software_xlib
1261 enable_static_software_16
1262 enable_static_software_8
1263 enable_image_loader_edb
1264 enable_image_loader_eet
1265 enable_font_loader_eet
1266 enable_image_loader_gif
1267 enable_image_loader_jpeg
1268 enable_image_loader_pmaps
1269 enable_image_loader_png
1270 enable_image_loader_svg
1271 enable_image_loader_tiff
1272 enable_image_loader_xpm
1273 enable_image_loader_bmp
1274 enable_image_loader_tga
1275 enable_image_loader_wbmp
1276 enable_image_loader_ico
1277 enable_image_loader_psd
1278 enable_image_loader_generic
1281 enable_async_preload
1288 enable_evas_magic_debug
1292 enable_small_dither_mask
1293 enable_line_dither_mask
1294 enable_no_dither_mask
1295 enable_convert_8_rgb_332
1296 enable_convert_8_rgb_666
1297 enable_convert_8_rgb_232
1298 enable_convert_8_rgb_222
1299 enable_convert_8_rgb_221
1300 enable_convert_8_rgb_121
1301 enable_convert_8_rgb_111
1302 enable_convert_16_rgb_565
1303 enable_convert_16_bgr_565
1304 enable_convert_16_rgb_555
1305 enable_convert_16_rgb_444
1306 enable_convert_16_rgb_ipq
1307 enable_convert_16_rgb_rot_0
1308 enable_convert_16_rgb_rot_180
1309 enable_convert_16_rgb_rot_270
1310 enable_convert_16_rgb_rot_90
1311 enable_convert_24_rgb_888
1312 enable_convert_24_bgr_888
1313 enable_convert_32_rgb_8888
1314 enable_convert_32_rgbx_8888
1315 enable_convert_32_bgr_8888
1316 enable_convert_32_bgrx_8888
1317 enable_convert_24_rgb_ezx
1318 enable_convert_32_rgb_ezx
1319 enable_convert_32_rgb_rot_0
1320 enable_convert_32_rgb_rot_180
1321 enable_convert_32_rgb_rot_270
1322 enable_convert_32_rgb_rot_90
1323 enable_convert_8_gry_1
1324 enable_convert_8_gry_16
1325 enable_convert_8_grayscale_64
1327 enable_install_examples
1328 enable_build_examples
1332 ac_precious_vars='build_alias
1397 # Initialize some variables set by options.
1399 ac_init_version=false
1400 ac_unrecognized_opts=
1401 ac_unrecognized_sep=
1402 # The variables have the same names as the options, with
1403 # dashes changed to underlines.
1404 cache_file=/dev/null
1411 program_transform_name=s,x,x,
1419 # Installation directory options.
1420 # These are left unexpanded so users can "make install exec_prefix=/foo"
1421 # and all the variables that are supposed to be based on exec_prefix
1422 # by default will actually change.
1423 # Use braces instead of parens because sh, perl, etc. also accept them.
1424 # (The list follows the same order as the GNU Coding Standards.)
1425 bindir='${exec_prefix}/bin'
1426 sbindir='${exec_prefix}/sbin'
1427 libexecdir='${exec_prefix}/libexec'
1428 datarootdir='${prefix}/share'
1429 datadir='${datarootdir}'
1430 sysconfdir='${prefix}/etc'
1431 sharedstatedir='${prefix}/com'
1432 localstatedir='${prefix}/var'
1433 includedir='${prefix}/include'
1434 oldincludedir='/usr/include'
1435 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1436 infodir='${datarootdir}/info'
1441 libdir='${exec_prefix}/lib'
1442 localedir='${datarootdir}/locale'
1443 mandir='${datarootdir}/man'
1449 # If the previous option needs an argument, assign it.
1450 if test -n "$ac_prev"; then
1451 eval $ac_prev=\$ac_option
1457 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1462 # Accept the important Cygnus configure options, so we can diagnose typos.
1464 case $ac_dashdash$ac_option in
1468 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1470 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1471 bindir=$ac_optarg ;;
1473 -build | --build | --buil | --bui | --bu)
1474 ac_prev=build_alias ;;
1475 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1476 build_alias=$ac_optarg ;;
1478 -cache-file | --cache-file | --cache-fil | --cache-fi \
1479 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1480 ac_prev=cache_file ;;
1481 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1482 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1483 cache_file=$ac_optarg ;;
1485 --config-cache | -C)
1486 cache_file=config.cache ;;
1488 -datadir | --datadir | --datadi | --datad)
1490 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1491 datadir=$ac_optarg ;;
1493 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1494 | --dataroo | --dataro | --datar)
1495 ac_prev=datarootdir ;;
1496 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1497 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1498 datarootdir=$ac_optarg ;;
1500 -disable-* | --disable-*)
1501 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1502 # Reject names that are not valid shell variable names.
1503 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1504 as_fn_error $? "invalid feature name: $ac_useropt"
1505 ac_useropt_orig=$ac_useropt
1506 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1507 case $ac_user_opts in
1509 "enable_$ac_useropt"
1511 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1512 ac_unrecognized_sep=', ';;
1514 eval enable_$ac_useropt=no ;;
1516 -docdir | --docdir | --docdi | --doc | --do)
1518 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1519 docdir=$ac_optarg ;;
1521 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1523 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1524 dvidir=$ac_optarg ;;
1526 -enable-* | --enable-*)
1527 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1528 # Reject names that are not valid shell variable names.
1529 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1530 as_fn_error $? "invalid feature name: $ac_useropt"
1531 ac_useropt_orig=$ac_useropt
1532 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1533 case $ac_user_opts in
1535 "enable_$ac_useropt"
1537 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1538 ac_unrecognized_sep=', ';;
1540 eval enable_$ac_useropt=\$ac_optarg ;;
1542 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1543 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1544 | --exec | --exe | --ex)
1545 ac_prev=exec_prefix ;;
1546 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1547 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1548 | --exec=* | --exe=* | --ex=*)
1549 exec_prefix=$ac_optarg ;;
1551 -gas | --gas | --ga | --g)
1552 # Obsolete; use --with-gas.
1555 -help | --help | --hel | --he | -h)
1556 ac_init_help=long ;;
1557 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1558 ac_init_help=recursive ;;
1559 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1560 ac_init_help=short ;;
1562 -host | --host | --hos | --ho)
1563 ac_prev=host_alias ;;
1564 -host=* | --host=* | --hos=* | --ho=*)
1565 host_alias=$ac_optarg ;;
1567 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1569 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1571 htmldir=$ac_optarg ;;
1573 -includedir | --includedir | --includedi | --included | --include \
1574 | --includ | --inclu | --incl | --inc)
1575 ac_prev=includedir ;;
1576 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1577 | --includ=* | --inclu=* | --incl=* | --inc=*)
1578 includedir=$ac_optarg ;;
1580 -infodir | --infodir | --infodi | --infod | --info | --inf)
1582 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1583 infodir=$ac_optarg ;;
1585 -libdir | --libdir | --libdi | --libd)
1587 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1588 libdir=$ac_optarg ;;
1590 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1591 | --libexe | --libex | --libe)
1592 ac_prev=libexecdir ;;
1593 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1594 | --libexe=* | --libex=* | --libe=*)
1595 libexecdir=$ac_optarg ;;
1597 -localedir | --localedir | --localedi | --localed | --locale)
1598 ac_prev=localedir ;;
1599 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1600 localedir=$ac_optarg ;;
1602 -localstatedir | --localstatedir | --localstatedi | --localstated \
1603 | --localstate | --localstat | --localsta | --localst | --locals)
1604 ac_prev=localstatedir ;;
1605 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1606 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1607 localstatedir=$ac_optarg ;;
1609 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1611 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1612 mandir=$ac_optarg ;;
1614 -nfp | --nfp | --nf)
1615 # Obsolete; use --without-fp.
1618 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1619 | --no-cr | --no-c | -n)
1622 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1623 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1626 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1627 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1628 | --oldin | --oldi | --old | --ol | --o)
1629 ac_prev=oldincludedir ;;
1630 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1631 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1632 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1633 oldincludedir=$ac_optarg ;;
1635 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1637 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1638 prefix=$ac_optarg ;;
1640 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1641 | --program-pre | --program-pr | --program-p)
1642 ac_prev=program_prefix ;;
1643 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1644 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1645 program_prefix=$ac_optarg ;;
1647 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1648 | --program-suf | --program-su | --program-s)
1649 ac_prev=program_suffix ;;
1650 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1651 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1652 program_suffix=$ac_optarg ;;
1654 -program-transform-name | --program-transform-name \
1655 | --program-transform-nam | --program-transform-na \
1656 | --program-transform-n | --program-transform- \
1657 | --program-transform | --program-transfor \
1658 | --program-transfo | --program-transf \
1659 | --program-trans | --program-tran \
1660 | --progr-tra | --program-tr | --program-t)
1661 ac_prev=program_transform_name ;;
1662 -program-transform-name=* | --program-transform-name=* \
1663 | --program-transform-nam=* | --program-transform-na=* \
1664 | --program-transform-n=* | --program-transform-=* \
1665 | --program-transform=* | --program-transfor=* \
1666 | --program-transfo=* | --program-transf=* \
1667 | --program-trans=* | --program-tran=* \
1668 | --progr-tra=* | --program-tr=* | --program-t=*)
1669 program_transform_name=$ac_optarg ;;
1671 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1673 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1674 pdfdir=$ac_optarg ;;
1676 -psdir | --psdir | --psdi | --psd | --ps)
1678 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1681 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1682 | -silent | --silent | --silen | --sile | --sil)
1685 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1687 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1689 sbindir=$ac_optarg ;;
1691 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1692 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1693 | --sharedst | --shareds | --shared | --share | --shar \
1695 ac_prev=sharedstatedir ;;
1696 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1697 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1698 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1700 sharedstatedir=$ac_optarg ;;
1702 -site | --site | --sit)
1704 -site=* | --site=* | --sit=*)
1707 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1709 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1710 srcdir=$ac_optarg ;;
1712 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1713 | --syscon | --sysco | --sysc | --sys | --sy)
1714 ac_prev=sysconfdir ;;
1715 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1716 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1717 sysconfdir=$ac_optarg ;;
1719 -target | --target | --targe | --targ | --tar | --ta | --t)
1720 ac_prev=target_alias ;;
1721 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1722 target_alias=$ac_optarg ;;
1724 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1727 -version | --version | --versio | --versi | --vers | -V)
1728 ac_init_version=: ;;
1731 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1732 # Reject names that are not valid shell variable names.
1733 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1734 as_fn_error $? "invalid package name: $ac_useropt"
1735 ac_useropt_orig=$ac_useropt
1736 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1737 case $ac_user_opts in
1741 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1742 ac_unrecognized_sep=', ';;
1744 eval with_$ac_useropt=\$ac_optarg ;;
1746 -without-* | --without-*)
1747 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1748 # Reject names that are not valid shell variable names.
1749 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1750 as_fn_error $? "invalid package name: $ac_useropt"
1751 ac_useropt_orig=$ac_useropt
1752 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1753 case $ac_user_opts in
1757 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1758 ac_unrecognized_sep=', ';;
1760 eval with_$ac_useropt=no ;;
1763 # Obsolete; use --with-x.
1766 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1767 | --x-incl | --x-inc | --x-in | --x-i)
1768 ac_prev=x_includes ;;
1769 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1770 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1771 x_includes=$ac_optarg ;;
1773 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1774 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1775 ac_prev=x_libraries ;;
1776 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1777 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1778 x_libraries=$ac_optarg ;;
1780 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1781 Try \`$0 --help' for more information"
1785 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1786 # Reject names that are not valid shell variable names.
1787 case $ac_envvar in #(
1788 '' | [0-9]* | *[!_$as_cr_alnum]* )
1789 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1791 eval $ac_envvar=\$ac_optarg
1792 export $ac_envvar ;;
1795 # FIXME: should be removed in autoconf 3.0.
1796 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1798 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1799 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1805 if test -n "$ac_prev"; then
1806 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1807 as_fn_error $? "missing argument to $ac_option"
1810 if test -n "$ac_unrecognized_opts"; then
1811 case $enable_option_checking in
1813 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1814 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1818 # Check all directory arguments for consistency.
1819 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1820 datadir sysconfdir sharedstatedir localstatedir includedir \
1821 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1822 libdir localedir mandir
1824 eval ac_val=\$$ac_var
1825 # Remove trailing slashes.
1828 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1829 eval $ac_var=\$ac_val;;
1831 # Be sure to have absolute directory names.
1833 [\\/$]* | ?:[\\/]* ) continue;;
1834 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1836 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1839 # There might be people who depend on the old broken behavior: `$host'
1840 # used to hold the argument of --host etc.
1841 # FIXME: To remove some day.
1844 target=$target_alias
1846 # FIXME: To remove some day.
1847 if test "x$host_alias" != x; then
1848 if test "x$build_alias" = x; then
1849 cross_compiling=maybe
1850 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1851 If a cross compiler is detected then cross compile mode will be used" >&2
1852 elif test "x$build_alias" != "x$host_alias"; then
1858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1860 test "$silent" = yes && exec 6>/dev/null
1863 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1864 ac_ls_di=`ls -di .` &&
1865 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1866 as_fn_error $? "working directory cannot be determined"
1867 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1868 as_fn_error $? "pwd does not report name of working directory"
1871 # Find the source files, if location was not specified.
1872 if test -z "$srcdir"; then
1873 ac_srcdir_defaulted=yes
1874 # Try the directory containing this script, then the parent directory.
1875 ac_confdir=`$as_dirname -- "$as_myself" ||
1876 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1877 X"$as_myself" : 'X\(//\)[^/]' \| \
1878 X"$as_myself" : 'X\(//\)$' \| \
1879 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1880 $as_echo X"$as_myself" |
1881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1899 if test ! -r "$srcdir/$ac_unique_file"; then
1903 ac_srcdir_defaulted=no
1905 if test ! -r "$srcdir/$ac_unique_file"; then
1906 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1907 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1909 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1911 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1913 # When building in place, set srcdir=.
1914 if test "$ac_abs_confdir" = "$ac_pwd"; then
1917 # Remove unnecessary trailing slashes from srcdir.
1918 # Double slashes in file names in object file debugging info
1919 # mess up M-x gdb in Emacs.
1921 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1923 for ac_var in $ac_precious_vars; do
1924 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1925 eval ac_env_${ac_var}_value=\$${ac_var}
1926 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1927 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1931 # Report the --help message.
1933 if test "$ac_init_help" = "long"; then
1934 # Omit some internal or obsolete options to make the list less imposing.
1935 # This message is too long to be a string in the A/UX 3.1 sh.
1937 \`configure' configures evas 1.7.1 to adapt to many kinds of systems.
1939 Usage: $0 [OPTION]... [VAR=VALUE]...
1941 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1942 VAR=VALUE. See below for descriptions of some of the useful variables.
1944 Defaults for the options are specified in brackets.
1947 -h, --help display this help and exit
1948 --help=short display options specific to this package
1949 --help=recursive display the short help of all the included packages
1950 -V, --version display version information and exit
1951 -q, --quiet, --silent do not print \`checking ...' messages
1952 --cache-file=FILE cache test results in FILE [disabled]
1953 -C, --config-cache alias for \`--cache-file=config.cache'
1954 -n, --no-create do not create output files
1955 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1957 Installation directories:
1958 --prefix=PREFIX install architecture-independent files in PREFIX
1959 [$ac_default_prefix]
1960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1963 By default, \`make install' will install all the files in
1964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1966 for instance \`--prefix=\$HOME'.
1968 For better control, use the options below.
1970 Fine tuning of the installation directories:
1971 --bindir=DIR user executables [EPREFIX/bin]
1972 --sbindir=DIR system admin executables [EPREFIX/sbin]
1973 --libexecdir=DIR program executables [EPREFIX/libexec]
1974 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1975 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1976 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1977 --libdir=DIR object code libraries [EPREFIX/lib]
1978 --includedir=DIR C header files [PREFIX/include]
1979 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1980 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1981 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1982 --infodir=DIR info documentation [DATAROOTDIR/info]
1983 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1984 --mandir=DIR man documentation [DATAROOTDIR/man]
1985 --docdir=DIR documentation root [DATAROOTDIR/doc/evas]
1986 --htmldir=DIR html documentation [DOCDIR]
1987 --dvidir=DIR dvi documentation [DOCDIR]
1988 --pdfdir=DIR pdf documentation [DOCDIR]
1989 --psdir=DIR ps documentation [DOCDIR]
1995 --program-prefix=PREFIX prepend PREFIX to installed program names
1996 --program-suffix=SUFFIX append SUFFIX to installed program names
1997 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2000 --x-includes=DIR X include files are in DIR
2001 --x-libraries=DIR X library files are in DIR
2004 --build=BUILD configure for building on BUILD [guessed]
2005 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2009 if test -n "$ac_init_help"; then
2010 case $ac_init_help in
2011 short | recursive ) echo "Configuration of evas 1.7.1:";;
2016 --disable-option-checking ignore unrecognized --enable/--with options
2017 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2018 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2019 --enable-silent-rules less verbose build output (undo: `make V=1')
2020 --disable-silent-rules verbose build output (undo: `make V=0')
2021 --disable-dependency-tracking speeds up one-time build
2022 --enable-dependency-tracking do not reject slow dependency extractors
2023 --enable-shared[=PKGS] build shared libraries [default=yes]
2024 --enable-static[=PKGS] build static libraries [default=yes]
2025 --enable-fast-install[=PKGS]
2026 optimize for fast installation [default=yes]
2027 --disable-libtool-lock avoid locking (might break parallel builds)
2028 --enable-strict enable strict checking mode. [default==disabled]
2029 --enable-simple-x11 enable simple x11 linking
2030 --disable-doc Disable documentation build [default=enabled]
2031 --disable-fontconfig disable fontconfig for finding fonts.
2033 --disable-liblinebreak disable linking against liblinebreak.
2035 --disable-fribidi disable bidirectional text support.
2037 --disable-harfbuzz disable complex text shaping and layouting support.
2039 --enable-pixman enable pixman for software rendering.
2041 --enable-pixman-font Allow pixman to render fonts
2042 --enable-pixman-rect Allow pixman to render rects
2043 --enable-pixman-line Allow pixman to render lines
2044 --enable-pixman-poly Allow pixman to render polys
2045 --enable-pixman-image Allow pixman to render images
2046 --enable-pixman-image-scale-sample
2047 Allow pixman to render sampled scaled images
2048 --enable-tile-rotate Enable tiled rotate algorithm
2049 --disable-evas-cserve disable shared cache server support.
2051 --disable-evas-cserve2 disable shared cache server 2 support.
2053 --enable-gl-flavor-gles enable gles flavor of gl instead of standard
2054 --enable-gles-variety-sgx
2055 GLES variety SGX 3D unit
2056 --enable-gles-variety-s3c6410
2057 GLES variety s3c6410 3D unit
2058 --enable-buffer enable Buffer rendering backend
2059 --enable-software-gdi enable Software GDI rendering backend
2060 --enable-software-ddraw enable Software DirectDraw rendering backend
2061 --enable-direct3d enable Direct3D rendering backend
2062 --enable-psl1ght enable PSL1GHT rendering backend
2063 --enable-gl-sdl enable OpenGL SDL rendering backend
2064 --enable-gl-cocoa enable OpenGL Cocoa rendering backend
2065 --enable-fb enable Framebuffer rendering backend
2066 --enable-directfb enable DirectFB rendering backend
2067 --enable-software-8-x11 enable Software X11 8 bits grayscale rendering
2069 --enable-software-16-x11
2070 enable Software X11 16 bits rendering backend
2071 --enable-software-16-wince
2072 enable Software Windows CE 16 bits rendering backend
2073 --enable-software-16-sdl
2074 enable Software SDL 16 bits rendering backend
2075 --enable-wayland-shm enable Wayland Shm rendering backend
2076 --enable-wayland-egl enable Wayland Egl rendering backend
2077 --enable-sdl-primitive
2078 --enable-static-software-generic
2079 Build software generic engine as part of libevas
2080 --enable-software-xcb enable Software XCB Engine. [default=disabled]
2081 --enable-software-xcb enable Software XCB rendering backend
2082 --enable-software-xlib enable Software Xlib rendering backend
2083 --enable-gl-xcb enable OpenGL XCB Engine. [default=disabled]
2084 --enable-gl-xcb enable OpenGL XCB rendering backend
2085 --enable-gl-xlib enable OpenGL XLib rendering backend
2086 --enable-static-software-16
2087 Build software 16 engine as part of libevas
2088 --enable-static-software-8
2089 Build software 8 engine as part of libevas
2090 --enable-image-loader-edb
2091 enable Edb image loader
2092 --enable-image-loader-eet
2093 enable Eet image loader
2094 --disable-font-loader-eet
2095 disable EET font loader. [[default=enabled]]
2096 --enable-image-loader-gif
2097 enable Gif image loader
2098 --enable-image-loader-jpeg
2099 enable Jpeg image loader
2100 --enable-image-loader-pmaps
2101 enable PMAPS image loader
2102 --enable-image-loader-png
2103 enable PNG image loader
2104 --enable-image-loader-svg
2105 enable SVG image loader
2106 --enable-image-loader-tiff
2107 enable Tiff image loader
2108 --enable-image-loader-xpm
2109 enable XPM image loader
2110 --enable-image-loader-bmp
2111 enable BMP image loader
2112 --enable-image-loader-tga
2113 enable TGA image loader
2114 --enable-image-loader-wbmp
2115 enable WBMP image loader
2116 --enable-image-loader-ico
2117 enable ICO image loader
2118 --enable-image-loader-psd
2119 enable PSD image loader
2120 --enable-image-loader-generic
2121 enable GENERIC image loader
2122 --enable-pthreads enable threaded rendering
2123 --enable-async-events enable async events support
2124 --enable-async-preload enable async image preloading support
2125 --enable-cpu-mmx enable mmx code
2126 --enable-cpu-sse enable sse code
2127 --enable-cpu-sse3 enable sse3 code
2128 --enable-cpu-altivec enable altivec code
2129 --enable-cpu-neon build neon code, the code will be checked at run
2130 time to see if the CPU supports it
2131 --enable-cpu-c enable C code
2132 --disable-evas-magic-debug
2133 disable MAGIC_DEBUG check when people pass in wrong
2134 object type. [[default=enabled]]
2135 --disable-scale-sample disable sampling scaler code [default=enabled]
2136 --disable-scale-smooth disable smooth scaler code [default=enabled]
2137 --enable-convert-yuv enable yuv converter code
2138 --enable-small-dither-mask
2139 enable small dither mask [default=disabled]
2140 --enable-line-dither-mask
2141 enable line dither mask [default=disabled]
2142 --enable-no-dither-mask enable conversion to 16bpp without dither mask
2144 --disable-convert-8-rgb-332
2145 disable the 8bpp RGB 332 converter code
2146 --disable-convert-8-rgb-666
2147 disable the 8bpp RGB 666 converter code
2148 --disable-convert-8-rgb-232
2149 disable the 8bpp RGB 232 converter code
2150 --disable-convert-8-rgb-222
2151 disable the 8bpp RGB 222 converter code
2152 --disable-convert-8-rgb-221
2153 disable the 8bpp RGB 221 converter code
2154 --disable-convert-8-rgb-121
2155 disable the 8bpp RGB 121 converter code
2156 --disable-convert-8-rgb-111
2157 disable the 8bpp RGB 111 converter code
2158 --disable-convert-16-rgb-565
2159 disable the 16bpp RGB 565 converter code
2160 --disable-convert-16-bgr-565
2161 disable the 16bpp BGR 565 converter code
2162 --disable-convert-16-rgb-555
2163 disable the 16bpp RGB 555 converter code
2164 --disable-convert-16-rgb-444
2165 disable the 16bpp RGB 444 converter code
2166 --disable-convert-16-rgb-ipq
2167 disable 16bpp 565 (444 ipaq) converter code
2168 --disable-convert-16-rgb-rot-0
2169 disable the 16bpp RGB rotation 0 converter code
2170 --disable-convert-16-rgb-rot-180
2171 disable the 16bpp RGB rotation 180 converter code
2172 --disable-convert-16-rgb-rot-270
2173 disable the 16bpp RGB rotation 270 converter code
2174 --disable-convert-16-rgb-rot-90
2175 disable the 16bpp RGB rotation 90 converter code
2176 --disable-convert-24-rgb-888
2177 disable the 24bpp RGB 888 converter code
2178 --disable-convert-24-bgr-888
2179 disable the 24bpp BGR 888 converter code
2180 --disable-convert-32-rgb-8888
2181 disable the 32bpp RGB 8888 converter code
2182 --disable-convert-32-rgbx-8888
2183 disable the 32bpp RGBX 8888 converter code
2184 --disable-convert-32-bgr-8888
2185 disable the 32bpp BGR 8888 converter code
2186 --disable-convert-32-bgrx-8888
2187 disable the 32bpp BGRX 8888 converter code
2188 --disable-convert-24-rgb-ezx
2189 disable 24bpp 666 (666 ezx) converter code
2190 --disable-convert-32-rgb-ezx
2191 disable 32bpp 666 (666 ezx) converter code
2192 --disable-convert-32-rgb-rot-0
2193 disable the 32bpp RGB rotation 0 converter code
2194 --disable-convert-32-rgb-rot-180
2195 disable the 32bpp RGB rotation 180 converter code
2196 --disable-convert-32-rgb-rot-270
2197 disable the 32bpp RGB rotation 270 converter code
2198 --disable-convert-32-rgb-rot-90
2199 disable the 32bpp RGB rotation 90 converter code
2200 --disable-convert-8-gry-1
2201 disable the 8bpp GRY 1 converter code
2202 --disable-convert-8-gry-16
2203 disable the 8bpp GRY 16 converter code
2204 --disable-convert-8-grayscale-64
2205 disable 8bpp grayscale 64-palette converter code
2206 --enable-valgrind enable valgrind fixes to stop false reports
2207 --disable-install-examples
2208 disable installing examples (compiled or just
2209 source). [default==enabled]
2210 --enable-build-examples enable building examples (this requires extra
2211 denpendencies. if you don't have them installed yet,
2212 don't build with this option or it will fail. build
2213 again when you have it, overriding the previous
2214 installation). [default==disabled]
2215 --enable-tests enable tests [default=disabled]
2216 --enable-coverage enable coverage profiling instrumentation
2220 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2221 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2222 --with-pic try to use only PIC/non-PIC objects [default=use
2224 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2225 --with-doxygen=FILE doxygen program to use [default=doxygen]
2226 --with-x use the X Window System
2228 Some influential environment variables:
2229 CC C compiler command
2230 CFLAGS C compiler flags
2231 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2232 nonstandard directory <lib dir>
2233 LIBS libraries to pass to the linker, e.g. -l<library>
2234 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2235 you have headers in a nonstandard directory <include dir>
2237 OBJC Objective C compiler command
2238 OBJCFLAGS Objective C compiler flags
2239 CXX C++ compiler command
2240 CXXFLAGS C++ compiler flags
2241 CXXCPP C++ preprocessor
2242 PKG_CONFIG path to pkg-config utility
2244 directories to add to pkg-config's search path
2246 path overriding pkg-config's built-in search path
2247 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2248 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2250 C compiler flags for EXOTIC, overriding pkg-config
2251 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2252 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2253 EINA_LIBS linker flags for EINA, overriding pkg-config
2255 C compiler flags for FREETYPE, overriding pkg-config
2257 linker flags for FREETYPE, overriding pkg-config
2259 C compiler flags for FONTCONFIG, overriding pkg-config
2261 linker flags for FONTCONFIG, overriding pkg-config
2263 C compiler flags for FRIBIDI, overriding pkg-config
2265 linker flags for FRIBIDI, overriding pkg-config
2267 C compiler flags for HARFBUZZ, overriding pkg-config
2269 linker flags for HARFBUZZ, overriding pkg-config
2271 C compiler flags for PIXMAN, overriding pkg-config
2272 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2273 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2274 SDL_LIBS linker flags for SDL, overriding pkg-config
2276 C compiler flags for GL_EET, overriding pkg-config
2277 GL_EET_LIBS linker flags for GL_EET, overriding pkg-config
2279 C compiler flags for DIRECTFB, overriding pkg-config
2281 linker flags for DIRECTFB, overriding pkg-config
2282 XCB_CFLAGS C compiler flags for XCB, overriding pkg-config
2283 XCB_LIBS linker flags for XCB, overriding pkg-config
2284 XMKMF Path to xmkmf, Makefile generator for X Window System
2286 C compiler flags for WAYLAND_EGL, overriding pkg-config
2288 linker flags for WAYLAND_EGL, overriding pkg-config
2290 C compiler flags for XCB_GL, overriding pkg-config
2291 XCB_GL_LIBS linker flags for XCB_GL, overriding pkg-config
2292 EDB_CFLAGS C compiler flags for EDB, overriding pkg-config
2293 EDB_LIBS linker flags for EDB, overriding pkg-config
2294 EET_CFLAGS C compiler flags for EET, overriding pkg-config
2295 EET_LIBS linker flags for EET, overriding pkg-config
2296 PNG_CFLAGS C compiler flags for PNG, overriding pkg-config
2297 PNG_LIBS linker flags for PNG, overriding pkg-config
2298 SVG_CFLAGS C compiler flags for SVG, overriding pkg-config
2299 SVG_LIBS linker flags for SVG, overriding pkg-config
2301 C compiler flags for VALGRIND, overriding pkg-config
2303 linker flags for VALGRIND, overriding pkg-config
2305 C compiler flags for ECORE_EVAS, overriding pkg-config
2307 linker flags for ECORE_EVAS, overriding pkg-config
2308 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
2309 EDJE_LIBS linker flags for EDJE, overriding pkg-config
2311 C compiler flags for CHECK, overriding pkg-config
2312 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2314 Use these variables to override the choices made by `configure' or to help
2315 it to find libraries and programs with nonstandard names/locations.
2317 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2322 if test "$ac_init_help" = "recursive"; then
2323 # If there are subdirs, report their specific --help.
2324 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2325 test -d "$ac_dir" ||
2326 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2333 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2334 # A ".." for each directory in $ac_dir_suffix.
2335 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2336 case $ac_top_builddir_sub in
2337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2341 ac_abs_top_builddir=$ac_pwd
2342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2343 # for backward compatibility:
2344 ac_top_builddir=$ac_top_build_prefix
2347 .) # We are building in place.
2349 ac_top_srcdir=$ac_top_builddir_sub
2350 ac_abs_top_srcdir=$ac_pwd ;;
2351 [\\/]* | ?:[\\/]* ) # Absolute name.
2352 ac_srcdir=$srcdir$ac_dir_suffix;
2353 ac_top_srcdir=$srcdir
2354 ac_abs_top_srcdir=$srcdir ;;
2356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2357 ac_top_srcdir=$ac_top_build_prefix$srcdir
2358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2362 cd "$ac_dir" || { ac_status=$?; continue; }
2363 # Check for guested configure.
2364 if test -f "$ac_srcdir/configure.gnu"; then
2366 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2367 elif test -f "$ac_srcdir/configure"; then
2369 $SHELL "$ac_srcdir/configure" --help=recursive
2371 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2373 cd "$ac_pwd" || { ac_status=$?; break; }
2377 test -n "$ac_init_help" && exit $ac_status
2378 if $ac_init_version; then
2380 evas configure 1.7.1
2381 generated by GNU Autoconf 2.67
2383 Copyright (C) 2010 Free Software Foundation, Inc.
2384 This configure script is free software; the Free Software Foundation
2385 gives unlimited permission to copy, distribute and modify it.
2390 ## ------------------------ ##
2391 ## Autoconf initialization. ##
2392 ## ------------------------ ##
2394 # ac_fn_c_try_compile LINENO
2395 # --------------------------
2396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2397 ac_fn_c_try_compile ()
2399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400 rm -f conftest.$ac_objext
2401 if { { ac_try="$ac_compile"
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2407 $as_echo "$ac_try_echo"; } >&5
2408 (eval "$ac_compile") 2>conftest.err
2410 if test -s conftest.err; then
2411 grep -v '^ *+' conftest.err >conftest.er1
2412 cat conftest.er1 >&5
2413 mv -f conftest.er1 conftest.err
2415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2416 test $ac_status = 0; } && {
2417 test -z "$ac_c_werror_flag" ||
2418 test ! -s conftest.err
2419 } && test -s conftest.$ac_objext; then :
2422 $as_echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2427 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2428 as_fn_set_status $ac_retval
2430 } # ac_fn_c_try_compile
2432 # ac_fn_c_try_cpp LINENO
2433 # ----------------------
2434 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2438 if { { ac_try="$ac_cpp conftest.$ac_ext"
2440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2444 $as_echo "$ac_try_echo"; } >&5
2445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2447 if test -s conftest.err; then
2448 grep -v '^ *+' conftest.err >conftest.er1
2449 cat conftest.er1 >&5
2450 mv -f conftest.er1 conftest.err
2452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453 test $ac_status = 0; } > conftest.i && {
2454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2455 test ! -s conftest.err
2459 $as_echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.$ac_ext >&5
2464 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2465 as_fn_set_status $ac_retval
2469 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2470 # -------------------------------------------------------
2471 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2472 # the include files in INCLUDES and setting the cache variable VAR
2474 ac_fn_c_check_header_mongrel ()
2476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2477 if eval "test \"\${$3+set}\"" = set; then :
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2479 $as_echo_n "checking for $2... " >&6; }
2480 if eval "test \"\${$3+set}\"" = set; then :
2481 $as_echo_n "(cached) " >&6
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2485 $as_echo "$ac_res" >&6; }
2487 # Is the header compilable?
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2489 $as_echo_n "checking $2 usability... " >&6; }
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2495 if ac_fn_c_try_compile "$LINENO"; then :
2496 ac_header_compiler=yes
2498 ac_header_compiler=no
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2502 $as_echo "$ac_header_compiler" >&6; }
2504 # Is the header present?
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2506 $as_echo_n "checking $2 presence... " >&6; }
2507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2508 /* end confdefs.h. */
2511 if ac_fn_c_try_cpp "$LINENO"; then :
2512 ac_header_preproc=yes
2514 ac_header_preproc=no
2516 rm -f conftest.err conftest.i conftest.$ac_ext
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2518 $as_echo "$ac_header_preproc" >&6; }
2520 # So? What about this header?
2521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2524 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2526 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2530 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2532 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2534 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2536 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2538 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2539 ( $as_echo "## -------------------------------------------------------- ##
2540 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2541 ## -------------------------------------------------------- ##"
2542 ) | sed "s/^/$as_me: WARNING: /" >&2
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2546 $as_echo_n "checking for $2... " >&6; }
2547 if eval "test \"\${$3+set}\"" = set; then :
2548 $as_echo_n "(cached) " >&6
2550 eval "$3=\$ac_header_compiler"
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2558 } # ac_fn_c_check_header_mongrel
2560 # ac_fn_c_try_run LINENO
2561 # ----------------------
2562 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2563 # that executables *can* be run.
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 if { { ac_try="$ac_link"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_link") 2>&5
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2578 { { case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584 (eval "$ac_try") 2>&5
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; }; }; then :
2590 $as_echo "$as_me: program exited with status $ac_status" >&5
2591 $as_echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 ac_retval=$ac_status
2596 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2598 as_fn_set_status $ac_retval
2602 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2603 # -------------------------------------------------------
2604 # Tests whether HEADER exists and can be compiled using the include files in
2605 # INCLUDES, setting the cache variable VAR accordingly.
2606 ac_fn_c_check_header_compile ()
2608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2610 $as_echo_n "checking for $2... " >&6; }
2611 if eval "test \"\${$3+set}\"" = set; then :
2612 $as_echo_n "(cached) " >&6
2614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2615 /* end confdefs.h. */
2619 if ac_fn_c_try_compile "$LINENO"; then :
2624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2628 $as_echo "$ac_res" >&6; }
2629 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2631 } # ac_fn_c_check_header_compile
2633 # ac_fn_c_try_link LINENO
2634 # -----------------------
2635 # Try to link conftest.$ac_ext, and return whether this succeeded.
2638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2639 rm -f conftest.$ac_objext conftest$ac_exeext
2640 if { { ac_try="$ac_link"
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2646 $as_echo "$ac_try_echo"; } >&5
2647 (eval "$ac_link") 2>conftest.err
2649 if test -s conftest.err; then
2650 grep -v '^ *+' conftest.err >conftest.er1
2651 cat conftest.er1 >&5
2652 mv -f conftest.er1 conftest.err
2654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2655 test $ac_status = 0; } && {
2656 test -z "$ac_c_werror_flag" ||
2657 test ! -s conftest.err
2658 } && test -s conftest$ac_exeext && {
2659 test "$cross_compiling" = yes ||
2660 $as_test_x conftest$ac_exeext
2664 $as_echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2669 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2670 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2671 # interfere with the next link command; also delete a directory that is
2672 # left behind by Apple's compiler. We do this before executing the actions.
2673 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2675 as_fn_set_status $ac_retval
2677 } # ac_fn_c_try_link
2679 # ac_fn_c_check_func LINENO FUNC VAR
2680 # ----------------------------------
2681 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2682 ac_fn_c_check_func ()
2684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2686 $as_echo_n "checking for $2... " >&6; }
2687 if eval "test \"\${$3+set}\"" = set; then :
2688 $as_echo_n "(cached) " >&6
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2692 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2694 #define $2 innocuous_$2
2696 /* System header to define __stub macros and hopefully few prototypes,
2697 which can conflict with char $2 (); below.
2698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2699 <limits.h> exists even on freestanding compilers. */
2702 # include <limits.h>
2704 # include <assert.h>
2709 /* Override any GCC internal prototype to avoid an error.
2710 Use char because int might match the return type of a GCC
2711 builtin and then its argument prototype would still apply. */
2716 /* The GNU C library defines this for functions which it implements
2717 to always fail with ENOSYS. Some functions are actually named
2718 something starting with __ and the normal name is an alias. */
2719 #if defined __stub_$2 || defined __stub___$2
2731 if ac_fn_c_try_link "$LINENO"; then :
2736 rm -f core conftest.err conftest.$ac_objext \
2737 conftest$ac_exeext conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2744 } # ac_fn_c_check_func
2746 # ac_fn_objc_try_compile LINENO
2747 # -----------------------------
2748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2749 ac_fn_objc_try_compile ()
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 rm -f conftest.$ac_objext
2753 if { { ac_try="$ac_compile"
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_compile") 2>conftest.err
2762 if test -s conftest.err; then
2763 grep -v '^ *+' conftest.err >conftest.er1
2764 cat conftest.er1 >&5
2765 mv -f conftest.er1 conftest.err
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; } && {
2769 test -z "$ac_objc_werror_flag" ||
2770 test ! -s conftest.err
2771 } && test -s conftest.$ac_objext; then :
2774 $as_echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2780 as_fn_set_status $ac_retval
2782 } # ac_fn_objc_try_compile
2784 # ac_fn_objc_try_link LINENO
2785 # --------------------------
2786 # Try to link conftest.$ac_ext, and return whether this succeeded.
2787 ac_fn_objc_try_link ()
2789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790 rm -f conftest.$ac_objext conftest$ac_exeext
2791 if { { ac_try="$ac_link"
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_link") 2>conftest.err
2800 if test -s conftest.err; then
2801 grep -v '^ *+' conftest.err >conftest.er1
2802 cat conftest.er1 >&5
2803 mv -f conftest.er1 conftest.err
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; } && {
2807 test -z "$ac_objc_werror_flag" ||
2808 test ! -s conftest.err
2809 } && test -s conftest$ac_exeext && {
2810 test "$cross_compiling" = yes ||
2811 $as_test_x conftest$ac_exeext
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2821 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2822 # interfere with the next link command; also delete a directory that is
2823 # left behind by Apple's compiler. We do this before executing the actions.
2824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2825 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2826 as_fn_set_status $ac_retval
2828 } # ac_fn_objc_try_link
2830 # ac_fn_cxx_try_compile LINENO
2831 # ----------------------------
2832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2833 ac_fn_cxx_try_compile ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 rm -f conftest.$ac_objext
2837 if { { ac_try="$ac_compile"
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2843 $as_echo "$ac_try_echo"; } >&5
2844 (eval "$ac_compile") 2>conftest.err
2846 if test -s conftest.err; then
2847 grep -v '^ *+' conftest.err >conftest.er1
2848 cat conftest.er1 >&5
2849 mv -f conftest.er1 conftest.err
2851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2852 test $ac_status = 0; } && {
2853 test -z "$ac_cxx_werror_flag" ||
2854 test ! -s conftest.err
2855 } && test -s conftest.$ac_objext; then :
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2864 as_fn_set_status $ac_retval
2866 } # ac_fn_cxx_try_compile
2868 # ac_fn_cxx_try_cpp LINENO
2869 # ------------------------
2870 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2871 ac_fn_cxx_try_cpp ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 if { { ac_try="$ac_cpp conftest.$ac_ext"
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2880 $as_echo "$ac_try_echo"; } >&5
2881 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2883 if test -s conftest.err; then
2884 grep -v '^ *+' conftest.err >conftest.er1
2885 cat conftest.er1 >&5
2886 mv -f conftest.er1 conftest.err
2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889 test $ac_status = 0; } > conftest.i && {
2890 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2891 test ! -s conftest.err
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2901 as_fn_set_status $ac_retval
2903 } # ac_fn_cxx_try_cpp
2905 # ac_fn_cxx_try_link LINENO
2906 # -------------------------
2907 # Try to link conftest.$ac_ext, and return whether this succeeded.
2908 ac_fn_cxx_try_link ()
2910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2911 rm -f conftest.$ac_objext conftest$ac_exeext
2912 if { { ac_try="$ac_link"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_link") 2>conftest.err
2921 if test -s conftest.err; then
2922 grep -v '^ *+' conftest.err >conftest.er1
2923 cat conftest.er1 >&5
2924 mv -f conftest.er1 conftest.err
2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; } && {
2928 test -z "$ac_cxx_werror_flag" ||
2929 test ! -s conftest.err
2930 } && test -s conftest$ac_exeext && {
2931 test "$cross_compiling" = yes ||
2932 $as_test_x conftest$ac_exeext
2936 $as_echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2941 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2942 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2943 # interfere with the next link command; also delete a directory that is
2944 # left behind by Apple's compiler. We do this before executing the actions.
2945 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2947 as_fn_set_status $ac_retval
2949 } # ac_fn_cxx_try_link
2951 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2952 # --------------------------------------------
2953 # Tries to find the compile-time value of EXPR in a program that includes
2954 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2956 ac_fn_c_compute_int ()
2958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2959 if test "$cross_compiling" = yes; then
2960 # Depending upon the size, compute the lo and hi bounds.
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2967 static int test_array [1 - 2 * !(($2) >= 0)];
2974 if ac_fn_c_try_compile "$LINENO"; then :
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2983 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2990 if ac_fn_c_try_compile "$LINENO"; then :
2991 ac_hi=$ac_mid; break
2993 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2994 if test $ac_lo -le $ac_mid; then
2998 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3009 static int test_array [1 - 2 * !(($2) < 0)];
3016 if ac_fn_c_try_compile "$LINENO"; then :
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3025 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3032 if ac_fn_c_try_compile "$LINENO"; then :
3033 ac_lo=$ac_mid; break
3035 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3036 if test $ac_mid -le $ac_hi; then
3040 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3050 # Binary search between lo and hi bounds.
3051 while test "x$ac_lo" != "x$ac_hi"; do
3052 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3059 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3066 if ac_fn_c_try_compile "$LINENO"; then :
3069 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3081 static long int longval () { return $2; }
3082 static unsigned long int ulongval () { return $2; }
3089 FILE *f = fopen ("conftest.val", "w");
3094 long int i = longval ();
3097 fprintf (f, "%ld", i);
3101 unsigned long int i = ulongval ();
3104 fprintf (f, "%lu", i);
3106 /* Do not output a trailing newline, as this causes \r\n confusion
3107 on some platforms. */
3108 return ferror (f) || fclose (f) != 0;
3114 if ac_fn_c_try_run "$LINENO"; then :
3115 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3120 conftest.$ac_objext conftest.beam conftest.$ac_ext
3124 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3125 as_fn_set_status $ac_retval
3127 } # ac_fn_c_compute_int
3129 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3130 # -------------------------------------------
3131 # Tests whether TYPE exists after having included INCLUDES, setting cache
3132 # variable VAR accordingly.
3133 ac_fn_c_check_type ()
3135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3137 $as_echo_n "checking for $2... " >&6; }
3138 if eval "test \"\${$3+set}\"" = set; then :
3139 $as_echo_n "(cached) " >&6
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3154 if ac_fn_c_try_compile "$LINENO"; then :
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3178 $as_echo "$ac_res" >&6; }
3179 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3181 } # ac_fn_c_check_type
3183 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3184 # ---------------------------------------------
3185 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3187 ac_fn_c_check_decl ()
3189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3190 as_decl_name=`echo $2|sed 's/ *(.*//'`
3191 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3193 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3194 if eval "test \"\${$3+set}\"" = set; then :
3195 $as_echo_n "(cached) " >&6
3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3203 #ifndef $as_decl_name
3205 (void) $as_decl_use;
3207 (void) $as_decl_name;
3215 if ac_fn_c_try_compile "$LINENO"; then :
3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3224 $as_echo "$ac_res" >&6; }
3225 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3227 } # ac_fn_c_check_decl
3228 cat >config.log <<_ACEOF
3229 This file contains any messages produced by compilers while
3230 running configure, to aid debugging if configure makes a mistake.
3232 It was created by evas $as_me 1.7.1, which was
3233 generated by GNU Autoconf 2.67. Invocation command line was
3245 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3246 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3247 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3248 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3249 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3251 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3252 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3254 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3255 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3256 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3257 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3258 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3259 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3260 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 $as_echo "PATH: $as_dir"
3285 # Keep a trace of the command line.
3286 # Strip out --no-create and --no-recursion so they do not pile up.
3287 # Strip out --silent because we don't want to record it for future runs.
3288 # Also quote any args containing shell meta-characters.
3289 # Make two passes to allow for proper duplicate-argument suppression.
3293 ac_must_keep_next=false
3299 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3300 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3301 | -silent | --silent | --silen | --sile | --sil)
3304 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3307 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3309 as_fn_append ac_configure_args1 " '$ac_arg'"
3310 if test $ac_must_keep_next = true; then
3311 ac_must_keep_next=false # Got value, back to normal.
3314 *=* | --config-cache | -C | -disable-* | --disable-* \
3315 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3316 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3317 | -with-* | --with-* | -without-* | --without-* | --x)
3318 case "$ac_configure_args0 " in
3319 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3322 -* ) ac_must_keep_next=true ;;
3325 as_fn_append ac_configure_args " '$ac_arg'"
3330 { ac_configure_args0=; unset ac_configure_args0;}
3331 { ac_configure_args1=; unset ac_configure_args1;}
3333 # When interrupted or exit'd, cleanup temporary files, and complete
3334 # config.log. We remove comments because anyway the quotes in there
3335 # would cause problems or look ugly.
3336 # WARNING: Use '\'' to represent an apostrophe within the trap.
3337 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3338 trap 'exit_status=$?
3339 # Save into config.log some information that might help in debugging.
3343 $as_echo "## ---------------- ##
3344 ## Cache variables. ##
3345 ## ---------------- ##"
3347 # The following way of writing the cache mishandles newlines in values,
3349 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3350 eval ac_val=\$$ac_var
3354 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3355 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3358 _ | IFS | as_nl) ;; #(
3359 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3360 *) { eval $ac_var=; unset $ac_var;} ;;
3365 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3366 *${as_nl}ac_space=\ *)
3368 "s/'\''/'\''\\\\'\'''\''/g;
3369 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3379 $as_echo "## ----------------- ##
3380 ## Output variables. ##
3381 ## ----------------- ##"
3383 for ac_var in $ac_subst_vars
3385 eval ac_val=\$$ac_var
3387 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3389 $as_echo "$ac_var='\''$ac_val'\''"
3393 if test -n "$ac_subst_files"; then
3394 $as_echo "## ------------------- ##
3395 ## File substitutions. ##
3396 ## ------------------- ##"
3398 for ac_var in $ac_subst_files
3400 eval ac_val=\$$ac_var
3402 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3404 $as_echo "$ac_var='\''$ac_val'\''"
3409 if test -s confdefs.h; then
3410 $as_echo "## ----------- ##
3417 test "$ac_signal" != 0 &&
3418 $as_echo "$as_me: caught signal $ac_signal"
3419 $as_echo "$as_me: exit $exit_status"
3421 rm -f core *.core core.conftest.* &&
3422 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3425 for ac_signal in 1 2 13 15; do
3426 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3430 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3431 rm -f -r conftest* confdefs.h
3433 $as_echo "/* confdefs.h */" > confdefs.h
3435 # Predefined preprocessor variables.
3437 cat >>confdefs.h <<_ACEOF
3438 #define PACKAGE_NAME "$PACKAGE_NAME"
3441 cat >>confdefs.h <<_ACEOF
3442 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3445 cat >>confdefs.h <<_ACEOF
3446 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3449 cat >>confdefs.h <<_ACEOF
3450 #define PACKAGE_STRING "$PACKAGE_STRING"
3453 cat >>confdefs.h <<_ACEOF
3454 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3457 cat >>confdefs.h <<_ACEOF
3458 #define PACKAGE_URL "$PACKAGE_URL"
3462 # Let the site file select an alternate cache file if it wants to.
3463 # Prefer an explicitly selected file to automatically selected ones.
3466 if test -n "$CONFIG_SITE"; then
3467 # We do not want a PATH search for config.site.
3468 case $CONFIG_SITE in #((
3469 -*) ac_site_file1=./$CONFIG_SITE;;
3470 */*) ac_site_file1=$CONFIG_SITE;;
3471 *) ac_site_file1=./$CONFIG_SITE;;
3473 elif test "x$prefix" != xNONE; then
3474 ac_site_file1=$prefix/share/config.site
3475 ac_site_file2=$prefix/etc/config.site
3477 ac_site_file1=$ac_default_prefix/share/config.site
3478 ac_site_file2=$ac_default_prefix/etc/config.site
3480 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3482 test "x$ac_site_file" = xNONE && continue
3483 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3485 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3486 sed 's/^/| /' "$ac_site_file" >&5
3488 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 as_fn_error $? "failed to load site script $ac_site_file
3491 See \`config.log' for more details" "$LINENO" 5 ; }
3495 if test -r "$cache_file"; then
3496 # Some versions of bash will fail to source /dev/null (special files
3497 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3498 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3500 $as_echo "$as_me: loading cache $cache_file" >&6;}
3502 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3503 *) . "./$cache_file";;
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3508 $as_echo "$as_me: creating cache $cache_file" >&6;}
3512 # Check that the precious variables saved in the cache have kept the same
3514 ac_cache_corrupted=false
3515 for ac_var in $ac_precious_vars; do
3516 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3517 eval ac_new_set=\$ac_env_${ac_var}_set
3518 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3519 eval ac_new_val=\$ac_env_${ac_var}_value
3520 case $ac_old_set,$ac_new_set in
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3523 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3524 ac_cache_corrupted=: ;;
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3527 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3528 ac_cache_corrupted=: ;;
3531 if test "x$ac_old_val" != "x$ac_new_val"; then
3532 # differences in whitespace do not lead to failure.
3533 ac_old_val_w=`echo x $ac_old_val`
3534 ac_new_val_w=`echo x $ac_new_val`
3535 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3537 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3538 ac_cache_corrupted=:
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3541 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3542 eval $ac_var=\$ac_old_val
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3545 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3547 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3550 # Pass precious variables to config.status.
3551 if test "$ac_new_set" = set; then
3553 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3554 *) ac_arg=$ac_var=$ac_new_val ;;
3556 case " $ac_configure_args " in
3557 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3558 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3562 if $ac_cache_corrupted; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3566 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3567 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3569 ## -------------------- ##
3570 ## Main body of script. ##
3571 ## -------------------- ##
3574 ac_cpp='$CPP $CPPFLAGS'
3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3584 ac_config_headers="$ac_config_headers config.h"
3589 am__api_version='1.11'
3592 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3593 if test -f "$ac_dir/install-sh"; then
3595 ac_install_sh="$ac_aux_dir/install-sh -c"
3597 elif test -f "$ac_dir/install.sh"; then
3599 ac_install_sh="$ac_aux_dir/install.sh -c"
3601 elif test -f "$ac_dir/shtool"; then
3603 ac_install_sh="$ac_aux_dir/shtool install -c"
3607 if test -z "$ac_aux_dir"; then
3608 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3611 # These three variables are undocumented and unsupported,
3612 # and are intended to be withdrawn in a future Autoconf release.
3613 # They can cause serious problems if a builder's source tree is in a directory
3614 # whose full name contains unusual characters.
3615 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3616 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3617 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3620 # Find a good install program. We prefer a C program (faster),
3621 # so one script is as good as another. But avoid the broken or
3622 # incompatible versions:
3623 # SysV /etc/install, /usr/sbin/install
3624 # SunOS /usr/etc/install
3625 # IRIX /sbin/install
3627 # AmigaOS /C/install, which installs bootblocks on floppy discs
3628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3631 # OS/2's system install, which has a completely different semantic
3632 # ./install, which can be erroneously created by make from ./install.sh.
3633 # Reject install programs that cannot install multiple files.
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3635 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3636 if test -z "$INSTALL"; then
3637 if test "${ac_cv_path_install+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 test -z "$as_dir" && as_dir=.
3645 # Account for people who put trailing slashes in PATH elements.
3646 case $as_dir/ in #((
3647 ./ | .// | /[cC]/* | \
3648 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3649 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3652 # OSF1 and SCO ODT 3.0 have their own names for install.
3653 # Don't use installbsd from OSF since it installs stuff as root
3655 for ac_prog in ginstall scoinst install; do
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3658 if test $ac_prog = install &&
3659 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3660 # AIX install. It has an incompatible calling convention.
3662 elif test $ac_prog = install &&
3663 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3664 # program-specific install script used by HP pwplus--don't use.
3667 rm -rf conftest.one conftest.two conftest.dir
3668 echo one > conftest.one
3669 echo two > conftest.two
3671 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3672 test -s conftest.one && test -s conftest.two &&
3673 test -s conftest.dir/conftest.one &&
3674 test -s conftest.dir/conftest.two
3676 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3689 rm -rf conftest.one conftest.two conftest.dir
3692 if test "${ac_cv_path_install+set}" = set; then
3693 INSTALL=$ac_cv_path_install
3695 # As a last resort, use the slow shell script. Don't cache a
3696 # value for INSTALL within a source directory, because that will
3697 # break other packages using the cache if that directory is
3698 # removed, or if the value is a relative name.
3699 INSTALL=$ac_install_sh
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3703 $as_echo "$INSTALL" >&6; }
3705 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3706 # It thinks the first close brace ends the variable substitution.
3707 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3709 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3711 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3714 $as_echo_n "checking whether build environment is sane... " >&6; }
3717 echo timestamp > conftest.file
3718 # Reject unsafe characters in $srcdir or the absolute working directory
3719 # name. Accept space and tab only in the latter.
3723 *[\\\"\#\$\&\'\`$am_lf]*)
3724 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3727 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3728 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3731 # Do `set' in a subshell so we don't clobber the current shell's
3732 # arguments. Must try -L first in case configure is actually a
3733 # symlink; some systems play weird games with the mod time of symlinks
3734 # (eg FreeBSD returns the mod time of the symlink's containing
3737 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3738 if test "$*" = "X"; then
3740 set X `ls -t "$srcdir/configure" conftest.file`
3743 if test "$*" != "X $srcdir/configure conftest.file" \
3744 && test "$*" != "X conftest.file $srcdir/configure"; then
3746 # If neither matched, then we have a broken ls. This can happen
3747 # if, for instance, CONFIG_SHELL is bash and it inherits a
3748 # broken ls alias from the environment. This has actually
3749 # happened. Such a system could not be considered "sane".
3750 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3751 alias in your environment" "$LINENO" 5
3754 test "$2" = conftest.file
3760 as_fn_error $? "newly created file is older than distributed files!
3761 Check your system clock" "$LINENO" 5
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3764 $as_echo "yes" >&6; }
3765 test "$program_prefix" != NONE &&
3766 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3767 # Use a double $ so make ignores it.
3768 test "$program_suffix" != NONE &&
3769 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3770 # Double any \ or $.
3771 # By default was `s,x,x', remove it if useless.
3772 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3773 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3775 # expand $ac_aux_dir to an absolute path
3776 am_aux_dir=`cd $ac_aux_dir && pwd`
3778 if test x"${MISSING+set}" != xset; then
3781 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3783 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3786 # Use eval to expand $SHELL
3787 if eval "$MISSING --run true"; then
3788 am_missing_run="$MISSING --run "
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3792 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3795 if test x"${install_sh}" != xset; then
3798 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3800 install_sh="\${SHELL} $am_aux_dir/install-sh"
3804 # Installed binaries are usually stripped using `strip' when the user
3805 # run `make install-strip'. However `strip' might not be the right
3806 # tool to use in cross-compilation environments, therefore Automake
3807 # will honor the `STRIP' environment variable to overrule this program.
3808 if test "$cross_compiling" != no; then
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3811 set dummy ${ac_tool_prefix}strip; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if test "${ac_cv_prog_STRIP+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3817 if test -n "$STRIP"; then
3818 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 STRIP=$ac_cv_prog_STRIP
3838 if test -n "$STRIP"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3840 $as_echo "$STRIP" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3848 if test -z "$ac_cv_prog_STRIP"; then
3850 # Extract the first word of "strip", so it can be a program name with args.
3851 set dummy strip; ac_word=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3855 $as_echo_n "(cached) " >&6
3857 if test -n "$ac_ct_STRIP"; then
3858 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir=.
3865 for ac_exec_ext in '' $ac_executable_extensions; do
3866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3867 ac_cv_prog_ac_ct_STRIP="strip"
3868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3878 if test -n "$ac_ct_STRIP"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3880 $as_echo "$ac_ct_STRIP" >&6; }
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3886 if test "x$ac_ct_STRIP" = x; then
3889 case $cross_compiling:$ac_tool_warned in
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3893 ac_tool_warned=yes ;;
3898 STRIP="$ac_cv_prog_STRIP"
3902 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3905 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3906 if test -z "$MKDIR_P"; then
3907 if test "${ac_cv_path_mkdir+set}" = set; then :
3908 $as_echo_n "(cached) " >&6
3910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3914 test -z "$as_dir" && as_dir=.
3915 for ac_prog in mkdir gmkdir; do
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3918 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3919 'mkdir (GNU coreutils) '* | \
3920 'mkdir (coreutils) '* | \
3921 'mkdir (fileutils) '4.1*)
3922 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3932 test -d ./--version && rmdir ./--version
3933 if test "${ac_cv_path_mkdir+set}" = set; then
3934 MKDIR_P="$ac_cv_path_mkdir -p"
3936 # As a last resort, use the slow shell script. Don't cache a
3937 # value for MKDIR_P within a source directory, because that will
3938 # break other packages using the cache if that directory is
3939 # removed, or if the value is a relative name.
3940 MKDIR_P="$ac_install_sh -d"
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3944 $as_echo "$MKDIR_P" >&6; }
3948 [\\/$]* | ?:[\\/]*) ;;
3949 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3952 for ac_prog in gawk mawk nawk awk
3954 # Extract the first word of "$ac_prog", so it can be a program name with args.
3955 set dummy $ac_prog; ac_word=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if test "${ac_cv_prog_AWK+set}" = set; then :
3959 $as_echo_n "(cached) " >&6
3961 if test -n "$AWK"; then
3962 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968 test -z "$as_dir" && as_dir=.
3969 for ac_exec_ext in '' $ac_executable_extensions; do
3970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3971 ac_cv_prog_AWK="$ac_prog"
3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 if test -n "$AWK"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3984 $as_echo "$AWK" >&6; }
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987 $as_echo "no" >&6; }
3991 test -n "$AWK" && break
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3995 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3997 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3998 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3999 $as_echo_n "(cached) " >&6
4001 cat >conftest.make <<\_ACEOF
4004 @echo '@@@%%%=$(MAKE)=@@@%%%'
4006 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4007 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4009 eval ac_cv_prog_make_${ac_make}_set=yes;;
4011 eval ac_cv_prog_make_${ac_make}_set=no;;
4015 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4022 SET_MAKE="MAKE=${MAKE-make}"
4025 rm -rf .tst 2>/dev/null
4026 mkdir .tst 2>/dev/null
4027 if test -d .tst; then
4032 rmdir .tst 2>/dev/null
4034 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4035 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4036 # is not polluted with repeated "-I."
4037 am__isrc=' -I$(srcdir)'
4038 # test to see if srcdir already configured
4039 if test -f $srcdir/config.status; then
4040 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4044 # test whether we have cygpath
4045 if test -z "$CYGPATH_W"; then
4046 if (cygpath --version) >/dev/null 2>/dev/null; then
4047 CYGPATH_W='cygpath -w'
4054 # Define the identity of the package.
4059 cat >>confdefs.h <<_ACEOF
4060 #define PACKAGE "$PACKAGE"
4064 cat >>confdefs.h <<_ACEOF
4065 #define VERSION "$VERSION"
4068 # Some tools Automake needs.
4070 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4073 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4076 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4079 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4082 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4084 # We need awk for the "check" target. The system "awk" is bad on
4086 # Always define AMTAR for backward compatibility.
4088 AMTAR=${AMTAR-"${am_missing_run}tar"}
4090 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4096 # Check whether --enable-silent-rules was given.
4097 if test "${enable_silent_rules+set}" = set; then :
4098 enableval=$enable_silent_rules;
4101 case $enable_silent_rules in
4102 yes) AM_DEFAULT_VERBOSITY=0;;
4103 no) AM_DEFAULT_VERBOSITY=1;;
4104 *) AM_DEFAULT_VERBOSITY=0;;
4109 DEPDIR="${am__leading_dot}deps"
4111 ac_config_commands="$ac_config_commands depfiles"
4114 am_make=${MAKE-make}
4115 cat > confinc << 'END'
4117 @echo this is the am__doit target
4120 # If we don't find an include directive, just comment out the code.
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4122 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4126 # First try GNU make style include.
4127 echo "include confinc" > confmf
4128 # Ignore all kinds of additional output from `make'.
4129 case `$am_make -s -f confmf 2> /dev/null` in #(
4130 *the\ am__doit\ target*)
4136 # Now try BSD make style include.
4137 if test "$am__include" = "#"; then
4138 echo '.include "confinc"' > confmf
4139 case `$am_make -s -f confmf 2> /dev/null` in #(
4140 *the\ am__doit\ target*)
4141 am__include=.include
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4150 $as_echo "$_am_result" >&6; }
4151 rm -f confinc confmf
4153 # Check whether --enable-dependency-tracking was given.
4154 if test "${enable_dependency_tracking+set}" = set; then :
4155 enableval=$enable_dependency_tracking;
4158 if test "x$enable_dependency_tracking" != xno; then
4159 am_depcomp="$ac_aux_dir/depcomp"
4162 if test "x$enable_dependency_tracking" != xno; then
4172 ac_cpp='$CPP $CPPFLAGS'
4173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4176 if test -n "$ac_tool_prefix"; then
4177 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4178 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4180 $as_echo_n "checking for $ac_word... " >&6; }
4181 if test "${ac_cv_prog_CC+set}" = set; then :
4182 $as_echo_n "(cached) " >&6
4184 if test -n "$CC"; then
4185 ac_cv_prog_CC="$CC" # Let the user override the test.
4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4191 test -z "$as_dir" && as_dir=.
4192 for ac_exec_ext in '' $ac_executable_extensions; do
4193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4194 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 if test -n "$CC"; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4207 $as_echo "$CC" >&6; }
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 $as_echo "no" >&6; }
4215 if test -z "$ac_cv_prog_CC"; then
4217 # Extract the first word of "gcc", so it can be a program name with args.
4218 set dummy gcc; ac_word=$2
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4220 $as_echo_n "checking for $ac_word... " >&6; }
4221 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4222 $as_echo_n "(cached) " >&6
4224 if test -n "$ac_ct_CC"; then
4225 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir=.
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234 ac_cv_prog_ac_ct_CC="gcc"
4235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4245 if test -n "$ac_ct_CC"; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4247 $as_echo "$ac_ct_CC" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4253 if test "x$ac_ct_CC" = x; then
4256 case $cross_compiling:$ac_tool_warned in
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4260 ac_tool_warned=yes ;;
4268 if test -z "$CC"; then
4269 if test -n "$ac_tool_prefix"; then
4270 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4271 set dummy ${ac_tool_prefix}cc; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if test "${ac_cv_prog_CC+set}" = set; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$CC"; then
4278 ac_cv_prog_CC="$CC" # Let the user override the test.
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287 ac_cv_prog_CC="${ac_tool_prefix}cc"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 if test -n "$CC"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4300 $as_echo "$CC" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4309 if test -z "$CC"; then
4310 # Extract the first word of "cc", so it can be a program name with args.
4311 set dummy cc; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if test "${ac_cv_prog_CC+set}" = set; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$CC"; then
4318 ac_cv_prog_CC="$CC" # Let the user override the test.
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir=.
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4329 ac_prog_rejected=yes
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 if test $ac_prog_rejected = yes; then
4341 # We found a bogon in the path, so make sure we never use it.
4342 set dummy $ac_cv_prog_CC
4344 if test $# != 0; then
4345 # We chose a different compiler from the bogus one.
4346 # However, it has the same basename, so the bogon will be chosen
4347 # first if we set CC to just the basename; use the full file name.
4349 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4355 if test -n "$CC"; then
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4357 $as_echo "$CC" >&6; }
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4360 $as_echo "no" >&6; }
4365 if test -z "$CC"; then
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in cl.exe
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_CC+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4376 if test -n "$CC"; then
4377 ac_cv_prog_CC="$CC" # Let the user override the test.
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 if test -n "$CC"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4399 $as_echo "$CC" >&6; }
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$CC" && break
4409 if test -z "$CC"; then
4411 for ac_prog in cl.exe
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -n "$ac_ct_CC"; then
4421 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_ac_ct_CC="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4441 if test -n "$ac_ct_CC"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4443 $as_echo "$ac_ct_CC" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_CC" && break
4453 if test "x$ac_ct_CC" = x; then
4456 case $cross_compiling:$ac_tool_warned in
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4469 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4471 as_fn_error $? "no acceptable C compiler found in \$PATH
4472 See \`config.log' for more details" "$LINENO" 5 ; }
4474 # Provide some information about the compiler.
4475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4478 for ac_option in --version -v -V -qversion; do
4479 { { ac_try="$ac_compiler $ac_option >&5"
4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4488 if test -s conftest.err; then
4490 ... rest of stderr output deleted ...
4491 10q' conftest.err >conftest.er1
4492 cat conftest.er1 >&5
4494 rm -f conftest.er1 conftest.err
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }
4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4510 ac_clean_files_save=$ac_clean_files
4511 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4512 # Try to create an executable without -o first, disregard a.out.
4513 # It will help us diagnose broken compilers, and finding out an intuition
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4516 $as_echo_n "checking whether the C compiler works... " >&6; }
4517 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4519 # The possible output files:
4520 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4523 for ac_file in $ac_files
4526 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4527 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4532 if { { ac_try="$ac_link_default"
4534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4535 *) ac_try_echo=$ac_try;;
4537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4538 $as_echo "$ac_try_echo"; } >&5
4539 (eval "$ac_link_default") 2>&5
4541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4542 test $ac_status = 0; }; then :
4543 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4544 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4545 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4546 # so that the user can short-circuit this test for compilers unknown to
4548 for ac_file in $ac_files ''
4550 test -f "$ac_file" || continue
4552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4555 # We found the default executable, but exeext='' is most
4559 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4561 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4563 # We set ac_cv_exeext here because the later test for it is not
4564 # safe: cross compilers may not add the suffix if given an `-o'
4565 # argument, so we may need to know it at that point already.
4566 # Even if this section looks crufty: it has the advantage of
4573 test "$ac_cv_exeext" = no && ac_cv_exeext=
4578 if test -z "$ac_file"; then :
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 $as_echo "no" >&6; }
4581 $as_echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4586 as_fn_error 77 "C compiler cannot create executables
4587 See \`config.log' for more details" "$LINENO" 5 ; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 $as_echo "yes" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4593 $as_echo_n "checking for C compiler default output file name... " >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4595 $as_echo "$ac_file" >&6; }
4596 ac_exeext=$ac_cv_exeext
4598 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4599 ac_clean_files=$ac_clean_files_save
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4601 $as_echo_n "checking for suffix of executables... " >&6; }
4602 if { { ac_try="$ac_link"
4604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4605 *) ac_try_echo=$ac_try;;
4607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4608 $as_echo "$ac_try_echo"; } >&5
4609 (eval "$ac_link") 2>&5
4611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4612 test $ac_status = 0; }; then :
4613 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4614 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4615 # work properly (i.e., refer to `conftest.exe'), while it won't with
4617 for ac_file in conftest.exe conftest conftest.*; do
4618 test -f "$ac_file" || continue
4620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4621 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4629 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4630 See \`config.log' for more details" "$LINENO" 5 ; }
4632 rm -f conftest conftest$ac_cv_exeext
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4634 $as_echo "$ac_cv_exeext" >&6; }
4636 rm -f conftest.$ac_ext
4637 EXEEXT=$ac_cv_exeext
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4645 FILE *f = fopen ("conftest.out", "w");
4646 return ferror (f) || fclose (f) != 0;
4652 ac_clean_files="$ac_clean_files conftest.out"
4653 # Check that the compiler produces executables we can run. If not, either
4654 # the compiler is broken, or we cross compile.
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4656 $as_echo_n "checking whether we are cross compiling... " >&6; }
4657 if test "$cross_compiling" != yes; then
4658 { { ac_try="$ac_link"
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664 $as_echo "$ac_try_echo"; } >&5
4665 (eval "$ac_link") 2>&5
4667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668 test $ac_status = 0; }
4669 if { ac_try='./conftest$ac_cv_exeext'
4670 { { case "(($ac_try" in
4671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672 *) ac_try_echo=$ac_try;;
4674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4675 $as_echo "$ac_try_echo"; } >&5
4676 (eval "$ac_try") 2>&5
4678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679 test $ac_status = 0; }; }; then
4682 if test "$cross_compiling" = maybe; then
4685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4687 as_fn_error $? "cannot run C compiled programs.
4688 If you meant to cross compile, use \`--host'.
4689 See \`config.log' for more details" "$LINENO" 5 ; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4694 $as_echo "$cross_compiling" >&6; }
4696 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4697 ac_clean_files=$ac_clean_files_save
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4699 $as_echo_n "checking for suffix of object files... " >&6; }
4700 if test "${ac_cv_objext+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4714 rm -f conftest.o conftest.obj
4715 if { { ac_try="$ac_compile"
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4721 $as_echo "$ac_try_echo"; } >&5
4722 (eval "$ac_compile") 2>&5
4724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4725 test $ac_status = 0; }; then :
4726 for ac_file in conftest.o conftest.obj conftest.*; do
4727 test -f "$ac_file" || continue;
4729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4735 $as_echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4740 as_fn_error $? "cannot compute suffix of object files: cannot compile
4741 See \`config.log' for more details" "$LINENO" 5 ; }
4743 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4746 $as_echo "$ac_cv_objext" >&6; }
4747 OBJEXT=$ac_cv_objext
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4750 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4751 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4752 $as_echo_n "(cached) " >&6
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4768 if ac_fn_c_try_compile "$LINENO"; then :
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4778 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4779 if test $ac_compiler_gnu = yes; then
4784 ac_test_CFLAGS=${CFLAGS+set}
4785 ac_save_CFLAGS=$CFLAGS
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4787 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4788 if test "${ac_cv_prog_cc_g+set}" = set; then :
4789 $as_echo_n "(cached) " >&6
4791 ac_save_c_werror_flag=$ac_c_werror_flag
4792 ac_c_werror_flag=yes
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4806 if ac_fn_c_try_compile "$LINENO"; then :
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4821 if ac_fn_c_try_compile "$LINENO"; then :
4824 ac_c_werror_flag=$ac_save_c_werror_flag
4826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4827 /* end confdefs.h. */
4837 if ac_fn_c_try_compile "$LINENO"; then :
4840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845 ac_c_werror_flag=$ac_save_c_werror_flag
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4848 $as_echo "$ac_cv_prog_cc_g" >&6; }
4849 if test "$ac_test_CFLAGS" = set; then
4850 CFLAGS=$ac_save_CFLAGS
4851 elif test $ac_cv_prog_cc_g = yes; then
4852 if test "$GCC" = yes; then
4858 if test "$GCC" = yes; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4865 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4866 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4869 ac_cv_prog_cc_c89=no
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 #include <sys/types.h>
4876 #include <sys/stat.h>
4877 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4878 struct buf { int x; };
4879 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4880 static char *e (p, i)
4886 static char *f (char * (*g) (char **, int), char **p, ...)
4891 s = g (p, va_arg (v,int));
4896 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4897 function prototypes and stuff, but not '\xHH' hex character constants.
4898 These don't provoke an error unfortunately, instead are silently treated
4899 as 'x'. The following induces an error, until -std is added to get
4900 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4901 array size at least. It's necessary to write '\x00'==0 to get something
4902 that's true only with -std. */
4903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4905 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4906 inside strings and character constants. */
4908 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4910 int test (int i, double x);
4911 struct s1 {int (*f) (int a);};
4912 struct s2 {int (*f) (double a);};
4913 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4919 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4924 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4925 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4927 CC="$ac_save_CC $ac_arg"
4928 if ac_fn_c_try_compile "$LINENO"; then :
4929 ac_cv_prog_cc_c89=$ac_arg
4931 rm -f core conftest.err conftest.$ac_objext
4932 test "x$ac_cv_prog_cc_c89" != "xno" && break
4934 rm -f conftest.$ac_ext
4939 case "x$ac_cv_prog_cc_c89" in
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4942 $as_echo "none needed" >&6; } ;;
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4945 $as_echo "unsupported" >&6; } ;;
4947 CC="$CC $ac_cv_prog_cc_c89"
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4949 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4951 if test "x$ac_cv_prog_cc_c89" != xno; then :
4956 ac_cpp='$CPP $CPPFLAGS'
4957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4961 depcc="$CC" am_compiler_list=
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4964 $as_echo_n "checking dependency style of $depcc... " >&6; }
4965 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4966 $as_echo_n "(cached) " >&6
4968 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4969 # We make a subdir and do the tests there. Otherwise we can end up
4970 # making bogus files that we don't know about and never remove. For
4971 # instance it was reported that on HP-UX the gcc test will end up
4972 # making a dummy file named `D' -- because `-MD' means `put the output
4975 # Copy depcomp to subdir because otherwise we won't find it if we're
4976 # using a relative directory.
4977 cp "$am_depcomp" conftest.dir
4979 # We will build objects and dependencies in a subdirectory because
4980 # it helps to detect inapplicable dependency modes. For instance
4981 # both Tru64's cc and ICC support -MD to output dependencies as a
4982 # side effect of compilation, but ICC will put the dependencies in
4983 # the current directory while Tru64 will put them in the object
4987 am_cv_CC_dependencies_compiler_type=none
4988 if test "$am_compiler_list" = ""; then
4989 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4992 case " $depcc " in #(
4993 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4996 for depmode in $am_compiler_list; do
4997 # Setup a source with many dependencies, because some compilers
4998 # like to wrap large dependency lists on column 80 (with \), and
4999 # we should not choose a depcomp mode which is confused by this.
5001 # We need to recreate these files for each test, as the compiler may
5002 # overwrite some of them when testing with obscure command lines.
5003 # This happens at least with the AIX C compiler.
5005 for i in 1 2 3 4 5 6; do
5006 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5007 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5008 # Solaris 8's {/usr,}/bin/sh.
5009 touch sub/conftst$i.h
5011 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5013 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5014 # mode. It turns out that the SunPro C++ compiler does not properly
5015 # handle `-M -o', and we need to detect this. Also, some Intel
5016 # versions had trouble with output in subdirs
5017 am__obj=sub/conftest.${OBJEXT-o}
5018 am__minus_obj="-o $am__obj"
5021 # This depmode causes a compiler race in universal mode.
5022 test "$am__universal" = false || continue
5025 # after this tag, mechanisms are not by side-effect, so they'll
5026 # only be used when explicitly requested
5027 if test "x$enable_dependency_tracking" = xyes; then
5033 msvisualcpp | msvcmsys)
5034 # This compiler won't grok `-c -o', but also, the minuso test has
5035 # not run yet. These depmodes are late enough in the game, and
5036 # so weak that their functioning should not be impacted.
5037 am__obj=conftest.${OBJEXT-o}
5042 if depmode=$depmode \
5043 source=sub/conftest.c object=$am__obj \
5044 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5045 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5046 >/dev/null 2>conftest.err &&
5047 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5048 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5049 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5050 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5051 # icc doesn't choke on unknown options, it will just issue warnings
5052 # or remarks (even with -Werror). So we grep stderr for any message
5053 # that says an option was ignored or not supported.
5054 # When given -MP, icc 7.0 and 7.1 complain thusly:
5055 # icc: Command line warning: ignoring option '-M'; no argument required
5056 # The diagnosis changed in icc 8.0:
5057 # icc: Command line remark: option '-MP' not supported
5058 if (grep 'ignoring option' conftest.err ||
5059 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5060 am_cv_CC_dependencies_compiler_type=$depmode
5069 am_cv_CC_dependencies_compiler_type=none
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5074 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5075 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5078 test "x$enable_dependency_tracking" != xno \
5079 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5081 am__fastdepCC_FALSE='#'
5083 am__fastdepCC_TRUE='#'
5084 am__fastdepCC_FALSE=
5090 ac_cpp='$CPP $CPPFLAGS'
5091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5095 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5096 # On Suns, sometimes $CPP names a directory.
5097 if test -n "$CPP" && test -d "$CPP"; then
5100 if test -z "$CPP"; then
5101 if test "${ac_cv_prog_CPP+set}" = set; then :
5102 $as_echo_n "(cached) " >&6
5104 # Double quotes because CPP needs to be expanded
5105 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5108 for ac_c_preproc_warn_flag in '' yes
5110 # Use a header file that comes with gcc, so configuring glibc
5111 # with a fresh cross-compiler works.
5112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5113 # <limits.h> exists even on freestanding compilers.
5114 # On the NeXT, cc -E runs the code through the compiler's parser,
5115 # not just through cpp. "Syntax error" is here to catch this case.
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 /* end confdefs.h. */
5119 # include <limits.h>
5121 # include <assert.h>
5125 if ac_fn_c_try_cpp "$LINENO"; then :
5128 # Broken: fails on valid input.
5131 rm -f conftest.err conftest.i conftest.$ac_ext
5133 # OK, works on sane cases. Now check whether nonexistent headers
5134 # can be detected and how.
5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5136 /* end confdefs.h. */
5137 #include <ac_nonexistent.h>
5139 if ac_fn_c_try_cpp "$LINENO"; then :
5140 # Broken: success on invalid input.
5143 # Passes both tests.
5147 rm -f conftest.err conftest.i conftest.$ac_ext
5150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5151 rm -f conftest.i conftest.err conftest.$ac_ext
5152 if $ac_preproc_ok; then :
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5165 $as_echo "$CPP" >&6; }
5167 for ac_c_preproc_warn_flag in '' yes
5169 # Use a header file that comes with gcc, so configuring glibc
5170 # with a fresh cross-compiler works.
5171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5172 # <limits.h> exists even on freestanding compilers.
5173 # On the NeXT, cc -E runs the code through the compiler's parser,
5174 # not just through cpp. "Syntax error" is here to catch this case.
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5178 # include <limits.h>
5180 # include <assert.h>
5184 if ac_fn_c_try_cpp "$LINENO"; then :
5187 # Broken: fails on valid input.
5190 rm -f conftest.err conftest.i conftest.$ac_ext
5192 # OK, works on sane cases. Now check whether nonexistent headers
5193 # can be detected and how.
5194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195 /* end confdefs.h. */
5196 #include <ac_nonexistent.h>
5198 if ac_fn_c_try_cpp "$LINENO"; then :
5199 # Broken: success on invalid input.
5202 # Passes both tests.
5206 rm -f conftest.err conftest.i conftest.$ac_ext
5209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5210 rm -f conftest.i conftest.err conftest.$ac_ext
5211 if $ac_preproc_ok; then :
5214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5216 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5217 See \`config.log' for more details" "$LINENO" 5 ; }
5221 ac_cpp='$CPP $CPPFLAGS'
5222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5229 if test "${ac_cv_path_GREP+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -z "$GREP"; then
5233 ac_path_GREP_found=false
5234 # Loop through the user's path and test for each of PROGNAME-LIST
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5239 test -z "$as_dir" && as_dir=.
5240 for ac_prog in grep ggrep; do
5241 for ac_exec_ext in '' $ac_executable_extensions; do
5242 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5243 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5244 # Check for GNU ac_path_GREP and select it if it is found.
5245 # Check for GNU $ac_path_GREP
5246 case `"$ac_path_GREP" --version 2>&1` in
5248 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5251 $as_echo_n 0123456789 >"conftest.in"
5254 cat "conftest.in" "conftest.in" >"conftest.tmp"
5255 mv "conftest.tmp" "conftest.in"
5256 cp "conftest.in" "conftest.nl"
5257 $as_echo 'GREP' >> "conftest.nl"
5258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5259 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5260 as_fn_arith $ac_count + 1 && ac_count=$as_val
5261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5262 # Best one so far, save it but keep looking for a better one
5263 ac_cv_path_GREP="$ac_path_GREP"
5264 ac_path_GREP_max=$ac_count
5266 # 10*(2^10) chars as input seems more than enough
5267 test $ac_count -gt 10 && break
5269 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5272 $ac_path_GREP_found && break 3
5277 if test -z "$ac_cv_path_GREP"; then
5278 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5281 ac_cv_path_GREP=$GREP
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5286 $as_echo "$ac_cv_path_GREP" >&6; }
5287 GREP="$ac_cv_path_GREP"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5291 $as_echo_n "checking for egrep... " >&6; }
5292 if test "${ac_cv_path_EGREP+set}" = set; then :
5293 $as_echo_n "(cached) " >&6
5295 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5296 then ac_cv_path_EGREP="$GREP -E"
5298 if test -z "$EGREP"; then
5299 ac_path_EGREP_found=false
5300 # Loop through the user's path and test for each of PROGNAME-LIST
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5305 test -z "$as_dir" && as_dir=.
5306 for ac_prog in egrep; do
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5309 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5310 # Check for GNU ac_path_EGREP and select it if it is found.
5311 # Check for GNU $ac_path_EGREP
5312 case `"$ac_path_EGREP" --version 2>&1` in
5314 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5317 $as_echo_n 0123456789 >"conftest.in"
5320 cat "conftest.in" "conftest.in" >"conftest.tmp"
5321 mv "conftest.tmp" "conftest.in"
5322 cp "conftest.in" "conftest.nl"
5323 $as_echo 'EGREP' >> "conftest.nl"
5324 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5326 as_fn_arith $ac_count + 1 && ac_count=$as_val
5327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5328 # Best one so far, save it but keep looking for a better one
5329 ac_cv_path_EGREP="$ac_path_EGREP"
5330 ac_path_EGREP_max=$ac_count
5332 # 10*(2^10) chars as input seems more than enough
5333 test $ac_count -gt 10 && break
5335 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5338 $ac_path_EGREP_found && break 3
5343 if test -z "$ac_cv_path_EGREP"; then
5344 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5347 ac_cv_path_EGREP=$EGREP
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5353 $as_echo "$ac_cv_path_EGREP" >&6; }
5354 EGREP="$ac_cv_path_EGREP"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5358 $as_echo_n "checking for ANSI C header files... " >&6; }
5359 if test "${ac_cv_header_stdc+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5377 if ac_fn_c_try_compile "$LINENO"; then :
5378 ac_cv_header_stdc=yes
5380 ac_cv_header_stdc=no
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 if test $ac_cv_header_stdc = yes; then
5385 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5392 $EGREP "memchr" >/dev/null 2>&1; then :
5395 ac_cv_header_stdc=no
5401 if test $ac_cv_header_stdc = yes; then
5402 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5409 $EGREP "free" >/dev/null 2>&1; then :
5412 ac_cv_header_stdc=no
5418 if test $ac_cv_header_stdc = yes; then
5419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5420 if test "$cross_compiling" = yes; then :
5423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5427 #if ((' ' & 0x0FF) == 0x020)
5428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5431 # define ISLOWER(c) \
5432 (('a' <= (c) && (c) <= 'i') \
5433 || ('j' <= (c) && (c) <= 'r') \
5434 || ('s' <= (c) && (c) <= 'z'))
5435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5443 for (i = 0; i < 256; i++)
5444 if (XOR (islower (i), ISLOWER (i))
5445 || toupper (i) != TOUPPER (i))
5450 if ac_fn_c_try_run "$LINENO"; then :
5453 ac_cv_header_stdc=no
5455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5456 conftest.$ac_objext conftest.beam conftest.$ac_ext
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5462 $as_echo "$ac_cv_header_stdc" >&6; }
5463 if test $ac_cv_header_stdc = yes; then
5465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5470 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5471 inttypes.h stdint.h unistd.h
5473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5477 cat >>confdefs.h <<_ACEOF
5478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5487 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5488 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5495 if test "$MINIX" = yes; then
5497 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5500 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5503 $as_echo "#define _MINIX 1" >>confdefs.h
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5509 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5510 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5511 $as_echo_n "(cached) " >&6
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5516 # define __EXTENSIONS__ 1
5517 $ac_includes_default
5526 if ac_fn_c_try_compile "$LINENO"; then :
5527 ac_cv_safe_to_define___extensions__=yes
5529 ac_cv_safe_to_define___extensions__=no
5531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5534 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5535 test $ac_cv_safe_to_define___extensions__ = yes &&
5536 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5538 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5540 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5542 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5544 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5549 # Make sure we can run config.sub.
5550 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5551 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5554 $as_echo_n "checking build system type... " >&6; }
5555 if test "${ac_cv_build+set}" = set; then :
5556 $as_echo_n "(cached) " >&6
5558 ac_build_alias=$build_alias
5559 test "x$ac_build_alias" = x &&
5560 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5561 test "x$ac_build_alias" = x &&
5562 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5563 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5564 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5568 $as_echo "$ac_cv_build" >&6; }
5569 case $ac_cv_build in
5571 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5574 ac_save_IFS=$IFS; IFS='-'
5580 # Remember, the first character of IFS is used to create $*,
5581 # except with old shells:
5584 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5588 $as_echo_n "checking host system type... " >&6; }
5589 if test "${ac_cv_host+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5592 if test "x$host_alias" = x; then
5593 ac_cv_host=$ac_cv_build
5595 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5596 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5601 $as_echo "$ac_cv_host" >&6; }
5604 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5607 ac_save_IFS=$IFS; IFS='-'
5613 # Remember, the first character of IFS is used to create $*,
5614 # except with old shells:
5617 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5620 enable_win32_dll=yes
5623 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
5624 if test -n "$ac_tool_prefix"; then
5625 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5626 set dummy ${ac_tool_prefix}as; ac_word=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if test "${ac_cv_prog_AS+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5632 if test -n "$AS"; then
5633 ac_cv_prog_AS="$AS" # Let the user override the test.
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 test -z "$as_dir" && as_dir=.
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_AS="${ac_tool_prefix}as"
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 if test -n "$AS"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5655 $as_echo "$AS" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5663 if test -z "$ac_cv_prog_AS"; then
5665 # Extract the first word of "as", so it can be a program name with args.
5666 set dummy as; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5670 $as_echo_n "(cached) " >&6
5672 if test -n "$ac_ct_AS"; then
5673 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682 ac_cv_prog_ac_ct_AS="as"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5693 if test -n "$ac_ct_AS"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5695 $as_echo "$ac_ct_AS" >&6; }
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5701 if test "x$ac_ct_AS" = x; then
5704 case $cross_compiling:$ac_tool_warned in
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5708 ac_tool_warned=yes ;;
5716 if test -n "$ac_tool_prefix"; then
5717 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5724 if test -n "$DLLTOOL"; then
5725 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 DLLTOOL=$ac_cv_prog_DLLTOOL
5745 if test -n "$DLLTOOL"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5747 $as_echo "$DLLTOOL" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5755 if test -z "$ac_cv_prog_DLLTOOL"; then
5756 ac_ct_DLLTOOL=$DLLTOOL
5757 # Extract the first word of "dlltool", so it can be a program name with args.
5758 set dummy dlltool; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5764 if test -n "$ac_ct_DLLTOOL"; then
5765 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5785 if test -n "$ac_ct_DLLTOOL"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5787 $as_echo "$ac_ct_DLLTOOL" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5790 $as_echo "no" >&6; }
5793 if test "x$ac_ct_DLLTOOL" = x; then
5796 case $cross_compiling:$ac_tool_warned in
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5802 DLLTOOL=$ac_ct_DLLTOOL
5805 DLLTOOL="$ac_cv_prog_DLLTOOL"
5808 if test -n "$ac_tool_prefix"; then
5809 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5810 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$OBJDUMP"; then
5817 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 OBJDUMP=$ac_cv_prog_OBJDUMP
5837 if test -n "$OBJDUMP"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5839 $as_echo "$OBJDUMP" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5847 if test -z "$ac_cv_prog_OBJDUMP"; then
5848 ac_ct_OBJDUMP=$OBJDUMP
5849 # Extract the first word of "objdump", so it can be a program name with args.
5850 set dummy objdump; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5854 $as_echo_n "(cached) " >&6
5856 if test -n "$ac_ct_OBJDUMP"; then
5857 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5877 if test -n "$ac_ct_OBJDUMP"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5879 $as_echo "$ac_ct_OBJDUMP" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5885 if test "x$ac_ct_OBJDUMP" = x; then
5888 case $cross_compiling:$ac_tool_warned in
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892 ac_tool_warned=yes ;;
5894 OBJDUMP=$ac_ct_OBJDUMP
5897 OBJDUMP="$ac_cv_prog_OBJDUMP"
5903 test -z "$AS" && AS=as
5909 test -z "$DLLTOOL" && DLLTOOL=dlltool
5915 test -z "$OBJDUMP" && OBJDUMP=objdump
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5926 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5931 macro_version='2.2.6b'
5932 macro_revision='1.3017'
5946 ltmain="$ac_aux_dir/ltmain.sh"
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5949 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5950 if test "${ac_cv_path_SED+set}" = set; then :
5951 $as_echo_n "(cached) " >&6
5953 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5954 for ac_i in 1 2 3 4 5 6 7; do
5955 ac_script="$ac_script$as_nl$ac_script"
5957 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5958 { ac_script=; unset ac_script;}
5959 if test -z "$SED"; then
5960 ac_path_SED_found=false
5961 # Loop through the user's path and test for each of PROGNAME-LIST
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir=.
5967 for ac_prog in sed gsed; do
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5970 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5971 # Check for GNU ac_path_SED and select it if it is found.
5972 # Check for GNU $ac_path_SED
5973 case `"$ac_path_SED" --version 2>&1` in
5975 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5978 $as_echo_n 0123456789 >"conftest.in"
5981 cat "conftest.in" "conftest.in" >"conftest.tmp"
5982 mv "conftest.tmp" "conftest.in"
5983 cp "conftest.in" "conftest.nl"
5984 $as_echo '' >> "conftest.nl"
5985 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5986 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5987 as_fn_arith $ac_count + 1 && ac_count=$as_val
5988 if test $ac_count -gt ${ac_path_SED_max-0}; then
5989 # Best one so far, save it but keep looking for a better one
5990 ac_cv_path_SED="$ac_path_SED"
5991 ac_path_SED_max=$ac_count
5993 # 10*(2^10) chars as input seems more than enough
5994 test $ac_count -gt 10 && break
5996 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5999 $ac_path_SED_found && break 3
6004 if test -z "$ac_cv_path_SED"; then
6005 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6013 $as_echo "$ac_cv_path_SED" >&6; }
6014 SED="$ac_cv_path_SED"
6017 test -z "$SED" && SED=sed
6018 Xsed="$SED -e 1s/^X//"
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6031 $as_echo_n "checking for fgrep... " >&6; }
6032 if test "${ac_cv_path_FGREP+set}" = set; then :
6033 $as_echo_n "(cached) " >&6
6035 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6036 then ac_cv_path_FGREP="$GREP -F"
6038 if test -z "$FGREP"; then
6039 ac_path_FGREP_found=false
6040 # Loop through the user's path and test for each of PROGNAME-LIST
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6045 test -z "$as_dir" && as_dir=.
6046 for ac_prog in fgrep; do
6047 for ac_exec_ext in '' $ac_executable_extensions; do
6048 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6049 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6050 # Check for GNU ac_path_FGREP and select it if it is found.
6051 # Check for GNU $ac_path_FGREP
6052 case `"$ac_path_FGREP" --version 2>&1` in
6054 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6057 $as_echo_n 0123456789 >"conftest.in"
6060 cat "conftest.in" "conftest.in" >"conftest.tmp"
6061 mv "conftest.tmp" "conftest.in"
6062 cp "conftest.in" "conftest.nl"
6063 $as_echo 'FGREP' >> "conftest.nl"
6064 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6065 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6066 as_fn_arith $ac_count + 1 && ac_count=$as_val
6067 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6068 # Best one so far, save it but keep looking for a better one
6069 ac_cv_path_FGREP="$ac_path_FGREP"
6070 ac_path_FGREP_max=$ac_count
6072 # 10*(2^10) chars as input seems more than enough
6073 test $ac_count -gt 10 && break
6075 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6078 $ac_path_FGREP_found && break 3
6083 if test -z "$ac_cv_path_FGREP"; then
6084 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6087 ac_cv_path_FGREP=$FGREP
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6093 $as_echo "$ac_cv_path_FGREP" >&6; }
6094 FGREP="$ac_cv_path_FGREP"
6097 test -z "$GREP" && GREP=grep
6117 # Check whether --with-gnu-ld was given.
6118 if test "${with_gnu_ld+set}" = set; then :
6119 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6125 if test "$GCC" = yes; then
6126 # Check if gcc -print-prog-name=ld gives a path.
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6128 $as_echo_n "checking for ld used by $CC... " >&6; }
6131 # gcc leaves a trailing carriage return which upsets mingw
6132 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6134 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6137 # Accept absolute paths.
6139 re_direlt='/[^/][^/]*/\.\./'
6140 # Canonicalize the pathname of ld
6141 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6142 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6143 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6145 test -z "$LD" && LD="$ac_prog"
6148 # If it fails, then pretend we aren't using GCC.
6152 # If it is relative, then search for the first ld in PATH.
6156 elif test "$with_gnu_ld" = yes; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6158 $as_echo_n "checking for GNU ld... " >&6; }
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6161 $as_echo_n "checking for non-GNU ld... " >&6; }
6163 if test "${lt_cv_path_LD+set}" = set; then :
6164 $as_echo_n "(cached) " >&6
6166 if test -z "$LD"; then
6167 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6168 for ac_dir in $PATH; do
6170 test -z "$ac_dir" && ac_dir=.
6171 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6172 lt_cv_path_LD="$ac_dir/$ac_prog"
6173 # Check to see if the program is GNU ld. I'd rather use --version,
6174 # but apparently some variants of GNU ld only accept -v.
6175 # Break only if it was the GNU/non-GNU ld that we prefer.
6176 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6177 *GNU* | *'with BFD'*)
6178 test "$with_gnu_ld" != no && break
6181 test "$with_gnu_ld" != yes && break
6188 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6193 if test -n "$LD"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6195 $as_echo "$LD" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6200 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6202 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6203 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6204 $as_echo_n "(cached) " >&6
6206 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6207 case `$LD -v 2>&1 </dev/null` in
6208 *GNU* | *'with BFD'*)
6209 lt_cv_prog_gnu_ld=yes
6212 lt_cv_prog_gnu_ld=no
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6217 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6218 with_gnu_ld=$lt_cv_prog_gnu_ld
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6229 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6230 if test "${lt_cv_path_NM+set}" = set; then :
6231 $as_echo_n "(cached) " >&6
6233 if test -n "$NM"; then
6234 # Let the user override the test.
6237 lt_nm_to_check="${ac_tool_prefix}nm"
6238 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6239 lt_nm_to_check="$lt_nm_to_check nm"
6241 for lt_tmp_nm in $lt_nm_to_check; do
6242 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6243 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6245 test -z "$ac_dir" && ac_dir=.
6246 tmp_nm="$ac_dir/$lt_tmp_nm"
6247 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6248 # Check to see if the nm accepts a BSD-compat flag.
6249 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6250 # nm: unknown option "B" ignored
6251 # Tru64's nm complains that /dev/null is an invalid object file
6252 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6253 */dev/null* | *'Invalid file or object type'*)
6254 lt_cv_path_NM="$tmp_nm -B"
6258 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6260 lt_cv_path_NM="$tmp_nm -p"
6264 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6265 continue # so that we can try to find one that supports BSD flags
6274 : ${lt_cv_path_NM=no}
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6278 $as_echo "$lt_cv_path_NM" >&6; }
6279 if test "$lt_cv_path_NM" != "no"; then
6282 # Didn't find any BSD compatible name lister, look for dumpbin.
6283 if test -n "$ac_tool_prefix"; then
6284 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6286 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6287 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6291 $as_echo_n "(cached) " >&6
6293 if test -n "$DUMPBIN"; then
6294 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 DUMPBIN=$ac_cv_prog_DUMPBIN
6314 if test -n "$DUMPBIN"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6316 $as_echo "$DUMPBIN" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6323 test -n "$DUMPBIN" && break
6326 if test -z "$DUMPBIN"; then
6327 ac_ct_DUMPBIN=$DUMPBIN
6328 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6337 if test -n "$ac_ct_DUMPBIN"; then
6338 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6358 if test -n "$ac_ct_DUMPBIN"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6360 $as_echo "$ac_ct_DUMPBIN" >&6; }
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6367 test -n "$ac_ct_DUMPBIN" && break
6370 if test "x$ac_ct_DUMPBIN" = x; then
6373 case $cross_compiling:$ac_tool_warned in
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6377 ac_tool_warned=yes ;;
6379 DUMPBIN=$ac_ct_DUMPBIN
6384 if test "$DUMPBIN" != ":"; then
6388 test -z "$NM" && NM=nm
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6396 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6397 if test "${lt_cv_nm_interface+set}" = set; then :
6398 $as_echo_n "(cached) " >&6
6400 lt_cv_nm_interface="BSD nm"
6401 echo "int some_variable = 0;" > conftest.$ac_ext
6402 (eval echo "\"\$as_me:6402: $ac_compile\"" >&5)
6403 (eval "$ac_compile" 2>conftest.err)
6404 cat conftest.err >&5
6405 (eval echo "\"\$as_me:6405: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6406 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6407 cat conftest.err >&5
6408 (eval echo "\"\$as_me:6408: output\"" >&5)
6409 cat conftest.out >&5
6410 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6411 lt_cv_nm_interface="MS dumpbin"
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6416 $as_echo "$lt_cv_nm_interface" >&6; }
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6419 $as_echo_n "checking whether ln -s works... " >&6; }
6421 if test "$LN_S" = "ln -s"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6423 $as_echo "yes" >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6426 $as_echo "no, using $LN_S" >&6; }
6429 # find the maximum length of command line arguments
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6431 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6432 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6433 $as_echo_n "(cached) " >&6
6440 # On DJGPP, this test can blow up pretty badly due to problems in libc
6441 # (any single argument exceeding 2000 bytes causes a buffer overrun
6442 # during glob expansion). Even if it were fixed, the result of this
6443 # check would be larger than it should be.
6444 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6448 # Under GNU Hurd, this test is not required because there is
6449 # no limit to the length of command line arguments.
6450 # Libtool will interpret -1 as no limit whatsoever
6451 lt_cv_sys_max_cmd_len=-1;
6454 cygwin* | mingw* | cegcc*)
6455 # On Win9x/ME, this test blows up -- it succeeds, but takes
6456 # about 5 minutes as the teststring grows exponentially.
6457 # Worse, since 9x/ME are not pre-emptively multitasking,
6458 # you end up with a "frozen" computer, even though with patience
6459 # the test eventually succeeds (with a max line length of 256k).
6460 # Instead, let's just punt: use the minimum linelength reported by
6461 # all of the supported platforms: 8192 (on NT/2K/XP).
6462 lt_cv_sys_max_cmd_len=8192;
6466 # On AmigaOS with pdksh, this test takes hours, literally.
6467 # So we just punt and use a minimum line length of 8192.
6468 lt_cv_sys_max_cmd_len=8192;
6471 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6472 # This has been around since 386BSD, at least. Likely further.
6473 if test -x /sbin/sysctl; then
6474 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6475 elif test -x /usr/sbin/sysctl; then
6476 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6478 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6480 # And add a safety zone
6481 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6482 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6486 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6487 lt_cv_sys_max_cmd_len=196608
6491 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6492 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6493 # nice to cause kernel panics so lets avoid the loop below.
6494 # First set a reasonable default.
6495 lt_cv_sys_max_cmd_len=16384
6497 if test -x /sbin/sysconfig; then
6498 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6499 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6504 lt_cv_sys_max_cmd_len=102400
6506 sysv5* | sco5v6* | sysv4.2uw2*)
6507 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6508 if test -n "$kargmax"; then
6509 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6511 lt_cv_sys_max_cmd_len=32768
6515 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6516 if test -n "$lt_cv_sys_max_cmd_len"; then
6517 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6518 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6520 # Make teststring a little bigger before we do anything with it.
6521 # a 1K string should be a reasonable start.
6522 for i in 1 2 3 4 5 6 7 8 ; do
6523 teststring=$teststring$teststring
6525 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6526 # If test is not a shell built-in, we'll probably end up computing a
6527 # maximum length that is only half of the actual maximum length, but
6529 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6530 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6531 test $i != 17 # 1/2 MB should be enough
6534 teststring=$teststring$teststring
6536 # Only check the string length outside the loop.
6537 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6539 # Add a significant safety factor because C++ compilers can tack on
6540 # massive amounts of additional arguments before passing them to the
6541 # linker. It appears as though 1/2 is a usable value.
6542 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6549 if test -n $lt_cv_sys_max_cmd_len ; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6551 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6554 $as_echo "none" >&6; }
6556 max_cmd_len=$lt_cv_sys_max_cmd_len
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6568 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6569 # Try some XSI features
6572 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6574 && eval 'test $(( 1 + 1 )) -eq 2 \
6575 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6578 $as_echo "$xsi_shell" >&6; }
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6582 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6584 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6586 && lt_shell_append=yes
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6588 $as_echo "$lt_shell_append" >&6; }
6591 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6601 # test EBCDIC or ASCII
6602 case `echo X|tr X '\101'` in
6603 A) # ASCII based system
6604 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6605 lt_SP2NL='tr \040 \012'
6606 lt_NL2SP='tr \015\012 \040\040'
6608 *) # EBCDIC based system
6609 lt_SP2NL='tr \100 \n'
6610 lt_NL2SP='tr \r\n \100\100'
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6623 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6624 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6625 $as_echo_n "(cached) " >&6
6627 lt_cv_ld_reload_flag='-r'
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6630 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6631 reload_flag=$lt_cv_ld_reload_flag
6632 case $reload_flag in
6634 *) reload_flag=" $reload_flag" ;;
6636 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6639 if test "$GCC" = yes; then
6640 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6642 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$OBJDUMP"; then
6664 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 OBJDUMP=$ac_cv_prog_OBJDUMP
6684 if test -n "$OBJDUMP"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6686 $as_echo "$OBJDUMP" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6694 if test -z "$ac_cv_prog_OBJDUMP"; then
6695 ac_ct_OBJDUMP=$OBJDUMP
6696 # Extract the first word of "objdump", so it can be a program name with args.
6697 set dummy objdump; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6701 $as_echo_n "(cached) " >&6
6703 if test -n "$ac_ct_OBJDUMP"; then
6704 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6724 if test -n "$ac_ct_OBJDUMP"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6726 $as_echo "$ac_ct_OBJDUMP" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6732 if test "x$ac_ct_OBJDUMP" = x; then
6735 case $cross_compiling:$ac_tool_warned in
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6741 OBJDUMP=$ac_ct_OBJDUMP
6744 OBJDUMP="$ac_cv_prog_OBJDUMP"
6747 test -z "$OBJDUMP" && OBJDUMP=objdump
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6755 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6756 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6757 $as_echo_n "(cached) " >&6
6759 lt_cv_file_magic_cmd='$MAGIC_CMD'
6760 lt_cv_file_magic_test_file=
6761 lt_cv_deplibs_check_method='unknown'
6762 # Need to set the preceding variable on all platforms that support
6763 # interlibrary dependencies.
6764 # 'none' -- dependencies not supported.
6765 # `unknown' -- same as none, but documents that we really don't know.
6766 # 'pass_all' -- all dependencies passed with no checks.
6767 # 'test_compile' -- check by making test program.
6768 # 'file_magic [[regex]]' -- check by looking for files in library path
6769 # which responds to the $file_magic_cmd with a given extended regex.
6770 # If you have `file' or equivalent on your system and you're not sure
6771 # whether `pass_all' will *always* work, you probably want this one.
6775 lt_cv_deplibs_check_method=pass_all
6779 lt_cv_deplibs_check_method=pass_all
6783 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6784 lt_cv_file_magic_cmd='/usr/bin/file -L'
6785 lt_cv_file_magic_test_file=/shlib/libc.so
6789 # func_win32_libid is a shell function defined in ltmain.sh
6790 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6791 lt_cv_file_magic_cmd='func_win32_libid'
6795 # Base MSYS/MinGW do not provide the 'file' command needed by
6796 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6797 # unless we find 'file', for example because we are cross-compiling.
6798 if ( file / ) >/dev/null 2>&1; then
6799 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6800 lt_cv_file_magic_cmd='func_win32_libid'
6802 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6803 lt_cv_file_magic_cmd='$OBJDUMP -f'
6808 # use the weaker test based on 'objdump'. See mingw*.
6809 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6810 lt_cv_file_magic_cmd='$OBJDUMP -f'
6813 darwin* | rhapsody*)
6814 lt_cv_deplibs_check_method=pass_all
6817 freebsd* | dragonfly*)
6818 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6821 # Not sure whether the presence of OpenBSD here was a mistake.
6822 # Let's accept both of them until this is cleared up.
6823 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6824 lt_cv_file_magic_cmd=/usr/bin/file
6825 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6829 lt_cv_deplibs_check_method=pass_all
6834 lt_cv_deplibs_check_method=pass_all
6837 hpux10.20* | hpux11*)
6838 lt_cv_file_magic_cmd=/usr/bin/file
6841 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6842 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6845 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6846 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6849 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6850 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6856 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6857 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6860 irix5* | irix6* | nonstopux*)
6862 *-32|*"-32 ") libmagic=32-bit;;
6863 *-n32|*"-n32 ") libmagic=N32;;
6864 *-64|*"-64 ") libmagic=64-bit;;
6865 *) libmagic=never-match;;
6867 lt_cv_deplibs_check_method=pass_all
6870 # This must be Linux ELF.
6871 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6872 lt_cv_deplibs_check_method=pass_all
6875 netbsd* | netbsdelf*-gnu)
6876 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6877 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6879 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6884 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6885 lt_cv_file_magic_cmd=/usr/bin/file
6886 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6890 lt_cv_deplibs_check_method=pass_all
6894 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6895 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6897 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6901 osf3* | osf4* | osf5*)
6902 lt_cv_deplibs_check_method=pass_all
6906 lt_cv_deplibs_check_method=pass_all
6910 lt_cv_deplibs_check_method=pass_all
6913 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6914 lt_cv_deplibs_check_method=pass_all
6918 case $host_vendor in
6920 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]'
6921 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6924 lt_cv_deplibs_check_method=pass_all
6927 lt_cv_file_magic_cmd='/bin/file'
6928 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6931 lt_cv_file_magic_cmd='/bin/file'
6932 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6933 lt_cv_file_magic_test_file=/lib/libc.so
6936 lt_cv_deplibs_check_method=pass_all
6939 lt_cv_deplibs_check_method=pass_all
6945 lt_cv_deplibs_check_method=pass_all
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6951 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6952 file_magic_cmd=$lt_cv_file_magic_cmd
6953 deplibs_check_method=$lt_cv_deplibs_check_method
6954 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6967 if test -n "$ac_tool_prefix"; then
6968 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6969 set dummy ${ac_tool_prefix}ar; ac_word=$2
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6971 $as_echo_n "checking for $ac_word... " >&6; }
6972 if test "${ac_cv_prog_AR+set}" = set; then :
6973 $as_echo_n "(cached) " >&6
6975 if test -n "$AR"; then
6976 ac_cv_prog_AR="$AR" # Let the user override the test.
6978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir=.
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985 ac_cv_prog_AR="${ac_tool_prefix}ar"
6986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996 if test -n "$AR"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6998 $as_echo "$AR" >&6; }
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 $as_echo "no" >&6; }
7006 if test -z "$ac_cv_prog_AR"; then
7008 # Extract the first word of "ar", so it can be a program name with args.
7009 set dummy ar; ac_word=$2
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7013 $as_echo_n "(cached) " >&6
7015 if test -n "$ac_ct_AR"; then
7016 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 test -z "$as_dir" && as_dir=.
7023 for ac_exec_ext in '' $ac_executable_extensions; do
7024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7025 ac_cv_prog_ac_ct_AR="ar"
7026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7036 if test -n "$ac_ct_AR"; then
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7038 $as_echo "$ac_ct_AR" >&6; }
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7041 $as_echo "no" >&6; }
7044 if test "x$ac_ct_AR" = x; then
7047 case $cross_compiling:$ac_tool_warned in
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7051 ac_tool_warned=yes ;;
7059 test -z "$AR" && AR=ar
7060 test -z "$AR_FLAGS" && AR_FLAGS=cru
7072 if test -n "$ac_tool_prefix"; then
7073 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7074 set dummy ${ac_tool_prefix}strip; ac_word=$2
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 $as_echo_n "checking for $ac_word... " >&6; }
7077 if test "${ac_cv_prog_STRIP+set}" = set; then :
7078 $as_echo_n "(cached) " >&6
7080 if test -n "$STRIP"; then
7081 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100 STRIP=$ac_cv_prog_STRIP
7101 if test -n "$STRIP"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7103 $as_echo "$STRIP" >&6; }
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7106 $as_echo "no" >&6; }
7111 if test -z "$ac_cv_prog_STRIP"; then
7113 # Extract the first word of "strip", so it can be a program name with args.
7114 set dummy strip; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 $as_echo_n "checking for $ac_word... " >&6; }
7117 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7118 $as_echo_n "(cached) " >&6
7120 if test -n "$ac_ct_STRIP"; then
7121 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130 ac_cv_prog_ac_ct_STRIP="strip"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7140 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7141 if test -n "$ac_ct_STRIP"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7143 $as_echo "$ac_ct_STRIP" >&6; }
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 $as_echo "no" >&6; }
7149 if test "x$ac_ct_STRIP" = x; then
7152 case $cross_compiling:$ac_tool_warned in
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7156 ac_tool_warned=yes ;;
7161 STRIP="$ac_cv_prog_STRIP"
7164 test -z "$STRIP" && STRIP=:
7171 if test -n "$ac_tool_prefix"; then
7172 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7173 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7177 $as_echo_n "(cached) " >&6
7179 if test -n "$RANLIB"; then
7180 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7186 test -z "$as_dir" && as_dir=.
7187 for ac_exec_ext in '' $ac_executable_extensions; do
7188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7189 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199 RANLIB=$ac_cv_prog_RANLIB
7200 if test -n "$RANLIB"; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7202 $as_echo "$RANLIB" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7210 if test -z "$ac_cv_prog_RANLIB"; then
7211 ac_ct_RANLIB=$RANLIB
7212 # Extract the first word of "ranlib", so it can be a program name with args.
7213 set dummy ranlib; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 $as_echo_n "checking for $ac_word... " >&6; }
7216 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7217 $as_echo_n "(cached) " >&6
7219 if test -n "$ac_ct_RANLIB"; then
7220 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 test -z "$as_dir" && as_dir=.
7227 for ac_exec_ext in '' $ac_executable_extensions; do
7228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7229 ac_cv_prog_ac_ct_RANLIB="ranlib"
7230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7240 if test -n "$ac_ct_RANLIB"; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7242 $as_echo "$ac_ct_RANLIB" >&6; }
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245 $as_echo "no" >&6; }
7248 if test "x$ac_ct_RANLIB" = x; then
7251 case $cross_compiling:$ac_tool_warned in
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7255 ac_tool_warned=yes ;;
7257 RANLIB=$ac_ct_RANLIB
7260 RANLIB="$ac_cv_prog_RANLIB"
7263 test -z "$RANLIB" && RANLIB=:
7270 # Determine commands to create old-style static archives.
7271 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7272 old_postinstall_cmds='chmod 644 $oldlib'
7273 old_postuninstall_cmds=
7275 if test -n "$RANLIB"; then
7278 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7281 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7284 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7320 # If no C compiler was specified, use CC.
7323 # If no C compiler flags were specified, use CFLAGS.
7324 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7326 # Allow CC to be a program name with arguments.
7330 # Check for command to grab the raw symbol name followed by C symbol from nm.
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7332 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7333 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7334 $as_echo_n "(cached) " >&6
7337 # These are sane defaults that work on at least a few old systems.
7338 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7340 # Character class describing NM global symbol codes.
7341 symcode='[BCDEGRST]'
7343 # Regexp to match symbols that can be accessed directly from C.
7344 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7346 # Define system-specific variables.
7351 cygwin* | mingw* | pw32* | cegcc*)
7352 symcode='[ABCDGISTW]'
7355 if test "$host_cpu" = ia64; then
7356 symcode='[ABCDEGRST]'
7360 symcode='[BCDEGRST]'
7363 symcode='[BCDEGQRST]'
7374 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7382 # If we're using GNU nm, then use its standard symbol codes.
7383 case `$NM -V 2>&1` in
7384 *GNU* | *'with BFD'*)
7385 symcode='[ABCDGIRSTW]' ;;
7388 # Transform an extracted symbol line into a proper C declaration.
7389 # Some systems (esp. on ia64) link data and code symbols differently,
7390 # so use this general approach.
7391 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7393 # Transform an extracted symbol line into symbol name and symbol address
7394 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7395 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'"
7397 # Handle CRLF in mingw tool chain
7401 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7405 # Try without a prefix underscore, then with it.
7406 for ac_symprfx in "" "_"; do
7408 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7409 symxfrm="\\1 $ac_symprfx\\2 \\2"
7411 # Write the raw and C identifiers.
7412 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7413 # Fake it for dumpbin and say T for any non-static function
7414 # and D for any global variable.
7415 # Also find C++ and __fastcall symbols from MSVC++,
7416 # which start with @ or ?.
7417 lt_cv_sys_global_symbol_pipe="$AWK '"\
7418 " {last_section=section; section=\$ 3};"\
7419 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7420 " \$ 0!~/External *\|/{next};"\
7421 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7422 " {if(hide[section]) next};"\
7423 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7424 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7425 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7426 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7427 " ' prfx=^$ac_symprfx"
7429 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7432 # Check to see that the pipe works correctly.
7436 cat > conftest.$ac_ext <<_LT_EOF
7441 void nm_test_func(void);
7442 void nm_test_func(void){}
7446 int main(){nm_test_var='a';nm_test_func();return(0);}
7449 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7450 (eval $ac_compile) 2>&5
7452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7453 test $ac_status = 0; }; then
7454 # Now try to grab the symbols.
7456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7457 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7460 test $ac_status = 0; } && test -s "$nlist"; then
7461 # Try sorting and uniquifying the output.
7462 if sort "$nlist" | uniq > "$nlist"T; then
7463 mv -f "$nlist"T "$nlist"
7468 # Make sure that we snagged all the symbols we need.
7469 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7470 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7471 cat <<_LT_EOF > conftest.$ac_ext
7477 # Now generate the symbol file.
7478 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7480 cat <<_LT_EOF >> conftest.$ac_ext
7482 /* The mapping between symbol names and symbols. */
7487 lt__PROGRAM__LTX_preloaded_symbols[] =
7489 { "@PROGRAM@", (void *) 0 },
7491 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7492 cat <<\_LT_EOF >> conftest.$ac_ext
7496 /* This works around a problem in FreeBSD linker */
7497 #ifdef FREEBSD_WORKAROUND
7498 static const void *lt_preloaded_setup() {
7499 return lt__PROGRAM__LTX_preloaded_symbols;
7507 # Now try linking the two files.
7508 mv conftest.$ac_objext conftstm.$ac_objext
7509 lt_save_LIBS="$LIBS"
7510 lt_save_CFLAGS="$CFLAGS"
7511 LIBS="conftstm.$ac_objext"
7512 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7514 (eval $ac_link) 2>&5
7516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7517 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7520 LIBS="$lt_save_LIBS"
7521 CFLAGS="$lt_save_CFLAGS"
7523 echo "cannot find nm_test_func in $nlist" >&5
7526 echo "cannot find nm_test_var in $nlist" >&5
7529 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7532 echo "$progname: failed program was:" >&5
7533 cat conftest.$ac_ext >&5
7535 rm -rf conftest* conftst*
7537 # Do not use the global_symbol_pipe unless it works.
7538 if test "$pipe_works" = yes; then
7541 lt_cv_sys_global_symbol_pipe=
7547 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7548 lt_cv_sys_global_symbol_to_cdecl=
7550 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7552 $as_echo "failed" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7555 $as_echo "ok" >&6; }
7579 # Check whether --enable-libtool-lock was given.
7580 if test "${enable_libtool_lock+set}" = set; then :
7581 enableval=$enable_libtool_lock;
7584 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7586 # Some flags need to be propagated to the compiler or linker for good
7590 # Find out which ABI we are using.
7591 echo 'int i;' > conftest.$ac_ext
7592 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7593 (eval $ac_compile) 2>&5
7595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7596 test $ac_status = 0; }; then
7597 case `/usr/bin/file conftest.$ac_objext` in
7609 # Find out which ABI we are using.
7610 echo '#line 7610 "configure"' > conftest.$ac_ext
7611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7612 (eval $ac_compile) 2>&5
7614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7615 test $ac_status = 0; }; then
7616 if test "$lt_cv_prog_gnu_ld" = yes; then
7617 case `/usr/bin/file conftest.$ac_objext` in
7619 LD="${LD-ld} -melf32bsmip"
7622 LD="${LD-ld} -melf32bmipn32"
7625 LD="${LD-ld} -melf64bmip"
7629 case `/usr/bin/file conftest.$ac_objext` in
7645 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7646 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7647 # Find out which ABI we are using.
7648 echo 'int i;' > conftest.$ac_ext
7649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7650 (eval $ac_compile) 2>&5
7652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7653 test $ac_status = 0; }; then
7654 case `/usr/bin/file conftest.o` in
7657 x86_64-*kfreebsd*-gnu)
7658 LD="${LD-ld} -m elf_i386_fbsd"
7661 LD="${LD-ld} -m elf_i386"
7663 ppc64-*linux*|powerpc64-*linux*)
7664 LD="${LD-ld} -m elf32ppclinux"
7667 LD="${LD-ld} -m elf_s390"
7670 LD="${LD-ld} -m elf32_sparc"
7676 x86_64-*kfreebsd*-gnu)
7677 LD="${LD-ld} -m elf_x86_64_fbsd"
7680 LD="${LD-ld} -m elf_x86_64"
7682 ppc*-*linux*|powerpc*-*linux*)
7683 LD="${LD-ld} -m elf64ppc"
7685 s390*-*linux*|s390*-*tpf*)
7686 LD="${LD-ld} -m elf64_s390"
7689 LD="${LD-ld} -m elf64_sparc"
7699 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7700 SAVE_CFLAGS="$CFLAGS"
7701 CFLAGS="$CFLAGS -belf"
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7703 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7704 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7705 $as_echo_n "(cached) " >&6
7708 ac_cpp='$CPP $CPPFLAGS'
7709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7724 if ac_fn_c_try_link "$LINENO"; then :
7725 lt_cv_cc_needs_belf=yes
7727 lt_cv_cc_needs_belf=no
7729 rm -f core conftest.err conftest.$ac_objext \
7730 conftest$ac_exeext conftest.$ac_ext
7732 ac_cpp='$CPP $CPPFLAGS'
7733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7739 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7740 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7741 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7742 CFLAGS="$SAVE_CFLAGS"
7746 # Find out which ABI we are using.
7747 echo 'int i;' > conftest.$ac_ext
7748 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7749 (eval $ac_compile) 2>&5
7751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7752 test $ac_status = 0; }; then
7753 case `/usr/bin/file conftest.o` in
7755 case $lt_cv_prog_gnu_ld in
7756 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7758 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7770 need_locks="$enable_libtool_lock"
7774 rhapsody* | darwin*)
7775 if test -n "$ac_tool_prefix"; then
7776 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7777 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7779 $as_echo_n "checking for $ac_word... " >&6; }
7780 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7781 $as_echo_n "(cached) " >&6
7783 if test -n "$DSYMUTIL"; then
7784 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7790 test -z "$as_dir" && as_dir=.
7791 for ac_exec_ext in '' $ac_executable_extensions; do
7792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7793 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7803 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7804 if test -n "$DSYMUTIL"; then
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7806 $as_echo "$DSYMUTIL" >&6; }
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7809 $as_echo "no" >&6; }
7814 if test -z "$ac_cv_prog_DSYMUTIL"; then
7815 ac_ct_DSYMUTIL=$DSYMUTIL
7816 # Extract the first word of "dsymutil", so it can be a program name with args.
7817 set dummy dsymutil; ac_word=$2
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7819 $as_echo_n "checking for $ac_word... " >&6; }
7820 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7821 $as_echo_n "(cached) " >&6
7823 if test -n "$ac_ct_DSYMUTIL"; then
7824 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 test -z "$as_dir" && as_dir=.
7831 for ac_exec_ext in '' $ac_executable_extensions; do
7832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7833 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7843 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7844 if test -n "$ac_ct_DSYMUTIL"; then
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7846 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7849 $as_echo "no" >&6; }
7852 if test "x$ac_ct_DSYMUTIL" = x; then
7855 case $cross_compiling:$ac_tool_warned in
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7859 ac_tool_warned=yes ;;
7861 DSYMUTIL=$ac_ct_DSYMUTIL
7864 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7867 if test -n "$ac_tool_prefix"; then
7868 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7869 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7871 $as_echo_n "checking for $ac_word... " >&6; }
7872 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7873 $as_echo_n "(cached) " >&6
7875 if test -n "$NMEDIT"; then
7876 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7882 test -z "$as_dir" && as_dir=.
7883 for ac_exec_ext in '' $ac_executable_extensions; do
7884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7885 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 NMEDIT=$ac_cv_prog_NMEDIT
7896 if test -n "$NMEDIT"; then
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7898 $as_echo "$NMEDIT" >&6; }
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7901 $as_echo "no" >&6; }
7906 if test -z "$ac_cv_prog_NMEDIT"; then
7907 ac_ct_NMEDIT=$NMEDIT
7908 # Extract the first word of "nmedit", so it can be a program name with args.
7909 set dummy nmedit; ac_word=$2
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7911 $as_echo_n "checking for $ac_word... " >&6; }
7912 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7913 $as_echo_n "(cached) " >&6
7915 if test -n "$ac_ct_NMEDIT"; then
7916 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922 test -z "$as_dir" && as_dir=.
7923 for ac_exec_ext in '' $ac_executable_extensions; do
7924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7925 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7936 if test -n "$ac_ct_NMEDIT"; then
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7938 $as_echo "$ac_ct_NMEDIT" >&6; }
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7941 $as_echo "no" >&6; }
7944 if test "x$ac_ct_NMEDIT" = x; then
7947 case $cross_compiling:$ac_tool_warned in
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7951 ac_tool_warned=yes ;;
7953 NMEDIT=$ac_ct_NMEDIT
7956 NMEDIT="$ac_cv_prog_NMEDIT"
7959 if test -n "$ac_tool_prefix"; then
7960 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7961 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if test "${ac_cv_prog_LIPO+set}" = set; then :
7965 $as_echo_n "(cached) " >&6
7967 if test -n "$LIPO"; then
7968 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7977 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 LIPO=$ac_cv_prog_LIPO
7988 if test -n "$LIPO"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7990 $as_echo "$LIPO" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7998 if test -z "$ac_cv_prog_LIPO"; then
8000 # Extract the first word of "lipo", so it can be a program name with args.
8001 set dummy lipo; ac_word=$2
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8003 $as_echo_n "checking for $ac_word... " >&6; }
8004 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8005 $as_echo_n "(cached) " >&6
8007 if test -n "$ac_ct_LIPO"; then
8008 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8014 test -z "$as_dir" && as_dir=.
8015 for ac_exec_ext in '' $ac_executable_extensions; do
8016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8017 ac_cv_prog_ac_ct_LIPO="lipo"
8018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8028 if test -n "$ac_ct_LIPO"; then
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8030 $as_echo "$ac_ct_LIPO" >&6; }
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8033 $as_echo "no" >&6; }
8036 if test "x$ac_ct_LIPO" = x; then
8039 case $cross_compiling:$ac_tool_warned in
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8043 ac_tool_warned=yes ;;
8048 LIPO="$ac_cv_prog_LIPO"
8051 if test -n "$ac_tool_prefix"; then
8052 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8053 set dummy ${ac_tool_prefix}otool; ac_word=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8057 $as_echo_n "(cached) " >&6
8059 if test -n "$OTOOL"; then
8060 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir=.
8067 for ac_exec_ext in '' $ac_executable_extensions; do
8068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8069 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 OTOOL=$ac_cv_prog_OTOOL
8080 if test -n "$OTOOL"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8082 $as_echo "$OTOOL" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8090 if test -z "$ac_cv_prog_OTOOL"; then
8092 # Extract the first word of "otool", so it can be a program name with args.
8093 set dummy otool; ac_word=$2
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8095 $as_echo_n "checking for $ac_word... " >&6; }
8096 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8097 $as_echo_n "(cached) " >&6
8099 if test -n "$ac_ct_OTOOL"; then
8100 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir=.
8107 for ac_exec_ext in '' $ac_executable_extensions; do
8108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8109 ac_cv_prog_ac_ct_OTOOL="otool"
8110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8120 if test -n "$ac_ct_OTOOL"; then
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8122 $as_echo "$ac_ct_OTOOL" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8128 if test "x$ac_ct_OTOOL" = x; then
8131 case $cross_compiling:$ac_tool_warned in
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8135 ac_tool_warned=yes ;;
8140 OTOOL="$ac_cv_prog_OTOOL"
8143 if test -n "$ac_tool_prefix"; then
8144 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8145 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8147 $as_echo_n "checking for $ac_word... " >&6; }
8148 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8149 $as_echo_n "(cached) " >&6
8151 if test -n "$OTOOL64"; then
8152 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 test -z "$as_dir" && as_dir=.
8159 for ac_exec_ext in '' $ac_executable_extensions; do
8160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8161 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 OTOOL64=$ac_cv_prog_OTOOL64
8172 if test -n "$OTOOL64"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8174 $as_echo "$OTOOL64" >&6; }
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8182 if test -z "$ac_cv_prog_OTOOL64"; then
8183 ac_ct_OTOOL64=$OTOOL64
8184 # Extract the first word of "otool64", so it can be a program name with args.
8185 set dummy otool64; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8189 $as_echo_n "(cached) " >&6
8191 if test -n "$ac_ct_OTOOL64"; then
8192 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8201 ac_cv_prog_ac_ct_OTOOL64="otool64"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8212 if test -n "$ac_ct_OTOOL64"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8214 $as_echo "$ac_ct_OTOOL64" >&6; }
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8217 $as_echo "no" >&6; }
8220 if test "x$ac_ct_OTOOL64" = x; then
8223 case $cross_compiling:$ac_tool_warned in
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8227 ac_tool_warned=yes ;;
8229 OTOOL64=$ac_ct_OTOOL64
8232 OTOOL64="$ac_cv_prog_OTOOL64"
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8262 $as_echo_n "checking for -single_module linker flag... " >&6; }
8263 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8264 $as_echo_n "(cached) " >&6
8266 lt_cv_apple_cc_single_mod=no
8267 if test -z "${LT_MULTI_MODULE}"; then
8268 # By default we will add the -single_module flag. You can override
8269 # by either setting the environment variable LT_MULTI_MODULE
8270 # non-empty at configure time, or by adding -multi_module to the
8272 rm -rf libconftest.dylib*
8273 echo "int foo(void){return 1;}" > conftest.c
8274 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8275 -dynamiclib -Wl,-single_module conftest.c" >&5
8276 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8277 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8279 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8280 lt_cv_apple_cc_single_mod=yes
8282 cat conftest.err >&5
8284 rm -rf libconftest.dylib*
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8289 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8291 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8292 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8293 $as_echo_n "(cached) " >&6
8295 lt_cv_ld_exported_symbols_list=no
8296 save_LDFLAGS=$LDFLAGS
8297 echo "_main" > conftest.sym
8298 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8310 if ac_fn_c_try_link "$LINENO"; then :
8311 lt_cv_ld_exported_symbols_list=yes
8313 lt_cv_ld_exported_symbols_list=no
8315 rm -f core conftest.err conftest.$ac_objext \
8316 conftest$ac_exeext conftest.$ac_ext
8317 LDFLAGS="$save_LDFLAGS"
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8321 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8323 rhapsody* | darwin1.[012])
8324 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8326 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8327 darwin*) # darwin 5.x on
8328 # if running on 10.5 or later, the deployment target defaults
8329 # to the OS version, if on x86, and 10.4, the deployment
8330 # target defaults to 10.4. Don't you love it?
8331 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8332 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8333 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8335 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8337 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8341 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8342 _lt_dar_single_mod='$single_module'
8344 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8345 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8347 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8349 if test "$DSYMUTIL" != ":"; then
8350 _lt_dsymutil='~$DSYMUTIL $lib || :'
8357 for ac_header in dlfcn.h
8359 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8361 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8362 cat >>confdefs.h <<_ACEOF
8363 #define HAVE_DLFCN_H 1
8380 # Check whether --enable-shared was given.
8381 if test "${enable_shared+set}" = set; then :
8382 enableval=$enable_shared; p=${PACKAGE-default}
8384 yes) enable_shared=yes ;;
8385 no) enable_shared=no ;;
8388 # Look at the argument we got. We use all the common list separators.
8389 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8390 for pkg in $enableval; do
8392 if test "X$pkg" = "X$p"; then
8411 # Check whether --enable-static was given.
8412 if test "${enable_static+set}" = set; then :
8413 enableval=$enable_static; p=${PACKAGE-default}
8415 yes) enable_static=yes ;;
8416 no) enable_static=no ;;
8419 # Look at the argument we got. We use all the common list separators.
8420 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8421 for pkg in $enableval; do
8423 if test "X$pkg" = "X$p"; then
8443 # Check whether --with-pic was given.
8444 if test "${with_pic+set}" = set; then :
8445 withval=$with_pic; pic_mode="$withval"
8451 test -z "$pic_mode" && pic_mode=default
8459 # Check whether --enable-fast-install was given.
8460 if test "${enable_fast_install+set}" = set; then :
8461 enableval=$enable_fast_install; p=${PACKAGE-default}
8463 yes) enable_fast_install=yes ;;
8464 no) enable_fast_install=no ;;
8466 enable_fast_install=no
8467 # Look at the argument we got. We use all the common list separators.
8468 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8469 for pkg in $enableval; do
8471 if test "X$pkg" = "X$p"; then
8472 enable_fast_install=yes
8479 enable_fast_install=yes
8492 # This can be used to rebuild libtool when needed
8493 LIBTOOL_DEPS="$ltmain"
8495 # Always use our own libtool.
8496 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8522 test -z "$LN_S" && LN_S="ln -s"
8537 if test -n "${ZSH_VERSION+set}" ; then
8538 setopt NO_GLOB_SUBST
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8542 $as_echo_n "checking for objdir... " >&6; }
8543 if test "${lt_cv_objdir+set}" = set; then :
8544 $as_echo_n "(cached) " >&6
8546 rm -f .libs 2>/dev/null
8547 mkdir .libs 2>/dev/null
8548 if test -d .libs; then
8551 # MS-DOS does not allow filenames that begin with a dot.
8554 rmdir .libs 2>/dev/null
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8557 $as_echo "$lt_cv_objdir" >&6; }
8558 objdir=$lt_cv_objdir
8564 cat >>confdefs.h <<_ACEOF
8565 #define LT_OBJDIR "$lt_cv_objdir/"
8586 # AIX sometimes has problems with the GCC collect2 program. For some
8587 # reason, if we set the COLLECT_NAMES environment variable, the problems
8588 # vanish in a puff of smoke.
8589 if test "X${COLLECT_NAMES+set}" != Xset; then
8591 export COLLECT_NAMES
8596 # Sed substitution that helps us do robust quoting. It backslashifies
8597 # metacharacters that are still active within double-quoted strings.
8598 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8600 # Same as above, but do not quote variable references.
8601 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8603 # Sed substitution to delay expansion of an escaped shell variable in a
8604 # double_quote_subst'ed string.
8605 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8607 # Sed substitution to delay expansion of an escaped single quote.
8608 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8610 # Sed substitution to avoid accidental globbing in evaled expressions
8611 no_glob_subst='s/\*/\\\*/g'
8615 can_build_shared=yes
8617 # All known linkers require a `.a' archive for static linking (except MSVC,
8618 # which needs '.lib').
8621 with_gnu_ld="$lt_cv_prog_gnu_ld"
8624 old_CFLAGS="$CFLAGS"
8626 # Set sane defaults for various variables
8627 test -z "$CC" && CC=cc
8628 test -z "$LTCC" && LTCC=$CC
8629 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8630 test -z "$LD" && LD=ld
8631 test -z "$ac_objext" && ac_objext=o
8633 for cc_temp in $compiler""; do
8635 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8636 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8641 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8644 # Only perform the check for file, if the check method requires it
8645 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8646 case $deplibs_check_method in
8648 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8650 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8651 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8652 $as_echo_n "(cached) " >&6
8656 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8659 lt_save_MAGIC_CMD="$MAGIC_CMD"
8660 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8661 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8662 for ac_dir in $ac_dummy; do
8664 test -z "$ac_dir" && ac_dir=.
8665 if test -f $ac_dir/${ac_tool_prefix}file; then
8666 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8667 if test -n "$file_magic_test_file"; then
8668 case $deplibs_check_method in
8670 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8671 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8672 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8673 $EGREP "$file_magic_regex" > /dev/null; then
8678 *** Warning: the command libtool uses to detect shared libraries,
8679 *** $file_magic_cmd, produces output that libtool cannot recognize.
8680 *** The result is that libtool may fail to recognize shared libraries
8681 *** as such. This will affect the creation of libtool libraries that
8682 *** depend on shared libraries, but programs linked with such libtool
8683 *** libraries will work regardless of this problem. Nevertheless, you
8684 *** may want to report the problem to your system manager and/or to
8685 *** bug-libtool@gnu.org
8695 MAGIC_CMD="$lt_save_MAGIC_CMD"
8700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8701 if test -n "$MAGIC_CMD"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8703 $as_echo "$MAGIC_CMD" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8713 if test -z "$lt_cv_path_MAGIC_CMD"; then
8714 if test -n "$ac_tool_prefix"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8716 $as_echo_n "checking for file... " >&6; }
8717 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8718 $as_echo_n "(cached) " >&6
8722 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8725 lt_save_MAGIC_CMD="$MAGIC_CMD"
8726 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8727 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8728 for ac_dir in $ac_dummy; do
8730 test -z "$ac_dir" && ac_dir=.
8731 if test -f $ac_dir/file; then
8732 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8733 if test -n "$file_magic_test_file"; then
8734 case $deplibs_check_method in
8736 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8737 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8738 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8739 $EGREP "$file_magic_regex" > /dev/null; then
8744 *** Warning: the command libtool uses to detect shared libraries,
8745 *** $file_magic_cmd, produces output that libtool cannot recognize.
8746 *** The result is that libtool may fail to recognize shared libraries
8747 *** as such. This will affect the creation of libtool libraries that
8748 *** depend on shared libraries, but programs linked with such libtool
8749 *** libraries will work regardless of this problem. Nevertheless, you
8750 *** may want to report the problem to your system manager and/or to
8751 *** bug-libtool@gnu.org
8761 MAGIC_CMD="$lt_save_MAGIC_CMD"
8766 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8767 if test -n "$MAGIC_CMD"; then
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8769 $as_echo "$MAGIC_CMD" >&6; }
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8772 $as_echo "no" >&6; }
8785 # Use C for the default configuration in the libtool script
8789 ac_cpp='$CPP $CPPFLAGS'
8790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8795 # Source file extension for C test sources.
8798 # Object file extension for compiled C test sources.
8802 # Code to be used in simple compile tests
8803 lt_simple_compile_test_code="int some_variable = 0;"
8805 # Code to be used in simple link tests
8806 lt_simple_link_test_code='int main(){return(0);}'
8814 # If no C compiler was specified, use CC.
8817 # If no C compiler flags were specified, use CFLAGS.
8818 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8820 # Allow CC to be a program name with arguments.
8823 # Save the default compiler, since it gets overwritten when the other
8824 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8825 compiler_DEFAULT=$CC
8827 # save warnings/boilerplate of simple test code
8828 ac_outfile=conftest.$ac_objext
8829 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8830 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8831 _lt_compiler_boilerplate=`cat conftest.err`
8834 ac_outfile=conftest.$ac_objext
8835 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8836 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8837 _lt_linker_boilerplate=`cat conftest.err`
8842 ## There is no encapsulation within the following macros, do not change
8843 ## the running order or otherwise move them around unless you know exactly
8844 ## what you are doing...
8845 if test -n "$compiler"; then
8847 lt_prog_compiler_no_builtin_flag=
8849 if test "$GCC" = yes; then
8850 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8853 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8854 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8855 $as_echo_n "(cached) " >&6
8857 lt_cv_prog_compiler_rtti_exceptions=no
8858 ac_outfile=conftest.$ac_objext
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8860 lt_compiler_flag="-fno-rtti -fno-exceptions"
8861 # Insert the option either (1) after the last *FLAGS variable, or
8862 # (2) before a word containing "conftest.", or (3) at the end.
8863 # Note that $ac_compile itself does not contain backslashes and begins
8864 # with a dollar sign (not a hyphen), so the echo should work correctly.
8865 # The option is referenced via a variable to avoid confusing sed.
8866 lt_compile=`echo "$ac_compile" | $SED \
8867 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8868 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8869 -e 's:$: $lt_compiler_flag:'`
8870 (eval echo "\"\$as_me:8870: $lt_compile\"" >&5)
8871 (eval "$lt_compile" 2>conftest.err)
8873 cat conftest.err >&5
8874 echo "$as_me:8874: \$? = $ac_status" >&5
8875 if (exit $ac_status) && test -s "$ac_outfile"; then
8876 # The compiler can only warn and ignore the option if not recognized
8877 # So say no if there are warnings other than the usual output.
8878 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8879 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8880 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8881 lt_cv_prog_compiler_rtti_exceptions=yes
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8888 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8890 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8891 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8903 lt_prog_compiler_wl=
8904 lt_prog_compiler_pic=
8905 lt_prog_compiler_static=
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8908 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8910 if test "$GCC" = yes; then
8911 lt_prog_compiler_wl='-Wl,'
8912 lt_prog_compiler_static='-static'
8916 # All AIX code is PIC.
8917 if test "$host_cpu" = ia64; then
8918 # AIX 5 now supports IA64 processor
8919 lt_prog_compiler_static='-Bstatic'
8926 # see comment about AmigaOS4 .so support
8927 lt_prog_compiler_pic='-fPIC'
8930 # FIXME: we need at least 68020 code to build shared libraries, but
8931 # adding the `-m68020' flag to GCC prevents building anything better,
8933 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8938 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8939 # PIC is the default for these OSes.
8942 mingw* | cygwin* | pw32* | os2* | cegcc*)
8943 # This hack is so that the source file can tell whether it is being
8944 # built for inclusion in a dll (and should export symbols for example).
8945 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8946 # (--disable-auto-import) libraries
8947 lt_prog_compiler_pic='-DDLL_EXPORT'
8950 darwin* | rhapsody*)
8951 # PIC is the default on this platform
8952 # Common symbols not allowed in MH_DYLIB files
8953 lt_prog_compiler_pic='-fno-common'
8957 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8958 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8959 # sets the default TLS model and affects inlining.
8965 lt_prog_compiler_pic='-fPIC'
8971 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8972 # Instead, we relocate shared libraries at runtime.
8976 # Just because we use GCC doesn't mean we suddenly get shared libraries
8977 # on systems that don't support them.
8978 lt_prog_compiler_can_build_shared=no
8983 # QNX uses GNU C++, but need to define -shared option too, otherwise
8985 lt_prog_compiler_pic='-fPIC -shared'
8989 if test -d /usr/nec; then
8990 lt_prog_compiler_pic=-Kconform_pic
8995 lt_prog_compiler_pic='-fPIC'
8999 # PORTME Check for flag to pass linker flags through the system compiler.
9002 lt_prog_compiler_wl='-Wl,'
9003 if test "$host_cpu" = ia64; then
9004 # AIX 5 now supports IA64 processor
9005 lt_prog_compiler_static='-Bstatic'
9007 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9011 mingw* | cygwin* | pw32* | os2* | cegcc*)
9012 # This hack is so that the source file can tell whether it is being
9013 # built for inclusion in a dll (and should export symbols for example).
9014 lt_prog_compiler_pic='-DDLL_EXPORT'
9017 hpux9* | hpux10* | hpux11*)
9018 lt_prog_compiler_wl='-Wl,'
9019 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9026 lt_prog_compiler_pic='+Z'
9029 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9030 lt_prog_compiler_static='${wl}-a ${wl}archive'
9033 irix5* | irix6* | nonstopux*)
9034 lt_prog_compiler_wl='-Wl,'
9035 # PIC (with -KPIC) is the default.
9036 lt_prog_compiler_static='-non_shared'
9039 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9040 case $cc_basename in
9041 # old Intel for x86_64 which still supported -KPIC.
9043 lt_prog_compiler_wl='-Wl,'
9044 lt_prog_compiler_pic='-KPIC'
9045 lt_prog_compiler_static='-static'
9047 # icc used to be incompatible with GCC.
9048 # ICC 10 doesn't accept -KPIC any more.
9050 lt_prog_compiler_wl='-Wl,'
9051 lt_prog_compiler_pic='-fPIC'
9052 lt_prog_compiler_static='-static'
9054 # Lahey Fortran 8.1.
9056 lt_prog_compiler_wl='-Wl,'
9057 lt_prog_compiler_pic='--shared'
9058 lt_prog_compiler_static='--static'
9060 pgcc* | pgf77* | pgf90* | pgf95*)
9061 # Portland Group compilers (*not* the Pentium gcc compiler,
9062 # which looks to be a dead project)
9063 lt_prog_compiler_wl='-Wl,'
9064 lt_prog_compiler_pic='-fpic'
9065 lt_prog_compiler_static='-Bstatic'
9068 lt_prog_compiler_wl='-Wl,'
9069 # All Alpha code is PIC.
9070 lt_prog_compiler_static='-non_shared'
9073 # IBM XL C 8.0/Fortran 10.1 on PPC
9074 lt_prog_compiler_wl='-Wl,'
9075 lt_prog_compiler_pic='-qpic'
9076 lt_prog_compiler_static='-qstaticlink'
9079 case `$CC -V 2>&1 | sed 5q` in
9082 lt_prog_compiler_pic='-KPIC'
9083 lt_prog_compiler_static='-Bstatic'
9084 lt_prog_compiler_wl='-Wl,'
9087 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9088 lt_prog_compiler_pic='-KPIC'
9089 lt_prog_compiler_static='-Bstatic'
9090 lt_prog_compiler_wl=''
9098 lt_prog_compiler_pic='-KPIC'
9099 lt_prog_compiler_static='-Bstatic'
9103 # QNX uses GNU C++, but need to define -shared option too, otherwise
9105 lt_prog_compiler_pic='-fPIC -shared'
9108 osf3* | osf4* | osf5*)
9109 lt_prog_compiler_wl='-Wl,'
9110 # All OSF/1 code is PIC.
9111 lt_prog_compiler_static='-non_shared'
9115 lt_prog_compiler_static='-non_shared'
9119 lt_prog_compiler_pic='-KPIC'
9120 lt_prog_compiler_static='-Bstatic'
9121 case $cc_basename in
9123 lt_prog_compiler_wl='-Qoption ld ';;
9125 lt_prog_compiler_wl='-Wl,';;
9130 lt_prog_compiler_wl='-Qoption ld '
9131 lt_prog_compiler_pic='-PIC'
9132 lt_prog_compiler_static='-Bstatic'
9135 sysv4 | sysv4.2uw2* | sysv4.3*)
9136 lt_prog_compiler_wl='-Wl,'
9137 lt_prog_compiler_pic='-KPIC'
9138 lt_prog_compiler_static='-Bstatic'
9142 if test -d /usr/nec ;then
9143 lt_prog_compiler_pic='-Kconform_pic'
9144 lt_prog_compiler_static='-Bstatic'
9148 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9149 lt_prog_compiler_wl='-Wl,'
9150 lt_prog_compiler_pic='-KPIC'
9151 lt_prog_compiler_static='-Bstatic'
9155 lt_prog_compiler_wl='-Wl,'
9156 lt_prog_compiler_can_build_shared=no
9160 lt_prog_compiler_pic='-pic'
9161 lt_prog_compiler_static='-Bstatic'
9165 lt_prog_compiler_can_build_shared=no
9171 # For platforms which do not support PIC, -DPIC is meaningless:
9173 lt_prog_compiler_pic=
9176 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9180 $as_echo "$lt_prog_compiler_pic" >&6; }
9188 # Check to make sure the PIC flag actually works.
9190 if test -n "$lt_prog_compiler_pic"; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9192 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9193 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9194 $as_echo_n "(cached) " >&6
9196 lt_cv_prog_compiler_pic_works=no
9197 ac_outfile=conftest.$ac_objext
9198 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9199 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9200 # Insert the option either (1) after the last *FLAGS variable, or
9201 # (2) before a word containing "conftest.", or (3) at the end.
9202 # Note that $ac_compile itself does not contain backslashes and begins
9203 # with a dollar sign (not a hyphen), so the echo should work correctly.
9204 # The option is referenced via a variable to avoid confusing sed.
9205 lt_compile=`echo "$ac_compile" | $SED \
9206 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9207 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9208 -e 's:$: $lt_compiler_flag:'`
9209 (eval echo "\"\$as_me:9209: $lt_compile\"" >&5)
9210 (eval "$lt_compile" 2>conftest.err)
9212 cat conftest.err >&5
9213 echo "$as_me:9213: \$? = $ac_status" >&5
9214 if (exit $ac_status) && test -s "$ac_outfile"; then
9215 # The compiler can only warn and ignore the option if not recognized
9216 # So say no if there are warnings other than the usual output.
9217 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9218 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9219 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9220 lt_cv_prog_compiler_pic_works=yes
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9227 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9229 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9230 case $lt_prog_compiler_pic in
9232 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9235 lt_prog_compiler_pic=
9236 lt_prog_compiler_can_build_shared=no
9247 # Check to make sure the static flag actually works.
9249 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9251 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9252 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9253 $as_echo_n "(cached) " >&6
9255 lt_cv_prog_compiler_static_works=no
9256 save_LDFLAGS="$LDFLAGS"
9257 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9258 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9259 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9260 # The linker can only warn and ignore the option if not recognized
9261 # So say no if there are warnings
9262 if test -s conftest.err; then
9263 # Append any errors to the config.log.
9264 cat conftest.err 1>&5
9265 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9266 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9267 if diff conftest.exp conftest.er2 >/dev/null; then
9268 lt_cv_prog_compiler_static_works=yes
9271 lt_cv_prog_compiler_static_works=yes
9275 LDFLAGS="$save_LDFLAGS"
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9279 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9281 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9284 lt_prog_compiler_static=
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9294 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9295 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9296 $as_echo_n "(cached) " >&6
9298 lt_cv_prog_compiler_c_o=no
9299 $RM -r conftest 2>/dev/null
9303 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9305 lt_compiler_flag="-o out/conftest2.$ac_objext"
9306 # Insert the option either (1) after the last *FLAGS variable, or
9307 # (2) before a word containing "conftest.", or (3) at the end.
9308 # Note that $ac_compile itself does not contain backslashes and begins
9309 # with a dollar sign (not a hyphen), so the echo should work correctly.
9310 lt_compile=`echo "$ac_compile" | $SED \
9311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9313 -e 's:$: $lt_compiler_flag:'`
9314 (eval echo "\"\$as_me:9314: $lt_compile\"" >&5)
9315 (eval "$lt_compile" 2>out/conftest.err)
9317 cat out/conftest.err >&5
9318 echo "$as_me:9318: \$? = $ac_status" >&5
9319 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9321 # The compiler can only warn and ignore the option if not recognized
9322 # So say no if there are warnings
9323 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9324 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9325 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9326 lt_cv_prog_compiler_c_o=yes
9331 # SGI C++ compiler will create directory out/ii_files/ for
9332 # template instantiation
9333 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9334 $RM out/* && rmdir out
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9341 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9349 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9350 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9351 $as_echo_n "(cached) " >&6
9353 lt_cv_prog_compiler_c_o=no
9354 $RM -r conftest 2>/dev/null
9358 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9360 lt_compiler_flag="-o out/conftest2.$ac_objext"
9361 # Insert the option either (1) after the last *FLAGS variable, or
9362 # (2) before a word containing "conftest.", or (3) at the end.
9363 # Note that $ac_compile itself does not contain backslashes and begins
9364 # with a dollar sign (not a hyphen), so the echo should work correctly.
9365 lt_compile=`echo "$ac_compile" | $SED \
9366 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9367 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9368 -e 's:$: $lt_compiler_flag:'`
9369 (eval echo "\"\$as_me:9369: $lt_compile\"" >&5)
9370 (eval "$lt_compile" 2>out/conftest.err)
9372 cat out/conftest.err >&5
9373 echo "$as_me:9373: \$? = $ac_status" >&5
9374 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9376 # The compiler can only warn and ignore the option if not recognized
9377 # So say no if there are warnings
9378 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9379 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9380 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9381 lt_cv_prog_compiler_c_o=yes
9386 # SGI C++ compiler will create directory out/ii_files/ for
9387 # template instantiation
9388 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9389 $RM out/* && rmdir out
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9396 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9401 hard_links="nottested"
9402 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9403 # do not overwrite the value of need_locks provided by the user
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9405 $as_echo_n "checking if we can lock with hard links... " >&6; }
9408 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9410 ln conftest.a conftest.b 2>&5 || hard_links=no
9411 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9413 $as_echo "$hard_links" >&6; }
9414 if test "$hard_links" = no; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9416 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9429 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9432 allow_undefined_flag=
9433 always_export_symbols=no
9435 archive_expsym_cmds=
9436 compiler_needs_object=no
9437 enable_shared_with_static_runtimes=no
9438 export_dynamic_flag_spec=
9439 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9440 hardcode_automatic=no
9442 hardcode_direct_absolute=no
9443 hardcode_libdir_flag_spec=
9444 hardcode_libdir_flag_spec_ld=
9445 hardcode_libdir_separator=
9447 hardcode_shlibpath_var=unsupported
9449 link_all_deplibs=unknown
9452 old_archive_from_new_cmds=
9453 old_archive_from_expsyms_cmds=
9454 thread_safe_flag_spec=
9455 whole_archive_flag_spec=
9456 # include_expsyms should be a list of space-separated symbols to be *always*
9457 # included in the symbol list
9459 # exclude_expsyms can be an extended regexp of symbols to exclude
9460 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9461 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9462 # as well as any symbol that contains `d'.
9463 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9464 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9465 # platforms (ab)use it in PIC code, but their linkers get confused if
9466 # the symbol is explicitly referenced. Since portable code cannot
9467 # rely on this symbol name, it's probably fine to never include it in
9468 # preloaded symbol tables.
9469 # Exclude shared library initialization/finalization symbols.
9470 extract_expsyms_cmds=
9473 cygwin* | mingw* | pw32* | cegcc*)
9474 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9475 # When not using gcc, we currently assume that we are using
9476 # Microsoft Visual C++.
9477 if test "$GCC" != yes; then
9482 # we just hope/assume this is gcc and not c89 (= MSVC++)
9488 linux* | k*bsd*-gnu)
9494 if test "$with_gnu_ld" = yes; then
9495 # If archive_cmds runs LD, not CC, wlarc should be empty
9498 # Set some defaults for GNU ld with shared library support. These
9499 # are reset later if shared libraries are not supported. Putting them
9500 # here allows them to be overridden if necessary.
9501 runpath_var=LD_RUN_PATH
9502 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9503 export_dynamic_flag_spec='${wl}--export-dynamic'
9504 # ancient GNU ld didn't support --whole-archive et. al.
9505 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9506 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9508 whole_archive_flag_spec=
9510 supports_anon_versioning=no
9511 case `$LD -v 2>&1` in
9512 *GNU\ gold*) supports_anon_versioning=yes ;;
9513 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9514 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9515 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9516 *\ 2.11.*) ;; # other 2.11 versions
9517 *) supports_anon_versioning=yes ;;
9520 # See if GNU ld supports shared libraries.
9523 # On AIX/PPC, the GNU linker is very broken
9524 if test "$host_cpu" != ia64; then
9528 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9529 *** to be unable to reliably create shared libraries on AIX.
9530 *** Therefore, libtool is disabling shared libraries support. If you
9531 *** really care for shared libraries, you may want to modify your PATH
9532 *** so that a non-GNU linker is found, and then restart.
9541 # see comment about AmigaOS4 .so support
9542 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9543 archive_expsym_cmds=''
9546 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)'
9547 hardcode_libdir_flag_spec='-L$libdir'
9548 hardcode_minus_L=yes
9554 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9555 allow_undefined_flag=unsupported
9556 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9557 # support --undefined. This deserves some investigation. FIXME
9558 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9564 cygwin* | mingw* | pw32* | cegcc*)
9565 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9566 # as there is no search path for DLLs.
9567 hardcode_libdir_flag_spec='-L$libdir'
9568 allow_undefined_flag=unsupported
9569 always_export_symbols=no
9570 enable_shared_with_static_runtimes=yes
9571 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9573 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9574 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9575 # If the export-symbols file already is a .def file (1st line
9576 # is EXPORTS), use it as is; otherwise, prepend...
9577 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9578 cp $export_symbols $output_objdir/$soname.def;
9580 echo EXPORTS > $output_objdir/$soname.def;
9581 cat $export_symbols >> $output_objdir/$soname.def;
9583 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9591 hardcode_shlibpath_var=no
9592 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9593 export_dynamic_flag_spec='${wl}-E'
9594 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9595 # Instead, shared libraries are loaded at an image base (0x10000000 by
9596 # default) and relocated if they conflict, which is a slow very memory
9597 # consuming and fragmenting process. To avoid this, we pick a random,
9598 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9599 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9600 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9601 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'
9604 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9606 if test "$host_os" = linux-dietlibc; then
9607 case $cc_basename in
9608 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9611 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9612 && test "$tmp_diet" = no
9615 tmp_sharedflag='-shared'
9616 case $cc_basename,$host_cpu in
9617 pgcc*) # Portland Group C compiler
9618 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9619 tmp_addflag=' $pic_flag'
9621 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9622 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9623 tmp_addflag=' $pic_flag -Mnomain' ;;
9624 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9625 tmp_addflag=' -i_dynamic' ;;
9626 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9627 tmp_addflag=' -i_dynamic -nofor_main' ;;
9628 ifc* | ifort*) # Intel Fortran compiler
9629 tmp_addflag=' -nofor_main' ;;
9630 lf95*) # Lahey Fortran 8.1
9631 whole_archive_flag_spec=
9632 tmp_sharedflag='--shared' ;;
9633 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9634 tmp_sharedflag='-qmkshrobj'
9637 case `$CC -V 2>&1 | sed 5q` in
9638 *Sun\ C*) # Sun C 5.9
9639 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9640 compiler_needs_object=yes
9641 tmp_sharedflag='-G' ;;
9642 *Sun\ F*) # Sun Fortran 8.3
9643 tmp_sharedflag='-G' ;;
9645 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9647 if test "x$supports_anon_versioning" = xyes; then
9648 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9650 echo "local: *; };" >> $output_objdir/$libname.ver~
9651 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9654 case $cc_basename in
9656 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9657 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9658 hardcode_libdir_flag_spec=
9659 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9660 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9661 if test "x$supports_anon_versioning" = xyes; then
9662 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9663 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9664 echo "local: *; };" >> $output_objdir/$libname.ver~
9665 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9674 netbsd* | netbsdelf*-gnu)
9675 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9676 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9679 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9680 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9685 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9689 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9690 *** create shared libraries on Solaris systems. Therefore, libtool
9691 *** is disabling shared libraries support. We urge you to upgrade GNU
9692 *** binutils to release 2.9.1 or newer. Another option is to modify
9693 *** your PATH or compiler configuration so that the native linker is
9694 *** used, and then restart.
9697 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9698 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9699 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9705 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9706 case `$LD -v 2>&1` in
9707 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9711 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9712 *** reliably create shared libraries on SCO systems. Therefore, libtool
9713 *** is disabling shared libraries support. We urge you to upgrade GNU
9714 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9715 *** your PATH or compiler configuration so that the native linker is
9716 *** used, and then restart.
9721 # For security reasons, it is highly recommended that you always
9722 # use absolute paths for naming shared libraries, and exclude the
9723 # DT_RUNPATH tag from executables and libraries. But doing so
9724 # requires that you compile everything twice, which is a pain.
9725 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9726 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9737 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9740 hardcode_shlibpath_var=no
9744 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9745 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9746 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9753 if test "$ld_shlibs" = no; then
9755 hardcode_libdir_flag_spec=
9756 export_dynamic_flag_spec=
9757 whole_archive_flag_spec=
9760 # PORTME fill in a description of your system's linker (not GNU ld)
9763 allow_undefined_flag=unsupported
9764 always_export_symbols=yes
9765 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'
9766 # Note: this linker hardcodes the directories in LIBPATH if there
9767 # are no directories specified by -L.
9768 hardcode_minus_L=yes
9769 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9770 # Neither direct hardcoding nor static linking is supported with a
9772 hardcode_direct=unsupported
9777 if test "$host_cpu" = ia64; then
9778 # On IA64, the linker does run time linking by default, so we don't
9779 # have to do anything special.
9780 aix_use_runtimelinking=no
9781 exp_sym_flag='-Bexport'
9784 # If we're using GNU nm, then we don't want the "-C" option.
9785 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9786 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9787 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9789 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'
9791 aix_use_runtimelinking=no
9793 # Test if we are trying to use run time linking or normal
9794 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9795 # need to do runtime linking.
9796 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9797 for ld_flag in $LDFLAGS; do
9798 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9799 aix_use_runtimelinking=yes
9806 exp_sym_flag='-bexport'
9807 no_entry_flag='-bnoentry'
9810 # When large executables or shared objects are built, AIX ld can
9811 # have problems creating the table of contents. If linking a library
9812 # or program results in "error TOC overflow" add -mminimal-toc to
9813 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9814 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9818 hardcode_direct_absolute=yes
9819 hardcode_libdir_separator=':'
9820 link_all_deplibs=yes
9821 file_list_spec='${wl}-f,'
9823 if test "$GCC" = yes; then
9824 case $host_os in aix4.[012]|aix4.[012].*)
9825 # We only want to do this on AIX 4.2 and lower, the check
9826 # below for broken collect2 doesn't work under 4.3+
9827 collect2name=`${CC} -print-prog-name=collect2`
9828 if test -f "$collect2name" &&
9829 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9831 # We have reworked collect2
9834 # We have old collect2
9835 hardcode_direct=unsupported
9836 # It fails to find uninstalled libraries when the uninstalled
9837 # path is not listed in the libpath. Setting hardcode_minus_L
9838 # to unsupported forces relinking
9839 hardcode_minus_L=yes
9840 hardcode_libdir_flag_spec='-L$libdir'
9841 hardcode_libdir_separator=
9845 shared_flag='-shared'
9846 if test "$aix_use_runtimelinking" = yes; then
9847 shared_flag="$shared_flag "'${wl}-G'
9852 if test "$host_cpu" = ia64; then
9853 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9854 # chokes on -Wl,-G. The following line is correct:
9857 if test "$aix_use_runtimelinking" = yes; then
9858 shared_flag='${wl}-G'
9860 shared_flag='${wl}-bM:SRE'
9865 export_dynamic_flag_spec='${wl}-bexpall'
9866 # It seems that -bexpall does not export symbols beginning with
9867 # underscore (_), so it is better to generate a list of symbols to export.
9868 always_export_symbols=yes
9869 if test "$aix_use_runtimelinking" = yes; then
9870 # Warning - without using the other runtime loading flags (-brtl),
9871 # -berok will link without error, but may produce a broken library.
9872 allow_undefined_flag='-berok'
9873 # Determine the default libpath from the value encoded in an
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9886 if ac_fn_c_try_link "$LINENO"; then :
9888 lt_aix_libpath_sed='
9889 /Import File Strings/,/^$/ {
9895 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9896 # Check for a 64-bit object if we didn't find anything.
9897 if test -z "$aix_libpath"; then
9898 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9901 rm -f core conftest.err conftest.$ac_objext \
9902 conftest$ac_exeext conftest.$ac_ext
9903 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9905 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9906 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9908 if test "$host_cpu" = ia64; then
9909 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9910 allow_undefined_flag="-z nodefs"
9911 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"
9913 # Determine the default libpath from the value encoded in an
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9926 if ac_fn_c_try_link "$LINENO"; then :
9928 lt_aix_libpath_sed='
9929 /Import File Strings/,/^$/ {
9935 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9936 # Check for a 64-bit object if we didn't find anything.
9937 if test -z "$aix_libpath"; then
9938 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9941 rm -f core conftest.err conftest.$ac_objext \
9942 conftest$ac_exeext conftest.$ac_ext
9943 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9945 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9946 # Warning - without using the other run time loading flags,
9947 # -berok will link without error, but may produce a broken library.
9948 no_undefined_flag=' ${wl}-bernotok'
9949 allow_undefined_flag=' ${wl}-berok'
9950 # Exported symbols can be pulled into shared objects from archives
9951 whole_archive_flag_spec='$convenience'
9952 archive_cmds_need_lc=yes
9953 # This is similar to how AIX traditionally builds its shared libraries.
9954 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'
9962 # see comment about AmigaOS4 .so support
9963 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9964 archive_expsym_cmds=''
9967 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)'
9968 hardcode_libdir_flag_spec='-L$libdir'
9969 hardcode_minus_L=yes
9975 export_dynamic_flag_spec=-rdynamic
9978 cygwin* | mingw* | pw32* | cegcc*)
9979 # When not using gcc, we currently assume that we are using
9980 # Microsoft Visual C++.
9981 # hardcode_libdir_flag_spec is actually meaningless, as there is
9982 # no search path for DLLs.
9983 hardcode_libdir_flag_spec=' '
9984 allow_undefined_flag=unsupported
9985 # Tell ltmain to make .lib files, not .a files.
9987 # Tell ltmain to make .dll files, not .so files.
9989 # FIXME: Setting linknames here is a bad hack.
9990 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9991 # The linker will automatically build a .lib file if we build a DLL.
9992 old_archive_from_new_cmds='true'
9993 # FIXME: Should let the user specify the lib program.
9994 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9995 fix_srcfile_path='`cygpath -w "$srcfile"`'
9996 enable_shared_with_static_runtimes=yes
9999 darwin* | rhapsody*)
10002 archive_cmds_need_lc=no
10004 hardcode_automatic=yes
10005 hardcode_shlibpath_var=unsupported
10006 whole_archive_flag_spec=''
10007 link_all_deplibs=yes
10008 allow_undefined_flag="$_lt_dar_allow_undefined"
10009 case $cc_basename in
10010 ifort*) _lt_dar_can_shared=yes ;;
10011 *) _lt_dar_can_shared=$GCC ;;
10013 if test "$_lt_dar_can_shared" = "yes"; then
10014 output_verbose_link_cmd=echo
10015 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10016 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10017 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}"
10018 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}"
10027 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028 hardcode_libdir_flag_spec='-L$libdir'
10029 hardcode_shlibpath_var=no
10036 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10037 # support. Future versions do this automatically, but an explicit c++rt0.o
10038 # does not break anything, and helps significantly (at the cost of a little
10041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10042 hardcode_libdir_flag_spec='-R$libdir'
10043 hardcode_direct=yes
10044 hardcode_shlibpath_var=no
10047 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10049 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_direct=yes
10051 hardcode_minus_L=yes
10052 hardcode_shlibpath_var=no
10055 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10056 freebsd* | dragonfly*)
10057 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10058 hardcode_libdir_flag_spec='-R$libdir'
10059 hardcode_direct=yes
10060 hardcode_shlibpath_var=no
10064 if test "$GCC" = yes; then
10065 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10067 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'
10069 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10070 hardcode_libdir_separator=:
10071 hardcode_direct=yes
10073 # hardcode_minus_L: Not really in the search PATH,
10074 # but as the default location of the library.
10075 hardcode_minus_L=yes
10076 export_dynamic_flag_spec='${wl}-E'
10080 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10081 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10085 if test "$with_gnu_ld" = no; then
10086 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10087 hardcode_libdir_flag_spec_ld='+b $libdir'
10088 hardcode_libdir_separator=:
10089 hardcode_direct=yes
10090 hardcode_direct_absolute=yes
10091 export_dynamic_flag_spec='${wl}-E'
10092 # hardcode_minus_L: Not really in the search PATH,
10093 # but as the default location of the library.
10094 hardcode_minus_L=yes
10099 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10102 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10105 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10114 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10124 if test "$with_gnu_ld" = no; then
10125 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10126 hardcode_libdir_separator=:
10131 hardcode_shlibpath_var=no
10134 hardcode_direct=yes
10135 hardcode_direct_absolute=yes
10136 export_dynamic_flag_spec='${wl}-E'
10138 # hardcode_minus_L: Not really in the search PATH,
10139 # but as the default location of the library.
10140 hardcode_minus_L=yes
10146 irix5* | irix6* | nonstopux*)
10147 if test "$GCC" = yes; then
10148 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10149 # Try to use the -exported_symbol ld option, if it does not
10150 # work, assume that -exports_file does not work either and
10151 # implicitly export all symbols.
10152 save_LDFLAGS="$LDFLAGS"
10153 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 LDFLAGS="$save_LDFLAGS"
10166 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10167 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10169 archive_cmds_need_lc='no'
10170 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10171 hardcode_libdir_separator=:
10173 link_all_deplibs=yes
10176 netbsd* | netbsdelf*-gnu)
10177 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10178 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10180 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10182 hardcode_libdir_flag_spec='-R$libdir'
10183 hardcode_direct=yes
10184 hardcode_shlibpath_var=no
10188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189 hardcode_direct=yes
10190 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10191 hardcode_libdir_separator=:
10192 hardcode_shlibpath_var=no
10199 if test -f /usr/libexec/ld.so; then
10200 hardcode_direct=yes
10201 hardcode_shlibpath_var=no
10202 hardcode_direct_absolute=yes
10203 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10204 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10206 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10207 export_dynamic_flag_spec='${wl}-E'
10210 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10211 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10212 hardcode_libdir_flag_spec='-R$libdir'
10215 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10226 hardcode_libdir_flag_spec='-L$libdir'
10227 hardcode_minus_L=yes
10228 allow_undefined_flag=unsupported
10229 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'
10230 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10234 if test "$GCC" = yes; then
10235 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10236 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10238 allow_undefined_flag=' -expect_unresolved \*'
10239 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10241 archive_cmds_need_lc='no'
10242 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243 hardcode_libdir_separator=:
10246 osf4* | osf5*) # as osf3* with the addition of -msym flag
10247 if test "$GCC" = yes; then
10248 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10249 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10250 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10252 allow_undefined_flag=' -expect_unresolved \*'
10253 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10254 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~
10255 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10257 # Both c and cxx compiler support -rpath directly
10258 hardcode_libdir_flag_spec='-rpath $libdir'
10260 archive_cmds_need_lc='no'
10261 hardcode_libdir_separator=:
10265 no_undefined_flag=' -z defs'
10266 if test "$GCC" = yes; then
10268 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10269 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10270 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10272 case `$CC -V 2>&1` in
10275 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10276 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10277 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10281 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10282 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10283 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10287 hardcode_libdir_flag_spec='-R$libdir'
10288 hardcode_shlibpath_var=no
10290 solaris2.[0-5] | solaris2.[0-5].*) ;;
10292 # The compiler driver will combine and reorder linker options,
10293 # but understands `-z linker_flag'. GCC discards it without `$wl',
10294 # but is careful enough not to reorder.
10295 # Supported since Solaris 2.6 (maybe 2.5.1?)
10296 if test "$GCC" = yes; then
10297 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10299 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10303 link_all_deplibs=yes
10307 if test "x$host_vendor" = xsequent; then
10308 # Use $CC to link under sequent, because it throws in some extra .o
10309 # files that make .init and .fini sections work.
10310 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10312 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10314 hardcode_libdir_flag_spec='-L$libdir'
10315 hardcode_direct=yes
10316 hardcode_minus_L=yes
10317 hardcode_shlibpath_var=no
10321 case $host_vendor in
10323 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10324 hardcode_direct=yes # is this really true???
10327 ## LD is ld it makes a PLAMLIB
10328 ## CC just makes a GrossModule.
10329 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10330 reload_cmds='$CC -r -o $output$reload_objs'
10334 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10338 runpath_var='LD_RUN_PATH'
10339 hardcode_shlibpath_var=no
10343 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10344 hardcode_shlibpath_var=no
10345 export_dynamic_flag_spec='-Bexport'
10349 if test -d /usr/nec; then
10350 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10351 hardcode_shlibpath_var=no
10352 runpath_var=LD_RUN_PATH
10353 hardcode_runpath_var=yes
10358 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10359 no_undefined_flag='${wl}-z,text'
10360 archive_cmds_need_lc=no
10361 hardcode_shlibpath_var=no
10362 runpath_var='LD_RUN_PATH'
10364 if test "$GCC" = yes; then
10365 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10366 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10368 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10369 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10373 sysv5* | sco3.2v5* | sco5v6*)
10374 # Note: We can NOT use -z defs as we might desire, because we do not
10375 # link with -lc, and that would cause any symbols used from libc to
10376 # always be unresolved, which means just about no library would
10377 # ever link correctly. If we're not using GNU ld we use -z text
10378 # though, which does catch some bad symbols but isn't as heavy-handed
10380 no_undefined_flag='${wl}-z,text'
10381 allow_undefined_flag='${wl}-z,nodefs'
10382 archive_cmds_need_lc=no
10383 hardcode_shlibpath_var=no
10384 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10385 hardcode_libdir_separator=':'
10386 link_all_deplibs=yes
10387 export_dynamic_flag_spec='${wl}-Bexport'
10388 runpath_var='LD_RUN_PATH'
10390 if test "$GCC" = yes; then
10391 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10394 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10400 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10401 hardcode_libdir_flag_spec='-L$libdir'
10402 hardcode_shlibpath_var=no
10410 if test x$host_vendor = xsni; then
10412 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10413 export_dynamic_flag_spec='${wl}-Blargedynsym'
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10420 $as_echo "$ld_shlibs" >&6; }
10421 test "$ld_shlibs" = no && can_build_shared=no
10423 with_gnu_ld=$with_gnu_ld
10440 # Do we need to explicitly link libc?
10442 case "x$archive_cmds_need_lc" in
10444 # Assume -lc should be added
10445 archive_cmds_need_lc=yes
10447 if test "$enable_shared" = yes && test "$GCC" = yes; then
10448 case $archive_cmds in
10450 # FIXME: we may have to deal with multi-command sequences.
10453 # Test whether the compiler implicitly links with -lc since on some
10454 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10455 # to ld, don't add -lc before -lgcc.
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10457 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10459 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10462 (eval $ac_compile) 2>&5
10464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10465 test $ac_status = 0; } 2>conftest.err; then
10468 libobjs=conftest.$ac_objext
10470 wl=$lt_prog_compiler_wl
10471 pic_flag=$lt_prog_compiler_pic
10477 lt_save_allow_undefined_flag=$allow_undefined_flag
10478 allow_undefined_flag=
10479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10480 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10483 test $ac_status = 0; }
10485 archive_cmds_need_lc=no
10487 archive_cmds_need_lc=yes
10489 allow_undefined_flag=$lt_save_allow_undefined_flag
10491 cat conftest.err 1>&5
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10495 $as_echo "$archive_cmds_need_lc" >&6; }
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10659 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10661 if test "$GCC" = yes; then
10663 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10664 *) lt_awk_arg="/^libraries:/" ;;
10666 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10667 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10668 # if the path contains ";" then we assume it to be the separator
10669 # otherwise default to the standard path separator (i.e. ":") - it is
10670 # assumed that no part of a normal pathname contains ";" but that should
10671 # okay in the real world where ";" in dirpaths is itself problematic.
10672 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10674 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10676 # Ok, now we have the path, separated by spaces, we can step through it
10677 # and add multilib dir if necessary.
10678 lt_tmp_lt_search_path_spec=
10679 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10680 for lt_sys_path in $lt_search_path_spec; do
10681 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10682 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10684 test -d "$lt_sys_path" && \
10685 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10688 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10689 BEGIN {RS=" "; FS="/|\n";} {
10692 for (lt_i = NF; lt_i > 0; lt_i--) {
10693 if ($lt_i != "" && $lt_i != ".") {
10694 if ($lt_i == "..") {
10697 if (lt_count == 0) {
10698 lt_foo="/" $lt_i lt_foo;
10705 if (lt_foo != "") { lt_freq[lt_foo]++; }
10706 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10708 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10710 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10712 library_names_spec=
10713 libname_spec='lib$name'
10717 postuninstall_cmds=
10721 shlibpath_overrides_runpath=unknown
10723 dynamic_linker="$host_os ld.so"
10724 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10725 need_lib_prefix=unknown
10726 hardcode_into_libs=no
10728 # when you set need_version to no, make sure it does not cause -set_version
10729 # flags to be left without arguments
10730 need_version=unknown
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10736 shlibpath_var=LIBPATH
10738 # AIX 3 has no versioning support, so we append a major version to the name.
10739 soname_spec='${libname}${release}${shared_ext}$major'
10746 hardcode_into_libs=yes
10747 if test "$host_cpu" = ia64; then
10748 # AIX 5 supports IA64
10749 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10750 shlibpath_var=LD_LIBRARY_PATH
10752 # With GCC up to 2.95.x, collect2 would create an import file
10753 # for dependence libraries. The import file would start with
10754 # the line `#! .'. This would cause the generated library to
10755 # depend on `.', always an invalid library. This was fixed in
10756 # development snapshots of GCC prior to 3.0.
10758 aix4 | aix4.[01] | aix4.[01].*)
10759 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10761 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10764 can_build_shared=no
10768 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10769 # soname into executable. Probably we can add versioning support to
10770 # collect2, so additional links can be useful in future.
10771 if test "$aix_use_runtimelinking" = yes; then
10772 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10773 # instead of lib<name>.a to let people know that these are not
10774 # typical AIX shared libraries.
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10777 # We preserve .a as extension for shared libraries through AIX4.2
10778 # and later when we are not doing run time linking.
10779 library_names_spec='${libname}${release}.a $libname.a'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10782 shlibpath_var=LIBPATH
10789 # Since July 2007 AmigaOS4 officially supports .so libraries.
10790 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10794 library_names_spec='$libname.ixlibrary $libname.a'
10795 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10796 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10802 library_names_spec='${libname}${shared_ext}'
10803 dynamic_linker="$host_os ld.so"
10804 shlibpath_var=LIBRARY_PATH
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10811 soname_spec='${libname}${release}${shared_ext}$major'
10812 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10813 shlibpath_var=LD_LIBRARY_PATH
10814 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10815 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10816 # the default ld.so.conf also contains /usr/contrib/lib and
10817 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10818 # libtool to hard-code these into programs
10821 cygwin* | mingw* | pw32* | cegcc*)
10822 version_type=windows
10827 case $GCC,$host_os in
10828 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10829 library_names_spec='$libname.dll.a'
10830 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10831 postinstall_cmds='base_file=`basename \${file}`~
10832 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10833 dldir=$destdir/`dirname \$dlpath`~
10834 test -d \$dldir || mkdir -p \$dldir~
10835 $install_prog $dir/$dlname \$dldir/$dlname~
10836 chmod a+x \$dldir/$dlname~
10837 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10838 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10840 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10841 dlpath=$dir/\$dldll~
10843 shlibpath_overrides_runpath=yes
10847 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10848 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10849 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10852 # MinGW DLLs use traditional 'lib' prefix
10853 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10854 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10855 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10856 # It is most probably a Windows format PATH printed by
10857 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10858 # path with ; separators, and with drive letters. We can handle the
10859 # drive letters (cygwin fileutils understands them), so leave them,
10860 # especially as we might pass files found there to a mingw objdump,
10861 # which wouldn't understand a cygwinified path. Ahh.
10862 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10864 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10868 # pw32 DLLs use 'pw' prefix rather than 'lib'
10869 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10875 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10878 dynamic_linker='Win32 ld.exe'
10879 # FIXME: first we should search . and the directory the executable is in
10883 darwin* | rhapsody*)
10884 dynamic_linker="$host_os dyld"
10885 version_type=darwin
10888 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10889 soname_spec='${libname}${release}${major}$shared_ext'
10890 shlibpath_overrides_runpath=yes
10891 shlibpath_var=DYLD_LIBRARY_PATH
10892 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10894 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10895 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10903 soname_spec='${libname}${release}${shared_ext}$major'
10904 shlibpath_var=LD_LIBRARY_PATH
10911 freebsd* | dragonfly*)
10912 # DragonFly does not have aout. When/if they implement a new
10913 # versioning mechanism, adjust this.
10914 if test -x /usr/bin/objformat; then
10915 objformat=`/usr/bin/objformat`
10918 freebsd[123]*) objformat=aout ;;
10919 *) objformat=elf ;;
10922 version_type=freebsd-$objformat
10923 case $version_type in
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10930 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10934 shlibpath_var=LD_LIBRARY_PATH
10937 shlibpath_overrides_runpath=yes
10939 freebsd3.[01]* | freebsdelf3.[01]*)
10940 shlibpath_overrides_runpath=yes
10941 hardcode_into_libs=yes
10943 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10944 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10945 shlibpath_overrides_runpath=no
10946 hardcode_into_libs=yes
10948 *) # from 4.6 on, and DragonFly
10949 shlibpath_overrides_runpath=yes
10950 hardcode_into_libs=yes
10959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10960 soname_spec='${libname}${release}${shared_ext}$major'
10961 shlibpath_var=LD_LIBRARY_PATH
10962 hardcode_into_libs=yes
10965 hpux9* | hpux10* | hpux11*)
10966 # Give a soname corresponding to the major version so that dld.sl refuses to
10967 # link against other versions.
10974 hardcode_into_libs=yes
10975 dynamic_linker="$host_os dld.so"
10976 shlibpath_var=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10979 soname_spec='${libname}${release}${shared_ext}$major'
10980 if test "X$HPUX_IA64_MODE" = X32; then
10981 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10983 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10985 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10989 hardcode_into_libs=yes
10990 dynamic_linker="$host_os dld.sl"
10991 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10992 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10996 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11000 dynamic_linker="$host_os dld.sl"
11001 shlibpath_var=SHLIB_PATH
11002 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11007 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11008 postinstall_cmds='chmod 555 $lib'
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11016 soname_spec='${libname}${release}${shared_ext}$major'
11017 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 shlibpath_overrides_runpath=no
11020 hardcode_into_libs=yes
11023 irix5* | irix6* | nonstopux*)
11025 nonstopux*) version_type=nonstopux ;;
11027 if test "$lt_cv_prog_gnu_ld" = yes; then
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 irix5* | nonstopux*)
11039 libsuff= shlibsuff=
11042 case $LD in # libtool.m4 will add one of these switches to LD
11043 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11044 libsuff= shlibsuff= libmagic=32-bit;;
11045 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11046 libsuff=32 shlibsuff=N32 libmagic=N32;;
11047 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11048 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11049 *) libsuff= shlibsuff= libmagic=never-match;;
11053 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11054 shlibpath_overrides_runpath=no
11055 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11056 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11057 hardcode_into_libs=yes
11060 # No shared lib support for Linux oldld, aout, or coff.
11061 linux*oldld* | linux*aout* | linux*coff*)
11065 # This must be Linux ELF.
11066 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071 soname_spec='${libname}${release}${shared_ext}$major'
11072 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 shlibpath_overrides_runpath=no
11075 # Some binutils ld are patched to set DT_RUNPATH
11076 save_LDFLAGS=$LDFLAGS
11077 save_libdir=$libdir
11078 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11079 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11093 shlibpath_overrides_runpath=yes
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LDFLAGS=$save_LDFLAGS
11099 libdir=$save_libdir
11101 # This implies no fast_install, which is unacceptable.
11102 # Some rework will be needed to allow for fast_install
11103 # before this can be enabled.
11104 hardcode_into_libs=yes
11106 # Append ld.so.conf contents to the search path
11107 if test -f /etc/ld.so.conf; then
11108 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11109 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11112 # We used to test for /lib/ld.so.1 and disable shared libraries on
11113 # powerpc, because MkLinux only supported shared libraries with the
11114 # GNU dynamic linker. Since this was broken with cross compilers,
11115 # most powerpc-linux boxes support dynamic linking these days and
11116 # people can always --disable-shared, the test was removed, and we
11117 # assume the GNU/Linux dynamic linker is in use.
11118 dynamic_linker='GNU/Linux ld.so'
11125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11126 soname_spec='${libname}${release}${shared_ext}$major'
11127 shlibpath_var=LD_LIBRARY_PATH
11128 shlibpath_overrides_runpath=no
11129 hardcode_into_libs=yes
11130 dynamic_linker='NetBSD ld.elf_so'
11137 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11139 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11140 dynamic_linker='NetBSD (a.out) ld.so'
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11143 soname_spec='${libname}${release}${shared_ext}$major'
11144 dynamic_linker='NetBSD ld.elf_so'
11146 shlibpath_var=LD_LIBRARY_PATH
11147 shlibpath_overrides_runpath=yes
11148 hardcode_into_libs=yes
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154 shlibpath_var=LD_LIBRARY_PATH
11155 shlibpath_overrides_runpath=yes
11162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11163 soname_spec='${libname}${release}${shared_ext}$major'
11164 shlibpath_var=LD_LIBRARY_PATH
11165 shlibpath_overrides_runpath=no
11166 hardcode_into_libs=yes
11167 dynamic_linker='ldqnx.so'
11172 sys_lib_dlsearch_path_spec="/usr/lib"
11174 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11176 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11177 *) need_version=no ;;
11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11180 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11181 shlibpath_var=LD_LIBRARY_PATH
11182 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11184 openbsd2.[89] | openbsd2.[89].*)
11185 shlibpath_overrides_runpath=no
11188 shlibpath_overrides_runpath=yes
11192 shlibpath_overrides_runpath=yes
11197 libname_spec='$name'
11200 library_names_spec='$libname${shared_ext} $libname.a'
11201 dynamic_linker='OS/2 ld.exe'
11202 shlibpath_var=LIBPATH
11205 osf3* | osf4* | osf5*)
11209 soname_spec='${libname}${release}${shared_ext}$major'
11210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11211 shlibpath_var=LD_LIBRARY_PATH
11212 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11213 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11225 soname_spec='${libname}${release}${shared_ext}$major'
11226 shlibpath_var=LD_LIBRARY_PATH
11227 shlibpath_overrides_runpath=yes
11228 hardcode_into_libs=yes
11229 # ldd complains unless libraries are executable
11230 postinstall_cmds='chmod +x $lib'
11235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11236 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11237 shlibpath_var=LD_LIBRARY_PATH
11238 shlibpath_overrides_runpath=yes
11239 if test "$with_gnu_ld" = yes; then
11247 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11248 soname_spec='${libname}${release}${shared_ext}$major'
11249 shlibpath_var=LD_LIBRARY_PATH
11250 case $host_vendor in
11252 shlibpath_overrides_runpath=no
11254 runpath_var=LD_RUN_PATH
11262 shlibpath_overrides_runpath=no
11263 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11269 if test -d /usr/nec ;then
11271 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11272 soname_spec='$libname${shared_ext}.$major'
11273 shlibpath_var=LD_LIBRARY_PATH
11277 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11278 version_type=freebsd-elf
11281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11282 soname_spec='${libname}${release}${shared_ext}$major'
11283 shlibpath_var=LD_LIBRARY_PATH
11284 shlibpath_overrides_runpath=yes
11285 hardcode_into_libs=yes
11286 if test "$with_gnu_ld" = yes; then
11287 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11289 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11292 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11296 sys_lib_dlsearch_path_spec='/usr/lib'
11300 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 shlibpath_var=LD_LIBRARY_PATH
11306 shlibpath_overrides_runpath=no
11307 hardcode_into_libs=yes
11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11313 soname_spec='${libname}${release}${shared_ext}$major'
11314 shlibpath_var=LD_LIBRARY_PATH
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11322 $as_echo "$dynamic_linker" >&6; }
11323 test "$dynamic_linker" = no && can_build_shared=no
11325 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11326 if test "$GCC" = yes; then
11327 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11330 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11331 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11333 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11334 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11424 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11426 if test -n "$hardcode_libdir_flag_spec" ||
11427 test -n "$runpath_var" ||
11428 test "X$hardcode_automatic" = "Xyes" ; then
11430 # We can hardcode non-existent directories.
11431 if test "$hardcode_direct" != no &&
11432 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11433 # have to relink, otherwise we might link with an installed library
11434 # when we should be linking with a yet-to-be-installed one
11435 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11436 test "$hardcode_minus_L" != no; then
11437 # Linking always hardcodes the temporary library directory.
11438 hardcode_action=relink
11440 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11441 hardcode_action=immediate
11444 # We cannot hardcode anything, or else we can only hardcode existing
11446 hardcode_action=unsupported
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11449 $as_echo "$hardcode_action" >&6; }
11451 if test "$hardcode_action" = relink ||
11452 test "$inherit_rpath" = yes; then
11453 # Fast installation is not supported
11454 enable_fast_install=no
11455 elif test "$shlibpath_overrides_runpath" = yes ||
11456 test "$enable_shared" = no; then
11457 # Fast installation is not necessary
11458 enable_fast_install=needless
11466 if test "x$enable_dlopen" != xyes; then
11467 enable_dlopen=unknown
11468 enable_dlopen_self=unknown
11469 enable_dlopen_self_static=unknown
11476 lt_cv_dlopen="load_add_on"
11478 lt_cv_dlopen_self=yes
11481 mingw* | pw32* | cegcc*)
11482 lt_cv_dlopen="LoadLibrary"
11487 lt_cv_dlopen="dlopen"
11492 # if libdl is installed we need to link against it
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11494 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11495 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11496 $as_echo_n "(cached) " >&6
11498 ac_check_lib_save_LIBS=$LIBS
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11518 if ac_fn_c_try_link "$LINENO"; then :
11519 ac_cv_lib_dl_dlopen=yes
11521 ac_cv_lib_dl_dlopen=no
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_lib_save_LIBS
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11528 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11529 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11530 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11533 lt_cv_dlopen="dyld"
11535 lt_cv_dlopen_self=yes
11542 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11543 if test "x$ac_cv_func_shl_load" = x""yes; then :
11544 lt_cv_dlopen="shl_load"
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11547 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11548 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11549 $as_echo_n "(cached) " >&6
11551 ac_check_lib_save_LIBS=$LIBS
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11566 return shl_load ();
11571 if ac_fn_c_try_link "$LINENO"; then :
11572 ac_cv_lib_dld_shl_load=yes
11574 ac_cv_lib_dld_shl_load=no
11576 rm -f core conftest.err conftest.$ac_objext \
11577 conftest$ac_exeext conftest.$ac_ext
11578 LIBS=$ac_check_lib_save_LIBS
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11581 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11582 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11583 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11585 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11586 if test "x$ac_cv_func_dlopen" = x""yes; then :
11587 lt_cv_dlopen="dlopen"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11590 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11591 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11594 ac_check_lib_save_LIBS=$LIBS
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11614 if ac_fn_c_try_link "$LINENO"; then :
11615 ac_cv_lib_dl_dlopen=yes
11617 ac_cv_lib_dl_dlopen=no
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_lib_save_LIBS
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11624 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11625 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11626 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11629 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11630 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11631 $as_echo_n "(cached) " >&6
11633 ac_check_lib_save_LIBS=$LIBS
11634 LIBS="-lsvld $LIBS"
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11653 if ac_fn_c_try_link "$LINENO"; then :
11654 ac_cv_lib_svld_dlopen=yes
11656 ac_cv_lib_svld_dlopen=no
11658 rm -f core conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_lib_save_LIBS
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11663 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11664 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11665 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11668 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11669 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11670 $as_echo_n "(cached) " >&6
11672 ac_check_lib_save_LIBS=$LIBS
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h. */
11677 /* Override any GCC internal prototype to avoid an error.
11678 Use char because int might match the return type of a GCC
11679 builtin and then its argument prototype would still apply. */
11687 return dld_link ();
11692 if ac_fn_c_try_link "$LINENO"; then :
11693 ac_cv_lib_dld_dld_link=yes
11695 ac_cv_lib_dld_dld_link=no
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_lib_save_LIBS
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11702 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11703 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11704 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11725 if test "x$lt_cv_dlopen" != xno; then
11731 case $lt_cv_dlopen in
11733 save_CPPFLAGS="$CPPFLAGS"
11734 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11736 save_LDFLAGS="$LDFLAGS"
11737 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11740 LIBS="$lt_cv_dlopen_libs $LIBS"
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11743 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11744 if test "${lt_cv_dlopen_self+set}" = set; then :
11745 $as_echo_n "(cached) " >&6
11747 if test "$cross_compiling" = yes; then :
11748 lt_cv_dlopen_self=cross
11750 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11751 lt_status=$lt_dlunknown
11752 cat > conftest.$ac_ext <<_LT_EOF
11753 #line 11753 "configure"
11754 #include "confdefs.h"
11763 # define LT_DLGLOBAL RTLD_GLOBAL
11766 # define LT_DLGLOBAL DL_GLOBAL
11768 # define LT_DLGLOBAL 0
11772 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11773 find out it does not work in some platform. */
11774 #ifndef LT_DLLAZY_OR_NOW
11776 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11779 # define LT_DLLAZY_OR_NOW DL_LAZY
11782 # define LT_DLLAZY_OR_NOW RTLD_NOW
11785 # define LT_DLLAZY_OR_NOW DL_NOW
11787 # define LT_DLLAZY_OR_NOW 0
11794 void fnord() { int i=42;}
11797 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11798 int status = $lt_dlunknown;
11802 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11803 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11804 /* dlclose (self); */
11812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11813 (eval $ac_link) 2>&5
11815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11816 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11817 (./conftest; exit; ) >&5 2>/dev/null
11819 case x$lt_status in
11820 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11821 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11822 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11825 # compilation failed
11826 lt_cv_dlopen_self=no
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11834 $as_echo "$lt_cv_dlopen_self" >&6; }
11836 if test "x$lt_cv_dlopen_self" = xyes; then
11837 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11839 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11840 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11841 $as_echo_n "(cached) " >&6
11843 if test "$cross_compiling" = yes; then :
11844 lt_cv_dlopen_self_static=cross
11846 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11847 lt_status=$lt_dlunknown
11848 cat > conftest.$ac_ext <<_LT_EOF
11849 #line 11849 "configure"
11850 #include "confdefs.h"
11859 # define LT_DLGLOBAL RTLD_GLOBAL
11862 # define LT_DLGLOBAL DL_GLOBAL
11864 # define LT_DLGLOBAL 0
11868 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11869 find out it does not work in some platform. */
11870 #ifndef LT_DLLAZY_OR_NOW
11872 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11875 # define LT_DLLAZY_OR_NOW DL_LAZY
11878 # define LT_DLLAZY_OR_NOW RTLD_NOW
11881 # define LT_DLLAZY_OR_NOW DL_NOW
11883 # define LT_DLLAZY_OR_NOW 0
11890 void fnord() { int i=42;}
11893 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11894 int status = $lt_dlunknown;
11898 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11899 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11900 /* dlclose (self); */
11908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11909 (eval $ac_link) 2>&5
11911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11912 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11913 (./conftest; exit; ) >&5 2>/dev/null
11915 case x$lt_status in
11916 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11917 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11918 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11921 # compilation failed
11922 lt_cv_dlopen_self_static=no
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11930 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11933 CPPFLAGS="$save_CPPFLAGS"
11934 LDFLAGS="$save_LDFLAGS"
11939 case $lt_cv_dlopen_self in
11940 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11941 *) enable_dlopen_self=unknown ;;
11944 case $lt_cv_dlopen_self_static in
11945 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11946 *) enable_dlopen_self_static=unknown ;;
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11969 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11970 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11971 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11972 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11974 $as_echo "yes" >&6; }
11976 # FIXME - insert some real tests, host_os isn't really good enough
11979 if test -n "$STRIP" ; then
11980 striplib="$STRIP -x"
11981 old_striplib="$STRIP -S"
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11983 $as_echo "yes" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11986 $as_echo "no" >&6; }
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
12007 # Report which library types will actually be built
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12009 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12011 $as_echo "$can_build_shared" >&6; }
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12014 $as_echo_n "checking whether to build shared libraries... " >&6; }
12015 test "$can_build_shared" = "no" && enable_shared=no
12017 # On AIX, shared libraries and static libraries use the same namespace, and
12018 # are all built from PIC.
12021 test "$enable_shared" = yes && enable_static=no
12022 if test -n "$RANLIB"; then
12023 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12024 postinstall_cmds='$RANLIB $lib'
12029 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12030 test "$enable_shared" = yes && enable_static=no
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12035 $as_echo "$enable_shared" >&6; }
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12038 $as_echo_n "checking whether to build static libraries... " >&6; }
12039 # Make sure either enable_shared or enable_static is yes.
12040 test "$enable_shared" = yes || enable_static=yes
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12042 $as_echo "$enable_static" >&6; }
12049 ac_cpp='$CPP $CPPFLAGS'
12050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12068 ac_config_commands="$ac_config_commands libtool"
12073 # Only expand once:
12077 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12078 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12082 cat >>confdefs.h <<_ACEOF
12087 cat >>confdefs.h <<_ACEOF
12092 cat >>confdefs.h <<_ACEOF
12097 cat >>confdefs.h <<_ACEOF
12101 version_info="8:1:7"
12105 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12106 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12110 ### Needed information
12117 MODULE_ARCH="$host_os-$host_cpu"
12120 MODULE_ARCH="$host_os-$host_cpu-1.7.1"
12125 cat >>confdefs.h <<_ACEOF
12126 #define MODULE_ARCH "$MODULE_ARCH"
12130 want_fontconfig="auto"
12131 want_fribidi="auto"
12132 want_harfbuzz="auto"
12134 want_evas_cserve="yes"
12135 want_evas_cserve2="yes"
12137 want_evas_engine_buffer="yes"
12138 want_evas_engine_software_xlib="no"
12139 want_evas_engine_software_xcb="no"
12140 want_evas_engine_software_gdi="no"
12141 want_evas_engine_software_ddraw="no"
12142 want_evas_engine_software_8_x11="no"
12143 want_evas_engine_software_16_x11="no"
12144 want_evas_engine_software_16_wince="no"
12145 want_evas_engine_software_16_sdl="no"
12146 want_evas_engine_gl_xlib="no"
12147 want_evas_engine_gl_xcb="no"
12148 want_evas_engine_gl_sdl="no"
12149 want_evas_engine_gl_cocoa="no"
12150 want_evas_engine_direct3d="no"
12151 want_evas_engine_fb="no"
12152 want_evas_engine_directfb="no"
12153 want_evas_engine_psl1ght="no"
12154 want_evas_engine_wayland_shm="no"
12155 want_evas_engine_wayland_egl="no"
12157 want_evas_image_loader_edb="yes"
12158 want_evas_image_loader_eet="yes"
12159 want_evas_image_loader_gif="yes"
12160 want_evas_image_loader_jpeg="yes"
12161 want_evas_image_loader_pmaps="yes"
12162 want_evas_image_loader_png="yes"
12163 want_evas_image_loader_svg="yes"
12164 want_evas_image_loader_tiff="yes"
12165 want_evas_image_loader_xpm="yes"
12166 want_evas_image_loader_bmp="yes"
12167 want_evas_image_loader_tga="yes"
12168 want_evas_image_loader_wbmp="yes"
12169 want_evas_image_loader_ico="yes"
12170 want_evas_image_loader_psd="yes"
12171 want_evas_image_loader_generic="yes"
12173 want_evas_font_loader_eet="yes"
12177 want_fontconfig="no"
12178 want_evas_engine_software_16_wince="yes"
12179 want_evas_image_loader_edb="no"
12180 want_evas_image_loader_gif="no"
12181 want_evas_image_loader_svg="no"
12182 want_evas_image_loader_tiff="no"
12185 want_evas_engine_software_gdi="yes"
12186 want_evas_engine_software_ddraw="yes"
12187 want_evas_engine_direct3d="yes"
12188 want_evas_image_loader_edb="no"
12189 want_evas_image_loader_svg="no"
12192 want_evas_engine_software_xlib="auto"
12193 want_evas_engine_gl_cocoa="auto"
12196 want_evas_engine_software_xlib="auto"
12197 want_evas_engine_gl_xlib="auto"
12198 want_evas_engine_software_xcb="no"
12199 want_evas_engine_gl_xcb="no"
12200 want_evas_engine_fb="auto"
12201 want_evas_engine_wayland_shm="auto"
12202 want_evas_engine_wayland_egl="auto"
12203 ### no - not ready/usable/complete
12204 # want_evas_engine_software_8_x11="auto"
12205 # want_evas_engine_software_16_x11="auto"
12209 case "$host_vendor" in
12211 want_evas_engine_psl1ght="static"
12215 requirement_evas=""
12218 ### Additional options to configure
12220 # when used, that option makes configure script fails when
12221 # a requirement is selected, but not met.
12223 # Check whether --enable-strict was given.
12224 if test "${enable_strict+set}" = set; then :
12225 enableval=$enable_strict; use_strict="yes"
12231 # Simple X11 build/link
12232 # Check whether --enable-simple-x11 was given.
12233 if test "${enable_simple_x11+set}" = set; then :
12234 enableval=$enable_simple_x11;
12235 if test "x${enableval}" = "xyes" ; then
12236 want_evas_simple_x11="yes"
12238 want_evas_simple_x11="no"
12245 ### Checks for programs
12249 ac_cpp='$OBJCPP $CPPFLAGS'
12250 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12251 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12252 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
12253 if test -n "$ac_tool_prefix"; then
12254 for ac_prog in gcc objcc objc cc CC
12256 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12257 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12259 $as_echo_n "checking for $ac_word... " >&6; }
12260 if test "${ac_cv_prog_OBJC+set}" = set; then :
12261 $as_echo_n "(cached) " >&6
12263 if test -n "$OBJC"; then
12264 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267 for as_dir in $PATH
12270 test -z "$as_dir" && as_dir=.
12271 for ac_exec_ext in '' $ac_executable_extensions; do
12272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12273 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
12274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12283 OBJC=$ac_cv_prog_OBJC
12284 if test -n "$OBJC"; then
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
12286 $as_echo "$OBJC" >&6; }
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12289 $as_echo "no" >&6; }
12293 test -n "$OBJC" && break
12296 if test -z "$OBJC"; then
12298 for ac_prog in gcc objcc objc cc CC
12300 # Extract the first word of "$ac_prog", so it can be a program name with args.
12301 set dummy $ac_prog; ac_word=$2
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12303 $as_echo_n "checking for $ac_word... " >&6; }
12304 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
12305 $as_echo_n "(cached) " >&6
12307 if test -n "$ac_ct_OBJC"; then
12308 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
12310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12311 for as_dir in $PATH
12314 test -z "$as_dir" && as_dir=.
12315 for ac_exec_ext in '' $ac_executable_extensions; do
12316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12317 ac_cv_prog_ac_ct_OBJC="$ac_prog"
12318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12327 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
12328 if test -n "$ac_ct_OBJC"; then
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
12330 $as_echo "$ac_ct_OBJC" >&6; }
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333 $as_echo "no" >&6; }
12337 test -n "$ac_ct_OBJC" && break
12340 if test "x$ac_ct_OBJC" = x; then
12343 case $cross_compiling:$ac_tool_warned in
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12347 ac_tool_warned=yes ;;
12353 # Provide some information about the compiler.
12354 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
12357 for ac_option in --version -v -V -qversion; do
12358 { { ac_try="$ac_compiler $ac_option >&5"
12359 case "(($ac_try" in
12360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12361 *) ac_try_echo=$ac_try;;
12363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12364 $as_echo "$ac_try_echo"; } >&5
12365 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12367 if test -s conftest.err; then
12369 ... rest of stderr output deleted ...
12370 10q' conftest.err >conftest.er1
12371 cat conftest.er1 >&5
12373 rm -f conftest.er1 conftest.err
12374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12375 test $ac_status = 0; }
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
12379 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
12380 if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
12381 $as_echo_n "(cached) " >&6
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12397 if ac_fn_objc_try_compile "$LINENO"; then :
12398 ac_compiler_gnu=yes
12402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12403 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
12407 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
12408 if test $ac_compiler_gnu = yes; then
12413 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
12414 ac_save_OBJCFLAGS=$OBJCFLAGS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
12416 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
12417 if test "${ac_cv_prog_objc_g+set}" = set; then :
12418 $as_echo_n "(cached) " >&6
12420 ac_save_objc_werror_flag=$ac_objc_werror_flag
12421 ac_objc_werror_flag=yes
12422 ac_cv_prog_objc_g=no
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12435 if ac_fn_objc_try_compile "$LINENO"; then :
12436 ac_cv_prog_objc_g=yes
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12450 if ac_fn_objc_try_compile "$LINENO"; then :
12453 ac_objc_werror_flag=$ac_save_objc_werror_flag
12455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12466 if ac_fn_objc_try_compile "$LINENO"; then :
12467 ac_cv_prog_objc_g=yes
12469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12474 ac_objc_werror_flag=$ac_save_objc_werror_flag
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
12477 $as_echo "$ac_cv_prog_objc_g" >&6; }
12478 if test "$ac_test_OBJCFLAGS" = set; then
12479 OBJCFLAGS=$ac_save_OBJCFLAGS
12480 elif test $ac_cv_prog_objc_g = yes; then
12481 if test "$GOBJC" = yes; then
12487 if test "$GOBJC" = yes; then
12494 ac_cpp='$CPP $CPPFLAGS'
12495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12499 depcc="$OBJC" am_compiler_list='gcc3 gcc'
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12502 $as_echo_n "checking dependency style of $depcc... " >&6; }
12503 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
12504 $as_echo_n "(cached) " >&6
12506 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12507 # We make a subdir and do the tests there. Otherwise we can end up
12508 # making bogus files that we don't know about and never remove. For
12509 # instance it was reported that on HP-UX the gcc test will end up
12510 # making a dummy file named `D' -- because `-MD' means `put the output
12513 # Copy depcomp to subdir because otherwise we won't find it if we're
12514 # using a relative directory.
12515 cp "$am_depcomp" conftest.dir
12517 # We will build objects and dependencies in a subdirectory because
12518 # it helps to detect inapplicable dependency modes. For instance
12519 # both Tru64's cc and ICC support -MD to output dependencies as a
12520 # side effect of compilation, but ICC will put the dependencies in
12521 # the current directory while Tru64 will put them in the object
12525 am_cv_OBJC_dependencies_compiler_type=none
12526 if test "$am_compiler_list" = ""; then
12527 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12529 am__universal=false
12532 for depmode in $am_compiler_list; do
12533 # Setup a source with many dependencies, because some compilers
12534 # like to wrap large dependency lists on column 80 (with \), and
12535 # we should not choose a depcomp mode which is confused by this.
12537 # We need to recreate these files for each test, as the compiler may
12538 # overwrite some of them when testing with obscure command lines.
12539 # This happens at least with the AIX C compiler.
12541 for i in 1 2 3 4 5 6; do
12542 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12543 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12544 # Solaris 8's {/usr,}/bin/sh.
12545 touch sub/conftst$i.h
12547 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12549 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12550 # mode. It turns out that the SunPro C++ compiler does not properly
12551 # handle `-M -o', and we need to detect this. Also, some Intel
12552 # versions had trouble with output in subdirs
12553 am__obj=sub/conftest.${OBJEXT-o}
12554 am__minus_obj="-o $am__obj"
12557 # This depmode causes a compiler race in universal mode.
12558 test "$am__universal" = false || continue
12561 # after this tag, mechanisms are not by side-effect, so they'll
12562 # only be used when explicitly requested
12563 if test "x$enable_dependency_tracking" = xyes; then
12569 msvisualcpp | msvcmsys)
12570 # This compiler won't grok `-c -o', but also, the minuso test has
12571 # not run yet. These depmodes are late enough in the game, and
12572 # so weak that their functioning should not be impacted.
12573 am__obj=conftest.${OBJEXT-o}
12578 if depmode=$depmode \
12579 source=sub/conftest.c object=$am__obj \
12580 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12581 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12582 >/dev/null 2>conftest.err &&
12583 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12584 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12585 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12586 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12587 # icc doesn't choke on unknown options, it will just issue warnings
12588 # or remarks (even with -Werror). So we grep stderr for any message
12589 # that says an option was ignored or not supported.
12590 # When given -MP, icc 7.0 and 7.1 complain thusly:
12591 # icc: Command line warning: ignoring option '-M'; no argument required
12592 # The diagnosis changed in icc 8.0:
12593 # icc: Command line remark: option '-MP' not supported
12594 if (grep 'ignoring option' conftest.err ||
12595 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12596 am_cv_OBJC_dependencies_compiler_type=$depmode
12603 rm -rf conftest.dir
12605 am_cv_OBJC_dependencies_compiler_type=none
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
12610 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
12611 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
12614 test "x$enable_dependency_tracking" != xno \
12615 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
12616 am__fastdepOBJC_TRUE=
12617 am__fastdepOBJC_FALSE='#'
12619 am__fastdepOBJC_TRUE='#'
12620 am__fastdepOBJC_FALSE=
12625 depcc="$OBJC" am_compiler_list='gcc3 gcc'
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12628 $as_echo_n "checking dependency style of $depcc... " >&6; }
12629 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
12630 $as_echo_n "(cached) " >&6
12632 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12633 # We make a subdir and do the tests there. Otherwise we can end up
12634 # making bogus files that we don't know about and never remove. For
12635 # instance it was reported that on HP-UX the gcc test will end up
12636 # making a dummy file named `D' -- because `-MD' means `put the output
12639 # Copy depcomp to subdir because otherwise we won't find it if we're
12640 # using a relative directory.
12641 cp "$am_depcomp" conftest.dir
12643 # We will build objects and dependencies in a subdirectory because
12644 # it helps to detect inapplicable dependency modes. For instance
12645 # both Tru64's cc and ICC support -MD to output dependencies as a
12646 # side effect of compilation, but ICC will put the dependencies in
12647 # the current directory while Tru64 will put them in the object
12651 am_cv_OBJC_dependencies_compiler_type=none
12652 if test "$am_compiler_list" = ""; then
12653 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12655 am__universal=false
12658 for depmode in $am_compiler_list; do
12659 # Setup a source with many dependencies, because some compilers
12660 # like to wrap large dependency lists on column 80 (with \), and
12661 # we should not choose a depcomp mode which is confused by this.
12663 # We need to recreate these files for each test, as the compiler may
12664 # overwrite some of them when testing with obscure command lines.
12665 # This happens at least with the AIX C compiler.
12667 for i in 1 2 3 4 5 6; do
12668 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12669 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12670 # Solaris 8's {/usr,}/bin/sh.
12671 touch sub/conftst$i.h
12673 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12675 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12676 # mode. It turns out that the SunPro C++ compiler does not properly
12677 # handle `-M -o', and we need to detect this. Also, some Intel
12678 # versions had trouble with output in subdirs
12679 am__obj=sub/conftest.${OBJEXT-o}
12680 am__minus_obj="-o $am__obj"
12683 # This depmode causes a compiler race in universal mode.
12684 test "$am__universal" = false || continue
12687 # after this tag, mechanisms are not by side-effect, so they'll
12688 # only be used when explicitly requested
12689 if test "x$enable_dependency_tracking" = xyes; then
12695 msvisualcpp | msvcmsys)
12696 # This compiler won't grok `-c -o', but also, the minuso test has
12697 # not run yet. These depmodes are late enough in the game, and
12698 # so weak that their functioning should not be impacted.
12699 am__obj=conftest.${OBJEXT-o}
12704 if depmode=$depmode \
12705 source=sub/conftest.c object=$am__obj \
12706 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12707 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12708 >/dev/null 2>conftest.err &&
12709 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12710 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12711 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12712 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12713 # icc doesn't choke on unknown options, it will just issue warnings
12714 # or remarks (even with -Werror). So we grep stderr for any message
12715 # that says an option was ignored or not supported.
12716 # When given -MP, icc 7.0 and 7.1 complain thusly:
12717 # icc: Command line warning: ignoring option '-M'; no argument required
12718 # The diagnosis changed in icc 8.0:
12719 # icc: Command line remark: option '-MP' not supported
12720 if (grep 'ignoring option' conftest.err ||
12721 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12722 am_cv_OBJC_dependencies_compiler_type=$depmode
12729 rm -rf conftest.dir
12731 am_cv_OBJC_dependencies_compiler_type=none
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
12736 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
12737 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
12740 test "x$enable_dependency_tracking" != xno \
12741 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
12742 am__fastdepOBJC_TRUE=
12743 am__fastdepOBJC_FALSE='#'
12745 am__fastdepOBJC_TRUE='#'
12746 am__fastdepOBJC_FALSE=
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
12754 $as_echo_n "checking whether the Objective C compiler works... " >&6; }
12755 if test "${rw_cv_prog_objc_works+set}" = set; then :
12756 $as_echo_n "(cached) " >&6
12759 ac_cpp='$OBJCPP $CPPFLAGS'
12760 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12761 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12762 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12775 if ac_fn_objc_try_link "$LINENO"; then :
12776 rw_cv_prog_objc_works=yes
12778 rw_cv_prog_objc_works=no
12780 rm -f core conftest.err conftest.$ac_objext \
12781 conftest$ac_exeext conftest.$ac_ext
12783 ac_cpp='$CPP $CPPFLAGS'
12784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
12790 $as_echo "$rw_cv_prog_objc_works" >&6; }
12794 ac_cpp='$CXXCPP $CPPFLAGS'
12795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12798 if test -z "$CXX"; then
12799 if test -n "$CCC"; then
12802 if test -n "$ac_tool_prefix"; then
12803 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12808 $as_echo_n "checking for $ac_word... " >&6; }
12809 if test "${ac_cv_prog_CXX+set}" = set; then :
12810 $as_echo_n "(cached) " >&6
12812 if test -n "$CXX"; then
12813 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12816 for as_dir in $PATH
12819 test -z "$as_dir" && as_dir=.
12820 for ac_exec_ext in '' $ac_executable_extensions; do
12821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12822 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12832 CXX=$ac_cv_prog_CXX
12833 if test -n "$CXX"; then
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12835 $as_echo "$CXX" >&6; }
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838 $as_echo "no" >&6; }
12842 test -n "$CXX" && break
12845 if test -z "$CXX"; then
12847 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12849 # Extract the first word of "$ac_prog", so it can be a program name with args.
12850 set dummy $ac_prog; ac_word=$2
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12852 $as_echo_n "checking for $ac_word... " >&6; }
12853 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
12854 $as_echo_n "(cached) " >&6
12856 if test -n "$ac_ct_CXX"; then
12857 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12860 for as_dir in $PATH
12863 test -z "$as_dir" && as_dir=.
12864 for ac_exec_ext in '' $ac_executable_extensions; do
12865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12866 ac_cv_prog_ac_ct_CXX="$ac_prog"
12867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12876 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12877 if test -n "$ac_ct_CXX"; then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12879 $as_echo "$ac_ct_CXX" >&6; }
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12886 test -n "$ac_ct_CXX" && break
12889 if test "x$ac_ct_CXX" = x; then
12892 case $cross_compiling:$ac_tool_warned in
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12896 ac_tool_warned=yes ;;
12904 # Provide some information about the compiler.
12905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12908 for ac_option in --version -v -V -qversion; do
12909 { { ac_try="$ac_compiler $ac_option >&5"
12910 case "(($ac_try" in
12911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12912 *) ac_try_echo=$ac_try;;
12914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12915 $as_echo "$ac_try_echo"; } >&5
12916 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12918 if test -s conftest.err; then
12920 ... rest of stderr output deleted ...
12921 10q' conftest.err >conftest.er1
12922 cat conftest.er1 >&5
12924 rm -f conftest.er1 conftest.err
12925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12926 test $ac_status = 0; }
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12930 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12931 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
12932 $as_echo_n "(cached) " >&6
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12948 if ac_fn_cxx_try_compile "$LINENO"; then :
12949 ac_compiler_gnu=yes
12953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12954 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12958 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12959 if test $ac_compiler_gnu = yes; then
12964 ac_test_CXXFLAGS=${CXXFLAGS+set}
12965 ac_save_CXXFLAGS=$CXXFLAGS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12967 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12968 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12969 $as_echo_n "(cached) " >&6
12971 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12972 ac_cxx_werror_flag=yes
12973 ac_cv_prog_cxx_g=no
12975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12976 /* end confdefs.h. */
12986 if ac_fn_cxx_try_compile "$LINENO"; then :
12987 ac_cv_prog_cxx_g=yes
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
13001 if ac_fn_cxx_try_compile "$LINENO"; then :
13004 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13017 if ac_fn_cxx_try_compile "$LINENO"; then :
13018 ac_cv_prog_cxx_g=yes
13020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13025 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13028 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13029 if test "$ac_test_CXXFLAGS" = set; then
13030 CXXFLAGS=$ac_save_CXXFLAGS
13031 elif test $ac_cv_prog_cxx_g = yes; then
13032 if test "$GXX" = yes; then
13038 if test "$GXX" = yes; then
13045 ac_cpp='$CPP $CPPFLAGS'
13046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13050 depcc="$CXX" am_compiler_list=
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13053 $as_echo_n "checking dependency style of $depcc... " >&6; }
13054 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13055 $as_echo_n "(cached) " >&6
13057 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13058 # We make a subdir and do the tests there. Otherwise we can end up
13059 # making bogus files that we don't know about and never remove. For
13060 # instance it was reported that on HP-UX the gcc test will end up
13061 # making a dummy file named `D' -- because `-MD' means `put the output
13064 # Copy depcomp to subdir because otherwise we won't find it if we're
13065 # using a relative directory.
13066 cp "$am_depcomp" conftest.dir
13068 # We will build objects and dependencies in a subdirectory because
13069 # it helps to detect inapplicable dependency modes. For instance
13070 # both Tru64's cc and ICC support -MD to output dependencies as a
13071 # side effect of compilation, but ICC will put the dependencies in
13072 # the current directory while Tru64 will put them in the object
13076 am_cv_CXX_dependencies_compiler_type=none
13077 if test "$am_compiler_list" = ""; then
13078 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13080 am__universal=false
13081 case " $depcc " in #(
13082 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13085 for depmode in $am_compiler_list; do
13086 # Setup a source with many dependencies, because some compilers
13087 # like to wrap large dependency lists on column 80 (with \), and
13088 # we should not choose a depcomp mode which is confused by this.
13090 # We need to recreate these files for each test, as the compiler may
13091 # overwrite some of them when testing with obscure command lines.
13092 # This happens at least with the AIX C compiler.
13094 for i in 1 2 3 4 5 6; do
13095 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13096 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13097 # Solaris 8's {/usr,}/bin/sh.
13098 touch sub/conftst$i.h
13100 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13102 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13103 # mode. It turns out that the SunPro C++ compiler does not properly
13104 # handle `-M -o', and we need to detect this. Also, some Intel
13105 # versions had trouble with output in subdirs
13106 am__obj=sub/conftest.${OBJEXT-o}
13107 am__minus_obj="-o $am__obj"
13110 # This depmode causes a compiler race in universal mode.
13111 test "$am__universal" = false || continue
13114 # after this tag, mechanisms are not by side-effect, so they'll
13115 # only be used when explicitly requested
13116 if test "x$enable_dependency_tracking" = xyes; then
13122 msvisualcpp | msvcmsys)
13123 # This compiler won't grok `-c -o', but also, the minuso test has
13124 # not run yet. These depmodes are late enough in the game, and
13125 # so weak that their functioning should not be impacted.
13126 am__obj=conftest.${OBJEXT-o}
13131 if depmode=$depmode \
13132 source=sub/conftest.c object=$am__obj \
13133 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13134 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13135 >/dev/null 2>conftest.err &&
13136 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13137 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13138 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13139 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13140 # icc doesn't choke on unknown options, it will just issue warnings
13141 # or remarks (even with -Werror). So we grep stderr for any message
13142 # that says an option was ignored or not supported.
13143 # When given -MP, icc 7.0 and 7.1 complain thusly:
13144 # icc: Command line warning: ignoring option '-M'; no argument required
13145 # The diagnosis changed in icc 8.0:
13146 # icc: Command line remark: option '-MP' not supported
13147 if (grep 'ignoring option' conftest.err ||
13148 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13149 am_cv_CXX_dependencies_compiler_type=$depmode
13156 rm -rf conftest.dir
13158 am_cv_CXX_dependencies_compiler_type=none
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13163 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13164 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13167 test "x$enable_dependency_tracking" != xno \
13168 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13169 am__fastdepCXX_TRUE=
13170 am__fastdepCXX_FALSE='#'
13172 am__fastdepCXX_TRUE='#'
13173 am__fastdepCXX_FALSE=
13179 ac_cpp='$CXXCPP $CPPFLAGS'
13180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13183 if test -z "$CXX"; then
13184 if test -n "$CCC"; then
13187 if test -n "$ac_tool_prefix"; then
13188 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13193 $as_echo_n "checking for $ac_word... " >&6; }
13194 if test "${ac_cv_prog_CXX+set}" = set; then :
13195 $as_echo_n "(cached) " >&6
13197 if test -n "$CXX"; then
13198 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13201 for as_dir in $PATH
13204 test -z "$as_dir" && as_dir=.
13205 for ac_exec_ext in '' $ac_executable_extensions; do
13206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13207 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13217 CXX=$ac_cv_prog_CXX
13218 if test -n "$CXX"; then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13220 $as_echo "$CXX" >&6; }
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13223 $as_echo "no" >&6; }
13227 test -n "$CXX" && break
13230 if test -z "$CXX"; then
13232 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13234 # Extract the first word of "$ac_prog", so it can be a program name with args.
13235 set dummy $ac_prog; ac_word=$2
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13237 $as_echo_n "checking for $ac_word... " >&6; }
13238 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13239 $as_echo_n "(cached) " >&6
13241 if test -n "$ac_ct_CXX"; then
13242 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13245 for as_dir in $PATH
13248 test -z "$as_dir" && as_dir=.
13249 for ac_exec_ext in '' $ac_executable_extensions; do
13250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13251 ac_cv_prog_ac_ct_CXX="$ac_prog"
13252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13261 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13262 if test -n "$ac_ct_CXX"; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13264 $as_echo "$ac_ct_CXX" >&6; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13267 $as_echo "no" >&6; }
13271 test -n "$ac_ct_CXX" && break
13274 if test "x$ac_ct_CXX" = x; then
13277 case $cross_compiling:$ac_tool_warned in
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13281 ac_tool_warned=yes ;;
13289 # Provide some information about the compiler.
13290 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13293 for ac_option in --version -v -V -qversion; do
13294 { { ac_try="$ac_compiler $ac_option >&5"
13295 case "(($ac_try" in
13296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13297 *) ac_try_echo=$ac_try;;
13299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13300 $as_echo "$ac_try_echo"; } >&5
13301 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13303 if test -s conftest.err; then
13305 ... rest of stderr output deleted ...
13306 10q' conftest.err >conftest.er1
13307 cat conftest.er1 >&5
13309 rm -f conftest.er1 conftest.err
13310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13311 test $ac_status = 0; }
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13315 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13316 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13317 $as_echo_n "(cached) " >&6
13319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13320 /* end confdefs.h. */
13333 if ac_fn_cxx_try_compile "$LINENO"; then :
13334 ac_compiler_gnu=yes
13338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13339 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13343 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13344 if test $ac_compiler_gnu = yes; then
13349 ac_test_CXXFLAGS=${CXXFLAGS+set}
13350 ac_save_CXXFLAGS=$CXXFLAGS
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13352 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13353 if test "${ac_cv_prog_cxx_g+set}" = set; then :
13354 $as_echo_n "(cached) " >&6
13356 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13357 ac_cxx_werror_flag=yes
13358 ac_cv_prog_cxx_g=no
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13371 if ac_fn_cxx_try_compile "$LINENO"; then :
13372 ac_cv_prog_cxx_g=yes
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13386 if ac_fn_cxx_try_compile "$LINENO"; then :
13389 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13392 /* end confdefs.h. */
13402 if ac_fn_cxx_try_compile "$LINENO"; then :
13403 ac_cv_prog_cxx_g=yes
13405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13410 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13413 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13414 if test "$ac_test_CXXFLAGS" = set; then
13415 CXXFLAGS=$ac_save_CXXFLAGS
13416 elif test $ac_cv_prog_cxx_g = yes; then
13417 if test "$GXX" = yes; then
13423 if test "$GXX" = yes; then
13430 ac_cpp='$CPP $CPPFLAGS'
13431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13435 depcc="$CXX" am_compiler_list=
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13438 $as_echo_n "checking dependency style of $depcc... " >&6; }
13439 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13440 $as_echo_n "(cached) " >&6
13442 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13443 # We make a subdir and do the tests there. Otherwise we can end up
13444 # making bogus files that we don't know about and never remove. For
13445 # instance it was reported that on HP-UX the gcc test will end up
13446 # making a dummy file named `D' -- because `-MD' means `put the output
13449 # Copy depcomp to subdir because otherwise we won't find it if we're
13450 # using a relative directory.
13451 cp "$am_depcomp" conftest.dir
13453 # We will build objects and dependencies in a subdirectory because
13454 # it helps to detect inapplicable dependency modes. For instance
13455 # both Tru64's cc and ICC support -MD to output dependencies as a
13456 # side effect of compilation, but ICC will put the dependencies in
13457 # the current directory while Tru64 will put them in the object
13461 am_cv_CXX_dependencies_compiler_type=none
13462 if test "$am_compiler_list" = ""; then
13463 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13465 am__universal=false
13466 case " $depcc " in #(
13467 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13470 for depmode in $am_compiler_list; do
13471 # Setup a source with many dependencies, because some compilers
13472 # like to wrap large dependency lists on column 80 (with \), and
13473 # we should not choose a depcomp mode which is confused by this.
13475 # We need to recreate these files for each test, as the compiler may
13476 # overwrite some of them when testing with obscure command lines.
13477 # This happens at least with the AIX C compiler.
13479 for i in 1 2 3 4 5 6; do
13480 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13481 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13482 # Solaris 8's {/usr,}/bin/sh.
13483 touch sub/conftst$i.h
13485 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13487 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13488 # mode. It turns out that the SunPro C++ compiler does not properly
13489 # handle `-M -o', and we need to detect this. Also, some Intel
13490 # versions had trouble with output in subdirs
13491 am__obj=sub/conftest.${OBJEXT-o}
13492 am__minus_obj="-o $am__obj"
13495 # This depmode causes a compiler race in universal mode.
13496 test "$am__universal" = false || continue
13499 # after this tag, mechanisms are not by side-effect, so they'll
13500 # only be used when explicitly requested
13501 if test "x$enable_dependency_tracking" = xyes; then
13507 msvisualcpp | msvcmsys)
13508 # This compiler won't grok `-c -o', but also, the minuso test has
13509 # not run yet. These depmodes are late enough in the game, and
13510 # so weak that their functioning should not be impacted.
13511 am__obj=conftest.${OBJEXT-o}
13516 if depmode=$depmode \
13517 source=sub/conftest.c object=$am__obj \
13518 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13519 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13520 >/dev/null 2>conftest.err &&
13521 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13522 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13523 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13524 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13525 # icc doesn't choke on unknown options, it will just issue warnings
13526 # or remarks (even with -Werror). So we grep stderr for any message
13527 # that says an option was ignored or not supported.
13528 # When given -MP, icc 7.0 and 7.1 complain thusly:
13529 # icc: Command line warning: ignoring option '-M'; no argument required
13530 # The diagnosis changed in icc 8.0:
13531 # icc: Command line remark: option '-MP' not supported
13532 if (grep 'ignoring option' conftest.err ||
13533 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13534 am_cv_CXX_dependencies_compiler_type=$depmode
13541 rm -rf conftest.dir
13543 am_cv_CXX_dependencies_compiler_type=none
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13548 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13549 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13552 test "x$enable_dependency_tracking" != xno \
13553 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13554 am__fastdepCXX_TRUE=
13555 am__fastdepCXX_FALSE='#'
13557 am__fastdepCXX_TRUE='#'
13558 am__fastdepCXX_FALSE=
13562 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13563 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13564 (test "X$CXX" != "Xg++"))) ; then
13566 ac_cpp='$CXXCPP $CPPFLAGS'
13567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13571 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13572 if test -z "$CXXCPP"; then
13573 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13574 $as_echo_n "(cached) " >&6
13576 # Double quotes because CXXCPP needs to be expanded
13577 for CXXCPP in "$CXX -E" "/lib/cpp"
13579 ac_preproc_ok=false
13580 for ac_cxx_preproc_warn_flag in '' yes
13582 # Use a header file that comes with gcc, so configuring glibc
13583 # with a fresh cross-compiler works.
13584 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13585 # <limits.h> exists even on freestanding compilers.
13586 # On the NeXT, cc -E runs the code through the compiler's parser,
13587 # not just through cpp. "Syntax error" is here to catch this case.
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 # include <limits.h>
13593 # include <assert.h>
13597 if ac_fn_cxx_try_cpp "$LINENO"; then :
13600 # Broken: fails on valid input.
13603 rm -f conftest.err conftest.i conftest.$ac_ext
13605 # OK, works on sane cases. Now check whether nonexistent headers
13606 # can be detected and how.
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13608 /* end confdefs.h. */
13609 #include <ac_nonexistent.h>
13611 if ac_fn_cxx_try_cpp "$LINENO"; then :
13612 # Broken: success on invalid input.
13615 # Passes both tests.
13619 rm -f conftest.err conftest.i conftest.$ac_ext
13622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13623 rm -f conftest.i conftest.err conftest.$ac_ext
13624 if $ac_preproc_ok; then :
13629 ac_cv_prog_CXXCPP=$CXXCPP
13632 CXXCPP=$ac_cv_prog_CXXCPP
13634 ac_cv_prog_CXXCPP=$CXXCPP
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13637 $as_echo "$CXXCPP" >&6; }
13638 ac_preproc_ok=false
13639 for ac_cxx_preproc_warn_flag in '' yes
13641 # Use a header file that comes with gcc, so configuring glibc
13642 # with a fresh cross-compiler works.
13643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13644 # <limits.h> exists even on freestanding compilers.
13645 # On the NeXT, cc -E runs the code through the compiler's parser,
13646 # not just through cpp. "Syntax error" is here to catch this case.
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13650 # include <limits.h>
13652 # include <assert.h>
13656 if ac_fn_cxx_try_cpp "$LINENO"; then :
13659 # Broken: fails on valid input.
13662 rm -f conftest.err conftest.i conftest.$ac_ext
13664 # OK, works on sane cases. Now check whether nonexistent headers
13665 # can be detected and how.
13666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13667 /* end confdefs.h. */
13668 #include <ac_nonexistent.h>
13670 if ac_fn_cxx_try_cpp "$LINENO"; then :
13671 # Broken: success on invalid input.
13674 # Passes both tests.
13678 rm -f conftest.err conftest.i conftest.$ac_ext
13681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13682 rm -f conftest.i conftest.err conftest.$ac_ext
13683 if $ac_preproc_ok; then :
13686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13688 _lt_caught_CXX_error=yes; }
13692 ac_cpp='$CPP $CPPFLAGS'
13693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13698 _lt_caught_CXX_error=yes
13705 ac_cpp='$CXXCPP $CPPFLAGS'
13706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13710 archive_cmds_need_lc_CXX=no
13711 allow_undefined_flag_CXX=
13712 always_export_symbols_CXX=no
13713 archive_expsym_cmds_CXX=
13714 compiler_needs_object_CXX=no
13715 export_dynamic_flag_spec_CXX=
13716 hardcode_direct_CXX=no
13717 hardcode_direct_absolute_CXX=no
13718 hardcode_libdir_flag_spec_CXX=
13719 hardcode_libdir_flag_spec_ld_CXX=
13720 hardcode_libdir_separator_CXX=
13721 hardcode_minus_L_CXX=no
13722 hardcode_shlibpath_var_CXX=unsupported
13723 hardcode_automatic_CXX=no
13724 inherit_rpath_CXX=no
13726 module_expsym_cmds_CXX=
13727 link_all_deplibs_CXX=unknown
13728 old_archive_cmds_CXX=$old_archive_cmds
13729 no_undefined_flag_CXX=
13730 whole_archive_flag_spec_CXX=
13731 enable_shared_with_static_runtimes_CXX=no
13733 # Source file extension for C++ test sources.
13736 # Object file extension for compiled C++ test sources.
13740 # No sense in running all these tests if we already determined that
13741 # the CXX compiler isn't working. Some variables (like enable_shared)
13742 # are currently assumed to apply to all compilers on this platform,
13743 # and will be corrupted by setting them based on a non-working compiler.
13744 if test "$_lt_caught_CXX_error" != yes; then
13745 # Code to be used in simple compile tests
13746 lt_simple_compile_test_code="int some_variable = 0;"
13748 # Code to be used in simple link tests
13749 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13751 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13758 # If no C compiler was specified, use CC.
13761 # If no C compiler flags were specified, use CFLAGS.
13762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13764 # Allow CC to be a program name with arguments.
13768 # save warnings/boilerplate of simple test code
13769 ac_outfile=conftest.$ac_objext
13770 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13771 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13772 _lt_compiler_boilerplate=`cat conftest.err`
13775 ac_outfile=conftest.$ac_objext
13776 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13777 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13778 _lt_linker_boilerplate=`cat conftest.err`
13782 # Allow CC to be a program name with arguments.
13787 lt_save_with_gnu_ld=$with_gnu_ld
13788 lt_save_path_LD=$lt_cv_path_LD
13789 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13790 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13792 $as_unset lt_cv_prog_gnu_ld
13794 if test -n "${lt_cv_path_LDCXX+set}"; then
13795 lt_cv_path_LD=$lt_cv_path_LDCXX
13797 $as_unset lt_cv_path_LD
13799 test -z "${LDCXX+set}" || LD=$LDCXX
13803 for cc_temp in $compiler""; do
13805 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13806 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13811 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13814 if test -n "$compiler"; then
13815 # We don't want -fno-exception when compiling C++ code, so set the
13816 # no_builtin_flag separately
13817 if test "$GXX" = yes; then
13818 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13820 lt_prog_compiler_no_builtin_flag_CXX=
13823 if test "$GXX" = yes; then
13824 # Set up default GNU C++ configuration
13828 # Check whether --with-gnu-ld was given.
13829 if test "${with_gnu_ld+set}" = set; then :
13830 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13836 if test "$GCC" = yes; then
13837 # Check if gcc -print-prog-name=ld gives a path.
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13839 $as_echo_n "checking for ld used by $CC... " >&6; }
13842 # gcc leaves a trailing carriage return which upsets mingw
13843 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13845 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13848 # Accept absolute paths.
13850 re_direlt='/[^/][^/]*/\.\./'
13851 # Canonicalize the pathname of ld
13852 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13853 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13854 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13856 test -z "$LD" && LD="$ac_prog"
13859 # If it fails, then pretend we aren't using GCC.
13863 # If it is relative, then search for the first ld in PATH.
13864 with_gnu_ld=unknown
13867 elif test "$with_gnu_ld" = yes; then
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13869 $as_echo_n "checking for GNU ld... " >&6; }
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13872 $as_echo_n "checking for non-GNU ld... " >&6; }
13874 if test "${lt_cv_path_LD+set}" = set; then :
13875 $as_echo_n "(cached) " >&6
13877 if test -z "$LD"; then
13878 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13879 for ac_dir in $PATH; do
13881 test -z "$ac_dir" && ac_dir=.
13882 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13883 lt_cv_path_LD="$ac_dir/$ac_prog"
13884 # Check to see if the program is GNU ld. I'd rather use --version,
13885 # but apparently some variants of GNU ld only accept -v.
13886 # Break only if it was the GNU/non-GNU ld that we prefer.
13887 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13888 *GNU* | *'with BFD'*)
13889 test "$with_gnu_ld" != no && break
13892 test "$with_gnu_ld" != yes && break
13899 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13903 LD="$lt_cv_path_LD"
13904 if test -n "$LD"; then
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13906 $as_echo "$LD" >&6; }
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909 $as_echo "no" >&6; }
13911 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13913 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13914 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13915 $as_echo_n "(cached) " >&6
13917 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13918 case `$LD -v 2>&1 </dev/null` in
13919 *GNU* | *'with BFD'*)
13920 lt_cv_prog_gnu_ld=yes
13923 lt_cv_prog_gnu_ld=no
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13928 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13929 with_gnu_ld=$lt_cv_prog_gnu_ld
13937 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13938 # archiving commands below assume that GNU ld is being used.
13939 if test "$with_gnu_ld" = yes; then
13940 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13941 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13944 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13946 # If archive_cmds runs LD, not CC, wlarc should be empty
13947 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13948 # investigate it a little bit more. (MM)
13951 # ancient GNU ld didn't support --whole-archive et. al.
13952 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13953 $GREP 'no-whole-archive' > /dev/null; then
13954 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13956 whole_archive_flag_spec_CXX=
13962 # A generic and very simple default shared library creation
13963 # command for GNU C++ for the case where it uses the native
13964 # linker, instead of GNU ld. If possible, this setting should
13965 # overridden to take advantage of the native linker features on
13966 # the platform it is being used on.
13967 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13970 # Commands to make compiler produce verbose output that lists
13971 # what "hidden" libraries, object files and flags are used when
13972 # linking a shared library.
13973 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13981 # PORTME: fill in a description of your system's C++ link characteristics
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13983 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13987 # FIXME: insert proper C++ library support
13991 if test "$host_cpu" = ia64; then
13992 # On IA64, the linker does run time linking by default, so we don't
13993 # have to do anything special.
13994 aix_use_runtimelinking=no
13995 exp_sym_flag='-Bexport'
13998 aix_use_runtimelinking=no
14000 # Test if we are trying to use run time linking or normal
14001 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14002 # need to do runtime linking.
14003 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14004 for ld_flag in $LDFLAGS; do
14007 aix_use_runtimelinking=yes
14015 exp_sym_flag='-bexport'
14016 no_entry_flag='-bnoentry'
14019 # When large executables or shared objects are built, AIX ld can
14020 # have problems creating the table of contents. If linking a library
14021 # or program results in "error TOC overflow" add -mminimal-toc to
14022 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14023 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14025 archive_cmds_CXX=''
14026 hardcode_direct_CXX=yes
14027 hardcode_direct_absolute_CXX=yes
14028 hardcode_libdir_separator_CXX=':'
14029 link_all_deplibs_CXX=yes
14030 file_list_spec_CXX='${wl}-f,'
14032 if test "$GXX" = yes; then
14033 case $host_os in aix4.[012]|aix4.[012].*)
14034 # We only want to do this on AIX 4.2 and lower, the check
14035 # below for broken collect2 doesn't work under 4.3+
14036 collect2name=`${CC} -print-prog-name=collect2`
14037 if test -f "$collect2name" &&
14038 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14040 # We have reworked collect2
14043 # We have old collect2
14044 hardcode_direct_CXX=unsupported
14045 # It fails to find uninstalled libraries when the uninstalled
14046 # path is not listed in the libpath. Setting hardcode_minus_L
14047 # to unsupported forces relinking
14048 hardcode_minus_L_CXX=yes
14049 hardcode_libdir_flag_spec_CXX='-L$libdir'
14050 hardcode_libdir_separator_CXX=
14053 shared_flag='-shared'
14054 if test "$aix_use_runtimelinking" = yes; then
14055 shared_flag="$shared_flag "'${wl}-G'
14059 if test "$host_cpu" = ia64; then
14060 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14061 # chokes on -Wl,-G. The following line is correct:
14064 if test "$aix_use_runtimelinking" = yes; then
14065 shared_flag='${wl}-G'
14067 shared_flag='${wl}-bM:SRE'
14072 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14073 # It seems that -bexpall does not export symbols beginning with
14074 # underscore (_), so it is better to generate a list of symbols to
14076 always_export_symbols_CXX=yes
14077 if test "$aix_use_runtimelinking" = yes; then
14078 # Warning - without using the other runtime loading flags (-brtl),
14079 # -berok will link without error, but may produce a broken library.
14080 allow_undefined_flag_CXX='-berok'
14081 # Determine the default libpath from the value encoded in an empty
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14094 if ac_fn_cxx_try_link "$LINENO"; then :
14096 lt_aix_libpath_sed='
14097 /Import File Strings/,/^$/ {
14103 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14104 # Check for a 64-bit object if we didn't find anything.
14105 if test -z "$aix_libpath"; then
14106 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14109 rm -f core conftest.err conftest.$ac_objext \
14110 conftest$ac_exeext conftest.$ac_ext
14111 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14113 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14115 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14117 if test "$host_cpu" = ia64; then
14118 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14119 allow_undefined_flag_CXX="-z nodefs"
14120 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"
14122 # Determine the default libpath from the value encoded in an
14123 # empty executable.
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14135 if ac_fn_cxx_try_link "$LINENO"; then :
14137 lt_aix_libpath_sed='
14138 /Import File Strings/,/^$/ {
14144 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14145 # Check for a 64-bit object if we didn't find anything.
14146 if test -z "$aix_libpath"; then
14147 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14150 rm -f core conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14152 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14154 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14155 # Warning - without using the other run time loading flags,
14156 # -berok will link without error, but may produce a broken library.
14157 no_undefined_flag_CXX=' ${wl}-bernotok'
14158 allow_undefined_flag_CXX=' ${wl}-berok'
14159 # Exported symbols can be pulled into shared objects from archives
14160 whole_archive_flag_spec_CXX='$convenience'
14161 archive_cmds_need_lc_CXX=yes
14162 # This is similar to how AIX traditionally builds its shared
14164 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'
14170 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14171 allow_undefined_flag_CXX=unsupported
14172 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14173 # support --undefined. This deserves some investigation. FIXME
14174 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14181 case $cc_basename in
14183 # FIXME: insert proper C++ library support
14189 cygwin* | mingw* | pw32* | cegcc*)
14190 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14191 # as there is no search path for DLLs.
14192 hardcode_libdir_flag_spec_CXX='-L$libdir'
14193 allow_undefined_flag_CXX=unsupported
14194 always_export_symbols_CXX=no
14195 enable_shared_with_static_runtimes_CXX=yes
14197 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14198 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'
14199 # If the export-symbols file already is a .def file (1st line
14200 # is EXPORTS), use it as is; otherwise, prepend...
14201 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14202 cp $export_symbols $output_objdir/$soname.def;
14204 echo EXPORTS > $output_objdir/$soname.def;
14205 cat $export_symbols >> $output_objdir/$soname.def;
14207 $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'
14212 darwin* | rhapsody*)
14215 archive_cmds_need_lc_CXX=no
14216 hardcode_direct_CXX=no
14217 hardcode_automatic_CXX=yes
14218 hardcode_shlibpath_var_CXX=unsupported
14219 whole_archive_flag_spec_CXX=''
14220 link_all_deplibs_CXX=yes
14221 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14222 case $cc_basename in
14223 ifort*) _lt_dar_can_shared=yes ;;
14224 *) _lt_dar_can_shared=$GCC ;;
14226 if test "$_lt_dar_can_shared" = "yes"; then
14227 output_verbose_link_cmd=echo
14228 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}"
14229 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14230 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}"
14231 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}"
14232 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14233 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}"
14234 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}"
14244 case $cc_basename in
14246 # FIXME: insert proper C++ library support
14250 # Green Hills C++ Compiler
14251 # FIXME: insert proper C++ library support
14255 # FIXME: insert proper C++ library support
14262 # C++ shared libraries reported to be fairly broken before
14268 archive_cmds_need_lc_CXX=no
14271 freebsd* | dragonfly*)
14272 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14281 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14282 hardcode_libdir_separator_CXX=:
14283 export_dynamic_flag_spec_CXX='${wl}-E'
14284 hardcode_direct_CXX=yes
14285 hardcode_minus_L_CXX=yes # Not in the search PATH,
14286 # but as the default
14287 # location of the library.
14289 case $cc_basename in
14291 # FIXME: insert proper C++ library support
14295 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'
14296 # Commands to make compiler produce verbose output that lists
14297 # what "hidden" libraries, object files and flags are used when
14298 # linking a shared library.
14300 # There doesn't appear to be a way to prevent this compiler from
14301 # explicitly linking system object files so we need to strip them
14302 # from the output so that they don't get included in the library
14304 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; $ECHO "X$list" | $Xsed'
14307 if test "$GXX" = yes; then
14308 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
14310 # FIXME: insert proper C++ library support
14318 if test $with_gnu_ld = no; then
14319 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14320 hardcode_libdir_separator_CXX=:
14326 export_dynamic_flag_spec_CXX='${wl}-E'
14332 hardcode_direct_CXX=no
14333 hardcode_shlibpath_var_CXX=no
14336 hardcode_direct_CXX=yes
14337 hardcode_direct_absolute_CXX=yes
14338 hardcode_minus_L_CXX=yes # Not in the search PATH,
14339 # but as the default
14340 # location of the library.
14344 case $cc_basename in
14346 # FIXME: insert proper C++ library support
14352 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14355 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14358 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14361 # Commands to make compiler produce verbose output that lists
14362 # what "hidden" libraries, object files and flags are used when
14363 # linking a shared library.
14365 # There doesn't appear to be a way to prevent this compiler from
14366 # explicitly linking system object files so we need to strip them
14367 # from the output so that they don't get included in the library
14369 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; $ECHO "X$list" | $Xsed'
14372 if test "$GXX" = yes; then
14373 if test $with_gnu_ld = no; then
14376 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14379 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14382 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14387 # FIXME: insert proper C++ library support
14395 hardcode_direct_CXX=no
14396 hardcode_shlibpath_var_CXX=no
14397 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14398 export_dynamic_flag_spec_CXX='${wl}-E'
14399 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14400 # Instead, shared libraries are loaded at an image base (0x10000000 by
14401 # default) and relocated if they conflict, which is a slow very memory
14402 # consuming and fragmenting process. To avoid this, we pick a random,
14403 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14404 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14405 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'
14406 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'
14409 case $cc_basename in
14412 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14414 # Archives containing C++ object files must be created using
14415 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14416 # necessary to make sure instantiated templates are included
14418 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14421 if test "$GXX" = yes; then
14422 if test "$with_gnu_ld" = no; then
14423 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14425 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
14428 link_all_deplibs_CXX=yes
14431 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14432 hardcode_libdir_separator_CXX=:
14433 inherit_rpath_CXX=yes
14436 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14437 case $cc_basename in
14439 # Kuck and Associates, Inc. (KAI) C++ Compiler
14441 # KCC will only create a shared library if the output file
14442 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14443 # to its proper name (with version) after linking.
14444 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'
14445 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'
14446 # Commands to make compiler produce verbose output that lists
14447 # what "hidden" libraries, object files and flags are used when
14448 # linking a shared library.
14450 # There doesn't appear to be a way to prevent this compiler from
14451 # explicitly linking system object files so we need to strip them
14452 # from the output so that they don't get included in the library
14454 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; $ECHO "X$list" | $Xsed'
14456 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14459 # Archives containing C++ object files must be created using
14460 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14461 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14466 # version 8.0 and above of icpc choke on multiply defined symbols
14467 # if we add $predep_objects and $postdep_objects, however 7.1 and
14468 # earlier do not add the objects themselves.
14469 case `$CC -V 2>&1` in
14471 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14472 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'
14474 *) # Version 8.0 or newer
14477 ia64*) tmp_idyn=' -i_dynamic';;
14479 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14480 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'
14483 archive_cmds_need_lc_CXX=no
14484 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14485 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14486 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14489 # Portland Group C++ compiler
14491 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14492 prelink_cmds_CXX='tpldir=Template.dir~
14494 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14495 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14496 old_archive_cmds_CXX='tpldir=Template.dir~
14498 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14499 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14501 archive_cmds_CXX='tpldir=Template.dir~
14503 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14504 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14505 archive_expsym_cmds_CXX='tpldir=Template.dir~
14507 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14508 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14510 *) # Version 6 will use weak symbols
14511 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14512 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'
14516 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14517 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14518 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14522 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14523 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'
14525 runpath_var=LD_RUN_PATH
14526 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14527 hardcode_libdir_separator_CXX=:
14529 # Commands to make compiler produce verbose output that lists
14530 # what "hidden" libraries, object files and flags are used when
14531 # linking a shared library.
14533 # There doesn't appear to be a way to prevent this compiler from
14534 # explicitly linking system object files so we need to strip them
14535 # from the output so that they don't get included in the library
14537 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14540 # IBM XL 8.0 on PPC, with GNU ld
14541 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14542 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14543 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14544 if test "x$supports_anon_versioning" = xyes; then
14545 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14546 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14547 echo "local: *; };" >> $output_objdir/$libname.ver~
14548 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14552 case `$CC -V 2>&1 | sed 5q` in
14555 no_undefined_flag_CXX=' -zdefs'
14556 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14557 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'
14558 hardcode_libdir_flag_spec_CXX='-R$libdir'
14559 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
14560 compiler_needs_object_CXX=yes
14562 # Not sure whether something based on
14563 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14565 output_verbose_link_cmd='echo'
14567 # Archives containing C++ object files must be created using
14568 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14569 # necessary to make sure instantiated templates are included
14571 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14579 # FIXME: insert proper C++ library support
14584 # FIXME: insert proper C++ library support
14589 case $cc_basename in
14591 # FIXME: insert proper C++ library support
14595 # FIXME: insert proper C++ library support
14602 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14603 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14605 hardcode_libdir_flag_spec_CXX='-R$libdir'
14606 hardcode_direct_CXX=yes
14607 hardcode_shlibpath_var_CXX=no
14609 # Workaround some broken pre-1.5 toolchains
14610 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14618 # C++ shared libraries are fairly broken
14623 if test -f /usr/libexec/ld.so; then
14624 hardcode_direct_CXX=yes
14625 hardcode_shlibpath_var_CXX=no
14626 hardcode_direct_absolute_CXX=yes
14627 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14628 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14629 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14630 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14631 export_dynamic_flag_spec_CXX='${wl}-E'
14632 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14634 output_verbose_link_cmd=echo
14640 osf3* | osf4* | osf5*)
14641 case $cc_basename in
14643 # Kuck and Associates, Inc. (KAI) C++ Compiler
14645 # KCC will only create a shared library if the output file
14646 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14647 # to its proper name (with version) after linking.
14648 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'
14650 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14651 hardcode_libdir_separator_CXX=:
14653 # Archives containing C++ object files must be created using
14654 # the KAI C++ compiler.
14656 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14657 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14661 # Rational C++ 2.4.1
14662 # FIXME: insert proper C++ library support
14668 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14669 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14670 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14673 allow_undefined_flag_CXX=' -expect_unresolved \*'
14674 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14675 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14676 echo "-hidden">> $lib.exp~
14677 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14679 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14683 hardcode_libdir_separator_CXX=:
14685 # Commands to make compiler produce verbose output that lists
14686 # what "hidden" libraries, object files and flags are used when
14687 # linking a shared library.
14689 # There doesn't appear to be a way to prevent this compiler from
14690 # explicitly linking system object files so we need to strip them
14691 # from the output so that they don't get included in the library
14693 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14696 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14697 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14700 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14703 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14707 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14708 hardcode_libdir_separator_CXX=:
14710 # Commands to make compiler produce verbose output that lists
14711 # what "hidden" libraries, object files and flags are used when
14712 # linking a shared library.
14713 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14716 # FIXME: insert proper C++ library support
14724 # FIXME: insert proper C++ library support
14729 case $cc_basename in
14732 # FIXME: insert proper C++ library support
14737 # FIXME: insert proper C++ library support
14741 # FIXME: insert proper C++ library support
14748 case $cc_basename in
14750 # Sun C++ 4.2, 5.x and Centerline C++
14751 archive_cmds_need_lc_CXX=yes
14752 no_undefined_flag_CXX=' -zdefs'
14753 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14754 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14755 $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'
14757 hardcode_libdir_flag_spec_CXX='-R$libdir'
14758 hardcode_shlibpath_var_CXX=no
14760 solaris2.[0-5] | solaris2.[0-5].*) ;;
14762 # The compiler driver will combine and reorder linker options,
14763 # but understands `-z linker_flag'.
14764 # Supported since Solaris 2.6 (maybe 2.5.1?)
14765 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14768 link_all_deplibs_CXX=yes
14770 output_verbose_link_cmd='echo'
14772 # Archives containing C++ object files must be created using
14773 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14774 # necessary to make sure instantiated templates are included
14776 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14779 # Green Hills C++ Compiler
14780 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14782 # The C++ compiler must be used to create the archive.
14783 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14786 # GNU C++ compiler with Solaris linker
14787 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14788 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14789 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14790 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14791 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14792 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14794 # Commands to make compiler produce verbose output that lists
14795 # what "hidden" libraries, object files and flags are used when
14796 # linking a shared library.
14797 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14799 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14801 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14802 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14803 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14805 # Commands to make compiler produce verbose output that lists
14806 # what "hidden" libraries, object files and flags are used when
14807 # linking a shared library.
14808 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14811 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14813 solaris2.[0-5] | solaris2.[0-5].*) ;;
14815 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14823 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14824 no_undefined_flag_CXX='${wl}-z,text'
14825 archive_cmds_need_lc_CXX=no
14826 hardcode_shlibpath_var_CXX=no
14827 runpath_var='LD_RUN_PATH'
14829 case $cc_basename in
14831 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14832 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14835 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14836 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14841 sysv5* | sco3.2v5* | sco5v6*)
14842 # Note: We can NOT use -z defs as we might desire, because we do not
14843 # link with -lc, and that would cause any symbols used from libc to
14844 # always be unresolved, which means just about no library would
14845 # ever link correctly. If we're not using GNU ld we use -z text
14846 # though, which does catch some bad symbols but isn't as heavy-handed
14848 no_undefined_flag_CXX='${wl}-z,text'
14849 allow_undefined_flag_CXX='${wl}-z,nodefs'
14850 archive_cmds_need_lc_CXX=no
14851 hardcode_shlibpath_var_CXX=no
14852 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14853 hardcode_libdir_separator_CXX=':'
14854 link_all_deplibs_CXX=yes
14855 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14856 runpath_var='LD_RUN_PATH'
14858 case $cc_basename in
14860 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14861 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14864 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14865 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14871 case $cc_basename in
14873 # NonStop-UX NCC 3.20
14874 # FIXME: insert proper C++ library support
14878 # FIXME: insert proper C++ library support
14885 # FIXME: insert proper C++ library support
14890 # FIXME: insert proper C++ library support
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14896 $as_echo "$ld_shlibs_CXX" >&6; }
14897 test "$ld_shlibs_CXX" = no && can_build_shared=no
14903 ## There is no encapsulation within the following macros, do not change
14904 ## the running order or otherwise move them around unless you know exactly
14905 ## what you are doing...
14906 # Dependencies to place before and after the object being linked:
14907 predep_objects_CXX=
14908 postdep_objects_CXX=
14911 compiler_lib_search_path_CXX=
14913 cat > conftest.$ac_ext <<_LT_EOF
14917 Foo (void) { a = 0; }
14923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14924 (eval $ac_compile) 2>&5
14926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14927 test $ac_status = 0; }; then
14928 # Parse the compiler output and extract the necessary
14929 # objects, libraries and library flags.
14931 # Sentinel used to keep track of whether or not we are before
14932 # the conftest object file.
14933 pre_test_object_deps_done=no
14935 for p in `eval "$output_verbose_link_cmd"`; do
14939 # Some compilers place space between "-{L,R}" and the path.
14940 # Remove the space.
14941 if test $p = "-L" ||
14942 test $p = "-R"; then
14949 if test "$pre_test_object_deps_done" = no; then
14952 # Internal compiler library paths should come after those
14953 # provided the user. The postdeps already come after the
14954 # user supplied libs so there is no need to process them.
14955 if test -z "$compiler_lib_search_path_CXX"; then
14956 compiler_lib_search_path_CXX="${prev}${p}"
14958 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14961 # The "-l" case would never come before the object being
14962 # linked, so don't bother handling this case.
14965 if test -z "$postdeps_CXX"; then
14966 postdeps_CXX="${prev}${p}"
14968 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14974 # This assumes that the test object file only shows up
14975 # once in the compiler output.
14976 if test "$p" = "conftest.$objext"; then
14977 pre_test_object_deps_done=yes
14981 if test "$pre_test_object_deps_done" = no; then
14982 if test -z "$predep_objects_CXX"; then
14983 predep_objects_CXX="$p"
14985 predep_objects_CXX="$predep_objects_CXX $p"
14988 if test -z "$postdep_objects_CXX"; then
14989 postdep_objects_CXX="$p"
14991 postdep_objects_CXX="$postdep_objects_CXX $p"
14996 *) ;; # Ignore the rest.
15004 echo "libtool.m4: error: problem compiling CXX test program"
15007 $RM -f confest.$objext
15009 # PORTME: override above test on systems where it is broken
15012 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15013 # hack all around it, let's just trust "g++" to DTRT.
15014 predep_objects_CXX=
15015 postdep_objects_CXX=
15020 case `$CC -V 2>&1 | sed 5q` in
15024 # The more standards-conforming stlport4 library is
15025 # incompatible with the Cstd library. Avoid specifying
15026 # it if it's in CXXFLAGS. Ignore libCrun as
15027 # -library=stlport4 depends on it.
15028 case " $CXX $CXXFLAGS " in
15029 *" -library=stlport4 "*)
15030 solaris_use_stlport4=yes
15034 if test "$solaris_use_stlport4" != yes; then
15035 postdeps_CXX='-library=Cstd -library=Crun'
15042 case $cc_basename in
15044 # The more standards-conforming stlport4 library is
15045 # incompatible with the Cstd library. Avoid specifying
15046 # it if it's in CXXFLAGS. Ignore libCrun as
15047 # -library=stlport4 depends on it.
15048 case " $CXX $CXXFLAGS " in
15049 *" -library=stlport4 "*)
15050 solaris_use_stlport4=yes
15054 # Adding this requires a known-good setup of shared libraries for
15055 # Sun compiler versions before 5.6, else PIC objects from an old
15056 # archive will be linked into the output, leading to subtle bugs.
15057 if test "$solaris_use_stlport4" != yes; then
15058 postdeps_CXX='-library=Cstd -library=Crun'
15066 case " $postdeps_CXX " in
15067 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15069 compiler_lib_search_dirs_CXX=
15070 if test -n "${compiler_lib_search_path_CXX}"; then
15071 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15104 lt_prog_compiler_wl_CXX=
15105 lt_prog_compiler_pic_CXX=
15106 lt_prog_compiler_static_CXX=
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15109 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15111 # C++ specific cases for pic, static, wl, etc.
15112 if test "$GXX" = yes; then
15113 lt_prog_compiler_wl_CXX='-Wl,'
15114 lt_prog_compiler_static_CXX='-static'
15118 # All AIX code is PIC.
15119 if test "$host_cpu" = ia64; then
15120 # AIX 5 now supports IA64 processor
15121 lt_prog_compiler_static_CXX='-Bstatic'
15128 # see comment about AmigaOS4 .so support
15129 lt_prog_compiler_pic_CXX='-fPIC'
15132 # FIXME: we need at least 68020 code to build shared libraries, but
15133 # adding the `-m68020' flag to GCC prevents building anything better,
15135 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15140 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15141 # PIC is the default for these OSes.
15143 mingw* | cygwin* | os2* | pw32* | cegcc*)
15144 # This hack is so that the source file can tell whether it is being
15145 # built for inclusion in a dll (and should export symbols for example).
15146 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15147 # (--disable-auto-import) libraries
15148 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15150 darwin* | rhapsody*)
15151 # PIC is the default on this platform
15152 # Common symbols not allowed in MH_DYLIB files
15153 lt_prog_compiler_pic_CXX='-fno-common'
15156 # DJGPP does not support shared libraries at all
15157 lt_prog_compiler_pic_CXX=
15160 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15161 # Instead, we relocate shared libraries at runtime.
15164 if test -d /usr/nec; then
15165 lt_prog_compiler_pic_CXX=-Kconform_pic
15169 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15170 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15171 # sets the default TLS model and affects inlining.
15176 lt_prog_compiler_pic_CXX='-fPIC'
15181 # QNX uses GNU C++, but need to define -shared option too, otherwise
15182 # it will coredump.
15183 lt_prog_compiler_pic_CXX='-fPIC -shared'
15186 lt_prog_compiler_pic_CXX='-fPIC'
15192 # All AIX code is PIC.
15193 if test "$host_cpu" = ia64; then
15194 # AIX 5 now supports IA64 processor
15195 lt_prog_compiler_static_CXX='-Bstatic'
15197 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15201 case $cc_basename in
15203 # Green Hills C++ Compiler
15204 # _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"
15209 case $cc_basename in
15211 lt_prog_compiler_pic_CXX='-KPIC'
15214 # Green Hills C++ Compiler
15215 lt_prog_compiler_pic_CXX='-pic'
15221 freebsd* | dragonfly*)
15222 # FreeBSD uses GNU C++
15224 hpux9* | hpux10* | hpux11*)
15225 case $cc_basename in
15227 lt_prog_compiler_wl_CXX='-Wl,'
15228 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15229 if test "$host_cpu" != ia64; then
15230 lt_prog_compiler_pic_CXX='+Z'
15234 lt_prog_compiler_wl_CXX='-Wl,'
15235 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15241 lt_prog_compiler_pic_CXX='+Z'
15250 # This is c89, which is MS Visual C++ (no shared libs)
15251 # Anyone wants to do a port?
15253 irix5* | irix6* | nonstopux*)
15254 case $cc_basename in
15256 lt_prog_compiler_wl_CXX='-Wl,'
15257 lt_prog_compiler_static_CXX='-non_shared'
15258 # CC pic flag -KPIC is the default.
15264 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15265 case $cc_basename in
15268 lt_prog_compiler_wl_CXX='--backend -Wl,'
15269 lt_prog_compiler_pic_CXX='-fPIC'
15272 # old Intel C++ for x86_64 which still supported -KPIC.
15273 lt_prog_compiler_wl_CXX='-Wl,'
15274 lt_prog_compiler_pic_CXX='-KPIC'
15275 lt_prog_compiler_static_CXX='-static'
15278 # Intel C++, used to be incompatible with GCC.
15279 # ICC 10 doesn't accept -KPIC any more.
15280 lt_prog_compiler_wl_CXX='-Wl,'
15281 lt_prog_compiler_pic_CXX='-fPIC'
15282 lt_prog_compiler_static_CXX='-static'
15285 # Portland Group C++ compiler
15286 lt_prog_compiler_wl_CXX='-Wl,'
15287 lt_prog_compiler_pic_CXX='-fpic'
15288 lt_prog_compiler_static_CXX='-Bstatic'
15292 # Make sure the PIC flag is empty. It appears that all Alpha
15293 # Linux and Compaq Tru64 Unix objects are PIC.
15294 lt_prog_compiler_pic_CXX=
15295 lt_prog_compiler_static_CXX='-non_shared'
15298 # IBM XL 8.0 on PPC
15299 lt_prog_compiler_wl_CXX='-Wl,'
15300 lt_prog_compiler_pic_CXX='-qpic'
15301 lt_prog_compiler_static_CXX='-qstaticlink'
15304 case `$CC -V 2>&1 | sed 5q` in
15307 lt_prog_compiler_pic_CXX='-KPIC'
15308 lt_prog_compiler_static_CXX='-Bstatic'
15309 lt_prog_compiler_wl_CXX='-Qoption ld '
15320 case $cc_basename in
15322 lt_prog_compiler_pic_CXX='-W c,exportall'
15328 netbsd* | netbsdelf*-gnu)
15331 # QNX uses GNU C++, but need to define -shared option too, otherwise
15332 # it will coredump.
15333 lt_prog_compiler_pic_CXX='-fPIC -shared'
15335 osf3* | osf4* | osf5*)
15336 case $cc_basename in
15338 lt_prog_compiler_wl_CXX='--backend -Wl,'
15341 # Rational C++ 2.4.1
15342 lt_prog_compiler_pic_CXX='-pic'
15345 # Digital/Compaq C++
15346 lt_prog_compiler_wl_CXX='-Wl,'
15347 # Make sure the PIC flag is empty. It appears that all Alpha
15348 # Linux and Compaq Tru64 Unix objects are PIC.
15349 lt_prog_compiler_pic_CXX=
15350 lt_prog_compiler_static_CXX='-non_shared'
15359 case $cc_basename in
15361 # Sun C++ 4.2, 5.x and Centerline C++
15362 lt_prog_compiler_pic_CXX='-KPIC'
15363 lt_prog_compiler_static_CXX='-Bstatic'
15364 lt_prog_compiler_wl_CXX='-Qoption ld '
15367 # Green Hills C++ Compiler
15368 lt_prog_compiler_pic_CXX='-PIC'
15375 case $cc_basename in
15378 lt_prog_compiler_pic_CXX='-pic'
15379 lt_prog_compiler_static_CXX='-Bstatic'
15383 lt_prog_compiler_pic_CXX='-pic'
15389 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15390 case $cc_basename in
15392 lt_prog_compiler_wl_CXX='-Wl,'
15393 lt_prog_compiler_pic_CXX='-KPIC'
15394 lt_prog_compiler_static_CXX='-Bstatic'
15399 case $cc_basename in
15401 # NonStop-UX NCC 3.20
15402 lt_prog_compiler_pic_CXX='-KPIC'
15411 lt_prog_compiler_can_build_shared_CXX=no
15417 # For platforms which do not support PIC, -DPIC is meaningless:
15419 lt_prog_compiler_pic_CXX=
15422 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15426 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15431 # Check to make sure the PIC flag actually works.
15433 if test -n "$lt_prog_compiler_pic_CXX"; then
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15435 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15436 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15437 $as_echo_n "(cached) " >&6
15439 lt_cv_prog_compiler_pic_works_CXX=no
15440 ac_outfile=conftest.$ac_objext
15441 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15442 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15443 # Insert the option either (1) after the last *FLAGS variable, or
15444 # (2) before a word containing "conftest.", or (3) at the end.
15445 # Note that $ac_compile itself does not contain backslashes and begins
15446 # with a dollar sign (not a hyphen), so the echo should work correctly.
15447 # The option is referenced via a variable to avoid confusing sed.
15448 lt_compile=`echo "$ac_compile" | $SED \
15449 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15450 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15451 -e 's:$: $lt_compiler_flag:'`
15452 (eval echo "\"\$as_me:15452: $lt_compile\"" >&5)
15453 (eval "$lt_compile" 2>conftest.err)
15455 cat conftest.err >&5
15456 echo "$as_me:15456: \$? = $ac_status" >&5
15457 if (exit $ac_status) && test -s "$ac_outfile"; then
15458 # The compiler can only warn and ignore the option if not recognized
15459 # So say no if there are warnings other than the usual output.
15460 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15461 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15462 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15463 lt_cv_prog_compiler_pic_works_CXX=yes
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15470 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15472 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15473 case $lt_prog_compiler_pic_CXX in
15475 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15478 lt_prog_compiler_pic_CXX=
15479 lt_prog_compiler_can_build_shared_CXX=no
15487 # Check to make sure the static flag actually works.
15489 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15491 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15492 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15493 $as_echo_n "(cached) " >&6
15495 lt_cv_prog_compiler_static_works_CXX=no
15496 save_LDFLAGS="$LDFLAGS"
15497 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15498 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15499 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15500 # The linker can only warn and ignore the option if not recognized
15501 # So say no if there are warnings
15502 if test -s conftest.err; then
15503 # Append any errors to the config.log.
15504 cat conftest.err 1>&5
15505 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15506 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15507 if diff conftest.exp conftest.er2 >/dev/null; then
15508 lt_cv_prog_compiler_static_works_CXX=yes
15511 lt_cv_prog_compiler_static_works_CXX=yes
15515 LDFLAGS="$save_LDFLAGS"
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15519 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15521 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15524 lt_prog_compiler_static_CXX=
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15531 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15532 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15533 $as_echo_n "(cached) " >&6
15535 lt_cv_prog_compiler_c_o_CXX=no
15536 $RM -r conftest 2>/dev/null
15540 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15542 lt_compiler_flag="-o out/conftest2.$ac_objext"
15543 # Insert the option either (1) after the last *FLAGS variable, or
15544 # (2) before a word containing "conftest.", or (3) at the end.
15545 # Note that $ac_compile itself does not contain backslashes and begins
15546 # with a dollar sign (not a hyphen), so the echo should work correctly.
15547 lt_compile=`echo "$ac_compile" | $SED \
15548 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15550 -e 's:$: $lt_compiler_flag:'`
15551 (eval echo "\"\$as_me:15551: $lt_compile\"" >&5)
15552 (eval "$lt_compile" 2>out/conftest.err)
15554 cat out/conftest.err >&5
15555 echo "$as_me:15555: \$? = $ac_status" >&5
15556 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15558 # The compiler can only warn and ignore the option if not recognized
15559 # So say no if there are warnings
15560 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15561 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15562 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15563 lt_cv_prog_compiler_c_o_CXX=yes
15568 # SGI C++ compiler will create directory out/ii_files/ for
15569 # template instantiation
15570 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15571 $RM out/* && rmdir out
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15578 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15583 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15584 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15585 $as_echo_n "(cached) " >&6
15587 lt_cv_prog_compiler_c_o_CXX=no
15588 $RM -r conftest 2>/dev/null
15592 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15594 lt_compiler_flag="-o out/conftest2.$ac_objext"
15595 # Insert the option either (1) after the last *FLAGS variable, or
15596 # (2) before a word containing "conftest.", or (3) at the end.
15597 # Note that $ac_compile itself does not contain backslashes and begins
15598 # with a dollar sign (not a hyphen), so the echo should work correctly.
15599 lt_compile=`echo "$ac_compile" | $SED \
15600 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15601 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15602 -e 's:$: $lt_compiler_flag:'`
15603 (eval echo "\"\$as_me:15603: $lt_compile\"" >&5)
15604 (eval "$lt_compile" 2>out/conftest.err)
15606 cat out/conftest.err >&5
15607 echo "$as_me:15607: \$? = $ac_status" >&5
15608 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15610 # The compiler can only warn and ignore the option if not recognized
15611 # So say no if there are warnings
15612 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15613 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15614 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15615 lt_cv_prog_compiler_c_o_CXX=yes
15620 # SGI C++ compiler will create directory out/ii_files/ for
15621 # template instantiation
15622 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15623 $RM out/* && rmdir out
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15630 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15635 hard_links="nottested"
15636 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15637 # do not overwrite the value of need_locks provided by the user
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15639 $as_echo_n "checking if we can lock with hard links... " >&6; }
15642 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15644 ln conftest.a conftest.b 2>&5 || hard_links=no
15645 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15647 $as_echo "$hard_links" >&6; }
15648 if test "$hard_links" = no; then
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15650 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15660 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15662 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15665 # If we're using GNU nm, then we don't want the "-C" option.
15666 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15667 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15668 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15670 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'
15674 export_symbols_cmds_CXX="$ltdll_cmds"
15676 cygwin* | mingw* | cegcc*)
15677 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15679 linux* | k*bsd*-gnu)
15680 link_all_deplibs_CXX=no
15683 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15686 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15689 $as_echo "$ld_shlibs_CXX" >&6; }
15690 test "$ld_shlibs_CXX" = no && can_build_shared=no
15692 with_gnu_ld_CXX=$with_gnu_ld
15700 # Do we need to explicitly link libc?
15702 case "x$archive_cmds_need_lc_CXX" in
15704 # Assume -lc should be added
15705 archive_cmds_need_lc_CXX=yes
15707 if test "$enable_shared" = yes && test "$GCC" = yes; then
15708 case $archive_cmds_CXX in
15710 # FIXME: we may have to deal with multi-command sequences.
15713 # Test whether the compiler implicitly links with -lc since on some
15714 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15715 # to ld, don't add -lc before -lgcc.
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15717 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15719 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15722 (eval $ac_compile) 2>&5
15724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15725 test $ac_status = 0; } 2>conftest.err; then
15728 libobjs=conftest.$ac_objext
15730 wl=$lt_prog_compiler_wl_CXX
15731 pic_flag=$lt_prog_compiler_pic_CXX
15737 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15738 allow_undefined_flag_CXX=
15739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15740 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15743 test $ac_status = 0; }
15745 archive_cmds_need_lc_CXX=no
15747 archive_cmds_need_lc_CXX=yes
15749 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15751 cat conftest.err 1>&5
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
15755 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15826 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15828 library_names_spec=
15829 libname_spec='lib$name'
15833 postuninstall_cmds=
15837 shlibpath_overrides_runpath=unknown
15839 dynamic_linker="$host_os ld.so"
15840 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15841 need_lib_prefix=unknown
15842 hardcode_into_libs=no
15844 # when you set need_version to no, make sure it does not cause -set_version
15845 # flags to be left without arguments
15846 need_version=unknown
15851 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15852 shlibpath_var=LIBPATH
15854 # AIX 3 has no versioning support, so we append a major version to the name.
15855 soname_spec='${libname}${release}${shared_ext}$major'
15862 hardcode_into_libs=yes
15863 if test "$host_cpu" = ia64; then
15864 # AIX 5 supports IA64
15865 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15866 shlibpath_var=LD_LIBRARY_PATH
15868 # With GCC up to 2.95.x, collect2 would create an import file
15869 # for dependence libraries. The import file would start with
15870 # the line `#! .'. This would cause the generated library to
15871 # depend on `.', always an invalid library. This was fixed in
15872 # development snapshots of GCC prior to 3.0.
15874 aix4 | aix4.[01] | aix4.[01].*)
15875 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15877 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15880 can_build_shared=no
15884 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15885 # soname into executable. Probably we can add versioning support to
15886 # collect2, so additional links can be useful in future.
15887 if test "$aix_use_runtimelinking" = yes; then
15888 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15889 # instead of lib<name>.a to let people know that these are not
15890 # typical AIX shared libraries.
15891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15893 # We preserve .a as extension for shared libraries through AIX4.2
15894 # and later when we are not doing run time linking.
15895 library_names_spec='${libname}${release}.a $libname.a'
15896 soname_spec='${libname}${release}${shared_ext}$major'
15898 shlibpath_var=LIBPATH
15905 # Since July 2007 AmigaOS4 officially supports .so libraries.
15906 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15910 library_names_spec='$libname.ixlibrary $libname.a'
15911 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15912 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
15918 library_names_spec='${libname}${shared_ext}'
15919 dynamic_linker="$host_os ld.so"
15920 shlibpath_var=LIBRARY_PATH
15926 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15927 soname_spec='${libname}${release}${shared_ext}$major'
15928 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15929 shlibpath_var=LD_LIBRARY_PATH
15930 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15931 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15932 # the default ld.so.conf also contains /usr/contrib/lib and
15933 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15934 # libtool to hard-code these into programs
15937 cygwin* | mingw* | pw32* | cegcc*)
15938 version_type=windows
15943 case $GCC,$host_os in
15944 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15945 library_names_spec='$libname.dll.a'
15946 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15947 postinstall_cmds='base_file=`basename \${file}`~
15948 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15949 dldir=$destdir/`dirname \$dlpath`~
15950 test -d \$dldir || mkdir -p \$dldir~
15951 $install_prog $dir/$dlname \$dldir/$dlname~
15952 chmod a+x \$dldir/$dlname~
15953 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15954 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15956 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15957 dlpath=$dir/\$dldll~
15959 shlibpath_overrides_runpath=yes
15963 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15964 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15965 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15968 # MinGW DLLs use traditional 'lib' prefix
15969 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15970 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15971 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15972 # It is most probably a Windows format PATH printed by
15973 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15974 # path with ; separators, and with drive letters. We can handle the
15975 # drive letters (cygwin fileutils understands them), so leave them,
15976 # especially as we might pass files found there to a mingw objdump,
15977 # which wouldn't understand a cygwinified path. Ahh.
15978 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15980 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15984 # pw32 DLLs use 'pw' prefix rather than 'lib'
15985 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15991 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15994 dynamic_linker='Win32 ld.exe'
15995 # FIXME: first we should search . and the directory the executable is in
15999 darwin* | rhapsody*)
16000 dynamic_linker="$host_os dyld"
16001 version_type=darwin
16004 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16005 soname_spec='${libname}${release}${major}$shared_ext'
16006 shlibpath_overrides_runpath=yes
16007 shlibpath_var=DYLD_LIBRARY_PATH
16008 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16010 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16018 soname_spec='${libname}${release}${shared_ext}$major'
16019 shlibpath_var=LD_LIBRARY_PATH
16026 freebsd* | dragonfly*)
16027 # DragonFly does not have aout. When/if they implement a new
16028 # versioning mechanism, adjust this.
16029 if test -x /usr/bin/objformat; then
16030 objformat=`/usr/bin/objformat`
16033 freebsd[123]*) objformat=aout ;;
16034 *) objformat=elf ;;
16037 version_type=freebsd-$objformat
16038 case $version_type in
16040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16045 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16049 shlibpath_var=LD_LIBRARY_PATH
16052 shlibpath_overrides_runpath=yes
16054 freebsd3.[01]* | freebsdelf3.[01]*)
16055 shlibpath_overrides_runpath=yes
16056 hardcode_into_libs=yes
16058 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16059 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16060 shlibpath_overrides_runpath=no
16061 hardcode_into_libs=yes
16063 *) # from 4.6 on, and DragonFly
16064 shlibpath_overrides_runpath=yes
16065 hardcode_into_libs=yes
16074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16075 soname_spec='${libname}${release}${shared_ext}$major'
16076 shlibpath_var=LD_LIBRARY_PATH
16077 hardcode_into_libs=yes
16080 hpux9* | hpux10* | hpux11*)
16081 # Give a soname corresponding to the major version so that dld.sl refuses to
16082 # link against other versions.
16089 hardcode_into_libs=yes
16090 dynamic_linker="$host_os dld.so"
16091 shlibpath_var=LD_LIBRARY_PATH
16092 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16094 soname_spec='${libname}${release}${shared_ext}$major'
16095 if test "X$HPUX_IA64_MODE" = X32; then
16096 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16098 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16100 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16104 hardcode_into_libs=yes
16105 dynamic_linker="$host_os dld.sl"
16106 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16107 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16109 soname_spec='${libname}${release}${shared_ext}$major'
16110 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16111 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16115 dynamic_linker="$host_os dld.sl"
16116 shlibpath_var=SHLIB_PATH
16117 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16119 soname_spec='${libname}${release}${shared_ext}$major'
16122 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16123 postinstall_cmds='chmod 555 $lib'
16130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16131 soname_spec='${libname}${release}${shared_ext}$major'
16132 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16133 shlibpath_var=LD_LIBRARY_PATH
16134 shlibpath_overrides_runpath=no
16135 hardcode_into_libs=yes
16138 irix5* | irix6* | nonstopux*)
16140 nonstopux*) version_type=nonstopux ;;
16142 if test "$lt_cv_prog_gnu_ld" = yes; then
16150 soname_spec='${libname}${release}${shared_ext}$major'
16151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16153 irix5* | nonstopux*)
16154 libsuff= shlibsuff=
16157 case $LD in # libtool.m4 will add one of these switches to LD
16158 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16159 libsuff= shlibsuff= libmagic=32-bit;;
16160 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16161 libsuff=32 shlibsuff=N32 libmagic=N32;;
16162 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16163 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16164 *) libsuff= shlibsuff= libmagic=never-match;;
16168 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16169 shlibpath_overrides_runpath=no
16170 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16171 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16172 hardcode_into_libs=yes
16175 # No shared lib support for Linux oldld, aout, or coff.
16176 linux*oldld* | linux*aout* | linux*coff*)
16180 # This must be Linux ELF.
16181 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16186 soname_spec='${libname}${release}${shared_ext}$major'
16187 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16188 shlibpath_var=LD_LIBRARY_PATH
16189 shlibpath_overrides_runpath=no
16190 # Some binutils ld are patched to set DT_RUNPATH
16191 save_LDFLAGS=$LDFLAGS
16192 save_libdir=$libdir
16193 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16194 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16206 if ac_fn_cxx_try_link "$LINENO"; then :
16207 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16208 shlibpath_overrides_runpath=yes
16211 rm -f core conftest.err conftest.$ac_objext \
16212 conftest$ac_exeext conftest.$ac_ext
16213 LDFLAGS=$save_LDFLAGS
16214 libdir=$save_libdir
16216 # This implies no fast_install, which is unacceptable.
16217 # Some rework will be needed to allow for fast_install
16218 # before this can be enabled.
16219 hardcode_into_libs=yes
16221 # Append ld.so.conf contents to the search path
16222 if test -f /etc/ld.so.conf; then
16223 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16224 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16227 # We used to test for /lib/ld.so.1 and disable shared libraries on
16228 # powerpc, because MkLinux only supported shared libraries with the
16229 # GNU dynamic linker. Since this was broken with cross compilers,
16230 # most powerpc-linux boxes support dynamic linking these days and
16231 # people can always --disable-shared, the test was removed, and we
16232 # assume the GNU/Linux dynamic linker is in use.
16233 dynamic_linker='GNU/Linux ld.so'
16240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16241 soname_spec='${libname}${release}${shared_ext}$major'
16242 shlibpath_var=LD_LIBRARY_PATH
16243 shlibpath_overrides_runpath=no
16244 hardcode_into_libs=yes
16245 dynamic_linker='NetBSD ld.elf_so'
16252 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16254 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16255 dynamic_linker='NetBSD (a.out) ld.so'
16257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16258 soname_spec='${libname}${release}${shared_ext}$major'
16259 dynamic_linker='NetBSD ld.elf_so'
16261 shlibpath_var=LD_LIBRARY_PATH
16262 shlibpath_overrides_runpath=yes
16263 hardcode_into_libs=yes
16268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16269 shlibpath_var=LD_LIBRARY_PATH
16270 shlibpath_overrides_runpath=yes
16277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16278 soname_spec='${libname}${release}${shared_ext}$major'
16279 shlibpath_var=LD_LIBRARY_PATH
16280 shlibpath_overrides_runpath=no
16281 hardcode_into_libs=yes
16282 dynamic_linker='ldqnx.so'
16287 sys_lib_dlsearch_path_spec="/usr/lib"
16289 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16291 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16292 *) need_version=no ;;
16294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16295 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16296 shlibpath_var=LD_LIBRARY_PATH
16297 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16299 openbsd2.[89] | openbsd2.[89].*)
16300 shlibpath_overrides_runpath=no
16303 shlibpath_overrides_runpath=yes
16307 shlibpath_overrides_runpath=yes
16312 libname_spec='$name'
16315 library_names_spec='$libname${shared_ext} $libname.a'
16316 dynamic_linker='OS/2 ld.exe'
16317 shlibpath_var=LIBPATH
16320 osf3* | osf4* | osf5*)
16324 soname_spec='${libname}${release}${shared_ext}$major'
16325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16326 shlibpath_var=LD_LIBRARY_PATH
16327 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16328 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16340 soname_spec='${libname}${release}${shared_ext}$major'
16341 shlibpath_var=LD_LIBRARY_PATH
16342 shlibpath_overrides_runpath=yes
16343 hardcode_into_libs=yes
16344 # ldd complains unless libraries are executable
16345 postinstall_cmds='chmod +x $lib'
16350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16351 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16352 shlibpath_var=LD_LIBRARY_PATH
16353 shlibpath_overrides_runpath=yes
16354 if test "$with_gnu_ld" = yes; then
16362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16363 soname_spec='${libname}${release}${shared_ext}$major'
16364 shlibpath_var=LD_LIBRARY_PATH
16365 case $host_vendor in
16367 shlibpath_overrides_runpath=no
16369 runpath_var=LD_RUN_PATH
16377 shlibpath_overrides_runpath=no
16378 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16384 if test -d /usr/nec ;then
16386 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16387 soname_spec='$libname${shared_ext}.$major'
16388 shlibpath_var=LD_LIBRARY_PATH
16392 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16393 version_type=freebsd-elf
16396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16397 soname_spec='${libname}${release}${shared_ext}$major'
16398 shlibpath_var=LD_LIBRARY_PATH
16399 shlibpath_overrides_runpath=yes
16400 hardcode_into_libs=yes
16401 if test "$with_gnu_ld" = yes; then
16402 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16404 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16407 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16411 sys_lib_dlsearch_path_spec='/usr/lib'
16415 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16420 shlibpath_var=LD_LIBRARY_PATH
16421 shlibpath_overrides_runpath=no
16422 hardcode_into_libs=yes
16427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16428 soname_spec='${libname}${release}${shared_ext}$major'
16429 shlibpath_var=LD_LIBRARY_PATH
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16437 $as_echo "$dynamic_linker" >&6; }
16438 test "$dynamic_linker" = no && can_build_shared=no
16440 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16441 if test "$GCC" = yes; then
16442 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16445 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16446 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16448 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16449 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16488 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16489 hardcode_action_CXX=
16490 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16491 test -n "$runpath_var_CXX" ||
16492 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16494 # We can hardcode non-existent directories.
16495 if test "$hardcode_direct_CXX" != no &&
16496 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16497 # have to relink, otherwise we might link with an installed library
16498 # when we should be linking with a yet-to-be-installed one
16499 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16500 test "$hardcode_minus_L_CXX" != no; then
16501 # Linking always hardcodes the temporary library directory.
16502 hardcode_action_CXX=relink
16504 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16505 hardcode_action_CXX=immediate
16508 # We cannot hardcode anything, or else we can only hardcode existing
16510 hardcode_action_CXX=unsupported
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16513 $as_echo "$hardcode_action_CXX" >&6; }
16515 if test "$hardcode_action_CXX" = relink ||
16516 test "$inherit_rpath_CXX" = yes; then
16517 # Fast installation is not supported
16518 enable_fast_install=no
16519 elif test "$shlibpath_overrides_runpath" = yes ||
16520 test "$enable_shared" = no; then
16521 # Fast installation is not necessary
16522 enable_fast_install=needless
16531 fi # test -n "$compiler"
16537 with_gnu_ld=$lt_save_with_gnu_ld
16538 lt_cv_path_LDCXX=$lt_cv_path_LD
16539 lt_cv_path_LD=$lt_save_path_LD
16540 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16541 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16542 fi # test "$_lt_caught_CXX_error" != yes
16545 ac_cpp='$CPP $CPPFLAGS'
16546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16552 ac_cpp='$CPP $CPPFLAGS'
16553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16556 if test -n "$ac_tool_prefix"; then
16557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16560 $as_echo_n "checking for $ac_word... " >&6; }
16561 if test "${ac_cv_prog_CC+set}" = set; then :
16562 $as_echo_n "(cached) " >&6
16564 if test -n "$CC"; then
16565 ac_cv_prog_CC="$CC" # Let the user override the test.
16567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16568 for as_dir in $PATH
16571 test -z "$as_dir" && as_dir=.
16572 for ac_exec_ext in '' $ac_executable_extensions; do
16573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16585 if test -n "$CC"; then
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16587 $as_echo "$CC" >&6; }
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16590 $as_echo "no" >&6; }
16595 if test -z "$ac_cv_prog_CC"; then
16597 # Extract the first word of "gcc", so it can be a program name with args.
16598 set dummy gcc; ac_word=$2
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16600 $as_echo_n "checking for $ac_word... " >&6; }
16601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16602 $as_echo_n "(cached) " >&6
16604 if test -n "$ac_ct_CC"; then
16605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16608 for as_dir in $PATH
16611 test -z "$as_dir" && as_dir=.
16612 for ac_exec_ext in '' $ac_executable_extensions; do
16613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16614 ac_cv_prog_ac_ct_CC="gcc"
16615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16625 if test -n "$ac_ct_CC"; then
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16627 $as_echo "$ac_ct_CC" >&6; }
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630 $as_echo "no" >&6; }
16633 if test "x$ac_ct_CC" = x; then
16636 case $cross_compiling:$ac_tool_warned in
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16640 ac_tool_warned=yes ;;
16645 CC="$ac_cv_prog_CC"
16648 if test -z "$CC"; then
16649 if test -n "$ac_tool_prefix"; then
16650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16651 set dummy ${ac_tool_prefix}cc; ac_word=$2
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16653 $as_echo_n "checking for $ac_word... " >&6; }
16654 if test "${ac_cv_prog_CC+set}" = set; then :
16655 $as_echo_n "(cached) " >&6
16657 if test -n "$CC"; then
16658 ac_cv_prog_CC="$CC" # Let the user override the test.
16660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16661 for as_dir in $PATH
16664 test -z "$as_dir" && as_dir=.
16665 for ac_exec_ext in '' $ac_executable_extensions; do
16666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16667 ac_cv_prog_CC="${ac_tool_prefix}cc"
16668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16678 if test -n "$CC"; then
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16680 $as_echo "$CC" >&6; }
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16683 $as_echo "no" >&6; }
16689 if test -z "$CC"; then
16690 # Extract the first word of "cc", so it can be a program name with args.
16691 set dummy cc; ac_word=$2
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16693 $as_echo_n "checking for $ac_word... " >&6; }
16694 if test "${ac_cv_prog_CC+set}" = set; then :
16695 $as_echo_n "(cached) " >&6
16697 if test -n "$CC"; then
16698 ac_cv_prog_CC="$CC" # Let the user override the test.
16700 ac_prog_rejected=no
16701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702 for as_dir in $PATH
16705 test -z "$as_dir" && as_dir=.
16706 for ac_exec_ext in '' $ac_executable_extensions; do
16707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16709 ac_prog_rejected=yes
16713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16720 if test $ac_prog_rejected = yes; then
16721 # We found a bogon in the path, so make sure we never use it.
16722 set dummy $ac_cv_prog_CC
16724 if test $# != 0; then
16725 # We chose a different compiler from the bogus one.
16726 # However, it has the same basename, so the bogon will be chosen
16727 # first if we set CC to just the basename; use the full file name.
16729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16735 if test -n "$CC"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16737 $as_echo "$CC" >&6; }
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16740 $as_echo "no" >&6; }
16745 if test -z "$CC"; then
16746 if test -n "$ac_tool_prefix"; then
16747 for ac_prog in cl.exe
16749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16752 $as_echo_n "checking for $ac_word... " >&6; }
16753 if test "${ac_cv_prog_CC+set}" = set; then :
16754 $as_echo_n "(cached) " >&6
16756 if test -n "$CC"; then
16757 ac_cv_prog_CC="$CC" # Let the user override the test.
16759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16760 for as_dir in $PATH
16763 test -z "$as_dir" && as_dir=.
16764 for ac_exec_ext in '' $ac_executable_extensions; do
16765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16777 if test -n "$CC"; then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16779 $as_echo "$CC" >&6; }
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16782 $as_echo "no" >&6; }
16786 test -n "$CC" && break
16789 if test -z "$CC"; then
16791 for ac_prog in cl.exe
16793 # Extract the first word of "$ac_prog", so it can be a program name with args.
16794 set dummy $ac_prog; ac_word=$2
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16796 $as_echo_n "checking for $ac_word... " >&6; }
16797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16798 $as_echo_n "(cached) " >&6
16800 if test -n "$ac_ct_CC"; then
16801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16804 for as_dir in $PATH
16807 test -z "$as_dir" && as_dir=.
16808 for ac_exec_ext in '' $ac_executable_extensions; do
16809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16810 ac_cv_prog_ac_ct_CC="$ac_prog"
16811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16821 if test -n "$ac_ct_CC"; then
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16823 $as_echo "$ac_ct_CC" >&6; }
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16826 $as_echo "no" >&6; }
16830 test -n "$ac_ct_CC" && break
16833 if test "x$ac_ct_CC" = x; then
16836 case $cross_compiling:$ac_tool_warned in
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16840 ac_tool_warned=yes ;;
16849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16851 as_fn_error $? "no acceptable C compiler found in \$PATH
16852 See \`config.log' for more details" "$LINENO" 5 ; }
16854 # Provide some information about the compiler.
16855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16858 for ac_option in --version -v -V -qversion; do
16859 { { ac_try="$ac_compiler $ac_option >&5"
16860 case "(($ac_try" in
16861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16862 *) ac_try_echo=$ac_try;;
16864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16865 $as_echo "$ac_try_echo"; } >&5
16866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16868 if test -s conftest.err; then
16870 ... rest of stderr output deleted ...
16871 10q' conftest.err >conftest.er1
16872 cat conftest.er1 >&5
16874 rm -f conftest.er1 conftest.err
16875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16876 test $ac_status = 0; }
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16880 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16881 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16882 $as_echo_n "(cached) " >&6
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16898 if ac_fn_c_try_compile "$LINENO"; then :
16899 ac_compiler_gnu=yes
16903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16908 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16909 if test $ac_compiler_gnu = yes; then
16914 ac_test_CFLAGS=${CFLAGS+set}
16915 ac_save_CFLAGS=$CFLAGS
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16917 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16918 if test "${ac_cv_prog_cc_g+set}" = set; then :
16919 $as_echo_n "(cached) " >&6
16921 ac_save_c_werror_flag=$ac_c_werror_flag
16922 ac_c_werror_flag=yes
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16936 if ac_fn_c_try_compile "$LINENO"; then :
16937 ac_cv_prog_cc_g=yes
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16951 if ac_fn_c_try_compile "$LINENO"; then :
16954 ac_c_werror_flag=$ac_save_c_werror_flag
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16967 if ac_fn_c_try_compile "$LINENO"; then :
16968 ac_cv_prog_cc_g=yes
16970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 ac_c_werror_flag=$ac_save_c_werror_flag
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16978 $as_echo "$ac_cv_prog_cc_g" >&6; }
16979 if test "$ac_test_CFLAGS" = set; then
16980 CFLAGS=$ac_save_CFLAGS
16981 elif test $ac_cv_prog_cc_g = yes; then
16982 if test "$GCC" = yes; then
16988 if test "$GCC" = yes; then
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16995 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16996 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16997 $as_echo_n "(cached) " >&6
16999 ac_cv_prog_cc_c89=no
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 #include <stdarg.h>
17005 #include <sys/types.h>
17006 #include <sys/stat.h>
17007 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17008 struct buf { int x; };
17009 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17010 static char *e (p, i)
17016 static char *f (char * (*g) (char **, int), char **p, ...)
17021 s = g (p, va_arg (v,int));
17026 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17027 function prototypes and stuff, but not '\xHH' hex character constants.
17028 These don't provoke an error unfortunately, instead are silently treated
17029 as 'x'. The following induces an error, until -std is added to get
17030 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17031 array size at least. It's necessary to write '\x00'==0 to get something
17032 that's true only with -std. */
17033 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17035 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17036 inside strings and character constants. */
17038 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17040 int test (int i, double x);
17041 struct s1 {int (*f) (int a);};
17042 struct s2 {int (*f) (double a);};
17043 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17049 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17054 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17055 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17057 CC="$ac_save_CC $ac_arg"
17058 if ac_fn_c_try_compile "$LINENO"; then :
17059 ac_cv_prog_cc_c89=$ac_arg
17061 rm -f core conftest.err conftest.$ac_objext
17062 test "x$ac_cv_prog_cc_c89" != "xno" && break
17064 rm -f conftest.$ac_ext
17069 case "x$ac_cv_prog_cc_c89" in
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17072 $as_echo "none needed" >&6; } ;;
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17075 $as_echo "unsupported" >&6; } ;;
17077 CC="$CC $ac_cv_prog_cc_c89"
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17079 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17081 if test "x$ac_cv_prog_cc_c89" != xno; then :
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17091 depcc="$CC" am_compiler_list=
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17094 $as_echo_n "checking dependency style of $depcc... " >&6; }
17095 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
17096 $as_echo_n "(cached) " >&6
17098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17099 # We make a subdir and do the tests there. Otherwise we can end up
17100 # making bogus files that we don't know about and never remove. For
17101 # instance it was reported that on HP-UX the gcc test will end up
17102 # making a dummy file named `D' -- because `-MD' means `put the output
17105 # Copy depcomp to subdir because otherwise we won't find it if we're
17106 # using a relative directory.
17107 cp "$am_depcomp" conftest.dir
17109 # We will build objects and dependencies in a subdirectory because
17110 # it helps to detect inapplicable dependency modes. For instance
17111 # both Tru64's cc and ICC support -MD to output dependencies as a
17112 # side effect of compilation, but ICC will put the dependencies in
17113 # the current directory while Tru64 will put them in the object
17117 am_cv_CC_dependencies_compiler_type=none
17118 if test "$am_compiler_list" = ""; then
17119 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17121 am__universal=false
17122 case " $depcc " in #(
17123 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17126 for depmode in $am_compiler_list; do
17127 # Setup a source with many dependencies, because some compilers
17128 # like to wrap large dependency lists on column 80 (with \), and
17129 # we should not choose a depcomp mode which is confused by this.
17131 # We need to recreate these files for each test, as the compiler may
17132 # overwrite some of them when testing with obscure command lines.
17133 # This happens at least with the AIX C compiler.
17135 for i in 1 2 3 4 5 6; do
17136 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17137 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17138 # Solaris 8's {/usr,}/bin/sh.
17139 touch sub/conftst$i.h
17141 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17143 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17144 # mode. It turns out that the SunPro C++ compiler does not properly
17145 # handle `-M -o', and we need to detect this. Also, some Intel
17146 # versions had trouble with output in subdirs
17147 am__obj=sub/conftest.${OBJEXT-o}
17148 am__minus_obj="-o $am__obj"
17151 # This depmode causes a compiler race in universal mode.
17152 test "$am__universal" = false || continue
17155 # after this tag, mechanisms are not by side-effect, so they'll
17156 # only be used when explicitly requested
17157 if test "x$enable_dependency_tracking" = xyes; then
17163 msvisualcpp | msvcmsys)
17164 # This compiler won't grok `-c -o', but also, the minuso test has
17165 # not run yet. These depmodes are late enough in the game, and
17166 # so weak that their functioning should not be impacted.
17167 am__obj=conftest.${OBJEXT-o}
17172 if depmode=$depmode \
17173 source=sub/conftest.c object=$am__obj \
17174 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17175 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17176 >/dev/null 2>conftest.err &&
17177 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17178 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17179 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17180 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17181 # icc doesn't choke on unknown options, it will just issue warnings
17182 # or remarks (even with -Werror). So we grep stderr for any message
17183 # that says an option was ignored or not supported.
17184 # When given -MP, icc 7.0 and 7.1 complain thusly:
17185 # icc: Command line warning: ignoring option '-M'; no argument required
17186 # The diagnosis changed in icc 8.0:
17187 # icc: Command line remark: option '-MP' not supported
17188 if (grep 'ignoring option' conftest.err ||
17189 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17190 am_cv_CC_dependencies_compiler_type=$depmode
17197 rm -rf conftest.dir
17199 am_cv_CC_dependencies_compiler_type=none
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17204 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17205 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17208 test "x$enable_dependency_tracking" != xno \
17209 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17210 am__fastdepCC_TRUE=
17211 am__fastdepCC_FALSE='#'
17213 am__fastdepCC_TRUE='#'
17214 am__fastdepCC_FALSE=
17226 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17227 if test -n "$ac_tool_prefix"; then
17228 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17229 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17231 $as_echo_n "checking for $ac_word... " >&6; }
17232 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17233 $as_echo_n "(cached) " >&6
17235 case $PKG_CONFIG in
17237 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17241 for as_dir in $PATH
17244 test -z "$as_dir" && as_dir=.
17245 for ac_exec_ext in '' $ac_executable_extensions; do
17246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17247 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17258 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17259 if test -n "$PKG_CONFIG"; then
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17261 $as_echo "$PKG_CONFIG" >&6; }
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17264 $as_echo "no" >&6; }
17269 if test -z "$ac_cv_path_PKG_CONFIG"; then
17270 ac_pt_PKG_CONFIG=$PKG_CONFIG
17271 # Extract the first word of "pkg-config", so it can be a program name with args.
17272 set dummy pkg-config; ac_word=$2
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17274 $as_echo_n "checking for $ac_word... " >&6; }
17275 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
17276 $as_echo_n "(cached) " >&6
17278 case $ac_pt_PKG_CONFIG in
17280 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
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_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17301 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17302 if test -n "$ac_pt_PKG_CONFIG"; then
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17304 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17307 $as_echo "no" >&6; }
17310 if test "x$ac_pt_PKG_CONFIG" = x; then
17313 case $cross_compiling:$ac_tool_warned in
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17317 ac_tool_warned=yes ;;
17319 PKG_CONFIG=$ac_pt_PKG_CONFIG
17322 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17326 if test -n "$PKG_CONFIG"; then
17327 _pkg_min_version=0.9.0
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17329 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17330 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17332 $as_echo "yes" >&6; }
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335 $as_echo "no" >&6; }
17340 # Check whether pkg-config supports Requires.private
17341 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
17342 pkgconfig_requires_private="Requires.private"
17344 pkgconfig_requires_private="Requires"
17348 # doxygen program for documentation building
17351 # Check whether --enable-doc was given.
17352 if test "${enable_doc+set}" = set; then :
17353 enableval=$enable_doc;
17354 if test "x${enableval}" = "xyes" ; then
17355 efl_enable_doc="yes"
17357 efl_enable_doc="no"
17361 efl_enable_doc="yes"
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
17366 $as_echo_n "checking whether to build documentation... " >&6; }
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
17368 $as_echo "${efl_enable_doc}" >&6; }
17370 if test "x${efl_enable_doc}" = "xyes" ; then
17373 efl_doxygen="doxygen"
17376 # Check whether --with-doxygen was given.
17377 if test "${with_doxygen+set}" = set; then :
17378 withval=$with_doxygen;
17379 efl_doxygen=${withval}
17380 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17381 set dummy ${efl_doxygen}; ac_word=$2
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17383 $as_echo_n "checking for $ac_word... " >&6; }
17384 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17385 $as_echo_n "(cached) " >&6
17387 if test -n "$efl_have_doxygen"; then
17388 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17391 for as_dir in $PATH
17394 test -z "$as_dir" && as_dir=.
17395 for ac_exec_ext in '' $ac_executable_extensions; do
17396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17397 ac_cv_prog_efl_have_doxygen="yes"
17398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17405 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17408 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17409 if test -n "$efl_have_doxygen"; then
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17411 $as_echo "$efl_have_doxygen" >&6; }
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17414 $as_echo "no" >&6; }
17418 if test "x${efl_have_doxygen}" = "xno" ; then
17420 echo "The doxygen program you specified:"
17421 echo "${efl_doxygen}"
17422 echo "was not found. Please check the path and make sure "
17423 echo "the program exists and is executable."
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17425 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17429 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17430 set dummy ${efl_doxygen}; ac_word=$2
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17432 $as_echo_n "checking for $ac_word... " >&6; }
17433 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17434 $as_echo_n "(cached) " >&6
17436 if test -n "$efl_have_doxygen"; then
17437 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17440 for as_dir in $PATH
17443 test -z "$as_dir" && as_dir=.
17444 for ac_exec_ext in '' $ac_executable_extensions; do
17445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17446 ac_cv_prog_efl_have_doxygen="yes"
17447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17454 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17457 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17458 if test -n "$efl_have_doxygen"; then
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17460 $as_echo "$efl_have_doxygen" >&6; }
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17463 $as_echo "no" >&6; }
17467 if test "x${efl_have_doxygen}" = "xno" ; then
17469 echo "The doxygen program was not found in your execute path."
17470 echo "You may have doxygen installed somewhere not covered by your path."
17472 echo "If this is the case make sure you have the packages installed, AND"
17473 echo "that the doxygen program is in your execute path (see your"
17474 echo "shell manual page on setting the \$PATH environment variable), OR"
17475 echo "alternatively, specify the program to use with --with-doxygen."
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17477 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17486 if ! test "x${efl_have_doxygen}" = "xyes" ; then
17487 efl_enable_doc="no"
17490 if test "x${efl_enable_doc}" = "xyes"; then
17491 EFL_BUILD_DOC_TRUE=
17492 EFL_BUILD_DOC_FALSE='#'
17494 EFL_BUILD_DOC_TRUE='#'
17495 EFL_BUILD_DOC_FALSE=
17499 if test "x${efl_enable_doc}" = "xyes" ; then
17508 ### Checks for libraries
17510 # Evil library for compilation on Windows CE
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
17517 $as_echo_n "checking for EVIL... " >&6; }
17519 if test -n "$EVIL_CFLAGS"; then
17520 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
17521 elif test -n "$PKG_CONFIG"; then
17522 if test -n "$PKG_CONFIG" && \
17523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17524 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17527 test $ac_status = 0; }; then
17528 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
17535 if test -n "$EVIL_LIBS"; then
17536 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
17537 elif test -n "$PKG_CONFIG"; then
17538 if test -n "$PKG_CONFIG" && \
17539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17540 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17543 test $ac_status = 0; }; then
17544 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
17554 if test $pkg_failed = yes; then
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17556 $as_echo "no" >&6; }
17558 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17559 _pkg_short_errors_supported=yes
17561 _pkg_short_errors_supported=no
17563 if test $_pkg_short_errors_supported = yes; then
17564 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
17566 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
17568 # Put the nasty error message in config.log where it belongs
17569 echo "$EVIL_PKG_ERRORS" >&5
17571 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
17575 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17576 installed software in a non-standard prefix.
17578 Alternatively, you may set the environment variables EVIL_CFLAGS
17579 and EVIL_LIBS to avoid the need to call pkg-config.
17580 See the pkg-config man page for more details." "$LINENO" 5
17581 elif test $pkg_failed = untried; then
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17583 $as_echo "no" >&6; }
17584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17586 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17587 is in your PATH or set the PKG_CONFIG environment variable to the full
17588 path to pkg-config.
17590 Alternatively, you may set the environment variables EVIL_CFLAGS
17591 and EVIL_LIBS to avoid the need to call pkg-config.
17592 See the pkg-config man page for more details.
17594 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17595 See \`config.log' for more details" "$LINENO" 5 ; }
17597 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
17598 EVIL_LIBS=$pkg_cv_EVIL_LIBS
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17600 $as_echo "yes" >&6; }
17604 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
17606 requirement_evas="evil ${requirement_evas}"
17610 ### Checks for portability layer
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
17615 $as_echo_n "checking for EXOTIC... " >&6; }
17617 if test -n "$EXOTIC_CFLAGS"; then
17618 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
17619 elif test -n "$PKG_CONFIG"; then
17620 if test -n "$PKG_CONFIG" && \
17621 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17622 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17625 test $ac_status = 0; }; then
17626 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
17633 if test -n "$EXOTIC_LIBS"; then
17634 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
17635 elif test -n "$PKG_CONFIG"; then
17636 if test -n "$PKG_CONFIG" && \
17637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17638 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17641 test $ac_status = 0; }; then
17642 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
17652 if test $pkg_failed = yes; then
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17654 $as_echo "no" >&6; }
17656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17657 _pkg_short_errors_supported=yes
17659 _pkg_short_errors_supported=no
17661 if test $_pkg_short_errors_supported = yes; then
17662 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
17664 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
17666 # Put the nasty error message in config.log where it belongs
17667 echo "$EXOTIC_PKG_ERRORS" >&5
17670 elif test $pkg_failed = untried; then
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17672 $as_echo "no" >&6; }
17675 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
17676 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17678 $as_echo "yes" >&6; }
17679 enable_exotic="yes"
17682 if test "x${enable_exotic}" = "xyes"; then
17683 requirement_evas="exotic ${requirement_evas}"
17686 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
17689 if test "x${enable_exotic}" = "xyes"; then
17690 EVAS_HAVE_EXOTIC_TRUE=
17691 EVAS_HAVE_EXOTIC_FALSE='#'
17693 EVAS_HAVE_EXOTIC_TRUE='#'
17694 EVAS_HAVE_EXOTIC_FALSE=
17698 ## strong dependencies
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
17704 $as_echo_n "checking for EINA... " >&6; }
17706 if test -n "$EINA_CFLAGS"; then
17707 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
17708 elif test -n "$PKG_CONFIG"; then
17709 if test -n "$PKG_CONFIG" && \
17710 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
17711 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
17713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17714 test $ac_status = 0; }; then
17715 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.0" 2>/dev/null`
17722 if test -n "$EINA_LIBS"; then
17723 pkg_cv_EINA_LIBS="$EINA_LIBS"
17724 elif test -n "$PKG_CONFIG"; then
17725 if test -n "$PKG_CONFIG" && \
17726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
17727 ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
17729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17730 test $ac_status = 0; }; then
17731 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.0" 2>/dev/null`
17741 if test $pkg_failed = yes; then
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17743 $as_echo "no" >&6; }
17745 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17746 _pkg_short_errors_supported=yes
17748 _pkg_short_errors_supported=no
17750 if test $_pkg_short_errors_supported = yes; then
17751 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.6.0" 2>&1`
17753 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.6.0" 2>&1`
17755 # Put the nasty error message in config.log where it belongs
17756 echo "$EINA_PKG_ERRORS" >&5
17758 as_fn_error $? "Package requirements (eina >= 1.6.0) were not met:
17762 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17763 installed software in a non-standard prefix.
17765 Alternatively, you may set the environment variables EINA_CFLAGS
17766 and EINA_LIBS to avoid the need to call pkg-config.
17767 See the pkg-config man page for more details." "$LINENO" 5
17768 elif test $pkg_failed = untried; then
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17770 $as_echo "no" >&6; }
17771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17773 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17774 is in your PATH or set the PKG_CONFIG environment variable to the full
17775 path to pkg-config.
17777 Alternatively, you may set the environment variables EINA_CFLAGS
17778 and EINA_LIBS to avoid the need to call pkg-config.
17779 See the pkg-config man page for more details.
17781 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17782 See \`config.log' for more details" "$LINENO" 5 ; }
17784 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
17785 EINA_LIBS=$pkg_cv_EINA_LIBS
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17787 $as_echo "yes" >&6; }
17790 CPPFLAGS_SAVE="$CPPFLAGS"
17791 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
17792 # The cast to long int works around a bug in the HP C Compiler
17793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17795 # This bug is HP SR number 8606223364.
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
17797 $as_echo_n "checking size of Eina_Unicode... " >&6; }
17798 if test "${ac_cv_sizeof_Eina_Unicode+set}" = set; then :
17799 $as_echo_n "(cached) " >&6
17801 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode" "#include <Eina.h>
17805 if test "$ac_cv_type_Eina_Unicode" = yes; then
17806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17808 as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
17809 See \`config.log' for more details" "$LINENO" 5 ; }
17811 ac_cv_sizeof_Eina_Unicode=0
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
17817 $as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
17821 cat >>confdefs.h <<_ACEOF
17822 #define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
17826 CPPFLAGS="$CPPFLAGS_SAVE"
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
17832 $as_echo_n "checking for FREETYPE... " >&6; }
17834 if test -n "$FREETYPE_CFLAGS"; then
17835 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
17836 elif test -n "$PKG_CONFIG"; then
17837 if test -n "$PKG_CONFIG" && \
17838 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17839 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17842 test $ac_status = 0; }; then
17843 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
17850 if test -n "$FREETYPE_LIBS"; then
17851 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
17852 elif test -n "$PKG_CONFIG"; then
17853 if test -n "$PKG_CONFIG" && \
17854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17855 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17858 test $ac_status = 0; }; then
17859 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
17869 if test $pkg_failed = yes; then
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17871 $as_echo "no" >&6; }
17873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17874 _pkg_short_errors_supported=yes
17876 _pkg_short_errors_supported=no
17878 if test $_pkg_short_errors_supported = yes; then
17879 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= 9.3.0" 2>&1`
17881 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= 9.3.0" 2>&1`
17883 # Put the nasty error message in config.log where it belongs
17884 echo "$FREETYPE_PKG_ERRORS" >&5
17886 as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
17888 $FREETYPE_PKG_ERRORS
17890 Consider adjusting the PKG_CONFIG_PATH environment variable if you
17891 installed software in a non-standard prefix.
17893 Alternatively, you may set the environment variables FREETYPE_CFLAGS
17894 and FREETYPE_LIBS to avoid the need to call pkg-config.
17895 See the pkg-config man page for more details." "$LINENO" 5
17896 elif test $pkg_failed = untried; then
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17898 $as_echo "no" >&6; }
17899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17901 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17902 is in your PATH or set the PKG_CONFIG environment variable to the full
17903 path to pkg-config.
17905 Alternatively, you may set the environment variables FREETYPE_CFLAGS
17906 and FREETYPE_LIBS to avoid the need to call pkg-config.
17907 See the pkg-config man page for more details.
17909 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17910 See \`config.log' for more details" "$LINENO" 5 ; }
17912 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
17913 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17915 $as_echo "yes" >&6; }
17919 requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}"
17921 ## optional dependencies
17924 have_fontconfig="no"
17925 # Check whether --enable-fontconfig was given.
17926 if test "${enable_fontconfig+set}" = set; then :
17927 enableval=$enable_fontconfig;
17928 if test "x${enableval}" = "xyes" ; then
17929 want_fontconfig="yes"
17931 want_fontconfig="no"
17938 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
17942 $as_echo_n "checking for FONTCONFIG... " >&6; }
17944 if test -n "$FONTCONFIG_CFLAGS"; then
17945 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
17946 elif test -n "$PKG_CONFIG"; then
17947 if test -n "$PKG_CONFIG" && \
17948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17949 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17952 test $ac_status = 0; }; then
17953 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
17960 if test -n "$FONTCONFIG_LIBS"; then
17961 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
17962 elif test -n "$PKG_CONFIG"; then
17963 if test -n "$PKG_CONFIG" && \
17964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17965 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17968 test $ac_status = 0; }; then
17969 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
17979 if test $pkg_failed = yes; then
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17981 $as_echo "no" >&6; }
17983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17984 _pkg_short_errors_supported=yes
17986 _pkg_short_errors_supported=no
17988 if test $_pkg_short_errors_supported = yes; then
17989 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1`
17991 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1`
17993 # Put the nasty error message in config.log where it belongs
17994 echo "$FONTCONFIG_PKG_ERRORS" >&5
17997 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
17998 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18001 elif test $pkg_failed = untried; then
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18003 $as_echo "no" >&6; }
18005 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18006 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18010 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18011 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18013 $as_echo "yes" >&6; }
18015 have_fontconfig="yes"
18017 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18019 requirement_evas="fontconfig ${requirement_evas}"
18025 have_linebreak="no"
18026 want_linebreak="yes"
18027 # Check whether --enable-liblinebreak was given.
18028 if test "${enable_liblinebreak+set}" = set; then :
18029 enableval=$enable_liblinebreak;
18030 if test "x${enableval}" = "xyes" ; then
18031 want_linebreak="yes"
18033 want_linebreak="no"
18040 if test "x${want_linebreak}" = "xyes"; then
18041 EVAS_USE_LINEBREAK_TRUE=
18042 EVAS_USE_LINEBREAK_FALSE='#'
18044 EVAS_USE_LINEBREAK_TRUE='#'
18045 EVAS_USE_LINEBREAK_FALSE=
18048 if test "x${want_linebreak}" = "xyes" ; then
18049 have_linebreak="yes"
18050 LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18051 LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18055 $as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18058 have_linebreak="no"
18063 # Check whether --enable-fribidi was given.
18064 if test "${enable_fribidi+set}" = set; then :
18065 enableval=$enable_fribidi;
18066 if test "x${enableval}" = "xyes" ; then
18075 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18079 $as_echo_n "checking for FRIBIDI... " >&6; }
18081 if test -n "$FRIBIDI_CFLAGS"; then
18082 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18083 elif test -n "$PKG_CONFIG"; then
18084 if test -n "$PKG_CONFIG" && \
18085 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18086 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18089 test $ac_status = 0; }; then
18090 pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18097 if test -n "$FRIBIDI_LIBS"; then
18098 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18099 elif test -n "$PKG_CONFIG"; then
18100 if test -n "$PKG_CONFIG" && \
18101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18102 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18105 test $ac_status = 0; }; then
18106 pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18116 if test $pkg_failed = yes; then
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18118 $as_echo "no" >&6; }
18120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18121 _pkg_short_errors_supported=yes
18123 _pkg_short_errors_supported=no
18125 if test $_pkg_short_errors_supported = yes; then
18126 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi >= 0.19.2" 2>&1`
18128 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi >= 0.19.2" 2>&1`
18130 # Put the nasty error message in config.log where it belongs
18131 echo "$FRIBIDI_PKG_ERRORS" >&5
18134 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18135 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18138 elif test $pkg_failed = untried; then
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18140 $as_echo "no" >&6; }
18142 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18143 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18147 FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18148 FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18150 $as_echo "yes" >&6; }
18154 $as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18156 requirement_evas="fribidi ${requirement_evas}"
18157 CPPFLAGS_SAVE="$CPPFLAGS"
18158 CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18159 # The cast to long int works around a bug in the HP C Compiler
18160 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18161 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18162 # This bug is HP SR number 8606223364.
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18164 $as_echo_n "checking size of FriBidiChar... " >&6; }
18165 if test "${ac_cv_sizeof_FriBidiChar+set}" = set; then :
18166 $as_echo_n "(cached) " >&6
18168 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar" "#include <fribidi/fribidi.h>
18172 if test "$ac_cv_type_FriBidiChar" = yes; then
18173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18175 as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18176 See \`config.log' for more details" "$LINENO" 5 ; }
18178 ac_cv_sizeof_FriBidiChar=0
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18184 $as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18188 cat >>confdefs.h <<_ACEOF
18189 #define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18193 CPPFLAGS="$CPPFLAGS_SAVE"
18198 if test "x${have_fribidi}" = "xno"; then
18204 have_harfbuzz_ft="no"
18205 # Check whether --enable-harfbuzz was given.
18206 if test "${enable_harfbuzz+set}" = set; then :
18207 enableval=$enable_harfbuzz;
18208 if test "x${enableval}" = "xyes" ; then
18209 want_harfbuzz="yes"
18217 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
18221 $as_echo_n "checking for HARFBUZZ... " >&6; }
18223 if test -n "$HARFBUZZ_CFLAGS"; then
18224 pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
18225 elif test -n "$PKG_CONFIG"; then
18226 if test -n "$PKG_CONFIG" && \
18227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18228 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18231 test $ac_status = 0; }; then
18232 pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.9.0" 2>/dev/null`
18239 if test -n "$HARFBUZZ_LIBS"; then
18240 pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
18241 elif test -n "$PKG_CONFIG"; then
18242 if test -n "$PKG_CONFIG" && \
18243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18244 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18247 test $ac_status = 0; }; then
18248 pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.9.0" 2>/dev/null`
18258 if test $pkg_failed = yes; then
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18260 $as_echo "no" >&6; }
18262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18263 _pkg_short_errors_supported=yes
18265 _pkg_short_errors_supported=no
18267 if test $_pkg_short_errors_supported = yes; then
18268 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "harfbuzz >= 0.9.0" 2>&1`
18270 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors "harfbuzz >= 0.9.0" 2>&1`
18272 # Put the nasty error message in config.log where it belongs
18273 echo "$HARFBUZZ_PKG_ERRORS" >&5
18276 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18277 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18280 elif test $pkg_failed = untried; then
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18282 $as_echo "no" >&6; }
18284 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18285 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18289 HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
18290 HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18292 $as_echo "yes" >&6; }
18294 have_harfbuzz="yes"
18295 requirement_evas="harfbuzz ${requirement_evas}"
18298 if test "x$have_harfbuzz" = "xyes" ; then
18300 CPPFLAGS_SAVE="$CPPFLAGS"
18301 CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
18302 # must have for usage with harfbuzz although harfbuzz may not have it.
18304 ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
18305 if test "x$ac_cv_header_hb_ft_h" = x""yes; then :
18307 have_harfbuzz_ft="yes"
18308 #Depend on harfbuzz ft for harfbuzz support
18310 $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
18315 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18316 as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
18323 CPPFLAGS="$CPPFLAGS_SAVE"
18327 if test "x${have_harfbuzz}" = "xno"; then
18333 # Check whether --enable-pixman was given.
18334 if test "${enable_pixman+set}" = set; then :
18335 enableval=$enable_pixman;
18336 if test "x${enableval}" = "xyes" ; then
18346 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
18350 $as_echo_n "checking for PIXMAN... " >&6; }
18352 if test -n "$PIXMAN_CFLAGS"; then
18353 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
18354 elif test -n "$PKG_CONFIG"; then
18355 if test -n "$PKG_CONFIG" && \
18356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18357 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18360 test $ac_status = 0; }; then
18361 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
18368 if test -n "$PIXMAN_LIBS"; then
18369 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
18370 elif test -n "$PKG_CONFIG"; then
18371 if test -n "$PKG_CONFIG" && \
18372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18373 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18376 test $ac_status = 0; }; then
18377 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
18387 if test $pkg_failed = yes; then
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18389 $as_echo "no" >&6; }
18391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18392 _pkg_short_errors_supported=yes
18394 _pkg_short_errors_supported=no
18396 if test $_pkg_short_errors_supported = yes; then
18397 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
18399 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
18401 # Put the nasty error message in config.log where it belongs
18402 echo "$PIXMAN_PKG_ERRORS" >&5
18405 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18406 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18409 elif test $pkg_failed = untried; then
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18411 $as_echo "no" >&6; }
18413 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18414 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18418 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
18419 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18421 $as_echo "yes" >&6; }
18425 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
18427 requirement_evas="pixman-1 ${requirement_evas}"
18432 have_pixman_font="no"
18433 # Check whether --enable-pixman-font was given.
18434 if test "${enable_pixman_font+set}" = set; then :
18435 enableval=$enable_pixman_font;
18436 have_pixman_font="yes"
18438 $as_echo "#define PIXMAN_FONT 1" >>confdefs.h
18445 have_pixman_rect="no"
18446 # Check whether --enable-pixman-rect was given.
18447 if test "${enable_pixman_rect+set}" = set; then :
18448 enableval=$enable_pixman_rect;
18449 have_pixman_rect="yes"
18451 $as_echo "#define PIXMAN_RECT 1" >>confdefs.h
18458 have_pixman_line="no"
18459 # Check whether --enable-pixman-line was given.
18460 if test "${enable_pixman_line+set}" = set; then :
18461 enableval=$enable_pixman_line;
18462 have_pixman_line="yes"
18464 $as_echo "#define PIXMAN_LINE 1" >>confdefs.h
18471 have_pixman_poly="no"
18472 # Check whether --enable-pixman-poly was given.
18473 if test "${enable_pixman_poly+set}" = set; then :
18474 enableval=$enable_pixman_poly;
18475 have_pixman_poly="yes"
18477 $as_echo "#define PIXMAN_POLY 1" >>confdefs.h
18484 have_pixman_image="no"
18485 # Check whether --enable-pixman-image was given.
18486 if test "${enable_pixman_image+set}" = set; then :
18487 enableval=$enable_pixman_image;
18488 have_pixman_image="yes"
18490 $as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
18497 have_pixman_image_scale_sample="no"
18498 # Check whether --enable-pixman-image-scale-sample was given.
18499 if test "${enable_pixman_image_scale_sample+set}" = set; then :
18500 enableval=$enable_pixman_image_scale_sample;
18501 have_pixman_image_scale_sample="yes"
18503 $as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
18510 have_tile_rotate="no"
18511 # Check whether --enable-tile-rotate was given.
18512 if test "${enable_tile_rotate+set}" = set; then :
18513 enableval=$enable_tile_rotate;
18514 have_tile_rotate="yes"
18516 $as_echo "#define TILE_ROTATE 1" >>confdefs.h
18523 ### Checks for header files
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18525 $as_echo_n "checking for ANSI C header files... " >&6; }
18526 if test "${ac_cv_header_stdc+set}" = set; then :
18527 $as_echo_n "(cached) " >&6
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 #include <stdlib.h>
18532 #include <stdarg.h>
18533 #include <string.h>
18544 if ac_fn_c_try_compile "$LINENO"; then :
18545 ac_cv_header_stdc=yes
18547 ac_cv_header_stdc=no
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 if test $ac_cv_header_stdc = yes; then
18552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18555 #include <string.h>
18558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18559 $EGREP "memchr" >/dev/null 2>&1; then :
18562 ac_cv_header_stdc=no
18568 if test $ac_cv_header_stdc = yes; then
18569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572 #include <stdlib.h>
18575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18576 $EGREP "free" >/dev/null 2>&1; then :
18579 ac_cv_header_stdc=no
18585 if test $ac_cv_header_stdc = yes; then
18586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18587 if test "$cross_compiling" = yes; then :
18590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h. */
18593 #include <stdlib.h>
18594 #if ((' ' & 0x0FF) == 0x020)
18595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18598 # define ISLOWER(c) \
18599 (('a' <= (c) && (c) <= 'i') \
18600 || ('j' <= (c) && (c) <= 'r') \
18601 || ('s' <= (c) && (c) <= 'z'))
18602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18610 for (i = 0; i < 256; i++)
18611 if (XOR (islower (i), ISLOWER (i))
18612 || toupper (i) != TOUPPER (i))
18617 if ac_fn_c_try_run "$LINENO"; then :
18620 ac_cv_header_stdc=no
18622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18623 conftest.$ac_objext conftest.beam conftest.$ac_ext
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18629 $as_echo "$ac_cv_header_stdc" >&6; }
18630 if test $ac_cv_header_stdc = yes; then
18632 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18636 for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
18638 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18639 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18640 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18641 cat >>confdefs.h <<_ACEOF
18642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18653 ac_cpp='$CPP $CPPFLAGS'
18654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
18660 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18664 #include <limits.h>
18676 if ac_fn_c_try_compile "$LINENO"; then :
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18678 $as_echo "yes" >&6; }
18682 cat >>confdefs.h <<_ACEOF
18683 #define PATH_MAX ${default_max}
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
18687 $as_echo "no: using ${default_max}" >&6; }
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693 ac_cpp='$CPP $CPPFLAGS'
18694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18701 ### Checks for types
18702 ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
18704 if test "x$ac_cv_type_struct_sigaction" = x""yes; then :
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_SIGACTION 1
18715 ### Checks for structures
18718 ### Checks for compiler characteristics
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18720 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18721 if test "${ac_cv_c_const+set}" = set; then :
18722 $as_echo_n "(cached) " >&6
18724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18730 /* FIXME: Include the comments suggested by Paul. */
18731 #ifndef __cplusplus
18732 /* Ultrix mips cc rejects this. */
18733 typedef int charset[2];
18735 /* SunOS 4.1.1 cc rejects this. */
18736 char const *const *pcpcc;
18738 /* NEC SVR4.0.2 mips cc rejects this. */
18739 struct point {int x, y;};
18740 static struct point const zero = {0,0};
18741 /* AIX XL C 1.02.0.0 rejects this.
18742 It does not let you subtract one const X* pointer from another in
18743 an arm of an if-expression whose if-part is not a constant
18745 const char *g = "string";
18746 pcpcc = &g + (g ? g-g : 0);
18747 /* HPUX 7.0 cc rejects these. */
18749 ppc = (char**) pcpcc;
18750 pcpcc = (char const *const *) ppc;
18751 { /* SCO 3.2v4 cc rejects this. */
18753 char const *s = 0 ? (char *) 0 : (char const *) 0;
18758 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18759 int x[] = {25, 17};
18760 const int *foo = &x[0];
18763 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18764 typedef const int *iptr;
18768 { /* AIX XL C 1.02.0.0 rejects this saying
18769 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18770 struct s { int j; const int *ap[3]; };
18771 struct s *b; b->j = 5;
18773 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18774 const int foo = 10;
18775 if (!foo) return 0;
18777 return !cs[0] && !zero.x;
18784 if ac_fn_c_try_compile "$LINENO"; then :
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18792 $as_echo "$ac_cv_c_const" >&6; }
18793 if test $ac_cv_c_const = no; then
18795 $as_echo "#define const /**/" >>confdefs.h
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
18800 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
18801 if test "${ac_cv_c_bigendian+set}" = set; then :
18802 $as_echo_n "(cached) " >&6
18804 ac_cv_c_bigendian=unknown
18805 # See if we're dealing with a universal compiler.
18806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18807 /* end confdefs.h. */
18808 #ifndef __APPLE_CC__
18809 not a universal capable compiler
18814 if ac_fn_c_try_compile "$LINENO"; then :
18816 # Check for potential -arch flags. It is not universal unless
18817 # there are at least two -arch flags with different values.
18820 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18821 if test -n "$ac_prev"; then
18823 i?86 | x86_64 | ppc | ppc64)
18824 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18827 ac_cv_c_bigendian=universal
18833 elif test "x$ac_word" = "x-arch"; then
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839 if test $ac_cv_c_bigendian = unknown; then
18840 # See if sys/param.h defines the BYTE_ORDER macro.
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <sys/types.h>
18844 #include <sys/param.h>
18849 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18850 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18852 bogus endian macros
18859 if ac_fn_c_try_compile "$LINENO"; then :
18860 # It does; now see whether it defined to BIG_ENDIAN or not.
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863 #include <sys/types.h>
18864 #include <sys/param.h>
18869 #if BYTE_ORDER != BIG_ENDIAN
18877 if ac_fn_c_try_compile "$LINENO"; then :
18878 ac_cv_c_bigendian=yes
18880 ac_cv_c_bigendian=no
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18886 if test $ac_cv_c_bigendian = unknown; then
18887 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18890 #include <limits.h>
18895 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18896 bogus endian macros
18903 if ac_fn_c_try_compile "$LINENO"; then :
18904 # It does; now see whether it defined to _BIG_ENDIAN or not.
18905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h. */
18907 #include <limits.h>
18912 #ifndef _BIG_ENDIAN
18920 if ac_fn_c_try_compile "$LINENO"; then :
18921 ac_cv_c_bigendian=yes
18923 ac_cv_c_bigendian=no
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18929 if test $ac_cv_c_bigendian = unknown; then
18930 # Compile a test program.
18931 if test "$cross_compiling" = yes; then :
18932 # Try to guess by grepping values from an object file.
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18935 short int ascii_mm[] =
18936 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18937 short int ascii_ii[] =
18938 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18939 int use_ascii (int i) {
18940 return ascii_mm[i] + ascii_ii[i];
18942 short int ebcdic_ii[] =
18943 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18944 short int ebcdic_mm[] =
18945 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18946 int use_ebcdic (int i) {
18947 return ebcdic_mm[i] + ebcdic_ii[i];
18954 return use_ascii (foo) == use_ebcdic (foo);
18959 if ac_fn_c_try_compile "$LINENO"; then :
18960 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18961 ac_cv_c_bigendian=yes
18963 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18964 if test "$ac_cv_c_bigendian" = unknown; then
18965 ac_cv_c_bigendian=no
18967 # finding both strings is unlikely to happen, but who knows?
18968 ac_cv_c_bigendian=unknown
18972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976 $ac_includes_default
18981 /* Are we little or big endian? From Harbison&Steele. */
18985 char c[sizeof (long int)];
18988 return u.c[sizeof (long int) - 1] == 1;
18994 if ac_fn_c_try_run "$LINENO"; then :
18995 ac_cv_c_bigendian=no
18997 ac_cv_c_bigendian=yes
18999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19000 conftest.$ac_objext conftest.beam conftest.$ac_ext
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19006 $as_echo "$ac_cv_c_bigendian" >&6; }
19007 case $ac_cv_c_bigendian in #(
19009 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19015 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19019 as_fn_error $? "unknown endianness
19020 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19023 case $ac_cv_prog_cc_stdc in #(
19025 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19028 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19029 if test "${ac_cv_prog_cc_c99+set}" = set; then :
19030 $as_echo_n "(cached) " >&6
19032 ac_cv_prog_cc_c99=no
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19036 #include <stdarg.h>
19037 #include <stdbool.h>
19038 #include <stdlib.h>
19042 // Check varargs macros. These examples are taken from C99 6.10.3.5.
19043 #define debug(...) fprintf (stderr, __VA_ARGS__)
19044 #define showlist(...) puts (#__VA_ARGS__)
19045 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19047 test_varargs_macros (void)
19052 debug ("X = %d\n", x);
19053 showlist (The first, second, and third items.);
19054 report (x>y, "x is %d but y is %d", x, y);
19057 // Check long long types.
19058 #define BIG64 18446744073709551615ull
19059 #define BIG32 4294967295ul
19060 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19062 your preprocessor is broken;
19066 your preprocessor is broken;
19068 static long long int bignum = -9223372036854775807LL;
19069 static unsigned long long int ubignum = BIG64;
19071 struct incomplete_array
19077 struct named_init {
19079 const wchar_t *name;
19083 typedef const char *ccp;
19086 test_restrict (ccp restrict text)
19088 // See if C++-style comments work.
19089 // Iterate through items via the restricted pointer.
19090 // Also check for declarations in for loops.
19091 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19096 // Check varargs and va_copy.
19098 test_varargs (const char *format, ...)
19101 va_start (args, format);
19103 va_copy (args_copy, args);
19113 case 's': // string
19114 str = va_arg (args_copy, const char *);
19117 number = va_arg (args_copy, int);
19120 fnumber = va_arg (args_copy, double);
19126 va_end (args_copy);
19135 _Bool success = false;
19138 if (test_restrict ("String literal") == 0)
19140 char *restrict newvar = "Another string";
19143 test_varargs ("s, d' f .", "string", 65, 34.234);
19144 test_varargs_macros ();
19146 // Check flexible array members.
19147 struct incomplete_array *ia =
19148 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19150 for (int i = 0; i < ia->datasize; ++i)
19151 ia->data[i] = i * 1.234;
19153 // Check named initializers.
19154 struct named_init ni = {
19156 .name = L"Test wide string",
19157 .average = 543.34343,
19162 int dynamic_array[ni.number];
19163 dynamic_array[ni.number - 1] = 543;
19165 // work around unused variable warnings
19166 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19167 || dynamic_array[ni.number - 1] != 543);
19173 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
19175 CC="$ac_save_CC $ac_arg"
19176 if ac_fn_c_try_compile "$LINENO"; then :
19177 ac_cv_prog_cc_c99=$ac_arg
19179 rm -f core conftest.err conftest.$ac_objext
19180 test "x$ac_cv_prog_cc_c99" != "xno" && break
19182 rm -f conftest.$ac_ext
19187 case "x$ac_cv_prog_cc_c99" in
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19190 $as_echo "none needed" >&6; } ;;
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19193 $as_echo "unsupported" >&6; } ;;
19195 CC="$CC $ac_cv_prog_cc_c99"
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19197 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19199 if test "x$ac_cv_prog_cc_c99" != xno; then :
19200 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19203 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19204 if test "${ac_cv_prog_cc_c89+set}" = set; then :
19205 $as_echo_n "(cached) " >&6
19207 ac_cv_prog_cc_c89=no
19209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19210 /* end confdefs.h. */
19211 #include <stdarg.h>
19213 #include <sys/types.h>
19214 #include <sys/stat.h>
19215 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19216 struct buf { int x; };
19217 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19218 static char *e (p, i)
19224 static char *f (char * (*g) (char **, int), char **p, ...)
19229 s = g (p, va_arg (v,int));
19234 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19235 function prototypes and stuff, but not '\xHH' hex character constants.
19236 These don't provoke an error unfortunately, instead are silently treated
19237 as 'x'. The following induces an error, until -std is added to get
19238 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19239 array size at least. It's necessary to write '\x00'==0 to get something
19240 that's true only with -std. */
19241 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19243 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19244 inside strings and character constants. */
19246 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19248 int test (int i, double x);
19249 struct s1 {int (*f) (int a);};
19250 struct s2 {int (*f) (double a);};
19251 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19257 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19262 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19263 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19265 CC="$ac_save_CC $ac_arg"
19266 if ac_fn_c_try_compile "$LINENO"; then :
19267 ac_cv_prog_cc_c89=$ac_arg
19269 rm -f core conftest.err conftest.$ac_objext
19270 test "x$ac_cv_prog_cc_c89" != "xno" && break
19272 rm -f conftest.$ac_ext
19277 case "x$ac_cv_prog_cc_c89" in
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19280 $as_echo "none needed" >&6; } ;;
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19283 $as_echo "unsupported" >&6; } ;;
19285 CC="$CC $ac_cv_prog_cc_c89"
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19287 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19289 if test "x$ac_cv_prog_cc_c89" != xno; then :
19290 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
19292 ac_cv_prog_cc_stdc=no
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
19299 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
19300 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
19301 $as_echo_n "(cached) " >&6
19304 case $ac_cv_prog_cc_stdc in #(
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19307 $as_echo "unsupported" >&6; } ;; #(
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19310 $as_echo "none needed" >&6; } ;; #(
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
19313 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
19318 $as_echo_n "checking for __attribute__ ((unused))... " >&6; }
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19322 void foo(int x __attribute__ ((unused))) {}
19333 if ac_fn_c_try_compile "$LINENO"; then :
19334 have_attribute_unused="yes"
19336 have_attribute_unused="no"
19338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
19340 $as_echo "${have_attribute_unused}" >&6; }
19342 if test "x${have_attribute_unused}" = "xyes" ; then
19344 $as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
19348 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
19354 $as_echo_n "checking for __attribute__ ((vector))... " >&6; }
19355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19358 typedef int v4si __attribute__ ((vector_size (16)));
19364 if (sizeof(v4si) == 16)
19373 if ac_fn_c_try_compile "$LINENO"; then :
19374 have_attribute_vector="yes"
19376 have_attribute_vector="no"
19378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
19380 $as_echo "${have_attribute_vector}" >&6; }
19382 if test "x${have_attribute_vector}" = "xyes" ; then
19384 $as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
19390 have_attribute_forceinline="no"
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
19393 $as_echo_n "checking for __forceinline... " >&6; }
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19398 #include <windows.h>
19399 static __forceinline void foo(void) {}
19410 if ac_fn_c_try_compile "$LINENO"; then :
19412 have_attribute_always_inline="yes"
19413 have_attribute_forceinline="yes"
19416 have_attribute_always_inline="no"
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
19421 $as_echo "${have_attribute_always_inline}" >&6; }
19423 if test "x${have_attribute_always_inline}" = "xno" ; then
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
19425 $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19429 static __attribute__((__always_inline__)) inline void foo(void) {}
19440 if ac_fn_c_try_compile "$LINENO"; then :
19441 have_attribute_always_inline="yes"
19443 have_attribute_always_inline="no"
19445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
19447 $as_echo "${have_attribute_always_inline}" >&6; }
19450 if test "x${have_attribute_always_inline}" = "xyes" ; then
19451 if test "x${have_attribute_forceinline}" = "xyes" ; then
19453 $as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
19457 $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
19462 $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
19468 ### Checks for linker characteristics
19469 lt_enable_auto_import=""
19470 case "${host_os}" in
19473 $as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
19475 lt_enable_auto_import="-Wl,--enable-auto-import"
19481 ### Checks for library functions
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
19484 $as_echo_n "checking for library containing strerror... " >&6; }
19485 if test "${ac_cv_search_strerror+set}" = set; then :
19486 $as_echo_n "(cached) " >&6
19488 ac_func_search_save_LIBS=$LIBS
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19492 /* Override any GCC internal prototype to avoid an error.
19493 Use char because int might match the return type of a GCC
19494 builtin and then its argument prototype would still apply. */
19502 return strerror ();
19507 for ac_lib in '' cposix; do
19508 if test -z "$ac_lib"; then
19509 ac_res="none required"
19512 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19514 if ac_fn_c_try_link "$LINENO"; then :
19515 ac_cv_search_strerror=$ac_res
19517 rm -f core conftest.err conftest.$ac_objext \
19519 if test "${ac_cv_search_strerror+set}" = set; then :
19523 if test "${ac_cv_search_strerror+set}" = set; then :
19526 ac_cv_search_strerror=no
19528 rm conftest.$ac_ext
19529 LIBS=$ac_func_search_save_LIBS
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
19532 $as_echo "$ac_cv_search_strerror" >&6; }
19533 ac_res=$ac_cv_search_strerror
19534 if test "$ac_res" != no; then :
19535 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19539 for ac_func in siglongjmp
19541 ac_fn_c_check_func "$LINENO" "siglongjmp" "ac_cv_func_siglongjmp"
19542 if test "x$ac_cv_func_siglongjmp" = x""yes; then :
19543 cat >>confdefs.h <<_ACEOF
19544 #define HAVE_SIGLONGJMP 1
19552 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19553 # for constant arguments. Useless!
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
19555 $as_echo_n "checking for working alloca.h... " >&6; }
19556 if test "${ac_cv_working_alloca_h+set}" = set; then :
19557 $as_echo_n "(cached) " >&6
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19561 #include <alloca.h>
19565 char *p = (char *) alloca (2 * sizeof (int));
19571 if ac_fn_c_try_link "$LINENO"; then :
19572 ac_cv_working_alloca_h=yes
19574 ac_cv_working_alloca_h=no
19576 rm -f core conftest.err conftest.$ac_objext \
19577 conftest$ac_exeext conftest.$ac_ext
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
19580 $as_echo "$ac_cv_working_alloca_h" >&6; }
19581 if test $ac_cv_working_alloca_h = yes; then
19583 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
19588 $as_echo_n "checking for alloca... " >&6; }
19589 if test "${ac_cv_func_alloca_works+set}" = set; then :
19590 $as_echo_n "(cached) " >&6
19592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19593 /* end confdefs.h. */
19595 # define alloca __builtin_alloca
19598 # include <malloc.h>
19599 # define alloca _alloca
19601 # ifdef HAVE_ALLOCA_H
19602 # include <alloca.h>
19607 # ifndef alloca /* predefined by HP cc +Olibcalls */
19618 char *p = (char *) alloca (1);
19624 if ac_fn_c_try_link "$LINENO"; then :
19625 ac_cv_func_alloca_works=yes
19627 ac_cv_func_alloca_works=no
19629 rm -f core conftest.err conftest.$ac_objext \
19630 conftest$ac_exeext conftest.$ac_ext
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
19633 $as_echo "$ac_cv_func_alloca_works" >&6; }
19635 if test $ac_cv_func_alloca_works = yes; then
19637 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
19640 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
19641 # that cause trouble. Some versions do not even contain alloca or
19642 # contain a buggy version. If you still want to use their alloca,
19643 # use ar to extract alloca.o from them instead of compiling alloca.c.
19645 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
19647 $as_echo "#define C_ALLOCA 1" >>confdefs.h
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
19651 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
19652 if test "${ac_cv_os_cray+set}" = set; then :
19653 $as_echo_n "(cached) " >&6
19655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19656 /* end confdefs.h. */
19657 #if defined CRAY && ! defined CRAY2
19664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19665 $EGREP "webecray" >/dev/null 2>&1; then :
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
19674 $as_echo "$ac_cv_os_cray" >&6; }
19675 if test $ac_cv_os_cray = yes; then
19676 for ac_func in _getb67 GETB67 getb67; do
19677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19681 cat >>confdefs.h <<_ACEOF
19682 #define CRAY_STACKSEG_END $ac_func
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
19692 $as_echo_n "checking stack direction for C alloca... " >&6; }
19693 if test "${ac_cv_c_stack_direction+set}" = set; then :
19694 $as_echo_n "(cached) " >&6
19696 if test "$cross_compiling" = yes; then :
19697 ac_cv_c_stack_direction=0
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19701 $ac_includes_default
19703 find_stack_direction ()
19705 static char *addr = 0;
19710 return find_stack_direction ();
19713 return (&dummy > addr) ? 1 : -1;
19719 return find_stack_direction () < 0;
19722 if ac_fn_c_try_run "$LINENO"; then :
19723 ac_cv_c_stack_direction=1
19725 ac_cv_c_stack_direction=-1
19727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19728 conftest.$ac_objext conftest.beam conftest.$ac_ext
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
19733 $as_echo "$ac_cv_c_stack_direction" >&6; }
19734 cat >>confdefs.h <<_ACEOF
19735 #define STACK_DIRECTION $ac_cv_c_stack_direction
19745 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
19746 if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
19747 _efl_have_fnmatch="yes"
19749 _efl_have_fnmatch="no"
19754 if test "x${_efl_have_fnmatch}" = "xyes" ; then
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
19756 $as_echo_n "checking for library containing fnmatch... " >&6; }
19757 if test "${ac_cv_search_fnmatch+set}" = set; then :
19758 $as_echo_n "(cached) " >&6
19760 ac_func_search_save_LIBS=$LIBS
19761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19762 /* end confdefs.h. */
19764 /* Override any GCC internal prototype to avoid an error.
19765 Use char because int might match the return type of a GCC
19766 builtin and then its argument prototype would still apply. */
19779 for ac_lib in '' fnmatch evil exotic iberty; do
19780 if test -z "$ac_lib"; then
19781 ac_res="none required"
19784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19786 if ac_fn_c_try_link "$LINENO"; then :
19787 ac_cv_search_fnmatch=$ac_res
19789 rm -f core conftest.err conftest.$ac_objext \
19791 if test "${ac_cv_search_fnmatch+set}" = set; then :
19795 if test "${ac_cv_search_fnmatch+set}" = set; then :
19798 ac_cv_search_fnmatch=no
19800 rm conftest.$ac_ext
19801 LIBS=$ac_func_search_save_LIBS
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
19804 $as_echo "$ac_cv_search_fnmatch" >&6; }
19805 ac_res=$ac_cv_search_fnmatch
19806 if test "$ac_res" != no; then :
19807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19808 _efl_have_fnmatch="yes"
19810 _efl_have_fnmatch="no"
19815 EFL_FNMATCH_LIBS=""
19817 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
19818 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
19823 if test "x$_efl_have_fnmatch" = "xyes"; then :
19826 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
19836 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19840 # nothing on mingw platform
19843 for ac_func in dlsym
19845 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
19846 if test "x$ac_cv_func_dlsym" = x""yes; then :
19847 cat >>confdefs.h <<_ACEOF
19848 #define HAVE_DLSYM 1
19856 if test "x$res" = "xyes"; then
19857 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
19861 $as_echo_n "checking for dlsym in -ldl... " >&6; }
19862 if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
19863 $as_echo_n "(cached) " >&6
19865 ac_check_lib_save_LIBS=$LIBS
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19870 /* Override any GCC internal prototype to avoid an error.
19871 Use char because int might match the return type of a GCC
19872 builtin and then its argument prototype would still apply. */
19885 if ac_fn_c_try_link "$LINENO"; then :
19886 ac_cv_lib_dl_dlsym=yes
19888 ac_cv_lib_dl_dlsym=no
19890 rm -f core conftest.err conftest.$ac_objext \
19891 conftest$ac_exeext conftest.$ac_ext
19892 LIBS=$ac_check_lib_save_LIBS
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
19895 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
19896 if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
19902 if test "x$res" = "xyes"; then
19904 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19907 want_evas_engine_gl_xlib="no"
19908 want_evas_engine_gl_xcb="no"
19909 want_evas_engine_gl_sdl="no"
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
19917 $as_echo_n "checking for lround in -lm... " >&6; }
19918 if test "${ac_cv_lib_m_lround+set}" = set; then :
19919 $as_echo_n "(cached) " >&6
19921 ac_check_lib_save_LIBS=$LIBS
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19926 /* Override any GCC internal prototype to avoid an error.
19927 Use char because int might match the return type of a GCC
19928 builtin and then its argument prototype would still apply. */
19941 if ac_fn_c_try_link "$LINENO"; then :
19942 ac_cv_lib_m_lround=yes
19944 ac_cv_lib_m_lround=no
19946 rm -f core conftest.err conftest.$ac_objext \
19947 conftest$ac_exeext conftest.$ac_ext
19948 LIBS=$ac_check_lib_save_LIBS
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
19951 $as_echo "$ac_cv_lib_m_lround" >&6; }
19952 if test "x$ac_cv_lib_m_lround" = x""yes; then :
19958 if test "x$res" = "xyes"; then
19960 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
19964 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
19966 _efl_have_shm_open="no"
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
19970 $as_echo_n "checking for shm_open in libc... " >&6; }
19971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19972 /* end confdefs.h. */
19974 #include <sys/mman.h>
19975 #include <sys/stat.h> /* For mode constants */
19976 #include <fcntl.h> /* For O_* constants */
19984 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
19990 if ac_fn_c_try_link "$LINENO"; then :
19991 _efl_have_shm_open="yes"
19993 _efl_have_shm_open="no"
19995 rm -f core conftest.err conftest.$ac_objext \
19996 conftest$ac_exeext conftest.$ac_ext
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
19999 $as_echo "${_efl_have_shm_open}" >&6; }
20001 if test "x${_efl_have_shm_open}" = "xno" ; then
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20003 $as_echo_n "checking for shm_open in librt... " >&6; }
20005 LIBS_save="${LIBS}"
20006 LIBS="${LIBS} -lrt"
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20010 #include <sys/mman.h>
20011 #include <sys/stat.h> /* For mode constants */
20012 #include <fcntl.h> /* For O_* constants */
20020 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20026 if ac_fn_c_try_link "$LINENO"; then :
20028 EFL_SHM_OPEN_LIBS="-lrt"
20029 _efl_have_shm_open="yes"
20032 _efl_have_shm_open="no"
20034 rm -f core conftest.err conftest.$ac_objext \
20035 conftest$ac_exeext conftest.$ac_ext
20037 LIBS="${LIBS_save}"
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20040 $as_echo "${_efl_have_shm_open}" >&6; }
20045 if test "x${_efl_have_shm_open}" = "xyes" ; then
20047 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20051 if test "x${_efl_have_shm_open}" = "xyes"; then :
20058 # (shm_open (for cache server)
20059 # Check whether --enable-evas-cserve was given.
20060 if test "${enable_evas_cserve+set}" = set; then :
20061 enableval=$enable_evas_cserve;
20062 if test "x${enableval}" = "xyes" ; then
20063 want_evas_cserve="yes"
20065 want_evas_cserve="no"
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20071 $as_echo_n "checking whether to build shared cache server and support... " >&6; }
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20073 $as_echo "${want_evas_cserve}" >&6; }
20075 # (shm_open (for cache server)
20076 # Check whether --enable-evas-cserve2 was given.
20077 if test "${enable_evas_cserve2+set}" = set; then :
20078 enableval=$enable_evas_cserve2;
20079 if test "x${enableval}" = "xyes" ; then
20080 want_evas_cserve2="yes"
20082 want_evas_cserve2="no"
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server 2 and support" >&5
20088 $as_echo_n "checking whether to build shared cache server 2 and support... " >&6; }
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve2}" >&5
20090 $as_echo "${want_evas_cserve2}" >&6; }
20092 # cserve2 only works on Linux so far.
20093 if test "x${want_evas_cserve2}" = "xyes" ; then
20094 for ac_header in sys/epoll.h sys/inotify.h sys/signalfd.h
20096 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20097 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20099 cat >>confdefs.h <<_ACEOF
20100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20105 want_evas_cserve2="no"
20114 if test "x${want_evas_cserve2}" = "xyes"; then
20115 want_evas_cserve="no"
20119 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
20121 _efl_have_shm_open="no"
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20125 $as_echo_n "checking for shm_open in libc... " >&6; }
20126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h. */
20129 #include <sys/mman.h>
20130 #include <sys/stat.h> /* For mode constants */
20131 #include <fcntl.h> /* For O_* constants */
20139 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20145 if ac_fn_c_try_link "$LINENO"; then :
20146 _efl_have_shm_open="yes"
20148 _efl_have_shm_open="no"
20150 rm -f core conftest.err conftest.$ac_objext \
20151 conftest$ac_exeext conftest.$ac_ext
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20154 $as_echo "${_efl_have_shm_open}" >&6; }
20156 if test "x${_efl_have_shm_open}" = "xno" ; then
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20158 $as_echo_n "checking for shm_open in librt... " >&6; }
20160 LIBS_save="${LIBS}"
20161 LIBS="${LIBS} -lrt"
20162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20165 #include <sys/mman.h>
20166 #include <sys/stat.h> /* For mode constants */
20167 #include <fcntl.h> /* For O_* constants */
20175 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20181 if ac_fn_c_try_link "$LINENO"; then :
20183 EFL_SHM_OPEN_LIBS="-lrt"
20184 _efl_have_shm_open="yes"
20187 _efl_have_shm_open="no"
20189 rm -f core conftest.err conftest.$ac_objext \
20190 conftest$ac_exeext conftest.$ac_ext
20192 LIBS="${LIBS_save}"
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20195 $as_echo "${_efl_have_shm_open}" >&6; }
20200 if test "x${_efl_have_shm_open}" = "xyes" ; then
20202 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20206 if test "x${_efl_have_shm_open}" = "xyes"; then :
20208 shm_open_libs=${EFL_SHM_OPEN_LIBS}
20212 want_evas_cserve="no"
20213 want_evas_cserve2="no"
20221 if test "x${want_evas_cserve}" = "xyes" ; then
20223 $as_echo "#define EVAS_CSERVE 1" >>confdefs.h
20227 if test "x${want_evas_cserve}" = "xyes"; then
20229 EVAS_CSERVE_FALSE='#'
20231 EVAS_CSERVE_TRUE='#'
20236 if test "x${want_evas_cserve2}" = "xyes" ; then
20238 $as_echo "#define EVAS_CSERVE2 1" >>confdefs.h
20242 if test "x${want_evas_cserve2}" = "xyes"; then
20244 EVAS_CSERVE2_FALSE='#'
20246 EVAS_CSERVE2_TRUE='#'
20247 EVAS_CSERVE2_FALSE=
20253 #######################################
20254 ## GL force flavor gles
20255 gl_flavor_gles="no"
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
20257 $as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
20258 # Check whether --enable-gl-flavor-gles was given.
20259 if test "${enable_gl_flavor_gles+set}" = set; then :
20260 enableval=$enable_gl_flavor_gles;
20261 if test "x$enableval" = "xyes" ; then
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20263 $as_echo "yes" >&6; }
20264 gl_flavor_gles="yes"
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20267 $as_echo "no" >&6; }
20268 gl_flavor_gles="no"
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20274 $as_echo "no" >&6; }
20275 gl_flavor_gles="no"
20281 #######################################
20282 ## GLES variety sgx
20283 gles_variety_sgx="no"
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
20285 $as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
20286 # Check whether --enable-gles-variety-sgx was given.
20287 if test "${enable_gles_variety_sgx+set}" = set; then :
20288 enableval=$enable_gles_variety_sgx;
20289 if test "x$enableval" = "xyes" ; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20291 $as_echo "yes" >&6; }
20293 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
20295 gles_variety_sgx="yes"
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20298 $as_echo "no" >&6; }
20299 gles_variety_sgx="no"
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20305 $as_echo "no" >&6; }
20306 gles_variety_sgx="no"
20312 #######################################
20313 ## GLES variety s3c6410
20314 gles_variety_s3c6410="no"
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
20316 $as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
20317 # Check whether --enable-gles-variety-s3c6410 was given.
20318 if test "${enable_gles_variety_s3c6410+set}" = set; then :
20319 enableval=$enable_gles_variety_s3c6410;
20320 if test "x$enableval" = "xyes" ; then
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20322 $as_echo "yes" >&6; }
20324 $as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
20326 gles_variety_s3c6410="yes"
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20329 $as_echo "no" >&6; }
20330 gles_variety_s3c6410="no"
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20336 $as_echo "no" >&6; }
20337 gles_variety_s3c6410="no"
20343 if test "x$gl_flavor_gles" = "xyes"; then
20345 if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
20346 if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
20347 if test "x$eng" = "xx"; then
20350 as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
20351 --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
20352 --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
20353 You will also need to enable the OpenGL engine for X11 with:
20354 --enable-gl-xlib or --enable-gl-xcb
20359 #####################################################################
20365 want_engine="${want_evas_engine_buffer}"
20366 want_static_engine="no"
20368 have_evas_engine_buffer="no"
20370 # Check whether --enable-buffer was given.
20371 if test "${enable_buffer+set}" = set; then :
20372 enableval=$enable_buffer;
20373 if test "x${enableval}" = "xyes" ; then
20376 if test "x${enableval}" = "xstatic" ; then
20377 want_engine="static"
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
20387 $as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20389 $as_echo "${want_engine}" >&6; }
20391 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20395 evas_engine_buffer_cflags=""
20396 evas_engine_buffer_libs=""
20401 if test "x${have_dep}" = "xyes" ; then
20410 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20411 as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
20415 $as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20417 $as_echo "${have_engine}" >&6; }
20419 if test "x${have_engine}" = "xyes" ; then
20420 if test "x${want_engine}" = "xstatic" ; then
20421 have_evas_engine_buffer="static"
20422 want_static_engine="yes"
20424 have_evas_engine_buffer="yes"
20428 if test "x${have_engine}" = "xyes" ; then
20430 $as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
20434 if test "x${have_engine}" = "xyes"; then
20435 BUILD_ENGINE_BUFFER_TRUE=
20436 BUILD_ENGINE_BUFFER_FALSE='#'
20438 BUILD_ENGINE_BUFFER_TRUE='#'
20439 BUILD_ENGINE_BUFFER_FALSE=
20443 if test "x${want_static_engine}" = "xyes" ; then
20445 $as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
20447 have_static_module="yes"
20450 if test "x${want_static_engine}" = "xyes"; then
20451 EVAS_STATIC_BUILD_BUFFER_TRUE=
20452 EVAS_STATIC_BUILD_BUFFER_FALSE='#'
20454 EVAS_STATIC_BUILD_BUFFER_TRUE='#'
20455 EVAS_STATIC_BUILD_BUFFER_FALSE=
20467 want_engine="${want_evas_engine_software_gdi}"
20468 want_static_engine="no"
20470 have_evas_engine_software_gdi="no"
20472 # Check whether --enable-software-gdi was given.
20473 if test "${enable_software_gdi+set}" = set; then :
20474 enableval=$enable_software_gdi;
20475 if test "x${enableval}" = "xyes" ; then
20478 if test "x${enableval}" = "xstatic" ; then
20479 want_engine="static"
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
20489 $as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20491 $as_echo "${want_engine}" >&6; }
20493 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20497 evas_engine_software_gdi_cflags=""
20498 evas_engine_software_gdi_libs=""
20500 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
20501 if test "x$ac_cv_header_windows_h" = x""yes; then :
20504 evas_engine_software_gdi_libs="-lgdi32"
20514 if test "x${have_dep}" = "xyes" ; then
20523 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20524 as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
20528 $as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20530 $as_echo "${have_engine}" >&6; }
20532 if test "x${have_engine}" = "xyes" ; then
20533 if test "x${want_engine}" = "xstatic" ; then
20534 have_evas_engine_software_gdi="static"
20535 want_static_engine="yes"
20537 have_evas_engine_software_gdi="yes"
20541 if test "x${have_engine}" = "xyes" ; then
20543 $as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
20547 if test "x${have_engine}" = "xyes"; then
20548 BUILD_ENGINE_SOFTWARE_GDI_TRUE=
20549 BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
20551 BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
20552 BUILD_ENGINE_SOFTWARE_GDI_FALSE=
20556 if test "x${want_static_engine}" = "xyes" ; then
20558 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
20560 have_static_module="yes"
20563 if test "x${want_static_engine}" = "xyes"; then
20564 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
20565 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
20567 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
20568 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
20580 want_engine="${want_evas_engine_software_ddraw}"
20581 want_static_engine="no"
20583 have_evas_engine_software_ddraw="no"
20585 # Check whether --enable-software-ddraw was given.
20586 if test "${enable_software_ddraw+set}" = set; then :
20587 enableval=$enable_software_ddraw;
20588 if test "x${enableval}" = "xyes" ; then
20591 if test "x${enableval}" = "xstatic" ; then
20592 want_engine="static"
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
20602 $as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20604 $as_echo "${want_engine}" >&6; }
20606 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20610 evas_engine_software_ddraw_cflags=""
20611 evas_engine_software_ddraw_libs=""
20613 ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
20614 if test "x$ac_cv_header_ddraw_h" = x""yes; then :
20617 evas_engine_software_ddraw_libs="-lddraw"
20627 if test "x${have_dep}" = "xyes" ; then
20636 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20637 as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
20641 $as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20643 $as_echo "${have_engine}" >&6; }
20645 if test "x${have_engine}" = "xyes" ; then
20646 if test "x${want_engine}" = "xstatic" ; then
20647 have_evas_engine_software_ddraw="static"
20648 want_static_engine="yes"
20650 have_evas_engine_software_ddraw="yes"
20654 if test "x${have_engine}" = "xyes" ; then
20656 $as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
20660 if test "x${have_engine}" = "xyes"; then
20661 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
20662 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
20664 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
20665 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
20669 if test "x${want_static_engine}" = "xyes" ; then
20671 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
20673 have_static_module="yes"
20676 if test "x${want_static_engine}" = "xyes"; then
20677 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
20678 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
20680 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
20681 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
20693 want_engine="${want_evas_engine_direct3d}"
20694 want_static_engine="no"
20696 have_evas_engine_direct3d="no"
20698 # Check whether --enable-direct3d was given.
20699 if test "${enable_direct3d+set}" = set; then :
20700 enableval=$enable_direct3d;
20701 if test "x${enableval}" = "xyes" ; then
20704 if test "x${enableval}" = "xstatic" ; then
20705 want_engine="static"
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
20715 $as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20717 $as_echo "${want_engine}" >&6; }
20719 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20722 evas_engine_direct3d_cflags=""
20723 evas_engine_direct3d_libs=""
20725 for ac_header in d3d9.h d3dx9.h
20727 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20728 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20729 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20730 cat >>confdefs.h <<_ACEOF
20731 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20735 evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
20738 have_dep="no"; break
20748 if test "x${have_dep}" = "xyes" ; then
20757 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20758 as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
20762 $as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20764 $as_echo "${have_engine}" >&6; }
20766 if test "x${have_engine}" = "xyes" ; then
20767 if test "x${want_engine}" = "xstatic" ; then
20768 have_evas_engine_direct3d="static"
20769 want_static_engine="yes"
20771 have_evas_engine_direct3d="yes"
20775 if test "x${have_engine}" = "xyes" ; then
20777 $as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
20781 if test "x${have_engine}" = "xyes"; then
20782 BUILD_ENGINE_DIRECT3D_TRUE=
20783 BUILD_ENGINE_DIRECT3D_FALSE='#'
20785 BUILD_ENGINE_DIRECT3D_TRUE='#'
20786 BUILD_ENGINE_DIRECT3D_FALSE=
20790 if test "x${want_static_engine}" = "xyes" ; then
20792 $as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
20794 have_static_module="yes"
20797 if test "x${want_static_engine}" = "xyes"; then
20798 EVAS_STATIC_BUILD_DIRECT3D_TRUE=
20799 EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
20801 EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
20802 EVAS_STATIC_BUILD_DIRECT3D_FALSE=
20814 want_engine="${want_evas_engine_psl1ght}"
20815 want_static_engine="no"
20817 have_evas_engine_psl1ght="no"
20819 # Check whether --enable-psl1ght was given.
20820 if test "${enable_psl1ght+set}" = set; then :
20821 enableval=$enable_psl1ght;
20822 if test "x${enableval}" = "xyes" ; then
20825 if test "x${enableval}" = "xstatic" ; then
20826 want_engine="static"
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
20836 $as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20838 $as_echo "${want_engine}" >&6; }
20840 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20844 evas_engine_psl1ght_cflags=""
20845 evas_engine_psl1ght_libs=""
20847 ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
20848 if test "x$ac_cv_header_rsx_rsx_h" = x""yes; then :
20857 if test "x${have_dep}" = "xyes" ; then
20866 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20867 as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
20871 $as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20873 $as_echo "${have_engine}" >&6; }
20875 if test "x${have_engine}" = "xyes" ; then
20876 if test "x${want_engine}" = "xstatic" ; then
20877 have_evas_engine_psl1ght="static"
20878 want_static_engine="yes"
20880 have_evas_engine_psl1ght="yes"
20884 if test "x${have_engine}" = "xyes" ; then
20886 $as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
20890 if test "x${have_engine}" = "xyes"; then
20891 BUILD_ENGINE_PSL1GHT_TRUE=
20892 BUILD_ENGINE_PSL1GHT_FALSE='#'
20894 BUILD_ENGINE_PSL1GHT_TRUE='#'
20895 BUILD_ENGINE_PSL1GHT_FALSE=
20899 if test "x${want_static_engine}" = "xyes" ; then
20901 $as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
20903 have_static_module="yes"
20906 if test "x${want_static_engine}" = "xyes"; then
20907 EVAS_STATIC_BUILD_PSL1GHT_TRUE=
20908 EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
20910 EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
20911 EVAS_STATIC_BUILD_PSL1GHT_FALSE=
20923 want_engine="${want_evas_engine_gl_sdl}"
20924 want_static_engine="no"
20926 have_evas_engine_gl_sdl="no"
20928 # Check whether --enable-gl-sdl was given.
20929 if test "${enable_gl_sdl+set}" = set; then :
20930 enableval=$enable_gl_sdl;
20931 if test "x${enableval}" = "xyes" ; then
20934 if test "x${enableval}" = "xstatic" ; then
20935 want_engine="static"
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
20945 $as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20947 $as_echo "${want_engine}" >&6; }
20949 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20954 evas_engine_gl_sdl_cflags=""
20955 evas_engine_gl_sdl_libs=""
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20960 $as_echo_n "checking for SDL... " >&6; }
20962 if test -n "$SDL_CFLAGS"; then
20963 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20964 elif test -n "$PKG_CONFIG"; then
20965 if test -n "$PKG_CONFIG" && \
20966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20967 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20970 test $ac_status = 0; }; then
20971 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20978 if test -n "$SDL_LIBS"; then
20979 pkg_cv_SDL_LIBS="$SDL_LIBS"
20980 elif test -n "$PKG_CONFIG"; then
20981 if test -n "$PKG_CONFIG" && \
20982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20983 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20986 test $ac_status = 0; }; then
20987 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20997 if test $pkg_failed = yes; then
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20999 $as_echo "no" >&6; }
21001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21002 _pkg_short_errors_supported=yes
21004 _pkg_short_errors_supported=no
21006 if test $_pkg_short_errors_supported = yes; then
21007 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
21009 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
21011 # Put the nasty error message in config.log where it belongs
21012 echo "$SDL_PKG_ERRORS" >&5
21014 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
21018 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21019 installed software in a non-standard prefix.
21021 Alternatively, you may set the environment variables SDL_CFLAGS
21022 and SDL_LIBS to avoid the need to call pkg-config.
21023 See the pkg-config man page for more details." "$LINENO" 5
21024 elif test $pkg_failed = untried; then
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21026 $as_echo "no" >&6; }
21027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21029 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21030 is in your PATH or set the PKG_CONFIG environment variable to the full
21031 path to pkg-config.
21033 Alternatively, you may set the environment variables SDL_CFLAGS
21034 and SDL_LIBS to avoid the need to call pkg-config.
21035 See the pkg-config man page for more details.
21037 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21038 See \`config.log' for more details" "$LINENO" 5 ; }
21040 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21041 SDL_LIBS=$pkg_cv_SDL_LIBS
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21043 $as_echo "yes" >&6; }
21047 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21048 evas_engine_gl_sdl_libs="${SDL_LIBS}"
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
21057 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
21058 CFLAGS_save="${CFLAGS}"
21059 CFLAGS="${CFLAGS} -pthread"
21060 LIBS_save="${LIBS}"
21061 LIBS="${LIBS} -pthread"
21062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h. */
21065 #include <pthread.h>
21071 pthread_create(NULL, NULL, NULL, NULL);
21077 if ac_fn_c_try_link "$LINENO"; then :
21082 rm -f core conftest.err conftest.$ac_objext \
21083 conftest$ac_exeext conftest.$ac_ext
21084 CFLAGS=${CFLAGS_save}
21086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
21087 $as_echo "${have_gl_pt}" >&6; }
21089 if test "x$have_gl_pt" = "xyes" ; then
21090 gl_pt_lib=" -pthread"
21093 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
21095 #include <GL/glext.h>
21098 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
21106 if test "x$gl_flavor_gles" = "xyes" ; then
21110 if test "x${have_dep}" = "xyes" ; then
21111 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21112 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
21113 evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
21115 ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
21116 #include <SDL/SDL_opengles.h>
21117 #include <EGL/egl.h>
21120 if test "x$ac_cv_header_SDL_SDL_opengles_h" = x""yes; then :
21127 if test "x${have_egl}" = "xyes" ; then
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
21129 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
21130 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
21131 $as_echo_n "(cached) " >&6
21133 ac_check_lib_save_LIBS=$LIBS
21134 LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
21135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21136 /* end confdefs.h. */
21138 /* Override any GCC internal prototype to avoid an error.
21139 Use char because int might match the return type of a GCC
21140 builtin and then its argument prototype would still apply. */
21144 char glTexImage2D ();
21148 return glTexImage2D ();
21153 if ac_fn_c_try_link "$LINENO"; then :
21154 ac_cv_lib_GLESv2_glTexImage2D=yes
21156 ac_cv_lib_GLESv2_glTexImage2D=no
21158 rm -f core conftest.err conftest.$ac_objext \
21159 conftest$ac_exeext conftest.$ac_ext
21160 LIBS=$ac_check_lib_save_LIBS
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21163 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21164 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
21168 if test "x${have_glesv2}" = "xyes" ; then
21169 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21170 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21171 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21174 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21176 gles_variety_sgx="yes"
21184 if test "x${want_engine}" = "xstatic" ; then
21185 requirement_evas="${requirement} ${requirement_evas}"
21188 if test "x${have_dep}" = "xyes" ; then
21197 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21198 as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
21202 $as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21204 $as_echo "${have_engine}" >&6; }
21206 if test "x${have_engine}" = "xyes" ; then
21207 if test "x${want_engine}" = "xstatic" ; then
21208 have_evas_engine_gl_sdl="static"
21209 want_static_engine="yes"
21211 have_evas_engine_gl_sdl="yes"
21215 if test "x${have_engine}" = "xyes" ; then
21217 $as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
21221 if test "x${have_engine}" = "xyes"; then
21222 BUILD_ENGINE_GL_SDL_TRUE=
21223 BUILD_ENGINE_GL_SDL_FALSE='#'
21225 BUILD_ENGINE_GL_SDL_TRUE='#'
21226 BUILD_ENGINE_GL_SDL_FALSE=
21230 if test "x${want_static_engine}" = "xyes" ; then
21232 $as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
21234 have_static_module="yes"
21237 if test "x${want_static_engine}" = "xyes"; then
21238 EVAS_STATIC_BUILD_GL_SDL_TRUE=
21239 EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
21241 EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
21242 EVAS_STATIC_BUILD_GL_SDL_FALSE=
21254 want_engine="${want_evas_engine_gl_cocoa}"
21255 want_static_engine="no"
21257 have_evas_engine_gl_cocoa="no"
21259 # Check whether --enable-gl-cocoa was given.
21260 if test "${enable_gl_cocoa+set}" = set; then :
21261 enableval=$enable_gl_cocoa;
21262 if test "x${enableval}" = "xyes" ; then
21265 if test "x${enableval}" = "xstatic" ; then
21266 want_engine="static"
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
21276 $as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21278 $as_echo "${want_engine}" >&6; }
21280 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21283 evas_engine_gl_cocoa_cflags=""
21284 evas_engine_gl_cocoa_libs=""
21287 ac_cpp='$OBJCPP $CPPFLAGS'
21288 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21289 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21290 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
21294 LIBS="$LIBS -framework Cocoa"
21295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21298 #include <Cocoa/Cocoa.h>
21305 window = [[NSWindow alloc]
21306 initWithContentRect:NSMakeRect(0, 0, 1, 1)
21307 styleMask:(NSTitledWindowMask)
21308 backing:NSBackingStoreBuffered
21317 if ac_fn_objc_try_link "$LINENO"; then :
21320 evas_engine_gl_cocoa_libs="-framework Cocoa"
21325 rm -f core conftest.err conftest.$ac_objext \
21326 conftest$ac_exeext conftest.$ac_ext
21330 ac_cpp='$CPP $CPPFLAGS'
21331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21336 if test "x${have_dep}" = "xyes" ; then
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
21340 $as_echo_n "checking for GL_EET... " >&6; }
21342 if test -n "$GL_EET_CFLAGS"; then
21343 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
21344 elif test -n "$PKG_CONFIG"; then
21345 if test -n "$PKG_CONFIG" && \
21346 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
21347 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
21349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21350 test $ac_status = 0; }; then
21351 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
21358 if test -n "$GL_EET_LIBS"; then
21359 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
21360 elif test -n "$PKG_CONFIG"; then
21361 if test -n "$PKG_CONFIG" && \
21362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
21363 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
21365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21366 test $ac_status = 0; }; then
21367 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
21377 if test $pkg_failed = yes; then
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21379 $as_echo "no" >&6; }
21381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21382 _pkg_short_errors_supported=yes
21384 _pkg_short_errors_supported=no
21386 if test $_pkg_short_errors_supported = yes; then
21387 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
21389 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
21391 # Put the nasty error message in config.log where it belongs
21392 echo "$GL_EET_PKG_ERRORS" >&5
21395 elif test $pkg_failed = untried; then
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21397 $as_echo "no" >&6; }
21400 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
21401 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21403 $as_echo "yes" >&6; }
21411 if test "x${have_dep}" = "xyes" ; then
21420 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21421 as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
21425 $as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21427 $as_echo "${have_engine}" >&6; }
21429 if test "x${have_engine}" = "xyes" ; then
21430 if test "x${want_engine}" = "xstatic" ; then
21431 have_evas_engine_gl_cocoa="static"
21432 want_static_engine="yes"
21434 have_evas_engine_gl_cocoa="yes"
21438 if test "x${have_engine}" = "xyes" ; then
21440 $as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
21444 if test "x${have_engine}" = "xyes"; then
21445 BUILD_ENGINE_GL_COCOA_TRUE=
21446 BUILD_ENGINE_GL_COCOA_FALSE='#'
21448 BUILD_ENGINE_GL_COCOA_TRUE='#'
21449 BUILD_ENGINE_GL_COCOA_FALSE=
21453 if test "x${want_static_engine}" = "xyes" ; then
21455 $as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
21457 have_static_module="yes"
21460 if test "x${want_static_engine}" = "xyes"; then
21461 EVAS_STATIC_BUILD_GL_COCOA_TRUE=
21462 EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
21464 EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
21465 EVAS_STATIC_BUILD_GL_COCOA_FALSE=
21477 want_engine="${want_evas_engine_fb}"
21478 want_static_engine="no"
21480 have_evas_engine_fb="no"
21482 # Check whether --enable-fb was given.
21483 if test "${enable_fb+set}" = set; then :
21484 enableval=$enable_fb;
21485 if test "x${enableval}" = "xyes" ; then
21488 if test "x${enableval}" = "xstatic" ; then
21489 want_engine="static"
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
21499 $as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21501 $as_echo "${want_engine}" >&6; }
21503 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21507 evas_engine_fb_cflags=""
21508 evas_engine_fb_libs=""
21510 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
21511 if test "x$ac_cv_header_linux_fb_h" = x""yes; then :
21520 if test "x${have_dep}" = "xyes" ; then
21529 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21530 as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
21534 $as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21536 $as_echo "${have_engine}" >&6; }
21538 if test "x${have_engine}" = "xyes" ; then
21539 if test "x${want_engine}" = "xstatic" ; then
21540 have_evas_engine_fb="static"
21541 want_static_engine="yes"
21543 have_evas_engine_fb="yes"
21547 if test "x${have_engine}" = "xyes" ; then
21549 $as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
21553 if test "x${have_engine}" = "xyes"; then
21554 BUILD_ENGINE_FB_TRUE=
21555 BUILD_ENGINE_FB_FALSE='#'
21557 BUILD_ENGINE_FB_TRUE='#'
21558 BUILD_ENGINE_FB_FALSE=
21562 if test "x${want_static_engine}" = "xyes" ; then
21564 $as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
21566 have_static_module="yes"
21569 if test "x${want_static_engine}" = "xyes"; then
21570 EVAS_STATIC_BUILD_FB_TRUE=
21571 EVAS_STATIC_BUILD_FB_FALSE='#'
21573 EVAS_STATIC_BUILD_FB_TRUE='#'
21574 EVAS_STATIC_BUILD_FB_FALSE=
21586 want_engine="${want_evas_engine_directfb}"
21587 want_static_engine="no"
21589 have_evas_engine_directfb="no"
21591 # Check whether --enable-directfb was given.
21592 if test "${enable_directfb+set}" = set; then :
21593 enableval=$enable_directfb;
21594 if test "x${enableval}" = "xyes" ; then
21597 if test "x${enableval}" = "xstatic" ; then
21598 want_engine="static"
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
21608 $as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21610 $as_echo "${want_engine}" >&6; }
21612 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21617 evas_engine_directfb_cflags=""
21618 evas_engine_directfb_libs=""
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
21623 $as_echo_n "checking for DIRECTFB... " >&6; }
21625 if test -n "$DIRECTFB_CFLAGS"; then
21626 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
21627 elif test -n "$PKG_CONFIG"; then
21628 if test -n "$PKG_CONFIG" && \
21629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21630 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21633 test $ac_status = 0; }; then
21634 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
21641 if test -n "$DIRECTFB_LIBS"; then
21642 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
21643 elif test -n "$PKG_CONFIG"; then
21644 if test -n "$PKG_CONFIG" && \
21645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21646 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21649 test $ac_status = 0; }; then
21650 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
21660 if test $pkg_failed = yes; then
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21662 $as_echo "no" >&6; }
21664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21665 _pkg_short_errors_supported=yes
21667 _pkg_short_errors_supported=no
21669 if test $_pkg_short_errors_supported = yes; then
21670 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
21672 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
21674 # Put the nasty error message in config.log where it belongs
21675 echo "$DIRECTFB_PKG_ERRORS" >&5
21677 as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
21679 $DIRECTFB_PKG_ERRORS
21681 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21682 installed software in a non-standard prefix.
21684 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
21685 and DIRECTFB_LIBS to avoid the need to call pkg-config.
21686 See the pkg-config man page for more details." "$LINENO" 5
21687 elif test $pkg_failed = untried; then
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21689 $as_echo "no" >&6; }
21690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21692 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21693 is in your PATH or set the PKG_CONFIG environment variable to the full
21694 path to pkg-config.
21696 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
21697 and DIRECTFB_LIBS to avoid the need to call pkg-config.
21698 See the pkg-config man page for more details.
21700 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21701 See \`config.log' for more details" "$LINENO" 5 ; }
21703 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
21704 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21706 $as_echo "yes" >&6; }
21709 requirement="directfb"
21710 evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
21711 evas_engine_directfb_libs="${DIRECTFB_LIBS}"
21719 if test "x${want_engine}" = "xstatic" ; then
21720 requirement_evas="${requirement} ${requirement_evas}"
21723 if test "x${have_dep}" = "xyes" ; then
21732 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21733 as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
21737 $as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21739 $as_echo "${have_engine}" >&6; }
21741 if test "x${have_engine}" = "xyes" ; then
21742 if test "x${want_engine}" = "xstatic" ; then
21743 have_evas_engine_directfb="static"
21744 want_static_engine="yes"
21746 have_evas_engine_directfb="yes"
21750 if test "x${have_engine}" = "xyes" ; then
21752 $as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
21756 if test "x${have_engine}" = "xyes"; then
21757 BUILD_ENGINE_DIRECTFB_TRUE=
21758 BUILD_ENGINE_DIRECTFB_FALSE='#'
21760 BUILD_ENGINE_DIRECTFB_TRUE='#'
21761 BUILD_ENGINE_DIRECTFB_FALSE=
21765 if test "x${want_static_engine}" = "xyes" ; then
21767 $as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
21769 have_static_module="yes"
21772 if test "x${want_static_engine}" = "xyes"; then
21773 EVAS_STATIC_BUILD_DIRECTFB_TRUE=
21774 EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
21776 EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
21777 EVAS_STATIC_BUILD_DIRECTFB_FALSE=
21789 want_engine="${want_evas_engine_software_8_x11}"
21790 want_static_engine="no"
21792 have_evas_engine_software_8_x11="no"
21794 # Check whether --enable-software-8-x11 was given.
21795 if test "${enable_software_8_x11+set}" = set; then :
21796 enableval=$enable_software_8_x11;
21797 if test "x${enableval}" = "xyes" ; then
21800 if test "x${enableval}" = "xstatic" ; then
21801 want_engine="static"
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
21811 $as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
21812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21813 $as_echo "${want_engine}" >&6; }
21815 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21819 evas_engine_software_8_x11_cflags=""
21820 evas_engine_software_8_x11_libs=""
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
21825 $as_echo_n "checking for XCB... " >&6; }
21827 if test -n "$XCB_CFLAGS"; then
21828 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
21829 elif test -n "$PKG_CONFIG"; then
21830 if test -n "$PKG_CONFIG" && \
21831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21832 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21835 test $ac_status = 0; }; then
21836 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
21843 if test -n "$XCB_LIBS"; then
21844 pkg_cv_XCB_LIBS="$XCB_LIBS"
21845 elif test -n "$PKG_CONFIG"; then
21846 if test -n "$PKG_CONFIG" && \
21847 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21848 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21851 test $ac_status = 0; }; then
21852 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
21862 if test $pkg_failed = yes; then
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21864 $as_echo "no" >&6; }
21866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21867 _pkg_short_errors_supported=yes
21869 _pkg_short_errors_supported=no
21871 if test $_pkg_short_errors_supported = yes; then
21872 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21874 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21876 # Put the nasty error message in config.log where it belongs
21877 echo "$XCB_PKG_ERRORS" >&5
21883 elif test $pkg_failed = untried; then
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21885 $as_echo "no" >&6; }
21891 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
21892 XCB_LIBS=$pkg_cv_XCB_LIBS
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21894 $as_echo "yes" >&6; }
21897 requirement="xcb xcb-shm xcb-image pixman-1"
21898 evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
21899 evas_engine_software_8_x11_libs="${XCB_LIBS}"
21906 if test "x${want_engine}" = "xstatic" ; then
21907 requirement_evas="${requirement} ${requirement_evas}"
21910 if test "x${have_dep}" = "xyes" ; then
21919 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21920 as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
21924 $as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
21925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21926 $as_echo "${have_engine}" >&6; }
21928 if test "x${have_engine}" = "xyes" ; then
21929 if test "x${want_engine}" = "xstatic" ; then
21930 have_evas_engine_software_8_x11="static"
21931 want_static_engine="yes"
21933 have_evas_engine_software_8_x11="yes"
21937 if test "x${have_engine}" = "xyes" ; then
21939 $as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
21943 if test "x${have_engine}" = "xyes"; then
21944 BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
21945 BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
21947 BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
21948 BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
21952 if test "x${want_static_engine}" = "xyes" ; then
21954 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
21956 have_static_module="yes"
21959 if test "x${want_static_engine}" = "xyes"; then
21960 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
21961 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
21963 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
21964 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
21976 want_engine="${want_evas_engine_software_16_x11}"
21977 want_static_engine="no"
21979 have_evas_engine_software_16_x11="no"
21981 # Check whether --enable-software-16-x11 was given.
21982 if test "${enable_software_16_x11+set}" = set; then :
21983 enableval=$enable_software_16_x11;
21984 if test "x${enableval}" = "xyes" ; then
21987 if test "x${enableval}" = "xstatic" ; then
21988 want_engine="static"
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
21998 $as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22000 $as_echo "${want_engine}" >&6; }
22002 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22006 evas_engine_software_16_x11_cflags=""
22007 evas_engine_software_16_x11_libs=""
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22010 $as_echo_n "checking for X... " >&6; }
22013 # Check whether --with-x was given.
22014 if test "${with_x+set}" = set; then :
22018 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22019 if test "x$with_x" = xno; then
22020 # The user explicitly disabled X.
22023 case $x_includes,$x_libraries in #(
22024 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
22025 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
22026 $as_echo_n "(cached) " >&6
22028 # One or both of the vars are not set, and there is no cached value.
22029 ac_x_includes=no ac_x_libraries=no
22030 rm -f -r conftest.dir
22031 if mkdir conftest.dir; then
22033 cat >Imakefile <<'_ACEOF'
22035 @echo incroot='${INCROOT}'
22037 @echo usrlibdir='${USRLIBDIR}'
22039 @echo libdir='${LIBDIR}'
22041 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22042 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22043 for ac_var in incroot usrlibdir libdir; do
22044 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22046 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22047 for ac_extension in a so sl dylib la dll; do
22048 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22049 test -f "$ac_im_libdir/libX11.$ac_extension"; then
22050 ac_im_usrlibdir=$ac_im_libdir; break
22053 # Screen out bogus values from the imake configuration. They are
22054 # bogus both because they are the default anyway, and because
22055 # using them would break gcc on systems where it needs fixed includes.
22056 case $ac_im_incroot in
22057 /usr/include) ac_x_includes= ;;
22058 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22060 case $ac_im_usrlibdir in
22061 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22062 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22066 rm -f -r conftest.dir
22069 # Standard set of common directories for X headers.
22070 # Check X11 before X11Rn because it is often a symlink to the current release.
22084 /usr/local/X11/include
22085 /usr/local/X11R7/include
22086 /usr/local/X11R6/include
22087 /usr/local/X11R5/include
22088 /usr/local/X11R4/include
22090 /usr/local/include/X11
22091 /usr/local/include/X11R7
22092 /usr/local/include/X11R6
22093 /usr/local/include/X11R5
22094 /usr/local/include/X11R4
22098 /usr/XFree86/include/X11
22102 /usr/unsupported/include
22103 /usr/athena/include
22104 /usr/local/x11r5/include
22105 /usr/lpp/Xamples/include
22107 /usr/openwin/include
22108 /usr/openwin/share/include'
22110 if test "$ac_x_includes" = no; then
22111 # Guess where to find include files, by looking for Xlib.h.
22112 # First, try using that file with no special directory specified.
22113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h. */
22115 #include <X11/Xlib.h>
22117 if ac_fn_c_try_cpp "$LINENO"; then :
22118 # We can compile using X headers with no special include directory.
22121 for ac_dir in $ac_x_header_dirs; do
22122 if test -r "$ac_dir/X11/Xlib.h"; then
22123 ac_x_includes=$ac_dir
22128 rm -f conftest.err conftest.i conftest.$ac_ext
22129 fi # $ac_x_includes = no
22131 if test "$ac_x_libraries" = no; then
22132 # Check for the libraries.
22133 # See if we find them without any special options.
22134 # Don't add to $LIBS permanently.
22137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22139 #include <X11/Xlib.h>
22148 if ac_fn_c_try_link "$LINENO"; then :
22150 # We can link X programs with no special library path.
22154 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22156 # Don't even attempt the hair of trying to link an X program!
22157 for ac_extension in a so sl dylib la dll; do
22158 if test -r "$ac_dir/libX11.$ac_extension"; then
22159 ac_x_libraries=$ac_dir
22165 rm -f core conftest.err conftest.$ac_objext \
22166 conftest$ac_exeext conftest.$ac_ext
22167 fi # $ac_x_libraries = no
22169 case $ac_x_includes,$ac_x_libraries in #(
22170 no,* | *,no | *\'*)
22171 # Didn't find X, or a directory has "'" in its name.
22172 ac_cv_have_x="have_x=no";; #(
22174 # Record where we found X for the cache.
22175 ac_cv_have_x="have_x=yes\
22176 ac_x_includes='$ac_x_includes'\
22177 ac_x_libraries='$ac_x_libraries'"
22183 eval "$ac_cv_have_x"
22186 if test "$have_x" != yes; then
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22188 $as_echo "$have_x" >&6; }
22191 # If each of the values was on the command line, it overrides each guess.
22192 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22193 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22194 # Update the cache value to reflect the command line values.
22195 ac_cv_have_x="have_x=yes\
22196 ac_x_includes='$x_includes'\
22197 ac_x_libraries='$x_libraries'"
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22199 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22202 if test "$no_x" = yes; then
22203 # Not all programs may use this symbol, but it does not hurt to define it.
22205 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22207 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22209 if test -n "$x_includes"; then
22210 X_CFLAGS="$X_CFLAGS -I$x_includes"
22213 # It would also be nice to do this for all -L options, not just this one.
22214 if test -n "$x_libraries"; then
22215 X_LIBS="$X_LIBS -L$x_libraries"
22216 # For Solaris; some versions of Sun CC require a space after -R and
22217 # others require no space. Words are not sufficient . . . .
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22219 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
22220 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22221 ac_xsave_c_werror_flag=$ac_c_werror_flag
22222 ac_c_werror_flag=yes
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h. */
22234 if ac_fn_c_try_link "$LINENO"; then :
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22236 $as_echo "no" >&6; }
22237 X_LIBS="$X_LIBS -R$x_libraries"
22239 LIBS="$ac_xsave_LIBS -R $x_libraries"
22240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22241 /* end confdefs.h. */
22251 if ac_fn_c_try_link "$LINENO"; then :
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22253 $as_echo "yes" >&6; }
22254 X_LIBS="$X_LIBS -R $x_libraries"
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22257 $as_echo "neither works" >&6; }
22259 rm -f core conftest.err conftest.$ac_objext \
22260 conftest$ac_exeext conftest.$ac_ext
22262 rm -f core conftest.err conftest.$ac_objext \
22263 conftest$ac_exeext conftest.$ac_ext
22264 ac_c_werror_flag=$ac_xsave_c_werror_flag
22265 LIBS=$ac_xsave_LIBS
22268 # Check for system-dependent libraries X programs must link with.
22269 # Do this before checking for the system-independent R6 libraries
22270 # (-lICE), since we may need -lsocket or whatever for X linking.
22272 if test "$ISC" = yes; then
22273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22275 # Martyn Johnson says this is needed for Ultrix, if the X
22276 # libraries were built with DECnet support. And Karl Berry says
22277 # the Alpha needs dnet_stub (dnet does not exist).
22278 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h. */
22282 /* Override any GCC internal prototype to avoid an error.
22283 Use char because int might match the return type of a GCC
22284 builtin and then its argument prototype would still apply. */
22288 char XOpenDisplay ();
22292 return XOpenDisplay ();
22297 if ac_fn_c_try_link "$LINENO"; then :
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
22301 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
22302 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
22303 $as_echo_n "(cached) " >&6
22305 ac_check_lib_save_LIBS=$LIBS
22306 LIBS="-ldnet $LIBS"
22307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22308 /* end confdefs.h. */
22310 /* Override any GCC internal prototype to avoid an error.
22311 Use char because int might match the return type of a GCC
22312 builtin and then its argument prototype would still apply. */
22320 return dnet_ntoa ();
22325 if ac_fn_c_try_link "$LINENO"; then :
22326 ac_cv_lib_dnet_dnet_ntoa=yes
22328 ac_cv_lib_dnet_dnet_ntoa=no
22330 rm -f core conftest.err conftest.$ac_objext \
22331 conftest$ac_exeext conftest.$ac_ext
22332 LIBS=$ac_check_lib_save_LIBS
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22335 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22336 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
22337 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22340 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
22342 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
22343 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
22344 $as_echo_n "(cached) " >&6
22346 ac_check_lib_save_LIBS=$LIBS
22347 LIBS="-ldnet_stub $LIBS"
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22351 /* Override any GCC internal prototype to avoid an error.
22352 Use char because int might match the return type of a GCC
22353 builtin and then its argument prototype would still apply. */
22361 return dnet_ntoa ();
22366 if ac_fn_c_try_link "$LINENO"; then :
22367 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22369 ac_cv_lib_dnet_stub_dnet_ntoa=no
22371 rm -f core conftest.err conftest.$ac_objext \
22372 conftest$ac_exeext conftest.$ac_ext
22373 LIBS=$ac_check_lib_save_LIBS
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22376 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22377 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
22378 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22383 rm -f core conftest.err conftest.$ac_objext \
22384 conftest$ac_exeext conftest.$ac_ext
22385 LIBS="$ac_xsave_LIBS"
22387 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22388 # to get the SysV transport functions.
22389 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22391 # The nsl library prevents programs from opening the X display
22392 # on Irix 5.2, according to T.E. Dickey.
22393 # The functions gethostbyname, getservbyname, and inet_addr are
22394 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22395 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22396 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
22400 if test $ac_cv_func_gethostbyname = no; then
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22402 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22403 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
22404 $as_echo_n "(cached) " >&6
22406 ac_check_lib_save_LIBS=$LIBS
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22411 /* Override any GCC internal prototype to avoid an error.
22412 Use char because int might match the return type of a GCC
22413 builtin and then its argument prototype would still apply. */
22417 char gethostbyname ();
22421 return gethostbyname ();
22426 if ac_fn_c_try_link "$LINENO"; then :
22427 ac_cv_lib_nsl_gethostbyname=yes
22429 ac_cv_lib_nsl_gethostbyname=no
22431 rm -f core conftest.err conftest.$ac_objext \
22432 conftest$ac_exeext conftest.$ac_ext
22433 LIBS=$ac_check_lib_save_LIBS
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22436 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22437 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
22438 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22441 if test $ac_cv_lib_nsl_gethostbyname = no; then
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
22443 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
22444 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
22445 $as_echo_n "(cached) " >&6
22447 ac_check_lib_save_LIBS=$LIBS
22449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450 /* end confdefs.h. */
22452 /* Override any GCC internal prototype to avoid an error.
22453 Use char because int might match the return type of a GCC
22454 builtin and then its argument prototype would still apply. */
22458 char gethostbyname ();
22462 return gethostbyname ();
22467 if ac_fn_c_try_link "$LINENO"; then :
22468 ac_cv_lib_bsd_gethostbyname=yes
22470 ac_cv_lib_bsd_gethostbyname=no
22472 rm -f core conftest.err conftest.$ac_objext \
22473 conftest$ac_exeext conftest.$ac_ext
22474 LIBS=$ac_check_lib_save_LIBS
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
22477 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
22478 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
22479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22485 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22486 # socket/setsockopt and other routines are undefined under SCO ODT
22487 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22488 # on later versions), says Simon Leinen: it contains gethostby*
22489 # variants that don't use the name server (or something). -lsocket
22490 # must be given before -lnsl if both are needed. We assume that
22491 # if connect needs -lnsl, so does gethostbyname.
22492 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
22493 if test "x$ac_cv_func_connect" = x""yes; then :
22497 if test $ac_cv_func_connect = no; then
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
22499 $as_echo_n "checking for connect in -lsocket... " >&6; }
22500 if test "${ac_cv_lib_socket_connect+set}" = set; then :
22501 $as_echo_n "(cached) " >&6
22503 ac_check_lib_save_LIBS=$LIBS
22504 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22506 /* end confdefs.h. */
22508 /* Override any GCC internal prototype to avoid an error.
22509 Use char because int might match the return type of a GCC
22510 builtin and then its argument prototype would still apply. */
22523 if ac_fn_c_try_link "$LINENO"; then :
22524 ac_cv_lib_socket_connect=yes
22526 ac_cv_lib_socket_connect=no
22528 rm -f core conftest.err conftest.$ac_objext \
22529 conftest$ac_exeext conftest.$ac_ext
22530 LIBS=$ac_check_lib_save_LIBS
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
22533 $as_echo "$ac_cv_lib_socket_connect" >&6; }
22534 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
22535 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22540 # Guillermo Gomez says -lposix is necessary on A/UX.
22541 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
22542 if test "x$ac_cv_func_remove" = x""yes; then :
22546 if test $ac_cv_func_remove = no; then
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
22548 $as_echo_n "checking for remove in -lposix... " >&6; }
22549 if test "${ac_cv_lib_posix_remove+set}" = set; then :
22550 $as_echo_n "(cached) " >&6
22552 ac_check_lib_save_LIBS=$LIBS
22553 LIBS="-lposix $LIBS"
22554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555 /* end confdefs.h. */
22557 /* Override any GCC internal prototype to avoid an error.
22558 Use char because int might match the return type of a GCC
22559 builtin and then its argument prototype would still apply. */
22572 if ac_fn_c_try_link "$LINENO"; then :
22573 ac_cv_lib_posix_remove=yes
22575 ac_cv_lib_posix_remove=no
22577 rm -f core conftest.err conftest.$ac_objext \
22578 conftest$ac_exeext conftest.$ac_ext
22579 LIBS=$ac_check_lib_save_LIBS
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
22582 $as_echo "$ac_cv_lib_posix_remove" >&6; }
22583 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
22584 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22589 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22590 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
22591 if test "x$ac_cv_func_shmat" = x""yes; then :
22595 if test $ac_cv_func_shmat = no; then
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
22597 $as_echo_n "checking for shmat in -lipc... " >&6; }
22598 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
22599 $as_echo_n "(cached) " >&6
22601 ac_check_lib_save_LIBS=$LIBS
22603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22604 /* end confdefs.h. */
22606 /* Override any GCC internal prototype to avoid an error.
22607 Use char because int might match the return type of a GCC
22608 builtin and then its argument prototype would still apply. */
22621 if ac_fn_c_try_link "$LINENO"; then :
22622 ac_cv_lib_ipc_shmat=yes
22624 ac_cv_lib_ipc_shmat=no
22626 rm -f core conftest.err conftest.$ac_objext \
22627 conftest$ac_exeext conftest.$ac_ext
22628 LIBS=$ac_check_lib_save_LIBS
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
22631 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
22632 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
22633 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22639 # Check for libraries that X11R6 Xt/Xaw programs need.
22640 ac_save_LDFLAGS=$LDFLAGS
22641 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22642 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22643 # check for ICE first), but we must link in the order -lSM -lICE or
22644 # we get undefined symbols. So assume we have SM if we have ICE.
22645 # These have to be linked with before -lX11, unlike the other
22646 # libraries we check for below, so use a different variable.
22647 # John Interrante, Karl Berry
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
22649 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
22650 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
22651 $as_echo_n "(cached) " >&6
22653 ac_check_lib_save_LIBS=$LIBS
22654 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h. */
22658 /* Override any GCC internal prototype to avoid an error.
22659 Use char because int might match the return type of a GCC
22660 builtin and then its argument prototype would still apply. */
22664 char IceConnectionNumber ();
22668 return IceConnectionNumber ();
22673 if ac_fn_c_try_link "$LINENO"; then :
22674 ac_cv_lib_ICE_IceConnectionNumber=yes
22676 ac_cv_lib_ICE_IceConnectionNumber=no
22678 rm -f core conftest.err conftest.$ac_objext \
22679 conftest$ac_exeext conftest.$ac_ext
22680 LIBS=$ac_check_lib_save_LIBS
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22683 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
22684 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
22685 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22688 LDFLAGS=$ac_save_LDFLAGS
22693 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
22694 if test "x$ac_cv_header_X11_X_h" = x""yes; then :
22700 if test "x${have_dep}" = "xyes" ; then
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
22702 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
22703 if test "${ac_cv_lib_X11_XCreateImage+set}" = set; then :
22704 $as_echo_n "(cached) " >&6
22706 ac_check_lib_save_LIBS=$LIBS
22708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22709 /* end confdefs.h. */
22711 /* Override any GCC internal prototype to avoid an error.
22712 Use char because int might match the return type of a GCC
22713 builtin and then its argument prototype would still apply. */
22717 char XCreateImage ();
22721 return XCreateImage ();
22726 if ac_fn_c_try_link "$LINENO"; then :
22727 ac_cv_lib_X11_XCreateImage=yes
22729 ac_cv_lib_X11_XCreateImage=no
22731 rm -f core conftest.err conftest.$ac_objext \
22732 conftest$ac_exeext conftest.$ac_ext
22733 LIBS=$ac_check_lib_save_LIBS
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
22736 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
22737 if test "x$ac_cv_lib_X11_XCreateImage" = x""yes; then :
22745 if test "x${have_dep}" = "xyes" ; then
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
22747 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
22748 if test "${ac_cv_lib_Xext_XShmCreateImage+set}" = set; then :
22749 $as_echo_n "(cached) " >&6
22751 ac_check_lib_save_LIBS=$LIBS
22752 LIBS="-lXext $LIBS"
22753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22754 /* end confdefs.h. */
22756 /* Override any GCC internal prototype to avoid an error.
22757 Use char because int might match the return type of a GCC
22758 builtin and then its argument prototype would still apply. */
22762 char XShmCreateImage ();
22766 return XShmCreateImage ();
22771 if ac_fn_c_try_link "$LINENO"; then :
22772 ac_cv_lib_Xext_XShmCreateImage=yes
22774 ac_cv_lib_Xext_XShmCreateImage=no
22776 rm -f core conftest.err conftest.$ac_objext \
22777 conftest$ac_exeext conftest.$ac_ext
22778 LIBS=$ac_check_lib_save_LIBS
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
22781 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
22782 if test "x$ac_cv_lib_Xext_XShmCreateImage" = x""yes; then :
22790 if test "x${have_dep}" = "xyes" ; then
22791 if test "xno" = "xyes" ; then
22792 x_libs="${x_libs} -lX11 -lXext"
22794 x_dir=${x_dir:-/usr/X11R6}
22795 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
22796 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
22798 evas_engine_software_16_x11_cflags="${x_cflags}"
22799 evas_engine_software_16_x11_libs="${x_libs}"
22805 if test "x${have_dep}" = "xyes" ; then
22814 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22815 as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
22819 $as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22821 $as_echo "${have_engine}" >&6; }
22823 if test "x${have_engine}" = "xyes" ; then
22824 if test "x${want_engine}" = "xstatic" ; then
22825 have_evas_engine_software_16_x11="static"
22826 want_static_engine="yes"
22828 have_evas_engine_software_16_x11="yes"
22832 if test "x${have_engine}" = "xyes" ; then
22834 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
22838 if test "x${have_engine}" = "xyes"; then
22839 BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
22840 BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
22842 BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
22843 BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
22847 if test "x${want_static_engine}" = "xyes" ; then
22849 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
22851 have_static_module="yes"
22854 if test "x${want_static_engine}" = "xyes"; then
22855 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
22856 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
22858 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
22859 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
22871 want_engine="${want_evas_engine_software_16_wince}"
22872 want_static_engine="no"
22874 have_evas_engine_software_16_wince="no"
22876 # Check whether --enable-software-16-wince was given.
22877 if test "${enable_software_16_wince+set}" = set; then :
22878 enableval=$enable_software_16_wince;
22879 if test "x${enableval}" = "xyes" ; then
22882 if test "x${enableval}" = "xstatic" ; then
22883 want_engine="static"
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
22893 $as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22895 $as_echo "${want_engine}" >&6; }
22897 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22901 evas_engine_software_16_wince_cflags=""
22902 evas_engine_software_16_wince_libs=""
22907 if test "x${have_dep}" = "xyes" ; then
22916 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22917 as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
22921 $as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22923 $as_echo "${have_engine}" >&6; }
22925 if test "x${have_engine}" = "xyes" ; then
22926 if test "x${want_engine}" = "xstatic" ; then
22927 have_evas_engine_software_16_wince="static"
22928 want_static_engine="yes"
22930 have_evas_engine_software_16_wince="yes"
22934 if test "x${have_engine}" = "xyes" ; then
22936 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
22940 if test "x${have_engine}" = "xyes"; then
22941 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
22942 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
22944 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
22945 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
22949 if test "x${want_static_engine}" = "xyes" ; then
22951 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
22953 have_static_module="yes"
22956 if test "x${want_static_engine}" = "xyes"; then
22957 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
22958 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
22960 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
22961 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
22973 want_engine="${want_evas_engine_software_16_sdl}"
22974 want_static_engine="no"
22976 have_evas_engine_software_16_sdl="no"
22978 # Check whether --enable-software-16-sdl was given.
22979 if test "${enable_software_16_sdl+set}" = set; then :
22980 enableval=$enable_software_16_sdl;
22981 if test "x${enableval}" = "xyes" ; then
22984 if test "x${enableval}" = "xstatic" ; then
22985 want_engine="static"
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
22995 $as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
22996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22997 $as_echo "${want_engine}" >&6; }
22999 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23004 evas_engine_software_16_sdl_cflags=""
23005 evas_engine_software_16_sdl_libs=""
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23010 $as_echo_n "checking for SDL... " >&6; }
23012 if test -n "$SDL_CFLAGS"; then
23013 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23014 elif test -n "$PKG_CONFIG"; then
23015 if test -n "$PKG_CONFIG" && \
23016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23017 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23020 test $ac_status = 0; }; then
23021 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
23028 if test -n "$SDL_LIBS"; then
23029 pkg_cv_SDL_LIBS="$SDL_LIBS"
23030 elif test -n "$PKG_CONFIG"; then
23031 if test -n "$PKG_CONFIG" && \
23032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23033 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23036 test $ac_status = 0; }; then
23037 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
23047 if test $pkg_failed = yes; then
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23049 $as_echo "no" >&6; }
23051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23052 _pkg_short_errors_supported=yes
23054 _pkg_short_errors_supported=no
23056 if test $_pkg_short_errors_supported = yes; then
23057 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
23059 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
23061 # Put the nasty error message in config.log where it belongs
23062 echo "$SDL_PKG_ERRORS" >&5
23064 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23068 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23069 installed software in a non-standard prefix.
23071 Alternatively, you may set the environment variables SDL_CFLAGS
23072 and SDL_LIBS to avoid the need to call pkg-config.
23073 See the pkg-config man page for more details." "$LINENO" 5
23074 elif test $pkg_failed = untried; then
23075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23076 $as_echo "no" >&6; }
23077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23079 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23080 is in your PATH or set the PKG_CONFIG environment variable to the full
23081 path to pkg-config.
23083 Alternatively, you may set the environment variables SDL_CFLAGS
23084 and SDL_LIBS to avoid the need to call pkg-config.
23085 See the pkg-config man page for more details.
23087 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23088 See \`config.log' for more details" "$LINENO" 5 ; }
23090 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23091 SDL_LIBS=$pkg_cv_SDL_LIBS
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23093 $as_echo "yes" >&6; }
23097 evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23098 evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23106 if test "x${want_engine}" = "xstatic" ; then
23107 requirement_evas="${requirement} ${requirement_evas}"
23110 if test "x${have_dep}" = "xyes" ; then
23119 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23120 as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23124 $as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23126 $as_echo "${have_engine}" >&6; }
23128 if test "x${have_engine}" = "xyes" ; then
23129 if test "x${want_engine}" = "xstatic" ; then
23130 have_evas_engine_software_16_sdl="static"
23131 want_static_engine="yes"
23133 have_evas_engine_software_16_sdl="yes"
23137 if test "x${have_engine}" = "xyes" ; then
23139 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23143 if test "x${have_engine}" = "xyes"; then
23144 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23145 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23147 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23148 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23152 if test "x${want_static_engine}" = "xyes" ; then
23154 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23156 have_static_module="yes"
23159 if test "x${want_static_engine}" = "xyes"; then
23160 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23161 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23163 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23164 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23176 want_engine="${want_evas_engine_wayland_shm}"
23177 want_static_engine="no"
23179 have_evas_engine_wayland_shm="no"
23181 # Check whether --enable-wayland-shm was given.
23182 if test "${enable_wayland_shm+set}" = set; then :
23183 enableval=$enable_wayland_shm;
23184 if test "x${enableval}" = "xyes" ; then
23187 if test "x${enableval}" = "xstatic" ; then
23188 want_engine="static"
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
23198 $as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23200 $as_echo "${want_engine}" >&6; }
23202 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23206 evas_engine_wayland_shm_cflags=""
23207 evas_engine_wayland_shm_libs=""
23212 if test "x${have_dep}" = "xyes" ; then
23221 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23222 as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
23226 $as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23228 $as_echo "${have_engine}" >&6; }
23230 if test "x${have_engine}" = "xyes" ; then
23231 if test "x${want_engine}" = "xstatic" ; then
23232 have_evas_engine_wayland_shm="static"
23233 want_static_engine="yes"
23235 have_evas_engine_wayland_shm="yes"
23239 if test "x${have_engine}" = "xyes" ; then
23241 $as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
23245 if test "x${have_engine}" = "xyes"; then
23246 BUILD_ENGINE_WAYLAND_SHM_TRUE=
23247 BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
23249 BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
23250 BUILD_ENGINE_WAYLAND_SHM_FALSE=
23254 if test "x${want_static_engine}" = "xyes" ; then
23256 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
23258 have_static_module="yes"
23261 if test "x${want_static_engine}" = "xyes"; then
23262 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
23263 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
23265 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
23266 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
23278 want_engine="${want_evas_engine_wayland_egl}"
23279 want_static_engine="no"
23281 have_evas_engine_wayland_egl="no"
23283 # Check whether --enable-wayland-egl was given.
23284 if test "${enable_wayland_egl+set}" = set; then :
23285 enableval=$enable_wayland_egl;
23286 if test "x${enableval}" = "xyes" ; then
23289 if test "x${enableval}" = "xstatic" ; then
23290 want_engine="static"
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
23300 $as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23302 $as_echo "${want_engine}" >&6; }
23304 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23309 evas_engine_wayland_egl_cflags=""
23310 evas_engine_wayland_egl_libs=""
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
23315 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
23317 if test -n "$WAYLAND_EGL_CFLAGS"; then
23318 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
23319 elif test -n "$PKG_CONFIG"; then
23320 if test -n "$PKG_CONFIG" && \
23321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23322 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23325 test $ac_status = 0; }; then
23326 pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
23333 if test -n "$WAYLAND_EGL_LIBS"; then
23334 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
23335 elif test -n "$PKG_CONFIG"; then
23336 if test -n "$PKG_CONFIG" && \
23337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23338 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23341 test $ac_status = 0; }; then
23342 pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
23352 if test $pkg_failed = yes; then
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23354 $as_echo "no" >&6; }
23356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23357 _pkg_short_errors_supported=yes
23359 _pkg_short_errors_supported=no
23361 if test $_pkg_short_errors_supported = yes; then
23362 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23364 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23366 # Put the nasty error message in config.log where it belongs
23367 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
23373 elif test $pkg_failed = untried; then
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23375 $as_echo "no" >&6; }
23381 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
23382 WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23384 $as_echo "yes" >&6; }
23387 requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
23388 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
23389 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
23393 if test "x${have_dep}" = "xyes" ; then
23396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
23397 $as_echo_n "checking for GL_EET... " >&6; }
23399 if test -n "$GL_EET_CFLAGS"; then
23400 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
23401 elif test -n "$PKG_CONFIG"; then
23402 if test -n "$PKG_CONFIG" && \
23403 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
23404 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
23406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23407 test $ac_status = 0; }; then
23408 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
23415 if test -n "$GL_EET_LIBS"; then
23416 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
23417 elif test -n "$PKG_CONFIG"; then
23418 if test -n "$PKG_CONFIG" && \
23419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
23420 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
23422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23423 test $ac_status = 0; }; then
23424 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
23434 if test $pkg_failed = yes; then
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23436 $as_echo "no" >&6; }
23438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23439 _pkg_short_errors_supported=yes
23441 _pkg_short_errors_supported=no
23443 if test $_pkg_short_errors_supported = yes; then
23444 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
23446 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
23448 # Put the nasty error message in config.log where it belongs
23449 echo "$GL_EET_PKG_ERRORS" >&5
23452 elif test $pkg_failed = untried; then
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23454 $as_echo "no" >&6; }
23457 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
23458 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23460 $as_echo "yes" >&6; }
23463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
23464 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
23465 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
23466 $as_echo_n "(cached) " >&6
23468 ac_check_lib_save_LIBS=$LIBS
23469 LIBS="-lGLESv2 -lEGL -lm $LIBS"
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23471 /* end confdefs.h. */
23473 /* Override any GCC internal prototype to avoid an error.
23474 Use char because int might match the return type of a GCC
23475 builtin and then its argument prototype would still apply. */
23479 char glTexImage2D ();
23483 return glTexImage2D ();
23488 if ac_fn_c_try_link "$LINENO"; then :
23489 ac_cv_lib_GLESv2_glTexImage2D=yes
23491 ac_cv_lib_GLESv2_glTexImage2D=no
23493 rm -f core conftest.err conftest.$ac_objext \
23494 conftest$ac_exeext conftest.$ac_ext
23495 LIBS=$ac_check_lib_save_LIBS
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
23498 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
23499 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
23503 if test "x${have_glesv2}" = "xyes" ; then
23504 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
23505 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
23512 if test "x${want_engine}" = "xstatic" ; then
23513 requirement_evas="${requirement} ${requirement_evas}"
23516 if test "x${have_dep}" = "xyes" ; then
23525 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23526 as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
23529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
23530 $as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
23531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23532 $as_echo "${have_engine}" >&6; }
23534 if test "x${have_engine}" = "xyes" ; then
23535 if test "x${want_engine}" = "xstatic" ; then
23536 have_evas_engine_wayland_egl="static"
23537 want_static_engine="yes"
23539 have_evas_engine_wayland_egl="yes"
23543 if test "x${have_engine}" = "xyes" ; then
23545 $as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
23549 if test "x${have_engine}" = "xyes"; then
23550 BUILD_ENGINE_WAYLAND_EGL_TRUE=
23551 BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
23553 BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
23554 BUILD_ENGINE_WAYLAND_EGL_FALSE=
23558 if test "x${want_static_engine}" = "xyes" ; then
23560 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
23562 have_static_module="yes"
23565 if test "x${want_static_engine}" = "xyes"; then
23566 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
23567 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
23569 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
23570 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
23582 # Check whether --enable-sdl-primitive was given.
23583 if test "${enable_sdl_primitive+set}" = set; then :
23584 enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
23589 $as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
23590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
23591 $as_echo "${sdl_primitive}" >&6; }
23593 if test "x${sdl_primitive}" = "xyes" ; then
23595 $as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
23599 # if software generic need to be build as part of libevas.so
23600 have_static_software_generic="no"
23601 # Check whether --enable-static-software-generic was given.
23602 if test "${enable_static_software_generic+set}" = set; then :
23603 enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
23608 $as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
23610 $as_echo "${have_static_software_generic}" >&6; }
23612 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
23614 $as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
23615 have_static_software_generic="yes"
23618 if test "x${have_static_software_generic}" = "xyes"; then
23619 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
23620 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
23622 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
23623 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
23626 if test "x${have_static_software_generic}" = "xyes"; then
23628 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
23633 ######## Software Engine ########
23634 have_evas_engine_software_x11="no"
23635 have_evas_engine_software_xcb="no"
23636 have_evas_engine_software_xlib="no"
23637 build_software_xcb=
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
23642 $as_echo_n "checking whether to build Software XCB Engine... " >&6; }
23643 # Check whether --enable-software-xcb was given.
23644 if test "${enable_software_xcb+set}" = set; then :
23645 enableval=$enable_software_xcb; want_xcb=$enableval
23649 if test "x$want_xcb" != "xno" ; then
23653 want_engine="${want_evas_engine_software_xcb}"
23654 want_static_engine="no"
23656 have_evas_engine_software_xcb="no"
23658 # Check whether --enable-software-xcb was given.
23659 if test "${enable_software_xcb+set}" = set; then :
23660 enableval=$enable_software_xcb;
23661 if test "x${enableval}" = "xyes" ; then
23664 if test "x${enableval}" = "xstatic" ; then
23665 want_engine="static"
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
23675 $as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23677 $as_echo "${want_engine}" >&6; }
23679 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23684 evas_engine_software_xcb_cflags=""
23685 evas_engine_software_xcb_libs=""
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
23690 $as_echo_n "checking for XCB... " >&6; }
23692 if test -n "$XCB_CFLAGS"; then
23693 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
23694 elif test -n "$PKG_CONFIG"; then
23695 if test -n "$PKG_CONFIG" && \
23696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23697 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23700 test $ac_status = 0; }; then
23701 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
23708 if test -n "$XCB_LIBS"; then
23709 pkg_cv_XCB_LIBS="$XCB_LIBS"
23710 elif test -n "$PKG_CONFIG"; then
23711 if test -n "$PKG_CONFIG" && \
23712 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23713 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23716 test $ac_status = 0; }; then
23717 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
23727 if test $pkg_failed = yes; then
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23729 $as_echo "no" >&6; }
23731 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23732 _pkg_short_errors_supported=yes
23734 _pkg_short_errors_supported=no
23736 if test $_pkg_short_errors_supported = yes; then
23737 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23739 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23741 # Put the nasty error message in config.log where it belongs
23742 echo "$XCB_PKG_ERRORS" >&5
23748 elif test $pkg_failed = untried; then
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23750 $as_echo "no" >&6; }
23756 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
23757 XCB_LIBS=$pkg_cv_XCB_LIBS
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23759 $as_echo "yes" >&6; }
23762 requirement="xcb xcb-shm xcb-image pixman-1"
23763 evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
23764 evas_engine_software_xcb_libs="${XCB_LIBS}"
23771 if test "x${want_engine}" = "xstatic" ; then
23772 requirement_evas="${requirement} ${requirement_evas}"
23775 if test "x${have_dep}" = "xyes" ; then
23784 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23785 as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
23789 $as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23791 $as_echo "${have_engine}" >&6; }
23793 if test "x${have_engine}" = "xyes" ; then
23794 if test "x${want_engine}" = "xstatic" ; then
23795 have_evas_engine_software_xcb="static"
23796 want_static_engine="yes"
23798 have_evas_engine_software_xcb="yes"
23802 if test "x${have_engine}" = "xyes" ; then
23804 $as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
23808 if test "x${have_engine}" = "xyes"; then
23809 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
23810 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
23812 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
23813 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
23817 if test "x${want_static_engine}" = "xyes" ; then
23819 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
23821 have_static_module="yes"
23824 if test "x${want_static_engine}" = "xyes"; then
23825 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
23826 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
23828 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
23829 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
23837 if test "x$have_evas_engine_software_xcb" != "xno" ; then
23838 build_software_xcb="yes"
23839 have_evas_engine_software_x11="yes"
23841 cat >>confdefs.h <<_ACEOF
23842 #define BUILD_ENGINE_SOFTWARE_X11 1
23846 cat >>confdefs.h <<_ACEOF
23847 #define BUILD_ENGINE_SOFTWARE_XCB 1
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23853 $as_echo "no" >&6; }
23854 build_software_xcb="no"
23857 ## If we are not building XCB, then we can build XLib ##
23859 if test "x$build_software_xcb" = "xno" ; then
23863 want_engine="${want_evas_engine_software_xlib}"
23864 want_static_engine="no"
23866 have_evas_engine_software_xlib="no"
23868 # Check whether --enable-software-xlib was given.
23869 if test "${enable_software_xlib+set}" = set; then :
23870 enableval=$enable_software_xlib;
23871 if test "x${enableval}" = "xyes" ; then
23874 if test "x${enableval}" = "xstatic" ; then
23875 want_engine="static"
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
23885 $as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23887 $as_echo "${want_engine}" >&6; }
23889 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23893 evas_engine_software_xlib_cflags=""
23894 evas_engine_software_xlib_libs=""
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
23897 $as_echo_n "checking for X... " >&6; }
23900 # Check whether --with-x was given.
23901 if test "${with_x+set}" = set; then :
23905 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23906 if test "x$with_x" = xno; then
23907 # The user explicitly disabled X.
23910 case $x_includes,$x_libraries in #(
23911 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
23912 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
23913 $as_echo_n "(cached) " >&6
23915 # One or both of the vars are not set, and there is no cached value.
23916 ac_x_includes=no ac_x_libraries=no
23917 rm -f -r conftest.dir
23918 if mkdir conftest.dir; then
23920 cat >Imakefile <<'_ACEOF'
23922 @echo incroot='${INCROOT}'
23924 @echo usrlibdir='${USRLIBDIR}'
23926 @echo libdir='${LIBDIR}'
23928 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
23929 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23930 for ac_var in incroot usrlibdir libdir; do
23931 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
23933 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23934 for ac_extension in a so sl dylib la dll; do
23935 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23936 test -f "$ac_im_libdir/libX11.$ac_extension"; then
23937 ac_im_usrlibdir=$ac_im_libdir; break
23940 # Screen out bogus values from the imake configuration. They are
23941 # bogus both because they are the default anyway, and because
23942 # using them would break gcc on systems where it needs fixed includes.
23943 case $ac_im_incroot in
23944 /usr/include) ac_x_includes= ;;
23945 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23947 case $ac_im_usrlibdir in
23948 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
23949 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23953 rm -f -r conftest.dir
23956 # Standard set of common directories for X headers.
23957 # Check X11 before X11Rn because it is often a symlink to the current release.
23971 /usr/local/X11/include
23972 /usr/local/X11R7/include
23973 /usr/local/X11R6/include
23974 /usr/local/X11R5/include
23975 /usr/local/X11R4/include
23977 /usr/local/include/X11
23978 /usr/local/include/X11R7
23979 /usr/local/include/X11R6
23980 /usr/local/include/X11R5
23981 /usr/local/include/X11R4
23985 /usr/XFree86/include/X11
23989 /usr/unsupported/include
23990 /usr/athena/include
23991 /usr/local/x11r5/include
23992 /usr/lpp/Xamples/include
23994 /usr/openwin/include
23995 /usr/openwin/share/include'
23997 if test "$ac_x_includes" = no; then
23998 # Guess where to find include files, by looking for Xlib.h.
23999 # First, try using that file with no special directory specified.
24000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24001 /* end confdefs.h. */
24002 #include <X11/Xlib.h>
24004 if ac_fn_c_try_cpp "$LINENO"; then :
24005 # We can compile using X headers with no special include directory.
24008 for ac_dir in $ac_x_header_dirs; do
24009 if test -r "$ac_dir/X11/Xlib.h"; then
24010 ac_x_includes=$ac_dir
24015 rm -f conftest.err conftest.i conftest.$ac_ext
24016 fi # $ac_x_includes = no
24018 if test "$ac_x_libraries" = no; then
24019 # Check for the libraries.
24020 # See if we find them without any special options.
24021 # Don't add to $LIBS permanently.
24024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h. */
24026 #include <X11/Xlib.h>
24035 if ac_fn_c_try_link "$LINENO"; then :
24037 # We can link X programs with no special library path.
24041 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24043 # Don't even attempt the hair of trying to link an X program!
24044 for ac_extension in a so sl dylib la dll; do
24045 if test -r "$ac_dir/libX11.$ac_extension"; then
24046 ac_x_libraries=$ac_dir
24052 rm -f core conftest.err conftest.$ac_objext \
24053 conftest$ac_exeext conftest.$ac_ext
24054 fi # $ac_x_libraries = no
24056 case $ac_x_includes,$ac_x_libraries in #(
24057 no,* | *,no | *\'*)
24058 # Didn't find X, or a directory has "'" in its name.
24059 ac_cv_have_x="have_x=no";; #(
24061 # Record where we found X for the cache.
24062 ac_cv_have_x="have_x=yes\
24063 ac_x_includes='$ac_x_includes'\
24064 ac_x_libraries='$ac_x_libraries'"
24070 eval "$ac_cv_have_x"
24073 if test "$have_x" != yes; then
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24075 $as_echo "$have_x" >&6; }
24078 # If each of the values was on the command line, it overrides each guess.
24079 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24080 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24081 # Update the cache value to reflect the command line values.
24082 ac_cv_have_x="have_x=yes\
24083 ac_x_includes='$x_includes'\
24084 ac_x_libraries='$x_libraries'"
24085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24086 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24089 if test "$no_x" = yes; then
24090 # Not all programs may use this symbol, but it does not hurt to define it.
24092 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24094 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24096 if test -n "$x_includes"; then
24097 X_CFLAGS="$X_CFLAGS -I$x_includes"
24100 # It would also be nice to do this for all -L options, not just this one.
24101 if test -n "$x_libraries"; then
24102 X_LIBS="$X_LIBS -L$x_libraries"
24103 # For Solaris; some versions of Sun CC require a space after -R and
24104 # others require no space. Words are not sufficient . . . .
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24106 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24107 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24108 ac_xsave_c_werror_flag=$ac_c_werror_flag
24109 ac_c_werror_flag=yes
24110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24121 if ac_fn_c_try_link "$LINENO"; then :
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24123 $as_echo "no" >&6; }
24124 X_LIBS="$X_LIBS -R$x_libraries"
24126 LIBS="$ac_xsave_LIBS -R $x_libraries"
24127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24138 if ac_fn_c_try_link "$LINENO"; then :
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24140 $as_echo "yes" >&6; }
24141 X_LIBS="$X_LIBS -R $x_libraries"
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24144 $as_echo "neither works" >&6; }
24146 rm -f core conftest.err conftest.$ac_objext \
24147 conftest$ac_exeext conftest.$ac_ext
24149 rm -f core conftest.err conftest.$ac_objext \
24150 conftest$ac_exeext conftest.$ac_ext
24151 ac_c_werror_flag=$ac_xsave_c_werror_flag
24152 LIBS=$ac_xsave_LIBS
24155 # Check for system-dependent libraries X programs must link with.
24156 # Do this before checking for the system-independent R6 libraries
24157 # (-lICE), since we may need -lsocket or whatever for X linking.
24159 if test "$ISC" = yes; then
24160 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24162 # Martyn Johnson says this is needed for Ultrix, if the X
24163 # libraries were built with DECnet support. And Karl Berry says
24164 # the Alpha needs dnet_stub (dnet does not exist).
24165 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24167 /* end confdefs.h. */
24169 /* Override any GCC internal prototype to avoid an error.
24170 Use char because int might match the return type of a GCC
24171 builtin and then its argument prototype would still apply. */
24175 char XOpenDisplay ();
24179 return XOpenDisplay ();
24184 if ac_fn_c_try_link "$LINENO"; then :
24187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24188 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24189 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24190 $as_echo_n "(cached) " >&6
24192 ac_check_lib_save_LIBS=$LIBS
24193 LIBS="-ldnet $LIBS"
24194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24197 /* Override any GCC internal prototype to avoid an error.
24198 Use char because int might match the return type of a GCC
24199 builtin and then its argument prototype would still apply. */
24207 return dnet_ntoa ();
24212 if ac_fn_c_try_link "$LINENO"; then :
24213 ac_cv_lib_dnet_dnet_ntoa=yes
24215 ac_cv_lib_dnet_dnet_ntoa=no
24217 rm -f core conftest.err conftest.$ac_objext \
24218 conftest$ac_exeext conftest.$ac_ext
24219 LIBS=$ac_check_lib_save_LIBS
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24222 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24223 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
24224 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24227 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24229 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24230 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24231 $as_echo_n "(cached) " >&6
24233 ac_check_lib_save_LIBS=$LIBS
24234 LIBS="-ldnet_stub $LIBS"
24235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24236 /* end confdefs.h. */
24238 /* Override any GCC internal prototype to avoid an error.
24239 Use char because int might match the return type of a GCC
24240 builtin and then its argument prototype would still apply. */
24248 return dnet_ntoa ();
24253 if ac_fn_c_try_link "$LINENO"; then :
24254 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24256 ac_cv_lib_dnet_stub_dnet_ntoa=no
24258 rm -f core conftest.err conftest.$ac_objext \
24259 conftest$ac_exeext conftest.$ac_ext
24260 LIBS=$ac_check_lib_save_LIBS
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24263 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24264 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
24265 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24270 rm -f core conftest.err conftest.$ac_objext \
24271 conftest$ac_exeext conftest.$ac_ext
24272 LIBS="$ac_xsave_LIBS"
24274 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24275 # to get the SysV transport functions.
24276 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24278 # The nsl library prevents programs from opening the X display
24279 # on Irix 5.2, according to T.E. Dickey.
24280 # The functions gethostbyname, getservbyname, and inet_addr are
24281 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24282 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24283 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
24287 if test $ac_cv_func_gethostbyname = no; then
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
24289 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24290 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
24291 $as_echo_n "(cached) " >&6
24293 ac_check_lib_save_LIBS=$LIBS
24295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24296 /* end confdefs.h. */
24298 /* Override any GCC internal prototype to avoid an error.
24299 Use char because int might match the return type of a GCC
24300 builtin and then its argument prototype would still apply. */
24304 char gethostbyname ();
24308 return gethostbyname ();
24313 if ac_fn_c_try_link "$LINENO"; then :
24314 ac_cv_lib_nsl_gethostbyname=yes
24316 ac_cv_lib_nsl_gethostbyname=no
24318 rm -f core conftest.err conftest.$ac_objext \
24319 conftest$ac_exeext conftest.$ac_ext
24320 LIBS=$ac_check_lib_save_LIBS
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
24323 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24324 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
24325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24328 if test $ac_cv_lib_nsl_gethostbyname = no; then
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
24330 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24331 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
24332 $as_echo_n "(cached) " >&6
24334 ac_check_lib_save_LIBS=$LIBS
24336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24339 /* Override any GCC internal prototype to avoid an error.
24340 Use char because int might match the return type of a GCC
24341 builtin and then its argument prototype would still apply. */
24345 char gethostbyname ();
24349 return gethostbyname ();
24354 if ac_fn_c_try_link "$LINENO"; then :
24355 ac_cv_lib_bsd_gethostbyname=yes
24357 ac_cv_lib_bsd_gethostbyname=no
24359 rm -f core conftest.err conftest.$ac_objext \
24360 conftest$ac_exeext conftest.$ac_ext
24361 LIBS=$ac_check_lib_save_LIBS
24363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
24364 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24365 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
24366 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24372 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24373 # socket/setsockopt and other routines are undefined under SCO ODT
24374 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24375 # on later versions), says Simon Leinen: it contains gethostby*
24376 # variants that don't use the name server (or something). -lsocket
24377 # must be given before -lnsl if both are needed. We assume that
24378 # if connect needs -lnsl, so does gethostbyname.
24379 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
24380 if test "x$ac_cv_func_connect" = x""yes; then :
24384 if test $ac_cv_func_connect = no; then
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
24386 $as_echo_n "checking for connect in -lsocket... " >&6; }
24387 if test "${ac_cv_lib_socket_connect+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24390 ac_check_lib_save_LIBS=$LIBS
24391 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24395 /* Override any GCC internal prototype to avoid an error.
24396 Use char because int might match the return type of a GCC
24397 builtin and then its argument prototype would still apply. */
24410 if ac_fn_c_try_link "$LINENO"; then :
24411 ac_cv_lib_socket_connect=yes
24413 ac_cv_lib_socket_connect=no
24415 rm -f core conftest.err conftest.$ac_objext \
24416 conftest$ac_exeext conftest.$ac_ext
24417 LIBS=$ac_check_lib_save_LIBS
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
24420 $as_echo "$ac_cv_lib_socket_connect" >&6; }
24421 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
24422 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24427 # Guillermo Gomez says -lposix is necessary on A/UX.
24428 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
24429 if test "x$ac_cv_func_remove" = x""yes; then :
24433 if test $ac_cv_func_remove = no; then
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
24435 $as_echo_n "checking for remove in -lposix... " >&6; }
24436 if test "${ac_cv_lib_posix_remove+set}" = set; then :
24437 $as_echo_n "(cached) " >&6
24439 ac_check_lib_save_LIBS=$LIBS
24440 LIBS="-lposix $LIBS"
24441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24442 /* end confdefs.h. */
24444 /* Override any GCC internal prototype to avoid an error.
24445 Use char because int might match the return type of a GCC
24446 builtin and then its argument prototype would still apply. */
24459 if ac_fn_c_try_link "$LINENO"; then :
24460 ac_cv_lib_posix_remove=yes
24462 ac_cv_lib_posix_remove=no
24464 rm -f core conftest.err conftest.$ac_objext \
24465 conftest$ac_exeext conftest.$ac_ext
24466 LIBS=$ac_check_lib_save_LIBS
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
24469 $as_echo "$ac_cv_lib_posix_remove" >&6; }
24470 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
24471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24476 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24477 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
24478 if test "x$ac_cv_func_shmat" = x""yes; then :
24482 if test $ac_cv_func_shmat = no; then
24483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
24484 $as_echo_n "checking for shmat in -lipc... " >&6; }
24485 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
24486 $as_echo_n "(cached) " >&6
24488 ac_check_lib_save_LIBS=$LIBS
24490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24491 /* end confdefs.h. */
24493 /* Override any GCC internal prototype to avoid an error.
24494 Use char because int might match the return type of a GCC
24495 builtin and then its argument prototype would still apply. */
24508 if ac_fn_c_try_link "$LINENO"; then :
24509 ac_cv_lib_ipc_shmat=yes
24511 ac_cv_lib_ipc_shmat=no
24513 rm -f core conftest.err conftest.$ac_objext \
24514 conftest$ac_exeext conftest.$ac_ext
24515 LIBS=$ac_check_lib_save_LIBS
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
24518 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
24519 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
24520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24526 # Check for libraries that X11R6 Xt/Xaw programs need.
24527 ac_save_LDFLAGS=$LDFLAGS
24528 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24529 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24530 # check for ICE first), but we must link in the order -lSM -lICE or
24531 # we get undefined symbols. So assume we have SM if we have ICE.
24532 # These have to be linked with before -lX11, unlike the other
24533 # libraries we check for below, so use a different variable.
24534 # John Interrante, Karl Berry
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
24536 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
24537 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
24538 $as_echo_n "(cached) " >&6
24540 ac_check_lib_save_LIBS=$LIBS
24541 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 /* end confdefs.h. */
24545 /* Override any GCC internal prototype to avoid an error.
24546 Use char because int might match the return type of a GCC
24547 builtin and then its argument prototype would still apply. */
24551 char IceConnectionNumber ();
24555 return IceConnectionNumber ();
24560 if ac_fn_c_try_link "$LINENO"; then :
24561 ac_cv_lib_ICE_IceConnectionNumber=yes
24563 ac_cv_lib_ICE_IceConnectionNumber=no
24565 rm -f core conftest.err conftest.$ac_objext \
24566 conftest$ac_exeext conftest.$ac_ext
24567 LIBS=$ac_check_lib_save_LIBS
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24570 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
24571 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
24572 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24575 LDFLAGS=$ac_save_LDFLAGS
24580 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
24581 if test "x$ac_cv_header_X11_X_h" = x""yes; then :
24587 if test "x${have_dep}" = "xyes" ; then
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
24589 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
24590 if test "${ac_cv_lib_X11_XCreateImage+set}" = set; then :
24591 $as_echo_n "(cached) " >&6
24593 ac_check_lib_save_LIBS=$LIBS
24595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24596 /* end confdefs.h. */
24598 /* Override any GCC internal prototype to avoid an error.
24599 Use char because int might match the return type of a GCC
24600 builtin and then its argument prototype would still apply. */
24604 char XCreateImage ();
24608 return XCreateImage ();
24613 if ac_fn_c_try_link "$LINENO"; then :
24614 ac_cv_lib_X11_XCreateImage=yes
24616 ac_cv_lib_X11_XCreateImage=no
24618 rm -f core conftest.err conftest.$ac_objext \
24619 conftest$ac_exeext conftest.$ac_ext
24620 LIBS=$ac_check_lib_save_LIBS
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
24623 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
24624 if test "x$ac_cv_lib_X11_XCreateImage" = x""yes; then :
24632 if test "x${have_dep}" = "xyes" ; then
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
24634 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
24635 if test "${ac_cv_lib_Xext_XShmCreateImage+set}" = set; then :
24636 $as_echo_n "(cached) " >&6
24638 ac_check_lib_save_LIBS=$LIBS
24639 LIBS="-lXext $LIBS"
24640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24641 /* end confdefs.h. */
24643 /* Override any GCC internal prototype to avoid an error.
24644 Use char because int might match the return type of a GCC
24645 builtin and then its argument prototype would still apply. */
24649 char XShmCreateImage ();
24653 return XShmCreateImage ();
24658 if ac_fn_c_try_link "$LINENO"; then :
24659 ac_cv_lib_Xext_XShmCreateImage=yes
24661 ac_cv_lib_Xext_XShmCreateImage=no
24663 rm -f core conftest.err conftest.$ac_objext \
24664 conftest$ac_exeext conftest.$ac_ext
24665 LIBS=$ac_check_lib_save_LIBS
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
24668 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
24669 if test "x$ac_cv_lib_Xext_XShmCreateImage" = x""yes; then :
24677 if test "x${have_dep}" = "xyes" ; then
24678 if test "xno" = "xyes" ; then
24679 x_libs="${x_libs} -lX11 -lXext"
24681 x_dir=${x_dir:-/usr/X11R6}
24682 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
24683 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
24685 evas_engine_software_xlib_cflags="${x_cflags}"
24686 evas_engine_software_xlib_libs="${x_libs}"
24692 if test "x${have_dep}" = "xyes" ; then
24701 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24702 as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
24706 $as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
24707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24708 $as_echo "${have_engine}" >&6; }
24710 if test "x${have_engine}" = "xyes" ; then
24711 if test "x${want_engine}" = "xstatic" ; then
24712 have_evas_engine_software_xlib="static"
24713 want_static_engine="yes"
24715 have_evas_engine_software_xlib="yes"
24719 if test "x${have_engine}" = "xyes" ; then
24721 $as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
24725 if test "x${have_engine}" = "xyes"; then
24726 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
24727 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
24729 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
24730 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
24734 if test "x${want_static_engine}" = "xyes" ; then
24736 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
24738 have_static_module="yes"
24741 if test "x${want_static_engine}" = "xyes"; then
24742 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
24743 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
24745 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
24746 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
24754 # if software_x11 is available, define everything needed for X11
24755 if test "x$have_evas_engine_software_xlib" != "xno" ; then
24756 have_evas_engine_software_x11="yes"
24758 cat >>confdefs.h <<_ACEOF
24759 #define BUILD_ENGINE_SOFTWARE_X11 1
24763 cat >>confdefs.h <<_ACEOF
24764 #define BUILD_ENGINE_SOFTWARE_XLIB 1
24769 have_evas_engine_software_xlib="no"
24772 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
24774 cat >>confdefs.h <<_ACEOF
24775 #define EVAS_STATIC_BUILD_SOFTWARE_X11 1
24783 if test "x${have_evas_engine_software_xlib}" != "xno"; then
24784 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
24785 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
24787 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
24788 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
24791 if test "x${have_evas_engine_software_xcb}" != "xno"; then
24792 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24793 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24795 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24796 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24799 if test "x${have_evas_engine_software_x11}" != "xno"; then
24800 BUILD_ENGINE_SOFTWARE_X11_TRUE=
24801 BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
24803 BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
24804 BUILD_ENGINE_SOFTWARE_X11_FALSE=
24808 if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
24809 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
24810 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
24812 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
24813 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
24816 if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
24817 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
24818 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
24820 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
24821 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
24824 if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
24825 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24826 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24828 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24829 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24836 ######## OpenGL Engine ########
24837 have_evas_engine_gl_x11="no"
24838 have_evas_engine_gl_xcb="no"
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
24844 $as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
24845 # Check whether --enable-gl-xcb was given.
24846 if test "${enable_gl_xcb+set}" = set; then :
24847 enableval=$enable_gl_xcb; want_gl_xcb=$enableval
24851 if test "x$want_gl_xcb" = "xyes" ; then
24855 want_engine="${want_evas_engine_gl_xcb}"
24856 want_static_engine="no"
24858 have_evas_engine_gl_xcb="no"
24860 # Check whether --enable-gl-xcb was given.
24861 if test "${enable_gl_xcb+set}" = set; then :
24862 enableval=$enable_gl_xcb;
24863 if test "x${enableval}" = "xyes" ; then
24866 if test "x${enableval}" = "xstatic" ; then
24867 want_engine="static"
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
24877 $as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
24878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24879 $as_echo "${want_engine}" >&6; }
24881 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24884 evas_engine_gl_xcb_cflags=""
24885 evas_engine_gl_xcb_libs=""
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24888 $as_echo_n "checking for X... " >&6; }
24891 # Check whether --with-x was given.
24892 if test "${with_x+set}" = set; then :
24896 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24897 if test "x$with_x" = xno; then
24898 # The user explicitly disabled X.
24901 case $x_includes,$x_libraries in #(
24902 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
24903 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24904 $as_echo_n "(cached) " >&6
24906 # One or both of the vars are not set, and there is no cached value.
24907 ac_x_includes=no ac_x_libraries=no
24908 rm -f -r conftest.dir
24909 if mkdir conftest.dir; then
24911 cat >Imakefile <<'_ACEOF'
24913 @echo incroot='${INCROOT}'
24915 @echo usrlibdir='${USRLIBDIR}'
24917 @echo libdir='${LIBDIR}'
24919 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24920 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24921 for ac_var in incroot usrlibdir libdir; do
24922 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24924 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24925 for ac_extension in a so sl dylib la dll; do
24926 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24927 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24928 ac_im_usrlibdir=$ac_im_libdir; break
24931 # Screen out bogus values from the imake configuration. They are
24932 # bogus both because they are the default anyway, and because
24933 # using them would break gcc on systems where it needs fixed includes.
24934 case $ac_im_incroot in
24935 /usr/include) ac_x_includes= ;;
24936 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24938 case $ac_im_usrlibdir in
24939 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24940 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24944 rm -f -r conftest.dir
24947 # Standard set of common directories for X headers.
24948 # Check X11 before X11Rn because it is often a symlink to the current release.
24962 /usr/local/X11/include
24963 /usr/local/X11R7/include
24964 /usr/local/X11R6/include
24965 /usr/local/X11R5/include
24966 /usr/local/X11R4/include
24968 /usr/local/include/X11
24969 /usr/local/include/X11R7
24970 /usr/local/include/X11R6
24971 /usr/local/include/X11R5
24972 /usr/local/include/X11R4
24976 /usr/XFree86/include/X11
24980 /usr/unsupported/include
24981 /usr/athena/include
24982 /usr/local/x11r5/include
24983 /usr/lpp/Xamples/include
24985 /usr/openwin/include
24986 /usr/openwin/share/include'
24988 if test "$ac_x_includes" = no; then
24989 # Guess where to find include files, by looking for Xlib.h.
24990 # First, try using that file with no special directory specified.
24991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24992 /* end confdefs.h. */
24993 #include <X11/Xlib.h>
24995 if ac_fn_c_try_cpp "$LINENO"; then :
24996 # We can compile using X headers with no special include directory.
24999 for ac_dir in $ac_x_header_dirs; do
25000 if test -r "$ac_dir/X11/Xlib.h"; then
25001 ac_x_includes=$ac_dir
25006 rm -f conftest.err conftest.i conftest.$ac_ext
25007 fi # $ac_x_includes = no
25009 if test "$ac_x_libraries" = no; then
25010 # Check for the libraries.
25011 # See if we find them without any special options.
25012 # Don't add to $LIBS permanently.
25015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25016 /* end confdefs.h. */
25017 #include <X11/Xlib.h>
25026 if ac_fn_c_try_link "$LINENO"; then :
25028 # We can link X programs with no special library path.
25032 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25034 # Don't even attempt the hair of trying to link an X program!
25035 for ac_extension in a so sl dylib la dll; do
25036 if test -r "$ac_dir/libX11.$ac_extension"; then
25037 ac_x_libraries=$ac_dir
25043 rm -f core conftest.err conftest.$ac_objext \
25044 conftest$ac_exeext conftest.$ac_ext
25045 fi # $ac_x_libraries = no
25047 case $ac_x_includes,$ac_x_libraries in #(
25048 no,* | *,no | *\'*)
25049 # Didn't find X, or a directory has "'" in its name.
25050 ac_cv_have_x="have_x=no";; #(
25052 # Record where we found X for the cache.
25053 ac_cv_have_x="have_x=yes\
25054 ac_x_includes='$ac_x_includes'\
25055 ac_x_libraries='$ac_x_libraries'"
25061 eval "$ac_cv_have_x"
25064 if test "$have_x" != yes; then
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25066 $as_echo "$have_x" >&6; }
25069 # If each of the values was on the command line, it overrides each guess.
25070 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25071 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25072 # Update the cache value to reflect the command line values.
25073 ac_cv_have_x="have_x=yes\
25074 ac_x_includes='$x_includes'\
25075 ac_x_libraries='$x_libraries'"
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25077 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25080 if test "$no_x" = yes; then
25081 # Not all programs may use this symbol, but it does not hurt to define it.
25083 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25085 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25087 if test -n "$x_includes"; then
25088 X_CFLAGS="$X_CFLAGS -I$x_includes"
25091 # It would also be nice to do this for all -L options, not just this one.
25092 if test -n "$x_libraries"; then
25093 X_LIBS="$X_LIBS -L$x_libraries"
25094 # For Solaris; some versions of Sun CC require a space after -R and
25095 # others require no space. Words are not sufficient . . . .
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25097 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25098 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25099 ac_xsave_c_werror_flag=$ac_c_werror_flag
25100 ac_c_werror_flag=yes
25101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25102 /* end confdefs.h. */
25112 if ac_fn_c_try_link "$LINENO"; then :
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25114 $as_echo "no" >&6; }
25115 X_LIBS="$X_LIBS -R$x_libraries"
25117 LIBS="$ac_xsave_LIBS -R $x_libraries"
25118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25119 /* end confdefs.h. */
25129 if ac_fn_c_try_link "$LINENO"; then :
25130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25131 $as_echo "yes" >&6; }
25132 X_LIBS="$X_LIBS -R $x_libraries"
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25135 $as_echo "neither works" >&6; }
25137 rm -f core conftest.err conftest.$ac_objext \
25138 conftest$ac_exeext conftest.$ac_ext
25140 rm -f core conftest.err conftest.$ac_objext \
25141 conftest$ac_exeext conftest.$ac_ext
25142 ac_c_werror_flag=$ac_xsave_c_werror_flag
25143 LIBS=$ac_xsave_LIBS
25146 # Check for system-dependent libraries X programs must link with.
25147 # Do this before checking for the system-independent R6 libraries
25148 # (-lICE), since we may need -lsocket or whatever for X linking.
25150 if test "$ISC" = yes; then
25151 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25153 # Martyn Johnson says this is needed for Ultrix, if the X
25154 # libraries were built with DECnet support. And Karl Berry says
25155 # the Alpha needs dnet_stub (dnet does not exist).
25156 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25158 /* end confdefs.h. */
25160 /* Override any GCC internal prototype to avoid an error.
25161 Use char because int might match the return type of a GCC
25162 builtin and then its argument prototype would still apply. */
25166 char XOpenDisplay ();
25170 return XOpenDisplay ();
25175 if ac_fn_c_try_link "$LINENO"; then :
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25179 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25180 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
25181 $as_echo_n "(cached) " >&6
25183 ac_check_lib_save_LIBS=$LIBS
25184 LIBS="-ldnet $LIBS"
25185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25186 /* end confdefs.h. */
25188 /* Override any GCC internal prototype to avoid an error.
25189 Use char because int might match the return type of a GCC
25190 builtin and then its argument prototype would still apply. */
25198 return dnet_ntoa ();
25203 if ac_fn_c_try_link "$LINENO"; then :
25204 ac_cv_lib_dnet_dnet_ntoa=yes
25206 ac_cv_lib_dnet_dnet_ntoa=no
25208 rm -f core conftest.err conftest.$ac_objext \
25209 conftest$ac_exeext conftest.$ac_ext
25210 LIBS=$ac_check_lib_save_LIBS
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25213 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25214 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
25215 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25218 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25220 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25221 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
25222 $as_echo_n "(cached) " >&6
25224 ac_check_lib_save_LIBS=$LIBS
25225 LIBS="-ldnet_stub $LIBS"
25226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25227 /* end confdefs.h. */
25229 /* Override any GCC internal prototype to avoid an error.
25230 Use char because int might match the return type of a GCC
25231 builtin and then its argument prototype would still apply. */
25239 return dnet_ntoa ();
25244 if ac_fn_c_try_link "$LINENO"; then :
25245 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25247 ac_cv_lib_dnet_stub_dnet_ntoa=no
25249 rm -f core conftest.err conftest.$ac_objext \
25250 conftest$ac_exeext conftest.$ac_ext
25251 LIBS=$ac_check_lib_save_LIBS
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25254 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25255 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
25256 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25261 rm -f core conftest.err conftest.$ac_objext \
25262 conftest$ac_exeext conftest.$ac_ext
25263 LIBS="$ac_xsave_LIBS"
25265 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25266 # to get the SysV transport functions.
25267 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25269 # The nsl library prevents programs from opening the X display
25270 # on Irix 5.2, according to T.E. Dickey.
25271 # The functions gethostbyname, getservbyname, and inet_addr are
25272 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25273 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25274 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25278 if test $ac_cv_func_gethostbyname = no; then
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25280 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25281 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25282 $as_echo_n "(cached) " >&6
25284 ac_check_lib_save_LIBS=$LIBS
25286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25287 /* end confdefs.h. */
25289 /* Override any GCC internal prototype to avoid an error.
25290 Use char because int might match the return type of a GCC
25291 builtin and then its argument prototype would still apply. */
25295 char gethostbyname ();
25299 return gethostbyname ();
25304 if ac_fn_c_try_link "$LINENO"; then :
25305 ac_cv_lib_nsl_gethostbyname=yes
25307 ac_cv_lib_nsl_gethostbyname=no
25309 rm -f core conftest.err conftest.$ac_objext \
25310 conftest$ac_exeext conftest.$ac_ext
25311 LIBS=$ac_check_lib_save_LIBS
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25314 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25315 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25319 if test $ac_cv_lib_nsl_gethostbyname = no; then
25320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25321 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25322 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25323 $as_echo_n "(cached) " >&6
25325 ac_check_lib_save_LIBS=$LIBS
25327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25328 /* end confdefs.h. */
25330 /* Override any GCC internal prototype to avoid an error.
25331 Use char because int might match the return type of a GCC
25332 builtin and then its argument prototype would still apply. */
25336 char gethostbyname ();
25340 return gethostbyname ();
25345 if ac_fn_c_try_link "$LINENO"; then :
25346 ac_cv_lib_bsd_gethostbyname=yes
25348 ac_cv_lib_bsd_gethostbyname=no
25350 rm -f core conftest.err conftest.$ac_objext \
25351 conftest$ac_exeext conftest.$ac_ext
25352 LIBS=$ac_check_lib_save_LIBS
25354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25355 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25356 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25357 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25363 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25364 # socket/setsockopt and other routines are undefined under SCO ODT
25365 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25366 # on later versions), says Simon Leinen: it contains gethostby*
25367 # variants that don't use the name server (or something). -lsocket
25368 # must be given before -lnsl if both are needed. We assume that
25369 # if connect needs -lnsl, so does gethostbyname.
25370 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25371 if test "x$ac_cv_func_connect" = x""yes; then :
25375 if test $ac_cv_func_connect = no; then
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25377 $as_echo_n "checking for connect in -lsocket... " >&6; }
25378 if test "${ac_cv_lib_socket_connect+set}" = set; then :
25379 $as_echo_n "(cached) " >&6
25381 ac_check_lib_save_LIBS=$LIBS
25382 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h. */
25386 /* Override any GCC internal prototype to avoid an error.
25387 Use char because int might match the return type of a GCC
25388 builtin and then its argument prototype would still apply. */
25401 if ac_fn_c_try_link "$LINENO"; then :
25402 ac_cv_lib_socket_connect=yes
25404 ac_cv_lib_socket_connect=no
25406 rm -f core conftest.err conftest.$ac_objext \
25407 conftest$ac_exeext conftest.$ac_ext
25408 LIBS=$ac_check_lib_save_LIBS
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25411 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25412 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
25413 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25418 # Guillermo Gomez says -lposix is necessary on A/UX.
25419 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25420 if test "x$ac_cv_func_remove" = x""yes; then :
25424 if test $ac_cv_func_remove = no; then
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25426 $as_echo_n "checking for remove in -lposix... " >&6; }
25427 if test "${ac_cv_lib_posix_remove+set}" = set; then :
25428 $as_echo_n "(cached) " >&6
25430 ac_check_lib_save_LIBS=$LIBS
25431 LIBS="-lposix $LIBS"
25432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25433 /* end confdefs.h. */
25435 /* Override any GCC internal prototype to avoid an error.
25436 Use char because int might match the return type of a GCC
25437 builtin and then its argument prototype would still apply. */
25450 if ac_fn_c_try_link "$LINENO"; then :
25451 ac_cv_lib_posix_remove=yes
25453 ac_cv_lib_posix_remove=no
25455 rm -f core conftest.err conftest.$ac_objext \
25456 conftest$ac_exeext conftest.$ac_ext
25457 LIBS=$ac_check_lib_save_LIBS
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25460 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25461 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25467 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25468 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25469 if test "x$ac_cv_func_shmat" = x""yes; then :
25473 if test $ac_cv_func_shmat = no; then
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25475 $as_echo_n "checking for shmat in -lipc... " >&6; }
25476 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25477 $as_echo_n "(cached) " >&6
25479 ac_check_lib_save_LIBS=$LIBS
25481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h. */
25484 /* Override any GCC internal prototype to avoid an error.
25485 Use char because int might match the return type of a GCC
25486 builtin and then its argument prototype would still apply. */
25499 if ac_fn_c_try_link "$LINENO"; then :
25500 ac_cv_lib_ipc_shmat=yes
25502 ac_cv_lib_ipc_shmat=no
25504 rm -f core conftest.err conftest.$ac_objext \
25505 conftest$ac_exeext conftest.$ac_ext
25506 LIBS=$ac_check_lib_save_LIBS
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25509 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25510 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25511 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25517 # Check for libraries that X11R6 Xt/Xaw programs need.
25518 ac_save_LDFLAGS=$LDFLAGS
25519 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25520 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25521 # check for ICE first), but we must link in the order -lSM -lICE or
25522 # we get undefined symbols. So assume we have SM if we have ICE.
25523 # These have to be linked with before -lX11, unlike the other
25524 # libraries we check for below, so use a different variable.
25525 # John Interrante, Karl Berry
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25527 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25528 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25529 $as_echo_n "(cached) " >&6
25531 ac_check_lib_save_LIBS=$LIBS
25532 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25534 /* end confdefs.h. */
25536 /* Override any GCC internal prototype to avoid an error.
25537 Use char because int might match the return type of a GCC
25538 builtin and then its argument prototype would still apply. */
25542 char IceConnectionNumber ();
25546 return IceConnectionNumber ();
25551 if ac_fn_c_try_link "$LINENO"; then :
25552 ac_cv_lib_ICE_IceConnectionNumber=yes
25554 ac_cv_lib_ICE_IceConnectionNumber=no
25556 rm -f core conftest.err conftest.$ac_objext \
25557 conftest$ac_exeext conftest.$ac_ext
25558 LIBS=$ac_check_lib_save_LIBS
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25561 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25562 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25563 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25566 LDFLAGS=$ac_save_LDFLAGS
25571 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
25573 #include <GL/glext.h>
25574 #include <GL/glx.h>
25577 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
25589 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
25590 CFLAGS_save="${CFLAGS}"
25591 CFLAGS="${CFLAGS} -pthread"
25592 LIBS_save="${LIBS}"
25593 LIBS="${LIBS} -pthread"
25594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25595 /* end confdefs.h. */
25597 #include <pthread.h>
25603 pthread_create(NULL, NULL, NULL, NULL);
25609 if ac_fn_c_try_link "$LINENO"; then :
25614 rm -f core conftest.err conftest.$ac_objext \
25615 conftest$ac_exeext conftest.$ac_ext
25616 CFLAGS=${CFLAGS_save}
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
25619 $as_echo "${have_gl_pt}" >&6; }
25621 if test "x$have_gl_pt" = "xyes" ; then
25622 gl_pt_lib=" -pthread"
25625 if test "x${have_dep}" = "xyes" ; then
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
25627 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
25628 if test "${ac_cv_lib_X11_XCreateColormap+set}" = set; then :
25629 $as_echo_n "(cached) " >&6
25631 ac_check_lib_save_LIBS=$LIBS
25633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25634 /* end confdefs.h. */
25636 /* Override any GCC internal prototype to avoid an error.
25637 Use char because int might match the return type of a GCC
25638 builtin and then its argument prototype would still apply. */
25642 char XCreateColormap ();
25646 return XCreateColormap ();
25651 if ac_fn_c_try_link "$LINENO"; then :
25652 ac_cv_lib_X11_XCreateColormap=yes
25654 ac_cv_lib_X11_XCreateColormap=no
25656 rm -f core conftest.err conftest.$ac_objext \
25657 conftest$ac_exeext conftest.$ac_ext
25658 LIBS=$ac_check_lib_save_LIBS
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
25661 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
25662 if test "x$ac_cv_lib_X11_XCreateColormap" = x""yes; then :
25670 if test "x${have_dep}" = "xyes" ; then
25671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
25672 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
25673 if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
25674 $as_echo_n "(cached) " >&6
25676 ac_check_lib_save_LIBS=$LIBS
25677 LIBS="-lXrender $LIBS"
25678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25679 /* end confdefs.h. */
25681 /* Override any GCC internal prototype to avoid an error.
25682 Use char because int might match the return type of a GCC
25683 builtin and then its argument prototype would still apply. */
25687 char XRenderCreatePicture ();
25691 return XRenderCreatePicture ();
25696 if ac_fn_c_try_link "$LINENO"; then :
25697 ac_cv_lib_Xrender_XRenderCreatePicture=yes
25699 ac_cv_lib_Xrender_XRenderCreatePicture=no
25701 rm -f core conftest.err conftest.$ac_objext \
25702 conftest$ac_exeext conftest.$ac_ext
25703 LIBS=$ac_check_lib_save_LIBS
25705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
25706 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
25707 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
25715 if test "x${have_dep}" = "xyes" ; then
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
25717 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
25718 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then :
25719 $as_echo_n "(cached) " >&6
25721 ac_check_lib_save_LIBS=$LIBS
25722 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
25723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25724 /* end confdefs.h. */
25726 /* Override any GCC internal prototype to avoid an error.
25727 Use char because int might match the return type of a GCC
25728 builtin and then its argument prototype would still apply. */
25732 char glXCreateContext ();
25736 return glXCreateContext ();
25741 if ac_fn_c_try_link "$LINENO"; then :
25742 ac_cv_lib_GL_glXCreateContext=yes
25744 ac_cv_lib_GL_glXCreateContext=no
25746 rm -f core conftest.err conftest.$ac_objext \
25747 conftest$ac_exeext conftest.$ac_ext
25748 LIBS=$ac_check_lib_save_LIBS
25750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
25751 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
25752 if test "x$ac_cv_lib_GL_glXCreateContext" = x""yes; then :
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
25763 $as_echo_n "checking for XCB_GL... " >&6; }
25765 if test -n "$XCB_GL_CFLAGS"; then
25766 pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
25767 elif test -n "$PKG_CONFIG"; then
25768 if test -n "$PKG_CONFIG" && \
25769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25770 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25773 test $ac_status = 0; }; then
25774 pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
25781 if test -n "$XCB_GL_LIBS"; then
25782 pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
25783 elif test -n "$PKG_CONFIG"; then
25784 if test -n "$PKG_CONFIG" && \
25785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25786 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25789 test $ac_status = 0; }; then
25790 pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
25800 if test $pkg_failed = yes; then
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25802 $as_echo "no" >&6; }
25804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25805 _pkg_short_errors_supported=yes
25807 _pkg_short_errors_supported=no
25809 if test $_pkg_short_errors_supported = yes; then
25810 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25812 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25814 # Put the nasty error message in config.log where it belongs
25815 echo "$XCB_GL_PKG_ERRORS" >&5
25821 elif test $pkg_failed = untried; then
25822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25823 $as_echo "no" >&6; }
25829 XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
25830 XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25832 $as_echo "yes" >&6; }
25835 requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
25836 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
25837 evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
25841 if test "x$gl_flavor_gles" = "xyes" ; then
25845 if test "x${have_dep}" = "xyes" ; then
25848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
25849 $as_echo_n "checking for GL_EET... " >&6; }
25851 if test -n "$GL_EET_CFLAGS"; then
25852 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
25853 elif test -n "$PKG_CONFIG"; then
25854 if test -n "$PKG_CONFIG" && \
25855 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
25856 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
25858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25859 test $ac_status = 0; }; then
25860 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
25867 if test -n "$GL_EET_LIBS"; then
25868 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
25869 elif test -n "$PKG_CONFIG"; then
25870 if test -n "$PKG_CONFIG" && \
25871 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
25872 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
25874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25875 test $ac_status = 0; }; then
25876 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
25886 if test $pkg_failed = yes; then
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25888 $as_echo "no" >&6; }
25890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25891 _pkg_short_errors_supported=yes
25893 _pkg_short_errors_supported=no
25895 if test $_pkg_short_errors_supported = yes; then
25896 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
25898 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
25900 # Put the nasty error message in config.log where it belongs
25901 echo "$GL_EET_PKG_ERRORS" >&5
25904 elif test $pkg_failed = untried; then
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25906 $as_echo "no" >&6; }
25909 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
25910 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
25911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25912 $as_echo "yes" >&6; }
25915 if test "x${have_dep}" = "xyes" ; then
25916 if test "xno" = "xyes" ; then
25917 x_libs="${x_libs} -lX11 -lXext -lXrender"
25919 x_dir=${x_dir:-/usr/X11R6}
25920 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25921 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
25923 evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
25924 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
25925 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
25928 if test "xno" = "xyes" ; then
25929 x_libs="${x_libs} -lX11 -lXext -lXrender"
25931 x_dir=${x_dir:-/usr/X11R6}
25932 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25933 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
25935 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
25936 #include <GLES2/gl2.h>
25937 #include <GLES2/gl2ext.h>
25938 #include <EGL/egl.h>
25941 if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
25948 if test "x${have_egl}" = "xyes" ; then
25949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
25950 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
25951 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
25952 $as_echo_n "(cached) " >&6
25954 ac_check_lib_save_LIBS=$LIBS
25955 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
25956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25957 /* end confdefs.h. */
25959 /* Override any GCC internal prototype to avoid an error.
25960 Use char because int might match the return type of a GCC
25961 builtin and then its argument prototype would still apply. */
25965 char glTexImage2D ();
25969 return glTexImage2D ();
25974 if ac_fn_c_try_link "$LINENO"; then :
25975 ac_cv_lib_GLESv2_glTexImage2D=yes
25977 ac_cv_lib_GLESv2_glTexImage2D=no
25979 rm -f core conftest.err conftest.$ac_objext \
25980 conftest$ac_exeext conftest.$ac_ext
25981 LIBS=$ac_check_lib_save_LIBS
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
25984 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
25985 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
25989 if test "x${have_glesv2}" = "xyes" ; then
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
25993 $as_echo_n "checking for GL_EET... " >&6; }
25995 if test -n "$GL_EET_CFLAGS"; then
25996 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
25997 elif test -n "$PKG_CONFIG"; then
25998 if test -n "$PKG_CONFIG" && \
25999 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26000 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26003 test $ac_status = 0; }; then
26004 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26011 if test -n "$GL_EET_LIBS"; then
26012 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26013 elif test -n "$PKG_CONFIG"; then
26014 if test -n "$PKG_CONFIG" && \
26015 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26016 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26019 test $ac_status = 0; }; then
26020 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26030 if test $pkg_failed = yes; then
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26032 $as_echo "no" >&6; }
26034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26035 _pkg_short_errors_supported=yes
26037 _pkg_short_errors_supported=no
26039 if test $_pkg_short_errors_supported = yes; then
26040 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
26042 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
26044 # Put the nasty error message in config.log where it belongs
26045 echo "$GL_EET_PKG_ERRORS" >&5
26048 elif test $pkg_failed = untried; then
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26050 $as_echo "no" >&6; }
26053 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26054 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26056 $as_echo "yes" >&6; }
26059 if test "x${have_dep}" = "xyes" ; then
26060 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26061 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26062 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26065 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26067 gles_variety_sgx="yes"
26076 if test "x${have_dep}" = "xyes" ; then
26085 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26086 as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26090 $as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26092 $as_echo "${have_engine}" >&6; }
26094 if test "x${have_engine}" = "xyes" ; then
26095 if test "x${want_engine}" = "xstatic" ; then
26096 have_evas_engine_gl_xcb="static"
26097 want_static_engine="yes"
26099 have_evas_engine_gl_xcb="yes"
26103 if test "x${have_engine}" = "xyes" ; then
26105 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26109 if test "x${have_engine}" = "xyes"; then
26110 BUILD_ENGINE_GL_XCB_TRUE=
26111 BUILD_ENGINE_GL_XCB_FALSE='#'
26113 BUILD_ENGINE_GL_XCB_TRUE='#'
26114 BUILD_ENGINE_GL_XCB_FALSE=
26118 if test "x${want_static_engine}" = "xyes" ; then
26120 $as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26122 have_static_module="yes"
26125 if test "x${want_static_engine}" = "xyes"; then
26126 EVAS_STATIC_BUILD_GL_XCB_TRUE=
26127 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26129 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26130 EVAS_STATIC_BUILD_GL_XCB_FALSE=
26138 if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26140 have_evas_engine_gl_x11="yes"
26142 $as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26145 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26147 if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26149 $as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26156 $as_echo "no" >&6; }
26160 ## If we are not building XCB, then we can build XLib ##
26162 if test "x$build_gl_xcb" = "xno" ; then
26166 want_engine="${want_evas_engine_gl_xlib}"
26167 want_static_engine="no"
26169 have_evas_engine_gl_xlib="no"
26171 # Check whether --enable-gl-xlib was given.
26172 if test "${enable_gl_xlib+set}" = set; then :
26173 enableval=$enable_gl_xlib;
26174 if test "x${enableval}" = "xyes" ; then
26177 if test "x${enableval}" = "xstatic" ; then
26178 want_engine="static"
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
26188 $as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
26189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
26190 $as_echo "${want_engine}" >&6; }
26192 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
26195 evas_engine_gl_xlib_cflags=""
26196 evas_engine_gl_xlib_libs=""
26198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26199 $as_echo_n "checking for X... " >&6; }
26202 # Check whether --with-x was given.
26203 if test "${with_x+set}" = set; then :
26207 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26208 if test "x$with_x" = xno; then
26209 # The user explicitly disabled X.
26212 case $x_includes,$x_libraries in #(
26213 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
26214 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
26215 $as_echo_n "(cached) " >&6
26217 # One or both of the vars are not set, and there is no cached value.
26218 ac_x_includes=no ac_x_libraries=no
26219 rm -f -r conftest.dir
26220 if mkdir conftest.dir; then
26222 cat >Imakefile <<'_ACEOF'
26224 @echo incroot='${INCROOT}'
26226 @echo usrlibdir='${USRLIBDIR}'
26228 @echo libdir='${LIBDIR}'
26230 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26231 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26232 for ac_var in incroot usrlibdir libdir; do
26233 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
26235 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26236 for ac_extension in a so sl dylib la dll; do
26237 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
26238 test -f "$ac_im_libdir/libX11.$ac_extension"; then
26239 ac_im_usrlibdir=$ac_im_libdir; break
26242 # Screen out bogus values from the imake configuration. They are
26243 # bogus both because they are the default anyway, and because
26244 # using them would break gcc on systems where it needs fixed includes.
26245 case $ac_im_incroot in
26246 /usr/include) ac_x_includes= ;;
26247 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26249 case $ac_im_usrlibdir in
26250 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
26251 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26255 rm -f -r conftest.dir
26258 # Standard set of common directories for X headers.
26259 # Check X11 before X11Rn because it is often a symlink to the current release.
26273 /usr/local/X11/include
26274 /usr/local/X11R7/include
26275 /usr/local/X11R6/include
26276 /usr/local/X11R5/include
26277 /usr/local/X11R4/include
26279 /usr/local/include/X11
26280 /usr/local/include/X11R7
26281 /usr/local/include/X11R6
26282 /usr/local/include/X11R5
26283 /usr/local/include/X11R4
26287 /usr/XFree86/include/X11
26291 /usr/unsupported/include
26292 /usr/athena/include
26293 /usr/local/x11r5/include
26294 /usr/lpp/Xamples/include
26296 /usr/openwin/include
26297 /usr/openwin/share/include'
26299 if test "$ac_x_includes" = no; then
26300 # Guess where to find include files, by looking for Xlib.h.
26301 # First, try using that file with no special directory specified.
26302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h. */
26304 #include <X11/Xlib.h>
26306 if ac_fn_c_try_cpp "$LINENO"; then :
26307 # We can compile using X headers with no special include directory.
26310 for ac_dir in $ac_x_header_dirs; do
26311 if test -r "$ac_dir/X11/Xlib.h"; then
26312 ac_x_includes=$ac_dir
26317 rm -f conftest.err conftest.i conftest.$ac_ext
26318 fi # $ac_x_includes = no
26320 if test "$ac_x_libraries" = no; then
26321 # Check for the libraries.
26322 # See if we find them without any special options.
26323 # Don't add to $LIBS permanently.
26326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26327 /* end confdefs.h. */
26328 #include <X11/Xlib.h>
26337 if ac_fn_c_try_link "$LINENO"; then :
26339 # We can link X programs with no special library path.
26343 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26345 # Don't even attempt the hair of trying to link an X program!
26346 for ac_extension in a so sl dylib la dll; do
26347 if test -r "$ac_dir/libX11.$ac_extension"; then
26348 ac_x_libraries=$ac_dir
26354 rm -f core conftest.err conftest.$ac_objext \
26355 conftest$ac_exeext conftest.$ac_ext
26356 fi # $ac_x_libraries = no
26358 case $ac_x_includes,$ac_x_libraries in #(
26359 no,* | *,no | *\'*)
26360 # Didn't find X, or a directory has "'" in its name.
26361 ac_cv_have_x="have_x=no";; #(
26363 # Record where we found X for the cache.
26364 ac_cv_have_x="have_x=yes\
26365 ac_x_includes='$ac_x_includes'\
26366 ac_x_libraries='$ac_x_libraries'"
26372 eval "$ac_cv_have_x"
26375 if test "$have_x" != yes; then
26376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
26377 $as_echo "$have_x" >&6; }
26380 # If each of the values was on the command line, it overrides each guess.
26381 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26382 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26383 # Update the cache value to reflect the command line values.
26384 ac_cv_have_x="have_x=yes\
26385 ac_x_includes='$x_includes'\
26386 ac_x_libraries='$x_libraries'"
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
26388 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
26391 if test "$no_x" = yes; then
26392 # Not all programs may use this symbol, but it does not hurt to define it.
26394 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
26396 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26398 if test -n "$x_includes"; then
26399 X_CFLAGS="$X_CFLAGS -I$x_includes"
26402 # It would also be nice to do this for all -L options, not just this one.
26403 if test -n "$x_libraries"; then
26404 X_LIBS="$X_LIBS -L$x_libraries"
26405 # For Solaris; some versions of Sun CC require a space after -R and
26406 # others require no space. Words are not sufficient . . . .
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
26408 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
26409 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26410 ac_xsave_c_werror_flag=$ac_c_werror_flag
26411 ac_c_werror_flag=yes
26412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26413 /* end confdefs.h. */
26423 if ac_fn_c_try_link "$LINENO"; then :
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26425 $as_echo "no" >&6; }
26426 X_LIBS="$X_LIBS -R$x_libraries"
26428 LIBS="$ac_xsave_LIBS -R $x_libraries"
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26440 if ac_fn_c_try_link "$LINENO"; then :
26441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26442 $as_echo "yes" >&6; }
26443 X_LIBS="$X_LIBS -R $x_libraries"
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
26446 $as_echo "neither works" >&6; }
26448 rm -f core conftest.err conftest.$ac_objext \
26449 conftest$ac_exeext conftest.$ac_ext
26451 rm -f core conftest.err conftest.$ac_objext \
26452 conftest$ac_exeext conftest.$ac_ext
26453 ac_c_werror_flag=$ac_xsave_c_werror_flag
26454 LIBS=$ac_xsave_LIBS
26457 # Check for system-dependent libraries X programs must link with.
26458 # Do this before checking for the system-independent R6 libraries
26459 # (-lICE), since we may need -lsocket or whatever for X linking.
26461 if test "$ISC" = yes; then
26462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26464 # Martyn Johnson says this is needed for Ultrix, if the X
26465 # libraries were built with DECnet support. And Karl Berry says
26466 # the Alpha needs dnet_stub (dnet does not exist).
26467 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26469 /* end confdefs.h. */
26471 /* Override any GCC internal prototype to avoid an error.
26472 Use char because int might match the return type of a GCC
26473 builtin and then its argument prototype would still apply. */
26477 char XOpenDisplay ();
26481 return XOpenDisplay ();
26486 if ac_fn_c_try_link "$LINENO"; then :
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
26490 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
26491 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
26492 $as_echo_n "(cached) " >&6
26494 ac_check_lib_save_LIBS=$LIBS
26495 LIBS="-ldnet $LIBS"
26496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26497 /* end confdefs.h. */
26499 /* Override any GCC internal prototype to avoid an error.
26500 Use char because int might match the return type of a GCC
26501 builtin and then its argument prototype would still apply. */
26509 return dnet_ntoa ();
26514 if ac_fn_c_try_link "$LINENO"; then :
26515 ac_cv_lib_dnet_dnet_ntoa=yes
26517 ac_cv_lib_dnet_dnet_ntoa=no
26519 rm -f core conftest.err conftest.$ac_objext \
26520 conftest$ac_exeext conftest.$ac_ext
26521 LIBS=$ac_check_lib_save_LIBS
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26524 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
26525 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
26526 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26529 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
26531 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
26532 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
26533 $as_echo_n "(cached) " >&6
26535 ac_check_lib_save_LIBS=$LIBS
26536 LIBS="-ldnet_stub $LIBS"
26537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26538 /* end confdefs.h. */
26540 /* Override any GCC internal prototype to avoid an error.
26541 Use char because int might match the return type of a GCC
26542 builtin and then its argument prototype would still apply. */
26550 return dnet_ntoa ();
26555 if ac_fn_c_try_link "$LINENO"; then :
26556 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26558 ac_cv_lib_dnet_stub_dnet_ntoa=no
26560 rm -f core conftest.err conftest.$ac_objext \
26561 conftest$ac_exeext conftest.$ac_ext
26562 LIBS=$ac_check_lib_save_LIBS
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26565 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26566 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
26567 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26572 rm -f core conftest.err conftest.$ac_objext \
26573 conftest$ac_exeext conftest.$ac_ext
26574 LIBS="$ac_xsave_LIBS"
26576 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26577 # to get the SysV transport functions.
26578 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26580 # The nsl library prevents programs from opening the X display
26581 # on Irix 5.2, according to T.E. Dickey.
26582 # The functions gethostbyname, getservbyname, and inet_addr are
26583 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26584 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
26585 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
26589 if test $ac_cv_func_gethostbyname = no; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
26591 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26592 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
26593 $as_echo_n "(cached) " >&6
26595 ac_check_lib_save_LIBS=$LIBS
26597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26598 /* end confdefs.h. */
26600 /* Override any GCC internal prototype to avoid an error.
26601 Use char because int might match the return type of a GCC
26602 builtin and then its argument prototype would still apply. */
26606 char gethostbyname ();
26610 return gethostbyname ();
26615 if ac_fn_c_try_link "$LINENO"; then :
26616 ac_cv_lib_nsl_gethostbyname=yes
26618 ac_cv_lib_nsl_gethostbyname=no
26620 rm -f core conftest.err conftest.$ac_objext \
26621 conftest$ac_exeext conftest.$ac_ext
26622 LIBS=$ac_check_lib_save_LIBS
26624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26625 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26626 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
26627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26630 if test $ac_cv_lib_nsl_gethostbyname = no; then
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26632 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26633 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
26634 $as_echo_n "(cached) " >&6
26636 ac_check_lib_save_LIBS=$LIBS
26638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26639 /* end confdefs.h. */
26641 /* Override any GCC internal prototype to avoid an error.
26642 Use char because int might match the return type of a GCC
26643 builtin and then its argument prototype would still apply. */
26647 char gethostbyname ();
26651 return gethostbyname ();
26656 if ac_fn_c_try_link "$LINENO"; then :
26657 ac_cv_lib_bsd_gethostbyname=yes
26659 ac_cv_lib_bsd_gethostbyname=no
26661 rm -f core conftest.err conftest.$ac_objext \
26662 conftest$ac_exeext conftest.$ac_ext
26663 LIBS=$ac_check_lib_save_LIBS
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26666 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26667 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
26668 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26674 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26675 # socket/setsockopt and other routines are undefined under SCO ODT
26676 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26677 # on later versions), says Simon Leinen: it contains gethostby*
26678 # variants that don't use the name server (or something). -lsocket
26679 # must be given before -lnsl if both are needed. We assume that
26680 # if connect needs -lnsl, so does gethostbyname.
26681 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26682 if test "x$ac_cv_func_connect" = x""yes; then :
26686 if test $ac_cv_func_connect = no; then
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26688 $as_echo_n "checking for connect in -lsocket... " >&6; }
26689 if test "${ac_cv_lib_socket_connect+set}" = set; then :
26690 $as_echo_n "(cached) " >&6
26692 ac_check_lib_save_LIBS=$LIBS
26693 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26695 /* end confdefs.h. */
26697 /* Override any GCC internal prototype to avoid an error.
26698 Use char because int might match the return type of a GCC
26699 builtin and then its argument prototype would still apply. */
26712 if ac_fn_c_try_link "$LINENO"; then :
26713 ac_cv_lib_socket_connect=yes
26715 ac_cv_lib_socket_connect=no
26717 rm -f core conftest.err conftest.$ac_objext \
26718 conftest$ac_exeext conftest.$ac_ext
26719 LIBS=$ac_check_lib_save_LIBS
26721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26722 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26723 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
26724 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26729 # Guillermo Gomez says -lposix is necessary on A/UX.
26730 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26731 if test "x$ac_cv_func_remove" = x""yes; then :
26735 if test $ac_cv_func_remove = no; then
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26737 $as_echo_n "checking for remove in -lposix... " >&6; }
26738 if test "${ac_cv_lib_posix_remove+set}" = set; then :
26739 $as_echo_n "(cached) " >&6
26741 ac_check_lib_save_LIBS=$LIBS
26742 LIBS="-lposix $LIBS"
26743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26744 /* end confdefs.h. */
26746 /* Override any GCC internal prototype to avoid an error.
26747 Use char because int might match the return type of a GCC
26748 builtin and then its argument prototype would still apply. */
26761 if ac_fn_c_try_link "$LINENO"; then :
26762 ac_cv_lib_posix_remove=yes
26764 ac_cv_lib_posix_remove=no
26766 rm -f core conftest.err conftest.$ac_objext \
26767 conftest$ac_exeext conftest.$ac_ext
26768 LIBS=$ac_check_lib_save_LIBS
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26771 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26772 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
26773 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26778 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26779 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26780 if test "x$ac_cv_func_shmat" = x""yes; then :
26784 if test $ac_cv_func_shmat = no; then
26785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26786 $as_echo_n "checking for shmat in -lipc... " >&6; }
26787 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
26788 $as_echo_n "(cached) " >&6
26790 ac_check_lib_save_LIBS=$LIBS
26792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26793 /* end confdefs.h. */
26795 /* Override any GCC internal prototype to avoid an error.
26796 Use char because int might match the return type of a GCC
26797 builtin and then its argument prototype would still apply. */
26810 if ac_fn_c_try_link "$LINENO"; then :
26811 ac_cv_lib_ipc_shmat=yes
26813 ac_cv_lib_ipc_shmat=no
26815 rm -f core conftest.err conftest.$ac_objext \
26816 conftest$ac_exeext conftest.$ac_ext
26817 LIBS=$ac_check_lib_save_LIBS
26819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26820 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26821 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
26822 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26828 # Check for libraries that X11R6 Xt/Xaw programs need.
26829 ac_save_LDFLAGS=$LDFLAGS
26830 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26831 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26832 # check for ICE first), but we must link in the order -lSM -lICE or
26833 # we get undefined symbols. So assume we have SM if we have ICE.
26834 # These have to be linked with before -lX11, unlike the other
26835 # libraries we check for below, so use a different variable.
26836 # John Interrante, Karl Berry
26837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26838 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26839 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
26840 $as_echo_n "(cached) " >&6
26842 ac_check_lib_save_LIBS=$LIBS
26843 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26845 /* end confdefs.h. */
26847 /* Override any GCC internal prototype to avoid an error.
26848 Use char because int might match the return type of a GCC
26849 builtin and then its argument prototype would still apply. */
26853 char IceConnectionNumber ();
26857 return IceConnectionNumber ();
26862 if ac_fn_c_try_link "$LINENO"; then :
26863 ac_cv_lib_ICE_IceConnectionNumber=yes
26865 ac_cv_lib_ICE_IceConnectionNumber=no
26867 rm -f core conftest.err conftest.$ac_objext \
26868 conftest$ac_exeext conftest.$ac_ext
26869 LIBS=$ac_check_lib_save_LIBS
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26872 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26873 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
26874 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26877 LDFLAGS=$ac_save_LDFLAGS
26882 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26884 #include <GL/glext.h>
26885 #include <GL/glx.h>
26886 #include <X11/Xlib.h>
26887 #include <X11/Xatom.h>
26888 #include <X11/Xutil.h>
26889 #include <X11/extensions/Xrender.h>
26890 #include <X11/Xresource.h>
26893 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26905 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
26906 CFLAGS_save="${CFLAGS}"
26907 CFLAGS="${CFLAGS} -pthread"
26908 LIBS_save="${LIBS}"
26909 LIBS="${LIBS} -pthread"
26910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26911 /* end confdefs.h. */
26913 #include <pthread.h>
26919 pthread_create(NULL, NULL, NULL, NULL);
26925 if ac_fn_c_try_link "$LINENO"; then :
26930 rm -f core conftest.err conftest.$ac_objext \
26931 conftest$ac_exeext conftest.$ac_ext
26932 CFLAGS=${CFLAGS_save}
26934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26935 $as_echo "${have_gl_pt}" >&6; }
26937 if test "x$have_gl_pt" = "xyes" ; then
26938 gl_pt_lib=" -pthread"
26941 if test "x${have_dep}" = "xyes" ; then
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26943 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26944 if test "${ac_cv_lib_X11_XCreateColormap+set}" = set; then :
26945 $as_echo_n "(cached) " >&6
26947 ac_check_lib_save_LIBS=$LIBS
26949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26950 /* end confdefs.h. */
26952 /* Override any GCC internal prototype to avoid an error.
26953 Use char because int might match the return type of a GCC
26954 builtin and then its argument prototype would still apply. */
26958 char XCreateColormap ();
26962 return XCreateColormap ();
26967 if ac_fn_c_try_link "$LINENO"; then :
26968 ac_cv_lib_X11_XCreateColormap=yes
26970 ac_cv_lib_X11_XCreateColormap=no
26972 rm -f core conftest.err conftest.$ac_objext \
26973 conftest$ac_exeext conftest.$ac_ext
26974 LIBS=$ac_check_lib_save_LIBS
26976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26977 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26978 if test "x$ac_cv_lib_X11_XCreateColormap" = x""yes; then :
26986 if test "x${have_dep}" = "xyes" ; then
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26988 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26989 if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
26990 $as_echo_n "(cached) " >&6
26992 ac_check_lib_save_LIBS=$LIBS
26993 LIBS="-lXrender $LIBS"
26994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26995 /* end confdefs.h. */
26997 /* Override any GCC internal prototype to avoid an error.
26998 Use char because int might match the return type of a GCC
26999 builtin and then its argument prototype would still apply. */
27003 char XRenderCreatePicture ();
27007 return XRenderCreatePicture ();
27012 if ac_fn_c_try_link "$LINENO"; then :
27013 ac_cv_lib_Xrender_XRenderCreatePicture=yes
27015 ac_cv_lib_Xrender_XRenderCreatePicture=no
27017 rm -f core conftest.err conftest.$ac_objext \
27018 conftest$ac_exeext conftest.$ac_ext
27019 LIBS=$ac_check_lib_save_LIBS
27021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
27022 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
27023 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
27031 if test "x${have_dep}" = "xyes" ; then
27032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
27033 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
27034 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then :
27035 $as_echo_n "(cached) " >&6
27037 ac_check_lib_save_LIBS=$LIBS
27038 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
27039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27040 /* end confdefs.h. */
27042 /* Override any GCC internal prototype to avoid an error.
27043 Use char because int might match the return type of a GCC
27044 builtin and then its argument prototype would still apply. */
27048 char glXCreateContext ();
27052 return glXCreateContext ();
27057 if ac_fn_c_try_link "$LINENO"; then :
27058 ac_cv_lib_GL_glXCreateContext=yes
27060 ac_cv_lib_GL_glXCreateContext=no
27062 rm -f core conftest.err conftest.$ac_objext \
27063 conftest$ac_exeext conftest.$ac_ext
27064 LIBS=$ac_check_lib_save_LIBS
27066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27067 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27068 if test "x$ac_cv_lib_GL_glXCreateContext" = x""yes; then :
27076 if test "x$gl_flavor_gles" = "xyes" ; then
27080 if test "x${have_dep}" = "xyes" ; then
27083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27084 $as_echo_n "checking for GL_EET... " >&6; }
27086 if test -n "$GL_EET_CFLAGS"; then
27087 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27088 elif test -n "$PKG_CONFIG"; then
27089 if test -n "$PKG_CONFIG" && \
27090 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27091 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27094 test $ac_status = 0; }; then
27095 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27102 if test -n "$GL_EET_LIBS"; then
27103 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27104 elif test -n "$PKG_CONFIG"; then
27105 if test -n "$PKG_CONFIG" && \
27106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27107 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27110 test $ac_status = 0; }; then
27111 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27121 if test $pkg_failed = yes; then
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27123 $as_echo "no" >&6; }
27125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27126 _pkg_short_errors_supported=yes
27128 _pkg_short_errors_supported=no
27130 if test $_pkg_short_errors_supported = yes; then
27131 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
27133 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
27135 # Put the nasty error message in config.log where it belongs
27136 echo "$GL_EET_PKG_ERRORS" >&5
27139 elif test $pkg_failed = untried; then
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27141 $as_echo "no" >&6; }
27144 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27145 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27147 $as_echo "yes" >&6; }
27150 if test "x${have_dep}" = "xyes" ; then
27151 if test "xno" = "xyes" ; then
27152 x_libs="${x_libs} -lX11 -lXext -lXrender"
27154 x_dir=${x_dir:-/usr/X11R6}
27155 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27156 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27158 evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27159 evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27160 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27163 if test "xno" = "xyes" ; then
27164 x_libs="${x_libs} -lX11 -lXext -lXrender"
27166 x_dir=${x_dir:-/usr/X11R6}
27167 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27168 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27170 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27171 #include <GLES2/gl2.h>
27172 #include <GLES2/gl2ext.h>
27173 #include <EGL/egl.h>
27174 #include <X11/Xlib.h>
27175 #include <X11/Xatom.h>
27176 #include <X11/Xutil.h>
27177 #include <X11/extensions/Xrender.h>
27178 #include <X11/Xresource.h>
27181 if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
27188 if test "x${have_egl}" = "xyes" ; then
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
27190 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
27191 if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
27192 $as_echo_n "(cached) " >&6
27194 ac_check_lib_save_LIBS=$LIBS
27195 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
27196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27197 /* end confdefs.h. */
27199 /* Override any GCC internal prototype to avoid an error.
27200 Use char because int might match the return type of a GCC
27201 builtin and then its argument prototype would still apply. */
27205 char glTexImage2D ();
27209 return glTexImage2D ();
27214 if ac_fn_c_try_link "$LINENO"; then :
27215 ac_cv_lib_GLESv2_glTexImage2D=yes
27217 ac_cv_lib_GLESv2_glTexImage2D=no
27219 rm -f core conftest.err conftest.$ac_objext \
27220 conftest$ac_exeext conftest.$ac_ext
27221 LIBS=$ac_check_lib_save_LIBS
27223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
27224 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
27225 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
27229 if test "x${have_glesv2}" = "xyes" ; then
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27233 $as_echo_n "checking for GL_EET... " >&6; }
27235 if test -n "$GL_EET_CFLAGS"; then
27236 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27237 elif test -n "$PKG_CONFIG"; then
27238 if test -n "$PKG_CONFIG" && \
27239 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27240 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27243 test $ac_status = 0; }; then
27244 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27251 if test -n "$GL_EET_LIBS"; then
27252 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27253 elif test -n "$PKG_CONFIG"; then
27254 if test -n "$PKG_CONFIG" && \
27255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27256 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27259 test $ac_status = 0; }; then
27260 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27270 if test $pkg_failed = yes; then
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27272 $as_echo "no" >&6; }
27274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27275 _pkg_short_errors_supported=yes
27277 _pkg_short_errors_supported=no
27279 if test $_pkg_short_errors_supported = yes; then
27280 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
27282 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
27284 # Put the nasty error message in config.log where it belongs
27285 echo "$GL_EET_PKG_ERRORS" >&5
27288 elif test $pkg_failed = untried; then
27289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27290 $as_echo "no" >&6; }
27293 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27294 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27296 $as_echo "yes" >&6; }
27299 if test "x${have_dep}" = "xyes" ; then
27300 evas_engine_gl_xlib_cflags="${x_cflags}"
27301 evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
27302 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
27305 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
27307 gles_variety_sgx="yes"
27317 if test "x${have_dep}" = "xyes" ; then
27326 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27327 as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
27331 $as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
27333 $as_echo "${have_engine}" >&6; }
27335 if test "x${have_engine}" = "xyes" ; then
27336 if test "x${want_engine}" = "xstatic" ; then
27337 have_evas_engine_gl_xlib="static"
27338 want_static_engine="yes"
27340 have_evas_engine_gl_xlib="yes"
27344 if test "x${have_engine}" = "xyes" ; then
27346 $as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
27350 if test "x${have_engine}" = "xyes"; then
27351 BUILD_ENGINE_GL_XLIB_TRUE=
27352 BUILD_ENGINE_GL_XLIB_FALSE='#'
27354 BUILD_ENGINE_GL_XLIB_TRUE='#'
27355 BUILD_ENGINE_GL_XLIB_FALSE=
27359 if test "x${want_static_engine}" = "xyes" ; then
27361 $as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
27363 have_static_module="yes"
27366 if test "x${want_static_engine}" = "xyes"; then
27367 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
27368 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
27370 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
27371 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
27379 if test "x$have_evas_engine_gl_xlib" != "xno" ; then
27380 have_evas_engine_gl_x11="yes"
27382 cat >>confdefs.h <<_ACEOF
27383 #define BUILD_ENGINE_GL_X11 1
27387 cat >>confdefs.h <<_ACEOF
27388 #define BUILD_ENGINE_GL_XLIB 1
27391 if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
27393 cat >>confdefs.h <<_ACEOF
27394 #define EVAS_STATIC_BUILD_GL_X11 1
27400 have_evas_engine_gl_xlib="no"
27404 if test "x${have_evas_engine_gl_xlib}" != "xno"; then
27405 BUILD_ENGINE_GL_XLIB_TRUE=
27406 BUILD_ENGINE_GL_XLIB_FALSE='#'
27408 BUILD_ENGINE_GL_XLIB_TRUE='#'
27409 BUILD_ENGINE_GL_XLIB_FALSE=
27412 if test "x${have_evas_engine_gl_xcb}" != "xno"; then
27413 BUILD_ENGINE_GL_XCB_TRUE=
27414 BUILD_ENGINE_GL_XCB_FALSE='#'
27416 BUILD_ENGINE_GL_XCB_TRUE='#'
27417 BUILD_ENGINE_GL_XCB_FALSE=
27420 if test "x${have_evas_engine_gl_x11}" != "xno"; then
27421 BUILD_ENGINE_GL_X11_TRUE=
27422 BUILD_ENGINE_GL_X11_FALSE='#'
27424 BUILD_ENGINE_GL_X11_TRUE='#'
27425 BUILD_ENGINE_GL_X11_FALSE=
27429 if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
27430 EVAS_STATIC_BUILD_GL_X11_TRUE=
27431 EVAS_STATIC_BUILD_GL_X11_FALSE='#'
27433 EVAS_STATIC_BUILD_GL_X11_TRUE='#'
27434 EVAS_STATIC_BUILD_GL_X11_FALSE=
27437 if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
27438 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
27439 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
27441 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
27442 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
27445 if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
27446 EVAS_STATIC_BUILD_GL_XCB_TRUE=
27447 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
27449 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
27450 EVAS_STATIC_BUILD_GL_XCB_FALSE=
27457 have_evas_engine_gl_common="no"
27458 have_static_evas_engine_gl_common="no"
27459 if test "x$have_evas_engine_gl_xlib" = "xyes" \
27460 || test "x$have_evas_engine_gl_xcb" = "xyes" \
27461 || test "x$have_evas_engine_gl_sdl" = "xyes" \
27462 || test "x$have_evas_engine_gl_cocoa" = "xyes" \
27463 || test "x$have_evas_engine_wayland_egl" = "xyes"; then
27464 have_evas_engine_gl_common="yes"
27466 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
27467 || test "x$have_evas_engine_gl_xcb" = "xstatic" \
27468 || test "x$have_evas_engine_gl_sdl" = "xstatic" \
27469 || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
27470 || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
27471 have_evas_engine_gl_common="yes"
27472 have_static_evas_engine_gl_common="yes"
27475 if test "x$have_evas_engine_gl_common" = "xyes"; then
27476 evas_engine_gl_common_libs=""
27478 $as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
27484 if test "x$have_evas_engine_gl_common" = "xyes"; then
27485 BUILD_ENGINE_GL_COMMON_TRUE=
27486 BUILD_ENGINE_GL_COMMON_FALSE='#'
27488 BUILD_ENGINE_GL_COMMON_TRUE='#'
27489 BUILD_ENGINE_GL_COMMON_FALSE=
27493 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
27494 EVAS_STATIC_BUILD_GL_COMMON_TRUE=
27495 EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
27497 EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
27498 EVAS_STATIC_BUILD_GL_COMMON_FALSE=
27501 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
27503 $as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
27508 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
27509 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>
27511 if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = x""yes; then :
27513 $as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
27519 if test "x$gl_flavor_gles" = "xyes"; then
27520 ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
27522 if test "x$ac_cv_have_decl_SDL_OPENGLES" = x""yes; then :
27524 $as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
27530 # if software 16 x11 is enabled - build software_16 (the generic 16bit
27531 # engine). later enable it fb_16 or other "16" bit engines are enabled.
27532 have_evas_engine_software_16="no"
27533 if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
27534 have_evas_engine_software_16="yes"
27536 if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
27537 have_evas_engine_software_16="yes"
27539 if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
27540 have_evas_engine_software_16="yes"
27542 if test "x$have_evas_engine_software_16" = "xyes"; then
27543 BUILD_ENGINE_SOFTWARE_16_TRUE=
27544 BUILD_ENGINE_SOFTWARE_16_FALSE='#'
27546 BUILD_ENGINE_SOFTWARE_16_TRUE='#'
27547 BUILD_ENGINE_SOFTWARE_16_FALSE=
27551 # if software 16 need to be build as part of libevas.so
27552 have_static_software_16="no"
27553 # Check whether --enable-static-software-16 was given.
27554 if test "${enable_static_software_16+set}" = set; then :
27555 enableval=$enable_static_software_16; have_static_software_16=${enableval}
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
27560 $as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
27562 $as_echo "${have_static_software_16}" >&6; }
27564 if test "x${have_static_software_16}" = "xyes"; then
27565 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
27566 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
27568 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
27569 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
27572 if test "x${have_static_software_16}" = "xyes"; then
27574 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
27578 # if software 8 x11 is enabled - build software_8 (the generic 8bit
27580 have_evas_engine_software_8="no"
27581 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
27582 have_evas_engine_software_8="yes"
27584 if test "x$have_evas_engine_software_8" = "xyes"; then
27585 BUILD_ENGINE_SOFTWARE_8_TRUE=
27586 BUILD_ENGINE_SOFTWARE_8_FALSE='#'
27588 BUILD_ENGINE_SOFTWARE_8_TRUE='#'
27589 BUILD_ENGINE_SOFTWARE_8_FALSE=
27593 # if software 8 need to be build as part of libevas.so
27594 have_static_software_8="no"
27595 # Check whether --enable-static-software-8 was given.
27596 if test "${enable_static_software_8+set}" = set; then :
27597 enableval=$enable_static_software_8; have_static_software_8=${enableval}
27601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
27602 $as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
27604 $as_echo "${have_static_software_8}" >&6; }
27606 if test "x${have_static_software_8}" = "xyes"; then
27607 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
27608 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
27610 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
27611 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
27614 if test "x${have_static_software_8}" = "xyes"; then
27616 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
27620 #####################################################################
27628 want_loader="${want_evas_image_loader_edb}"
27629 want_static_loader="no"
27631 have_evas_image_loader_edb="no"
27633 # Check whether --enable-image-loader-edb was given.
27634 if test "${enable_image_loader_edb+set}" = set; then :
27635 enableval=$enable_image_loader_edb;
27636 if test "x${enableval}" = "xyes" ; then
27639 if test "x${enableval}" = "xstatic" ; then
27640 want_loader="static"
27650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
27651 $as_echo_n "checking whether to enable Edb image loader... " >&6; }
27652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
27653 $as_echo "${want_loader}" >&6; }
27655 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
27660 evas_image_loader_edb_cflags=""
27661 evas_image_loader_edb_libs=""
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
27666 $as_echo_n "checking for EDB... " >&6; }
27668 if test -n "$EDB_CFLAGS"; then
27669 pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
27670 elif test -n "$PKG_CONFIG"; then
27671 if test -n "$PKG_CONFIG" && \
27672 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27673 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27676 test $ac_status = 0; }; then
27677 pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
27684 if test -n "$EDB_LIBS"; then
27685 pkg_cv_EDB_LIBS="$EDB_LIBS"
27686 elif test -n "$PKG_CONFIG"; then
27687 if test -n "$PKG_CONFIG" && \
27688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27689 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27692 test $ac_status = 0; }; then
27693 pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
27703 if test $pkg_failed = yes; then
27704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27705 $as_echo "no" >&6; }
27707 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27708 _pkg_short_errors_supported=yes
27710 _pkg_short_errors_supported=no
27712 if test $_pkg_short_errors_supported = yes; then
27713 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edb" 2>&1`
27715 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "edb" 2>&1`
27717 # Put the nasty error message in config.log where it belongs
27718 echo "$EDB_PKG_ERRORS" >&5
27721 elif test $pkg_failed = untried; then
27722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27723 $as_echo "no" >&6; }
27726 EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
27727 EDB_LIBS=$pkg_cv_EDB_LIBS
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27729 $as_echo "yes" >&6; }
27730 have_dep="yes" requirement="edb"
27732 evas_image_loader_edb_cflags="${EDB_CFLAGS}"
27733 evas_image_loader_edb_libs="${EDB_LIBS}"
27738 if test "x${want_loader}" = "xstatic" ; then
27739 requirement_evas="${requirement} ${requirement_evas}"
27742 if test "x${have_dep}" = "xyes" ; then
27751 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27752 as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
27756 $as_echo_n "checking whether Edb image loader will be built... " >&6; }
27757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
27758 $as_echo "${have_loader}" >&6; }
27760 if test "x${have_loader}" = "xyes" ; then
27761 if test "x${want_loader}" = "xstatic" ; then
27762 have_evas_image_loader_edb="static"
27763 want_static_loader="yes"
27765 have_evas_image_loader_edb="yes"
27769 if test "x${have_loader}" = "xyes" ; then
27771 $as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
27775 if test "x${have_loader}" = "xyes"; then
27776 BUILD_LOADER_EDB_TRUE=
27777 BUILD_LOADER_EDB_FALSE='#'
27779 BUILD_LOADER_EDB_TRUE='#'
27780 BUILD_LOADER_EDB_FALSE=
27784 if test "x${want_static_loader}" = "xyes" ; then
27786 $as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
27788 have_static_module="yes"
27791 if test "x${want_static_loader}" = "xyes"; then
27792 EVAS_STATIC_BUILD_EDB_TRUE=
27793 EVAS_STATIC_BUILD_EDB_FALSE='#'
27795 EVAS_STATIC_BUILD_EDB_TRUE='#'
27796 EVAS_STATIC_BUILD_EDB_FALSE=
27810 want_loader="${want_evas_image_loader_eet}"
27811 want_static_loader="no"
27813 have_evas_image_loader_eet="no"
27815 # Check whether --enable-image-loader-eet was given.
27816 if test "${enable_image_loader_eet+set}" = set; then :
27817 enableval=$enable_image_loader_eet;
27818 if test "x${enableval}" = "xyes" ; then
27821 if test "x${enableval}" = "xstatic" ; then
27822 want_loader="static"
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
27833 $as_echo_n "checking whether to enable Eet image loader... " >&6; }
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
27835 $as_echo "${want_loader}" >&6; }
27837 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
27842 evas_image_loader_eet_cflags=""
27843 evas_image_loader_eet_libs=""
27847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
27848 $as_echo_n "checking for EET... " >&6; }
27850 if test -n "$EET_CFLAGS"; then
27851 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
27852 elif test -n "$PKG_CONFIG"; then
27853 if test -n "$PKG_CONFIG" && \
27854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27855 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27858 test $ac_status = 0; }; then
27859 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27866 if test -n "$EET_LIBS"; then
27867 pkg_cv_EET_LIBS="$EET_LIBS"
27868 elif test -n "$PKG_CONFIG"; then
27869 if test -n "$PKG_CONFIG" && \
27870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27871 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27874 test $ac_status = 0; }; then
27875 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27885 if test $pkg_failed = yes; then
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27887 $as_echo "no" >&6; }
27889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27890 _pkg_short_errors_supported=yes
27892 _pkg_short_errors_supported=no
27894 if test $_pkg_short_errors_supported = yes; then
27895 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27897 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27899 # Put the nasty error message in config.log where it belongs
27900 echo "$EET_PKG_ERRORS" >&5
27903 elif test $pkg_failed = untried; then
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27905 $as_echo "no" >&6; }
27908 EET_CFLAGS=$pkg_cv_EET_CFLAGS
27909 EET_LIBS=$pkg_cv_EET_LIBS
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27911 $as_echo "yes" >&6; }
27912 have_dep="yes" requirement="eet >= 1.4.0"
27914 evas_image_loader_eet_cflags="${EET_CFLAGS}"
27915 evas_image_loader_eet_libs="${EET_LIBS}"
27920 if test "x${want_loader}" = "xstatic" ; then
27921 requirement_evas="${requirement} ${requirement_evas}"
27924 if test "x${have_dep}" = "xyes" ; then
27933 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27934 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
27938 $as_echo_n "checking whether Eet image loader will be built... " >&6; }
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
27940 $as_echo "${have_loader}" >&6; }
27942 if test "x${have_loader}" = "xyes" ; then
27943 if test "x${want_loader}" = "xstatic" ; then
27944 have_evas_image_loader_eet="static"
27945 want_static_loader="yes"
27947 have_evas_image_loader_eet="yes"
27951 if test "x${have_loader}" = "xyes" ; then
27953 $as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
27957 if test "x${have_loader}" = "xyes"; then
27958 BUILD_LOADER_EET_TRUE=
27959 BUILD_LOADER_EET_FALSE='#'
27961 BUILD_LOADER_EET_TRUE='#'
27962 BUILD_LOADER_EET_FALSE=
27966 if test "x${want_static_loader}" = "xyes" ; then
27968 $as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
27970 have_static_module="yes"
27973 if test "x${want_static_loader}" = "xyes"; then
27974 EVAS_STATIC_BUILD_EET_TRUE=
27975 EVAS_STATIC_BUILD_EET_FALSE='#'
27977 EVAS_STATIC_BUILD_EET_TRUE='#'
27978 EVAS_STATIC_BUILD_EET_FALSE=
27989 want_loader="${want_evas_font_loader_eet}"
27990 have_evas_font_loader_eet="no"
27992 # Check whether --enable-font-loader-eet was given.
27993 if test "${enable_font_loader_eet+set}" = set; then :
27994 enableval=$enable_font_loader_eet; want_loader=${enableval}
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
28000 $as_echo_n "checking whether to enable Eet font loader... " >&6; }
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28002 $as_echo "${want_loader}" >&6; }
28004 if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28008 $as_echo_n "checking for EET... " >&6; }
28010 if test -n "$EET_CFLAGS"; then
28011 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28012 elif test -n "$PKG_CONFIG"; then
28013 if test -n "$PKG_CONFIG" && \
28014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28015 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28018 test $ac_status = 0; }; then
28019 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28026 if test -n "$EET_LIBS"; then
28027 pkg_cv_EET_LIBS="$EET_LIBS"
28028 elif test -n "$PKG_CONFIG"; then
28029 if test -n "$PKG_CONFIG" && \
28030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28031 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28034 test $ac_status = 0; }; then
28035 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28045 if test $pkg_failed = yes; then
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28047 $as_echo "no" >&6; }
28049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28050 _pkg_short_errors_supported=yes
28052 _pkg_short_errors_supported=no
28054 if test $_pkg_short_errors_supported = yes; then
28055 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
28057 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
28059 # Put the nasty error message in config.log where it belongs
28060 echo "$EET_PKG_ERRORS" >&5
28062 have_evas_font_loader_eet="no"
28063 elif test $pkg_failed = untried; then
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28065 $as_echo "no" >&6; }
28066 have_evas_font_loader_eet="no"
28068 EET_CFLAGS=$pkg_cv_EET_CFLAGS
28069 EET_LIBS=$pkg_cv_EET_LIBS
28070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28071 $as_echo "yes" >&6; }
28072 have_evas_font_loader_eet="yes"
28076 if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28077 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28080 if test "x$have_evas_font_loader_eet" = "xyes" ; then
28082 $as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28084 requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28097 want_loader="${want_evas_image_loader_gif}"
28098 want_static_loader="no"
28100 have_evas_image_loader_gif="no"
28102 # Check whether --enable-image-loader-gif was given.
28103 if test "${enable_image_loader_gif+set}" = set; then :
28104 enableval=$enable_image_loader_gif;
28105 if test "x${enableval}" = "xyes" ; then
28108 if test "x${enableval}" = "xstatic" ; then
28109 want_loader="static"
28119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28120 $as_echo_n "checking whether to enable Gif image loader... " >&6; }
28121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28122 $as_echo "${want_loader}" >&6; }
28124 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28128 evas_image_loader_gif_cflags=""
28129 evas_image_loader_gif_libs=""
28131 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28132 if test "x$ac_cv_header_gif_lib_h" = x""yes; then :
28138 if test "x${have_dep}" = "xyes" ; then
28139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28140 $as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28141 if test "${ac_cv_lib_gif_DGifOpenFileName+set}" = set; then :
28142 $as_echo_n "(cached) " >&6
28144 ac_check_lib_save_LIBS=$LIBS
28146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28147 /* end confdefs.h. */
28149 /* Override any GCC internal prototype to avoid an error.
28150 Use char because int might match the return type of a GCC
28151 builtin and then its argument prototype would still apply. */
28155 char DGifOpenFileName ();
28159 return DGifOpenFileName ();
28164 if ac_fn_c_try_link "$LINENO"; then :
28165 ac_cv_lib_gif_DGifOpenFileName=yes
28167 ac_cv_lib_gif_DGifOpenFileName=no
28169 rm -f core conftest.err conftest.$ac_objext \
28170 conftest$ac_exeext conftest.$ac_ext
28171 LIBS=$ac_check_lib_save_LIBS
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
28174 $as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
28175 if test "x$ac_cv_lib_gif_DGifOpenFileName" = x""yes; then :
28177 evas_image_loader_gif_libs="-lgif"
28185 if test "x${have_dep}" = "xno" ; then
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
28187 $as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
28188 if test "${ac_cv_lib_ungif_DGifOpenFileName+set}" = set; then :
28189 $as_echo_n "(cached) " >&6
28191 ac_check_lib_save_LIBS=$LIBS
28192 LIBS="-lungif $LIBS"
28193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28194 /* end confdefs.h. */
28196 /* Override any GCC internal prototype to avoid an error.
28197 Use char because int might match the return type of a GCC
28198 builtin and then its argument prototype would still apply. */
28202 char DGifOpenFileName ();
28206 return DGifOpenFileName ();
28211 if ac_fn_c_try_link "$LINENO"; then :
28212 ac_cv_lib_ungif_DGifOpenFileName=yes
28214 ac_cv_lib_ungif_DGifOpenFileName=no
28216 rm -f core conftest.err conftest.$ac_objext \
28217 conftest$ac_exeext conftest.$ac_ext
28218 LIBS=$ac_check_lib_save_LIBS
28220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
28221 $as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
28222 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = x""yes; then :
28225 evas_image_loader_gif_libs="-lungif"
28236 if test "x${have_dep}" = "xyes" ; then
28245 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28246 as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
28249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
28250 $as_echo_n "checking whether Gif image loader will be built... " >&6; }
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28252 $as_echo "${have_loader}" >&6; }
28254 if test "x${have_loader}" = "xyes" ; then
28255 if test "x${want_loader}" = "xstatic" ; then
28256 have_evas_image_loader_gif="static"
28257 want_static_loader="yes"
28259 have_evas_image_loader_gif="yes"
28263 if test "x${have_loader}" = "xyes" ; then
28265 $as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
28269 if test "x${have_loader}" = "xyes"; then
28270 BUILD_LOADER_GIF_TRUE=
28271 BUILD_LOADER_GIF_FALSE='#'
28273 BUILD_LOADER_GIF_TRUE='#'
28274 BUILD_LOADER_GIF_FALSE=
28278 if test "x${want_static_loader}" = "xyes" ; then
28280 $as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
28282 have_static_module="yes"
28285 if test "x${want_static_loader}" = "xyes"; then
28286 EVAS_STATIC_BUILD_GIF_TRUE=
28287 EVAS_STATIC_BUILD_GIF_FALSE='#'
28289 EVAS_STATIC_BUILD_GIF_TRUE='#'
28290 EVAS_STATIC_BUILD_GIF_FALSE=
28299 have_evas_image_saver_jpeg="no"
28305 want_loader="${want_evas_image_loader_jpeg}"
28306 want_static_loader="no"
28308 have_evas_image_loader_jpeg="no"
28310 # Check whether --enable-image-loader-jpeg was given.
28311 if test "${enable_image_loader_jpeg+set}" = set; then :
28312 enableval=$enable_image_loader_jpeg;
28313 if test "x${enableval}" = "xyes" ; then
28316 if test "x${enableval}" = "xstatic" ; then
28317 want_loader="static"
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
28328 $as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28330 $as_echo "${want_loader}" >&6; }
28332 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28336 evas_image_loader_jpeg_cflags=""
28337 evas_image_loader_jpeg_libs=""
28339 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
28340 if test "x$ac_cv_header_jpeglib_h" = x""yes; then :
28346 if test "x${have_dep}" = "xyes" ; then
28347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
28348 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
28349 if test "${ac_cv_lib_jpeg_jpeg_CreateDecompress+set}" = set; then :
28350 $as_echo_n "(cached) " >&6
28352 ac_check_lib_save_LIBS=$LIBS
28353 LIBS="-ljpeg $LIBS"
28354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28355 /* end confdefs.h. */
28357 /* Override any GCC internal prototype to avoid an error.
28358 Use char because int might match the return type of a GCC
28359 builtin and then its argument prototype would still apply. */
28363 char jpeg_CreateDecompress ();
28367 return jpeg_CreateDecompress ();
28372 if ac_fn_c_try_link "$LINENO"; then :
28373 ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
28375 ac_cv_lib_jpeg_jpeg_CreateDecompress=no
28377 rm -f core conftest.err conftest.$ac_objext \
28378 conftest$ac_exeext conftest.$ac_ext
28379 LIBS=$ac_check_lib_save_LIBS
28381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
28382 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
28383 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = x""yes; then :
28385 evas_image_loader_jpeg_libs="-ljpeg"
28386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28387 /* end confdefs.h. */
28390 #include <jpeglib.h>
28391 #include <setjmp.h>
28397 struct jpeg_decompress_struct decomp;
28398 decomp.region_x = 0;
28404 if ac_fn_c_try_compile "$LINENO"; then :
28405 have_jpeg_region="yes"
28407 have_jpeg_region="no"
28409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28416 if test "x${have_jpeg_region}" = "xyes" ; then
28418 $as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
28426 if test "x${have_dep}" = "xyes" ; then
28435 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28436 as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
28439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
28440 $as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
28441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28442 $as_echo "${have_loader}" >&6; }
28444 if test "x${have_loader}" = "xyes" ; then
28445 if test "x${want_loader}" = "xstatic" ; then
28446 have_evas_image_loader_jpeg="static"
28447 want_static_loader="yes"
28449 have_evas_image_loader_jpeg="yes"
28453 if test "x${have_loader}" = "xyes" ; then
28455 $as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
28459 if test "x${have_loader}" = "xyes"; then
28460 BUILD_LOADER_JPEG_TRUE=
28461 BUILD_LOADER_JPEG_FALSE='#'
28463 BUILD_LOADER_JPEG_TRUE='#'
28464 BUILD_LOADER_JPEG_FALSE=
28468 if test "x${want_static_loader}" = "xyes" ; then
28470 $as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
28472 have_static_module="yes"
28475 if test "x${want_static_loader}" = "xyes"; then
28476 EVAS_STATIC_BUILD_JPEG_TRUE=
28477 EVAS_STATIC_BUILD_JPEG_FALSE='#'
28479 EVAS_STATIC_BUILD_JPEG_TRUE='#'
28480 EVAS_STATIC_BUILD_JPEG_FALSE=
28493 if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
28495 $as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
28497 have_evas_image_saver_jpeg="yes"
28501 if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
28502 BUILD_SAVER_JPEG_TRUE=
28503 BUILD_SAVER_JPEG_FALSE='#'
28505 BUILD_SAVER_JPEG_TRUE='#'
28506 BUILD_SAVER_JPEG_FALSE=
28515 want_loader="${want_evas_image_loader_pmaps}"
28516 want_static_loader="no"
28518 have_evas_image_loader_pmaps="no"
28520 # Check whether --enable-image-loader-pmaps was given.
28521 if test "${enable_image_loader_pmaps+set}" = set; then :
28522 enableval=$enable_image_loader_pmaps;
28523 if test "x${enableval}" = "xyes" ; then
28526 if test "x${enableval}" = "xstatic" ; then
28527 want_loader="static"
28537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
28538 $as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28540 $as_echo "${want_loader}" >&6; }
28542 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28546 evas_image_loader_pmaps_cflags=""
28547 evas_image_loader_pmaps_libs=""
28552 if test "x${have_dep}" = "xyes" ; then
28561 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28562 as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
28566 $as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28568 $as_echo "${have_loader}" >&6; }
28570 if test "x${have_loader}" = "xyes" ; then
28571 if test "x${want_loader}" = "xstatic" ; then
28572 have_evas_image_loader_pmaps="static"
28573 want_static_loader="yes"
28575 have_evas_image_loader_pmaps="yes"
28579 if test "x${have_loader}" = "xyes" ; then
28581 $as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
28585 if test "x${have_loader}" = "xyes"; then
28586 BUILD_LOADER_PMAPS_TRUE=
28587 BUILD_LOADER_PMAPS_FALSE='#'
28589 BUILD_LOADER_PMAPS_TRUE='#'
28590 BUILD_LOADER_PMAPS_FALSE=
28594 if test "x${want_static_loader}" = "xyes" ; then
28596 $as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
28598 have_static_module="yes"
28601 if test "x${want_static_loader}" = "xyes"; then
28602 EVAS_STATIC_BUILD_PMAPS_TRUE=
28603 EVAS_STATIC_BUILD_PMAPS_FALSE='#'
28605 EVAS_STATIC_BUILD_PMAPS_TRUE='#'
28606 EVAS_STATIC_BUILD_PMAPS_FALSE=
28620 want_loader="${want_evas_image_loader_png}"
28621 want_static_loader="no"
28623 have_evas_image_loader_png="no"
28625 # Check whether --enable-image-loader-png was given.
28626 if test "${enable_image_loader_png+set}" = set; then :
28627 enableval=$enable_image_loader_png;
28628 if test "x${enableval}" = "xyes" ; then
28631 if test "x${enableval}" = "xstatic" ; then
28632 want_loader="static"
28642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
28643 $as_echo_n "checking whether to enable PNG image loader... " >&6; }
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28645 $as_echo "${want_loader}" >&6; }
28647 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28652 evas_image_loader_png_cflags=""
28653 evas_image_loader_png_libs=""
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28658 $as_echo_n "checking for PNG... " >&6; }
28660 if test -n "$PNG_CFLAGS"; then
28661 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28662 elif test -n "$PKG_CONFIG"; then
28663 if test -n "$PKG_CONFIG" && \
28664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28665 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28668 test $ac_status = 0; }; then
28669 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
28676 if test -n "$PNG_LIBS"; then
28677 pkg_cv_PNG_LIBS="$PNG_LIBS"
28678 elif test -n "$PKG_CONFIG"; then
28679 if test -n "$PKG_CONFIG" && \
28680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28681 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28684 test $ac_status = 0; }; then
28685 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
28695 if test $pkg_failed = yes; then
28696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28697 $as_echo "no" >&6; }
28699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28700 _pkg_short_errors_supported=yes
28702 _pkg_short_errors_supported=no
28704 if test $_pkg_short_errors_supported = yes; then
28705 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng >= 1.2.10" 2>&1`
28707 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng >= 1.2.10" 2>&1`
28709 # Put the nasty error message in config.log where it belongs
28710 echo "$PNG_PKG_ERRORS" >&5
28713 elif test $pkg_failed = untried; then
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28715 $as_echo "no" >&6; }
28718 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28719 PNG_LIBS=$pkg_cv_PNG_LIBS
28720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28721 $as_echo "yes" >&6; }
28722 have_dep="yes" requirement="libpng"
28725 if test "x${have_dep}" = "xno" ; then
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28729 $as_echo_n "checking for PNG... " >&6; }
28731 if test -n "$PNG_CFLAGS"; then
28732 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28733 elif test -n "$PKG_CONFIG"; then
28734 if test -n "$PKG_CONFIG" && \
28735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28736 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28739 test $ac_status = 0; }; then
28740 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
28747 if test -n "$PNG_LIBS"; then
28748 pkg_cv_PNG_LIBS="$PNG_LIBS"
28749 elif test -n "$PKG_CONFIG"; then
28750 if test -n "$PKG_CONFIG" && \
28751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28752 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28755 test $ac_status = 0; }; then
28756 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
28766 if test $pkg_failed = yes; then
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28768 $as_echo "no" >&6; }
28770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28771 _pkg_short_errors_supported=yes
28773 _pkg_short_errors_supported=no
28775 if test $_pkg_short_errors_supported = yes; then
28776 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng15" 2>&1`
28778 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng15" 2>&1`
28780 # Put the nasty error message in config.log where it belongs
28781 echo "$PNG_PKG_ERRORS" >&5
28784 elif test $pkg_failed = untried; then
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28786 $as_echo "no" >&6; }
28789 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28790 PNG_LIBS=$pkg_cv_PNG_LIBS
28791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28792 $as_echo "yes" >&6; }
28793 have_dep="yes" requirement="libpng15"
28797 if test "x${have_dep}" = "xno" ; then
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28801 $as_echo_n "checking for PNG... " >&6; }
28803 if test -n "$PNG_CFLAGS"; then
28804 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
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 \"libpng14\""; } >&5
28808 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28811 test $ac_status = 0; }; then
28812 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
28819 if test -n "$PNG_LIBS"; then
28820 pkg_cv_PNG_LIBS="$PNG_LIBS"
28821 elif test -n "$PKG_CONFIG"; then
28822 if test -n "$PKG_CONFIG" && \
28823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
28824 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28827 test $ac_status = 0; }; then
28828 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
28838 if test $pkg_failed = yes; then
28839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28840 $as_echo "no" >&6; }
28842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28843 _pkg_short_errors_supported=yes
28845 _pkg_short_errors_supported=no
28847 if test $_pkg_short_errors_supported = yes; then
28848 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng14" 2>&1`
28850 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng14" 2>&1`
28852 # Put the nasty error message in config.log where it belongs
28853 echo "$PNG_PKG_ERRORS" >&5
28856 elif test $pkg_failed = untried; then
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28858 $as_echo "no" >&6; }
28861 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28862 PNG_LIBS=$pkg_cv_PNG_LIBS
28863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28864 $as_echo "yes" >&6; }
28865 have_dep="yes" requirement="libpng14"
28869 if test "x${have_dep}" = "xno" ; then
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28873 $as_echo_n "checking for PNG... " >&6; }
28875 if test -n "$PNG_CFLAGS"; then
28876 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28877 elif test -n "$PKG_CONFIG"; then
28878 if test -n "$PKG_CONFIG" && \
28879 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28880 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28883 test $ac_status = 0; }; then
28884 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
28891 if test -n "$PNG_LIBS"; then
28892 pkg_cv_PNG_LIBS="$PNG_LIBS"
28893 elif test -n "$PKG_CONFIG"; then
28894 if test -n "$PKG_CONFIG" && \
28895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28896 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28899 test $ac_status = 0; }; then
28900 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
28910 if test $pkg_failed = yes; then
28911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28912 $as_echo "no" >&6; }
28914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28915 _pkg_short_errors_supported=yes
28917 _pkg_short_errors_supported=no
28919 if test $_pkg_short_errors_supported = yes; then
28920 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng12 >= 1.2.10" 2>&1`
28922 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng12 >= 1.2.10" 2>&1`
28924 # Put the nasty error message in config.log where it belongs
28925 echo "$PNG_PKG_ERRORS" >&5
28928 elif test $pkg_failed = untried; then
28929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28930 $as_echo "no" >&6; }
28933 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28934 PNG_LIBS=$pkg_cv_PNG_LIBS
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28936 $as_echo "yes" >&6; }
28937 have_dep="yes" requirement="libpng12"
28941 evas_image_loader_png_cflags="${PNG_CFLAGS}"
28942 evas_image_loader_png_libs="${PNG_LIBS}"
28947 if test "x${want_loader}" = "xstatic" ; then
28948 requirement_evas="${requirement} ${requirement_evas}"
28951 if test "x${have_dep}" = "xyes" ; then
28960 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28961 as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
28964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
28965 $as_echo_n "checking whether PNG image loader will be built... " >&6; }
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28967 $as_echo "${have_loader}" >&6; }
28969 if test "x${have_loader}" = "xyes" ; then
28970 if test "x${want_loader}" = "xstatic" ; then
28971 have_evas_image_loader_png="static"
28972 want_static_loader="yes"
28974 have_evas_image_loader_png="yes"
28978 if test "x${have_loader}" = "xyes" ; then
28980 $as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
28984 if test "x${have_loader}" = "xyes"; then
28985 BUILD_LOADER_PNG_TRUE=
28986 BUILD_LOADER_PNG_FALSE='#'
28988 BUILD_LOADER_PNG_TRUE='#'
28989 BUILD_LOADER_PNG_FALSE=
28993 if test "x${want_static_loader}" = "xyes" ; then
28995 $as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
28997 have_static_module="yes"
29000 if test "x${want_static_loader}" = "xyes"; then
29001 EVAS_STATIC_BUILD_PNG_TRUE=
29002 EVAS_STATIC_BUILD_PNG_FALSE='#'
29004 EVAS_STATIC_BUILD_PNG_TRUE='#'
29005 EVAS_STATIC_BUILD_PNG_FALSE=
29019 want_loader="${want_evas_image_loader_svg}"
29020 want_static_loader="no"
29022 have_evas_image_loader_svg="no"
29024 # Check whether --enable-image-loader-svg was given.
29025 if test "${enable_image_loader_svg+set}" = set; then :
29026 enableval=$enable_image_loader_svg;
29027 if test "x${enableval}" = "xyes" ; then
29030 if test "x${enableval}" = "xstatic" ; then
29031 want_loader="static"
29041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29042 $as_echo_n "checking whether to enable SVG image loader... " >&6; }
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29044 $as_echo "${want_loader}" >&6; }
29046 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29051 evas_image_loader_svg_cflags=""
29052 evas_image_loader_svg_libs=""
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29057 $as_echo_n "checking for SVG... " >&6; }
29059 if test -n "$SVG_CFLAGS"; then
29060 pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29061 elif test -n "$PKG_CONFIG"; then
29062 if test -n "$PKG_CONFIG" && \
29063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29064 ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29067 test $ac_status = 0; }; then
29068 pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "esvg >= 0.0.16" 2>/dev/null`
29075 if test -n "$SVG_LIBS"; then
29076 pkg_cv_SVG_LIBS="$SVG_LIBS"
29077 elif test -n "$PKG_CONFIG"; then
29078 if test -n "$PKG_CONFIG" && \
29079 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29080 ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29083 test $ac_status = 0; }; then
29084 pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "esvg >= 0.0.16" 2>/dev/null`
29094 if test $pkg_failed = yes; then
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29096 $as_echo "no" >&6; }
29098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29099 _pkg_short_errors_supported=yes
29101 _pkg_short_errors_supported=no
29103 if test $_pkg_short_errors_supported = yes; then
29104 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esvg >= 0.0.16" 2>&1`
29106 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "esvg >= 0.0.16" 2>&1`
29108 # Put the nasty error message in config.log where it belongs
29109 echo "$SVG_PKG_ERRORS" >&5
29112 elif test $pkg_failed = untried; then
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29114 $as_echo "no" >&6; }
29117 SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29118 SVG_LIBS=$pkg_cv_SVG_LIBS
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29120 $as_echo "yes" >&6; }
29121 have_dep="yes" have_esvg="yes" requirement="esvg"
29124 if test "x${have_dep}" = "xyes" ; then
29125 evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29126 evas_image_loader_svg_libs="${SVG_LIBS}"
29132 if test "x${want_loader}" = "xstatic" ; then
29133 requirement_evas="${requirement} ${requirement_evas}"
29136 if test "x${have_dep}" = "xyes" ; then
29145 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29146 as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29150 $as_echo_n "checking whether SVG image loader will be built... " >&6; }
29151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29152 $as_echo "${have_loader}" >&6; }
29154 if test "x${have_loader}" = "xyes" ; then
29155 if test "x${want_loader}" = "xstatic" ; then
29156 have_evas_image_loader_svg="static"
29157 want_static_loader="yes"
29159 have_evas_image_loader_svg="yes"
29163 if test "x${have_loader}" = "xyes" ; then
29165 $as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
29169 if test "x${have_loader}" = "xyes"; then
29170 BUILD_LOADER_SVG_TRUE=
29171 BUILD_LOADER_SVG_FALSE='#'
29173 BUILD_LOADER_SVG_TRUE='#'
29174 BUILD_LOADER_SVG_FALSE=
29178 if test "x${want_static_loader}" = "xyes" ; then
29180 $as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
29182 have_static_module="yes"
29185 if test "x${want_static_loader}" = "xyes"; then
29186 EVAS_STATIC_BUILD_SVG_TRUE=
29187 EVAS_STATIC_BUILD_SVG_FALSE='#'
29189 EVAS_STATIC_BUILD_SVG_TRUE='#'
29190 EVAS_STATIC_BUILD_SVG_FALSE=
29204 want_loader="${want_evas_image_loader_tiff}"
29205 want_static_loader="no"
29207 have_evas_image_loader_tiff="no"
29209 # Check whether --enable-image-loader-tiff was given.
29210 if test "${enable_image_loader_tiff+set}" = set; then :
29211 enableval=$enable_image_loader_tiff;
29212 if test "x${enableval}" = "xyes" ; then
29215 if test "x${enableval}" = "xstatic" ; then
29216 want_loader="static"
29226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
29227 $as_echo_n "checking whether to enable Tiff image loader... " >&6; }
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29229 $as_echo "${want_loader}" >&6; }
29231 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29235 evas_image_loader_tiff_cflags=""
29236 evas_image_loader_tiff_libs=""
29238 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
29239 if test "x$ac_cv_header_tiffio_h" = x""yes; then :
29245 if test "x${have_dep}" = "xyes" ; then
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
29247 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
29248 if test "${ac_cv_lib_tiff_TIFFReadScanline+set}" = set; then :
29249 $as_echo_n "(cached) " >&6
29251 ac_check_lib_save_LIBS=$LIBS
29252 LIBS="-ltiff $LIBS"
29253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29254 /* end confdefs.h. */
29256 /* Override any GCC internal prototype to avoid an error.
29257 Use char because int might match the return type of a GCC
29258 builtin and then its argument prototype would still apply. */
29262 char TIFFReadScanline ();
29266 return TIFFReadScanline ();
29271 if ac_fn_c_try_link "$LINENO"; then :
29272 ac_cv_lib_tiff_TIFFReadScanline=yes
29274 ac_cv_lib_tiff_TIFFReadScanline=no
29276 rm -f core conftest.err conftest.$ac_objext \
29277 conftest$ac_exeext conftest.$ac_ext
29278 LIBS=$ac_check_lib_save_LIBS
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
29281 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
29282 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = x""yes; then :
29284 evas_image_loader_tiff_libs="-ltiff"
29292 if test "x${have_dep}" = "xno" ; then
29293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
29294 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
29295 if test "${ac_cv_lib_tiff_TIFFReadScanline+set}" = set; then :
29296 $as_echo_n "(cached) " >&6
29298 ac_check_lib_save_LIBS=$LIBS
29299 LIBS="-ltiff $LIBS"
29300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h. */
29303 /* Override any GCC internal prototype to avoid an error.
29304 Use char because int might match the return type of a GCC
29305 builtin and then its argument prototype would still apply. */
29309 char TIFFReadScanline ();
29313 return TIFFReadScanline ();
29318 if ac_fn_c_try_link "$LINENO"; then :
29319 ac_cv_lib_tiff_TIFFReadScanline=yes
29321 ac_cv_lib_tiff_TIFFReadScanline=no
29323 rm -f core conftest.err conftest.$ac_objext \
29324 conftest$ac_exeext conftest.$ac_ext
29325 LIBS=$ac_check_lib_save_LIBS
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
29328 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
29329 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = x""yes; then :
29332 evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
29339 if test "x${have_dep}" = "xno" ; then
29340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
29341 $as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
29342 if test "${ac_cv_lib_tiff34_TIFFReadScanline+set}" = set; then :
29343 $as_echo_n "(cached) " >&6
29345 ac_check_lib_save_LIBS=$LIBS
29346 LIBS="-ltiff34 $LIBS"
29347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29348 /* end confdefs.h. */
29350 /* Override any GCC internal prototype to avoid an error.
29351 Use char because int might match the return type of a GCC
29352 builtin and then its argument prototype would still apply. */
29356 char TIFFReadScanline ();
29360 return TIFFReadScanline ();
29365 if ac_fn_c_try_link "$LINENO"; then :
29366 ac_cv_lib_tiff34_TIFFReadScanline=yes
29368 ac_cv_lib_tiff34_TIFFReadScanline=no
29370 rm -f core conftest.err conftest.$ac_objext \
29371 conftest$ac_exeext conftest.$ac_ext
29372 LIBS=$ac_check_lib_save_LIBS
29374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
29375 $as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
29376 if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = x""yes; then :
29379 evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
29390 if test "x${have_dep}" = "xyes" ; then
29399 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29400 as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
29404 $as_echo_n "checking whether Tiff image loader will be built... " >&6; }
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29406 $as_echo "${have_loader}" >&6; }
29408 if test "x${have_loader}" = "xyes" ; then
29409 if test "x${want_loader}" = "xstatic" ; then
29410 have_evas_image_loader_tiff="static"
29411 want_static_loader="yes"
29413 have_evas_image_loader_tiff="yes"
29417 if test "x${have_loader}" = "xyes" ; then
29419 $as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
29423 if test "x${have_loader}" = "xyes"; then
29424 BUILD_LOADER_TIFF_TRUE=
29425 BUILD_LOADER_TIFF_FALSE='#'
29427 BUILD_LOADER_TIFF_TRUE='#'
29428 BUILD_LOADER_TIFF_FALSE=
29432 if test "x${want_static_loader}" = "xyes" ; then
29434 $as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
29436 have_static_module="yes"
29439 if test "x${want_static_loader}" = "xyes"; then
29440 EVAS_STATIC_BUILD_TIFF_TRUE=
29441 EVAS_STATIC_BUILD_TIFF_FALSE='#'
29443 EVAS_STATIC_BUILD_TIFF_TRUE='#'
29444 EVAS_STATIC_BUILD_TIFF_FALSE=
29458 want_loader="${want_evas_image_loader_xpm}"
29459 want_static_loader="no"
29461 have_evas_image_loader_xpm="no"
29463 # Check whether --enable-image-loader-xpm was given.
29464 if test "${enable_image_loader_xpm+set}" = set; then :
29465 enableval=$enable_image_loader_xpm;
29466 if test "x${enableval}" = "xyes" ; then
29469 if test "x${enableval}" = "xstatic" ; then
29470 want_loader="static"
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
29481 $as_echo_n "checking whether to enable XPM image loader... " >&6; }
29482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29483 $as_echo "${want_loader}" >&6; }
29485 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29489 evas_image_loader_xpm_cflags=""
29490 evas_image_loader_xpm_libs=""
29495 if test "x${have_dep}" = "xyes" ; then
29504 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29505 as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
29509 $as_echo_n "checking whether XPM image loader will be built... " >&6; }
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29511 $as_echo "${have_loader}" >&6; }
29513 if test "x${have_loader}" = "xyes" ; then
29514 if test "x${want_loader}" = "xstatic" ; then
29515 have_evas_image_loader_xpm="static"
29516 want_static_loader="yes"
29518 have_evas_image_loader_xpm="yes"
29522 if test "x${have_loader}" = "xyes" ; then
29524 $as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
29528 if test "x${have_loader}" = "xyes"; then
29529 BUILD_LOADER_XPM_TRUE=
29530 BUILD_LOADER_XPM_FALSE='#'
29532 BUILD_LOADER_XPM_TRUE='#'
29533 BUILD_LOADER_XPM_FALSE=
29537 if test "x${want_static_loader}" = "xyes" ; then
29539 $as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
29541 have_static_module="yes"
29544 if test "x${want_static_loader}" = "xyes"; then
29545 EVAS_STATIC_BUILD_XPM_TRUE=
29546 EVAS_STATIC_BUILD_XPM_FALSE='#'
29548 EVAS_STATIC_BUILD_XPM_TRUE='#'
29549 EVAS_STATIC_BUILD_XPM_FALSE=
29563 want_loader="${want_evas_image_loader_bmp}"
29564 want_static_loader="no"
29566 have_evas_image_loader_bmp="no"
29568 # Check whether --enable-image-loader-bmp was given.
29569 if test "${enable_image_loader_bmp+set}" = set; then :
29570 enableval=$enable_image_loader_bmp;
29571 if test "x${enableval}" = "xyes" ; then
29574 if test "x${enableval}" = "xstatic" ; then
29575 want_loader="static"
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
29586 $as_echo_n "checking whether to enable BMP image loader... " >&6; }
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29588 $as_echo "${want_loader}" >&6; }
29590 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29594 evas_image_loader_bmp_cflags=""
29595 evas_image_loader_bmp_libs=""
29600 if test "x${have_dep}" = "xyes" ; then
29609 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29610 as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
29614 $as_echo_n "checking whether BMP image loader will be built... " >&6; }
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29616 $as_echo "${have_loader}" >&6; }
29618 if test "x${have_loader}" = "xyes" ; then
29619 if test "x${want_loader}" = "xstatic" ; then
29620 have_evas_image_loader_bmp="static"
29621 want_static_loader="yes"
29623 have_evas_image_loader_bmp="yes"
29627 if test "x${have_loader}" = "xyes" ; then
29629 $as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
29633 if test "x${have_loader}" = "xyes"; then
29634 BUILD_LOADER_BMP_TRUE=
29635 BUILD_LOADER_BMP_FALSE='#'
29637 BUILD_LOADER_BMP_TRUE='#'
29638 BUILD_LOADER_BMP_FALSE=
29642 if test "x${want_static_loader}" = "xyes" ; then
29644 $as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
29646 have_static_module="yes"
29649 if test "x${want_static_loader}" = "xyes"; then
29650 EVAS_STATIC_BUILD_BMP_TRUE=
29651 EVAS_STATIC_BUILD_BMP_FALSE='#'
29653 EVAS_STATIC_BUILD_BMP_TRUE='#'
29654 EVAS_STATIC_BUILD_BMP_FALSE=
29668 want_loader="${want_evas_image_loader_tga}"
29669 want_static_loader="no"
29671 have_evas_image_loader_tga="no"
29673 # Check whether --enable-image-loader-tga was given.
29674 if test "${enable_image_loader_tga+set}" = set; then :
29675 enableval=$enable_image_loader_tga;
29676 if test "x${enableval}" = "xyes" ; then
29679 if test "x${enableval}" = "xstatic" ; then
29680 want_loader="static"
29690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
29691 $as_echo_n "checking whether to enable TGA image loader... " >&6; }
29692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29693 $as_echo "${want_loader}" >&6; }
29695 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29699 evas_image_loader_tga_cflags=""
29700 evas_image_loader_tga_libs=""
29705 if test "x${have_dep}" = "xyes" ; then
29714 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29715 as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
29718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
29719 $as_echo_n "checking whether TGA image loader will be built... " >&6; }
29720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29721 $as_echo "${have_loader}" >&6; }
29723 if test "x${have_loader}" = "xyes" ; then
29724 if test "x${want_loader}" = "xstatic" ; then
29725 have_evas_image_loader_tga="static"
29726 want_static_loader="yes"
29728 have_evas_image_loader_tga="yes"
29732 if test "x${have_loader}" = "xyes" ; then
29734 $as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
29738 if test "x${have_loader}" = "xyes"; then
29739 BUILD_LOADER_TGA_TRUE=
29740 BUILD_LOADER_TGA_FALSE='#'
29742 BUILD_LOADER_TGA_TRUE='#'
29743 BUILD_LOADER_TGA_FALSE=
29747 if test "x${want_static_loader}" = "xyes" ; then
29749 $as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
29751 have_static_module="yes"
29754 if test "x${want_static_loader}" = "xyes"; then
29755 EVAS_STATIC_BUILD_TGA_TRUE=
29756 EVAS_STATIC_BUILD_TGA_FALSE='#'
29758 EVAS_STATIC_BUILD_TGA_TRUE='#'
29759 EVAS_STATIC_BUILD_TGA_FALSE=
29773 want_loader="${want_evas_image_loader_wbmp}"
29774 want_static_loader="no"
29776 have_evas_image_loader_wbmp="no"
29778 # Check whether --enable-image-loader-wbmp was given.
29779 if test "${enable_image_loader_wbmp+set}" = set; then :
29780 enableval=$enable_image_loader_wbmp;
29781 if test "x${enableval}" = "xyes" ; then
29784 if test "x${enableval}" = "xstatic" ; then
29785 want_loader="static"
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
29796 $as_echo_n "checking whether to enable WBMP image loader... " >&6; }
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29798 $as_echo "${want_loader}" >&6; }
29800 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29804 evas_image_loader_wbmp_cflags=""
29805 evas_image_loader_wbmp_libs=""
29810 if test "x${have_dep}" = "xyes" ; then
29819 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29820 as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
29824 $as_echo_n "checking whether WBMP image loader will be built... " >&6; }
29825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29826 $as_echo "${have_loader}" >&6; }
29828 if test "x${have_loader}" = "xyes" ; then
29829 if test "x${want_loader}" = "xstatic" ; then
29830 have_evas_image_loader_wbmp="static"
29831 want_static_loader="yes"
29833 have_evas_image_loader_wbmp="yes"
29837 if test "x${have_loader}" = "xyes" ; then
29839 $as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
29843 if test "x${have_loader}" = "xyes"; then
29844 BUILD_LOADER_WBMP_TRUE=
29845 BUILD_LOADER_WBMP_FALSE='#'
29847 BUILD_LOADER_WBMP_TRUE='#'
29848 BUILD_LOADER_WBMP_FALSE=
29852 if test "x${want_static_loader}" = "xyes" ; then
29854 $as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
29856 have_static_module="yes"
29859 if test "x${want_static_loader}" = "xyes"; then
29860 EVAS_STATIC_BUILD_WBMP_TRUE=
29861 EVAS_STATIC_BUILD_WBMP_FALSE='#'
29863 EVAS_STATIC_BUILD_WBMP_TRUE='#'
29864 EVAS_STATIC_BUILD_WBMP_FALSE=
29878 want_loader="${want_evas_image_loader_ico}"
29879 want_static_loader="no"
29881 have_evas_image_loader_ico="no"
29883 # Check whether --enable-image-loader-ico was given.
29884 if test "${enable_image_loader_ico+set}" = set; then :
29885 enableval=$enable_image_loader_ico;
29886 if test "x${enableval}" = "xyes" ; then
29889 if test "x${enableval}" = "xstatic" ; then
29890 want_loader="static"
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
29901 $as_echo_n "checking whether to enable ICO image loader... " >&6; }
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29903 $as_echo "${want_loader}" >&6; }
29905 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29909 evas_image_loader_ico_cflags=""
29910 evas_image_loader_ico_libs=""
29915 if test "x${have_dep}" = "xyes" ; then
29924 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29925 as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
29929 $as_echo_n "checking whether ICO image loader will be built... " >&6; }
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29931 $as_echo "${have_loader}" >&6; }
29933 if test "x${have_loader}" = "xyes" ; then
29934 if test "x${want_loader}" = "xstatic" ; then
29935 have_evas_image_loader_ico="static"
29936 want_static_loader="yes"
29938 have_evas_image_loader_ico="yes"
29942 if test "x${have_loader}" = "xyes" ; then
29944 $as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
29948 if test "x${have_loader}" = "xyes"; then
29949 BUILD_LOADER_ICO_TRUE=
29950 BUILD_LOADER_ICO_FALSE='#'
29952 BUILD_LOADER_ICO_TRUE='#'
29953 BUILD_LOADER_ICO_FALSE=
29957 if test "x${want_static_loader}" = "xyes" ; then
29959 $as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
29961 have_static_module="yes"
29964 if test "x${want_static_loader}" = "xyes"; then
29965 EVAS_STATIC_BUILD_ICO_TRUE=
29966 EVAS_STATIC_BUILD_ICO_FALSE='#'
29968 EVAS_STATIC_BUILD_ICO_TRUE='#'
29969 EVAS_STATIC_BUILD_ICO_FALSE=
29983 want_loader="${want_evas_image_loader_psd}"
29984 want_static_loader="no"
29986 have_evas_image_loader_psd="no"
29988 # Check whether --enable-image-loader-psd was given.
29989 if test "${enable_image_loader_psd+set}" = set; then :
29990 enableval=$enable_image_loader_psd;
29991 if test "x${enableval}" = "xyes" ; then
29994 if test "x${enableval}" = "xstatic" ; then
29995 want_loader="static"
30005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
30006 $as_echo_n "checking whether to enable PSD image loader... " >&6; }
30007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30008 $as_echo "${want_loader}" >&6; }
30010 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30014 evas_image_loader_psd_cflags=""
30015 evas_image_loader_psd_libs=""
30020 if test "x${have_dep}" = "xyes" ; then
30029 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30030 as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30034 $as_echo_n "checking whether PSD image loader will be built... " >&6; }
30035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30036 $as_echo "${have_loader}" >&6; }
30038 if test "x${have_loader}" = "xyes" ; then
30039 if test "x${want_loader}" = "xstatic" ; then
30040 have_evas_image_loader_psd="static"
30041 want_static_loader="yes"
30043 have_evas_image_loader_psd="yes"
30047 if test "x${have_loader}" = "xyes" ; then
30049 $as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30053 if test "x${have_loader}" = "xyes"; then
30054 BUILD_LOADER_PSD_TRUE=
30055 BUILD_LOADER_PSD_FALSE='#'
30057 BUILD_LOADER_PSD_TRUE='#'
30058 BUILD_LOADER_PSD_FALSE=
30062 if test "x${want_static_loader}" = "xyes" ; then
30064 $as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30066 have_static_module="yes"
30069 if test "x${want_static_loader}" = "xyes"; then
30070 EVAS_STATIC_BUILD_PSD_TRUE=
30071 EVAS_STATIC_BUILD_PSD_FALSE='#'
30073 EVAS_STATIC_BUILD_PSD_TRUE='#'
30074 EVAS_STATIC_BUILD_PSD_FALSE=
30088 want_loader="${want_evas_image_loader_generic}"
30089 want_static_loader="no"
30091 have_evas_image_loader_generic="no"
30093 # Check whether --enable-image-loader-generic was given.
30094 if test "${enable_image_loader_generic+set}" = set; then :
30095 enableval=$enable_image_loader_generic;
30096 if test "x${enableval}" = "xyes" ; then
30099 if test "x${enableval}" = "xstatic" ; then
30100 want_loader="static"
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30111 $as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30113 $as_echo "${want_loader}" >&6; }
30115 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30119 evas_image_loader_generic_cflags=""
30120 evas_image_loader_generic_libs=""
30125 if test "x${have_dep}" = "xyes" ; then
30134 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30135 as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30139 $as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30141 $as_echo "${have_loader}" >&6; }
30143 if test "x${have_loader}" = "xyes" ; then
30144 if test "x${want_loader}" = "xstatic" ; then
30145 have_evas_image_loader_generic="static"
30146 want_static_loader="yes"
30148 have_evas_image_loader_generic="yes"
30152 if test "x${have_loader}" = "xyes" ; then
30154 $as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30158 if test "x${have_loader}" = "xyes"; then
30159 BUILD_LOADER_GENERIC_TRUE=
30160 BUILD_LOADER_GENERIC_FALSE='#'
30162 BUILD_LOADER_GENERIC_TRUE='#'
30163 BUILD_LOADER_GENERIC_FALSE=
30167 if test "x${want_static_loader}" = "xyes" ; then
30169 $as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
30171 have_static_module="yes"
30174 if test "x${want_static_loader}" = "xyes"; then
30175 EVAS_STATIC_BUILD_GENERIC_TRUE=
30176 EVAS_STATIC_BUILD_GENERIC_FALSE='#'
30178 EVAS_STATIC_BUILD_GENERIC_TRUE='#'
30179 EVAS_STATIC_BUILD_GENERIC_FALSE=
30188 #####################################################################
30189 ## Cpu based optimizations
30191 #######################################
30195 build_pthreads="no"
30198 # basic pthread support
30199 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
30200 if test "x$ac_cv_header_pthread_h" = x""yes; then :
30213 # sched_getaffinity pthread_attr_setaffinity_np
30214 for ac_header in pthread.h sched.h
30216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30217 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30219 cat >>confdefs.h <<_ACEOF
30220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30223 CFLAGS_save="${CFLAGS}"
30224 CFLAGS="${CFLAGS} -pthread"
30225 LIBS_save="${LIBS}"
30226 LIBS="${LIBS} -pthread"
30227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30228 /* end confdefs.h. */
30230 #include <pthread.h>
30237 pthread_attr_setaffinity_np(NULL, 0, NULL);
30238 pthread_barrier_wait(NULL);
30244 if ac_fn_c_try_link "$LINENO"; then :
30245 build_pthreads="yes"
30247 build_pthreads="no"
30249 rm -f core conftest.err conftest.$ac_objext \
30250 conftest$ac_exeext conftest.$ac_ext
30251 CFLAGS=${CFLAGS_save}
30255 build_pthreads="no"
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
30262 $as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
30264 $as_echo "${build_pthreads}" >&6; }
30266 #######################################
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
30269 $as_echo_n "checking whether to build pthread code... " >&6; }
30270 # Check whether --enable-pthreads was given.
30271 if test "${enable_pthreads+set}" = set; then :
30272 enableval=$enable_pthreads;
30273 if test "x$enableval" = "xyes" ; then
30274 if test "x$build_pthreads" = "xyes"; then
30275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30276 $as_echo "yes" >&6; }
30278 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30280 build_pthreads="yes"
30281 need_pthreads="yes"
30283 if "x$use_strict" = "xyes"; then
30284 as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
30286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
30287 $as_echo "no: pthread headers or functions not found" >&6; }
30291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30292 $as_echo "no" >&6; }
30293 build_pthreads="no"
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
30299 $as_echo "$build_pthreads" >&6; }
30300 if test "x$build_pthreads" = "xyes" ; then
30302 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30304 need_pthreads="yes"
30311 #######################################
30313 build_pipe_render="no"
30315 # Let disable pipe render strongly as it doesn't massively improve performance, but
30316 # just hammer more watt for a few more percent. The code is kept as the understanding
30317 # is that with an async pipeline things will be better.
30319 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
30320 #AC_ARG_ENABLE(pipe-render,
30321 # AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
30322 # [ build_pipe_render=$enableval ]
30324 #AC_MSG_RESULT($build_pipe_render)
30326 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
30327 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
30328 # AC_MSG_RESULT(yes)
30329 # AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
30330 # build_pipe_render="yes"
30331 # need_pthreads="yes"
30333 # AC_MSG_RESULT(no)
30334 # build_pipe_render="no"
30337 #######################################
30339 build_async_events="auto"
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
30341 $as_echo_n "checking whether to build Async Events support... " >&6; }
30342 # Check whether --enable-async-events was given.
30343 if test "${enable_async_events+set}" = set; then :
30344 enableval=$enable_async_events; build_async_events=$enableval
30348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
30349 $as_echo "$build_async_events" >&6; }
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
30352 $as_echo_n "checking whether we can build Async Events support... " >&6; }
30353 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
30354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30355 $as_echo "yes" >&6; }
30357 $as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
30359 build_async_events="yes"
30361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30362 $as_echo "no" >&6; }
30363 build_async_events="no"
30366 #######################################
30367 ## Async image preload
30368 build_async_preload="auto"
30369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
30370 $as_echo_n "checking whether to build Async Image Preload support... " >&6; }
30371 # Check whether --enable-async-preload was given.
30372 if test "${enable_async_preload+set}" = set; then :
30373 enableval=$enable_async_preload; build_async_preload=$enableval
30377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
30378 $as_echo "$build_async_preload" >&6; }
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
30381 $as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
30382 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
30383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30384 $as_echo "yes" >&6; }
30386 $as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
30388 build_async_preload="yes"
30389 need_pthreads="yes"
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30392 $as_echo "no" >&6; }
30393 build_async_preload="no"
30396 #######################################
30397 ## Link with pthread if needed
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
30399 $as_echo_n "checking whether we should link with pthread... " >&6; }
30400 if test "x$need_pthreads" = "xyes"; then
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30402 $as_echo "yes" >&6; }
30403 pthread_cflags="-pthread"
30404 pthread_libs="-pthread"
30406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30407 $as_echo "no" >&6; }
30410 #######################################
30415 build_cpu_mmx="yes"
30418 build_cpu_mmx="yes"
30421 build_cpu_mmx="yes"
30424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
30425 $as_echo_n "checking whether to build mmx code... " >&6; }
30426 # Check whether --enable-cpu-mmx was given.
30427 if test "${enable_cpu_mmx+set}" = set; then :
30428 enableval=$enable_cpu_mmx;
30429 if test "x$enableval" = "xyes" ; then
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30431 $as_echo "yes" >&6; }
30433 $as_echo "#define BUILD_MMX 1" >>confdefs.h
30435 build_cpu_mmx="yes"
30437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30438 $as_echo "no" >&6; }
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
30445 $as_echo "$build_cpu_mmx" >&6; }
30446 if test "x$build_cpu_mmx" = "xyes" ; then
30448 $as_echo "#define BUILD_MMX 1" >>confdefs.h
30456 #######################################
30461 build_cpu_sse="yes"
30464 build_cpu_sse="yes"
30467 build_cpu_sse="yes"
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
30471 $as_echo_n "checking whether to build sse code... " >&6; }
30472 # Check whether --enable-cpu-sse was given.
30473 if test "${enable_cpu_sse+set}" = set; then :
30474 enableval=$enable_cpu_sse;
30475 if test "x$enableval" = "xyes" ; then
30476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30477 $as_echo "yes" >&6; }
30479 $as_echo "#define BUILD_SSE 1" >>confdefs.h
30481 build_cpu_sse="yes"
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30484 $as_echo "no" >&6; }
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
30491 $as_echo "$build_cpu_sse" >&6; }
30492 if test "x$build_cpu_sse" = "xyes" ; then
30494 $as_echo "#define BUILD_SSE 1" >>confdefs.h
30502 #######################################
30504 build_cpu_sse3="no"
30507 build_cpu_sse3="yes"
30510 build_cpu_sse3="yes"
30513 build_cpu_sse3="yes"
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
30517 $as_echo_n "checking whether to build sse3 code... " >&6; }
30518 # Check whether --enable-cpu-sse3 was given.
30519 if test "${enable_cpu_sse3+set}" = set; then :
30520 enableval=$enable_cpu_sse3;
30521 if test "x$enableval" = "xyes" ; then
30522 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
30523 if test "x$ac_cv_header_immintrin_h" = x""yes; then :
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30526 $as_echo "yes" >&6; }
30528 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
30530 build_cpu_sse3="yes"
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30535 $as_echo "no" >&6; }
30536 build_cpu_sse3="no"
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30543 $as_echo "no" >&6; }
30544 build_cpu_sse3="no"
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
30550 $as_echo "$build_cpu_sse3" >&6; }
30551 if test "x$build_cpu_sse3" = "xyes" ; then
30552 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
30553 if test "x$ac_cv_header_immintrin_h" = x""yes; then :
30555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30556 $as_echo "yes" >&6; }
30558 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
30560 build_cpu_sse3="yes"
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30565 $as_echo "no" >&6; }
30566 build_cpu_sse3="no"
30578 # as a big warning flag to anyone doing stuff like this...
30579 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
30580 # build flags in makefiles (from configure or anywhere else)
30581 # EVER as this screws your ability to build 1 binary and
30582 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
30583 # person building choses to add optimization flags themselves
30584 # and decide the minimum baseline cpu arch is X then that's
30585 # their business, but NEVER should it be done here. NEVER.
30586 # I now have to do this due to the way this sse3 code was done - using
30587 # intrinsics and "functions" (opcodes) and types that only compile *IF*
30588 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
30589 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
30590 # off until further notice for 32bit x86.
30591 EVAS_SSE3_CFLAGS=" "
30592 if test "x$build_cpu_sse3" = "xyes" ; then
30593 EVAS_SSE3_CFLAGS="-msse3 "
30594 # CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
30600 #######################################
30602 build_cpu_altivec="no"
30605 build_cpu_altivec="auto"
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
30610 $as_echo_n "checking whether to build altivec code... " >&6; }
30611 # Check whether --enable-cpu-altivec was given.
30612 if test "${enable_cpu_altivec+set}" = set; then :
30613 enableval=$enable_cpu_altivec; build_cpu_altivec=$enableval
30616 if test ! "x$build_cpu_altivec" = "xauto"; then
30617 build_cpu_altivec="no"
30623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
30624 $as_echo "$build_cpu_altivec" >&6; }
30626 if test "x$build_cpu_altivec" = "xyes"; then
30627 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
30628 if test "x$ac_cv_header_altivec_h" = x""yes; then :
30631 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30634 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
30636 build_cpu_altivec="yes"
30640 save_CFLAGS=$CFLAGS
30641 save_CPPFLAGS=$CPPFLAGS
30642 CFLAGS=$CFLAGS" -maltivec"
30643 CPPFLAGS=$CPPFLAGS" -maltivec"
30644 unset ac_cv_header_altivec_h
30645 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
30646 if test "x$ac_cv_header_altivec_h" = x""yes; then :
30649 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30652 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
30654 build_cpu_altivec="yes"
30658 if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
30659 as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
30661 build_cpu_altivec="no"
30667 CFLAGS=$save_CFLAGS
30668 CPPFLAGS=$save_CPPFLAGS
30676 if test "x$build_cpu_altivec" = "xyes"; then
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
30678 $as_echo_n "checking whether to use altivec compiler flag... " >&6; }
30679 if test "x$GCC" = "xyes"; then
30680 if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
30681 altivec_cflags="-faltivec"
30683 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30685 elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
30686 altivec_cflags="-maltivec"
30688 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
30693 $as_echo "$altivec_cflags" >&6; }
30694 CFLAGS="$CFLAGS $altivec_cflags"
30697 #######################################
30699 build_cpu_neon="no"
30702 build_cpu_neon="yes"
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
30706 $as_echo_n "checking whether to build neon code... " >&6; }
30707 # Check whether --enable-cpu-neon was given.
30708 if test "${enable_cpu_neon+set}" = set; then :
30709 enableval=$enable_cpu_neon;
30710 if test "x$enableval" = "xyes" ; then
30711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30712 /* end confdefs.h. */
30717 asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
30722 if ac_fn_c_try_compile "$LINENO"; then :
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30725 $as_echo "yes" >&6; }
30727 $as_echo "#define BUILD_NEON 1" >>confdefs.h
30729 build_cpu_neon="yes"
30733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30734 $as_echo "no" >&6; }
30735 build_cpu_neon="no"
30738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30741 $as_echo "no" >&6; }
30742 build_cpu_neon="no"
30747 if test "x$build_cpu_neon" = "xyes" ; then
30748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h. */
30750 #include <arm_neon.h>
30754 asm volatile ("vqadd.u8 d0, d1, d0\n")
30759 if ac_fn_c_try_compile "$LINENO"; then :
30761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30762 $as_echo "yes" >&6; }
30764 $as_echo "#define BUILD_NEON 1" >>confdefs.h
30766 build_cpu_neon="yes"
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30771 $as_echo "no" >&6; }
30772 build_cpu_neon="no"
30775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30782 #######################################
30785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
30786 $as_echo_n "checking whether to build c code... " >&6; }
30787 # Check whether --enable-cpu-c was given.
30788 if test "${enable_cpu_c+set}" = set; then :
30789 enableval=$enable_cpu_c;
30790 if test "x$enableval" = "xyes" ; then
30791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30792 $as_echo "yes" >&6; }
30794 $as_echo "#define BUILD_C 1" >>confdefs.h
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30799 $as_echo "no" >&6; }
30805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
30806 $as_echo "$build_cpu_c" >&6; }
30807 if test "x$build_cpu_c" = "xyes" ; then
30809 $as_echo "#define BUILD_C 1" >>confdefs.h
30817 #######################################
30819 want_evas_magic_debug="yes"
30820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
30821 $as_echo_n "checking whether to check magic for evas object... " >&6; }
30822 # Check whether --enable-evas-magic-debug was given.
30823 if test "${enable_evas_magic_debug+set}" = set; then :
30824 enableval=$enable_evas_magic_debug; want_evas_magic_debug="$enableval"
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
30829 $as_echo "$want_evas_magic_debug" >&6; }
30831 if test "x$want_evas_magic_debug" = "xyes"; then
30832 EVAS_MAGIC_DEBUG_TRUE=
30833 EVAS_MAGIC_DEBUG_FALSE='#'
30835 EVAS_MAGIC_DEBUG_TRUE='#'
30836 EVAS_MAGIC_DEBUG_FALSE=
30839 if test "x$want_evas_magic_debug" = "xyes"; then
30841 $as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
30845 #####################################################################
30846 ## ARGB engine options
30848 #######################################
30849 ## Nearest sampling scaler
30852 # Check whether --enable-scale-sample was given.
30853 if test "${enable_scale_sample+set}" = set; then :
30854 enableval=$enable_scale_sample;
30855 if test "x${enableval}" = "xyes" ; then
30856 _efl_enable_scaler_option_scale_sample="yes"
30858 _efl_enable_scaler_option_scale_sample="no"
30862 _efl_enable_scaler_option_scale_sample="yes"
30866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
30867 $as_echo_n "checking whether to build sampling scaler... " >&6; }
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
30869 $as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
30871 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
30873 $as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
30877 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
30878 scaler_sample="yes"
30886 ## Smooth super and sub sampling scaler
30889 # Check whether --enable-scale-smooth was given.
30890 if test "${enable_scale_smooth+set}" = set; then :
30891 enableval=$enable_scale_smooth;
30892 if test "x${enableval}" = "xyes" ; then
30893 _efl_enable_scaler_option_scale_smooth="yes"
30895 _efl_enable_scaler_option_scale_smooth="no"
30899 _efl_enable_scaler_option_scale_smooth="yes"
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
30904 $as_echo_n "checking whether to build smooth scaler... " >&6; }
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
30906 $as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
30908 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
30910 $as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
30914 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
30915 scaler_smooth="yes"
30924 #######################################
30925 ## YUV -> ARGB converter
30928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
30929 $as_echo_n "checking whether to build yuv converter code... " >&6; }
30930 # Check whether --enable-convert-yuv was given.
30931 if test "${enable_convert_yuv+set}" = set; then :
30932 enableval=$enable_convert_yuv;
30933 if test "x$enableval" = "xyes" ; then
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30935 $as_echo "yes" >&6; }
30937 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
30941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30942 $as_echo "no" >&6; }
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
30949 $as_echo "$conv_yuv" >&6; }
30950 if test "x$conv_yuv" = "xyes" ; then
30952 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
30960 #####################################################################
30961 ## Output rendering features
30963 #######################################
30964 ## Small dither mask instead of big one (lower quality)
30967 # Check whether --enable-small-dither-mask was given.
30968 if test "${enable_small_dither_mask+set}" = set; then :
30969 enableval=$enable_small_dither_mask;
30970 if test "x${enableval}" = "xyes" ; then
30971 _efl_enable_dither_option_small_dither_mask="yes"
30973 _efl_enable_dither_option_small_dither_mask="no"
30977 _efl_enable_dither_option_small_dither_mask="no"
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
30982 $as_echo_n "checking whether to build small dither mask... " >&6; }
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
30984 $as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
30986 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
30988 $as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
30992 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
30993 conv_small_dither="yes"
30995 conv_small_dither="no"
31001 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
31004 # Check whether --enable-line-dither-mask was given.
31005 if test "${enable_line_dither_mask+set}" = set; then :
31006 enableval=$enable_line_dither_mask;
31007 if test "x${enableval}" = "xyes" ; then
31008 _efl_enable_dither_option_line_dither_mask="yes"
31010 _efl_enable_dither_option_line_dither_mask="no"
31014 _efl_enable_dither_option_line_dither_mask="no"
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31019 $as_echo_n "checking whether to build line dither mask... " >&6; }
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31021 $as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31023 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31025 $as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31029 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31030 conv_line_dither="yes"
31032 conv_line_dither="no"
31038 ## No dither mask at all for 16bpp
31041 # Check whether --enable-no-dither-mask was given.
31042 if test "${enable_no_dither_mask+set}" = set; then :
31043 enableval=$enable_no_dither_mask;
31044 if test "x${enableval}" = "xyes" ; then
31045 _efl_enable_dither_option_no_dither_mask="yes"
31047 _efl_enable_dither_option_no_dither_mask="no"
31051 _efl_enable_dither_option_no_dither_mask="no"
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31056 $as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31058 $as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31060 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31062 $as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31066 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31067 conv_no_dither="yes"
31069 conv_no_dither="no"
31076 #######################################
31077 ## Convert to 8bpp RGB 332
31080 conv_8_rgb_332="no"
31083 # Check whether --enable-convert-8-rgb-332 was given.
31084 if test "${enable_convert_8_rgb_332+set}" = set; then :
31085 enableval=$enable_convert_8_rgb_332; conv_8_rgb_332=$enableval
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31094 $as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31096 $as_echo "$conv_8_rgb_332" >&6; }
31098 if test "x$conv_8_rgb_332" = "xyes" ; then
31100 $as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31108 ## Convert to 8bpp RGB 666
31111 conv_8_rgb_666="no"
31114 # Check whether --enable-convert-8-rgb-666 was given.
31115 if test "${enable_convert_8_rgb_666+set}" = set; then :
31116 enableval=$enable_convert_8_rgb_666; conv_8_rgb_666=$enableval
31124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31125 $as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31127 $as_echo "$conv_8_rgb_666" >&6; }
31129 if test "x$conv_8_rgb_666" = "xyes" ; then
31131 $as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31139 ## Convert to 8bpp RGB 232
31142 conv_8_rgb_232="no"
31145 # Check whether --enable-convert-8-rgb-232 was given.
31146 if test "${enable_convert_8_rgb_232+set}" = set; then :
31147 enableval=$enable_convert_8_rgb_232; conv_8_rgb_232=$enableval
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31156 $as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31158 $as_echo "$conv_8_rgb_232" >&6; }
31160 if test "x$conv_8_rgb_232" = "xyes" ; then
31162 $as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
31170 ## Convert to 8bpp RGB 222
31173 conv_8_rgb_222="no"
31176 # Check whether --enable-convert-8-rgb-222 was given.
31177 if test "${enable_convert_8_rgb_222+set}" = set; then :
31178 enableval=$enable_convert_8_rgb_222; conv_8_rgb_222=$enableval
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
31187 $as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
31189 $as_echo "$conv_8_rgb_222" >&6; }
31191 if test "x$conv_8_rgb_222" = "xyes" ; then
31193 $as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
31201 ## Convert to 8bpp RGB 221
31204 conv_8_rgb_221="no"
31207 # Check whether --enable-convert-8-rgb-221 was given.
31208 if test "${enable_convert_8_rgb_221+set}" = set; then :
31209 enableval=$enable_convert_8_rgb_221; conv_8_rgb_221=$enableval
31217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
31218 $as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
31220 $as_echo "$conv_8_rgb_221" >&6; }
31222 if test "x$conv_8_rgb_221" = "xyes" ; then
31224 $as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
31232 ## Convert to 8bpp RGB 121
31235 conv_8_rgb_121="no"
31238 # Check whether --enable-convert-8-rgb-121 was given.
31239 if test "${enable_convert_8_rgb_121+set}" = set; then :
31240 enableval=$enable_convert_8_rgb_121; conv_8_rgb_121=$enableval
31248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
31249 $as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
31251 $as_echo "$conv_8_rgb_121" >&6; }
31253 if test "x$conv_8_rgb_121" = "xyes" ; then
31255 $as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
31263 ## Convert to 8bpp RGB 111
31266 conv_8_rgb_111="no"
31269 # Check whether --enable-convert-8-rgb-111 was given.
31270 if test "${enable_convert_8_rgb_111+set}" = set; then :
31271 enableval=$enable_convert_8_rgb_111; conv_8_rgb_111=$enableval
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
31280 $as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
31282 $as_echo "$conv_8_rgb_111" >&6; }
31284 if test "x$conv_8_rgb_111" = "xyes" ; then
31286 $as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
31294 ## Convert to 16bpp RGB 565
31297 conv_16_rgb_565="no"
31300 # Check whether --enable-convert-16-rgb-565 was given.
31301 if test "${enable_convert_16_rgb_565+set}" = set; then :
31302 enableval=$enable_convert_16_rgb_565; conv_16_rgb_565=$enableval
31304 conv_16_rgb_565=yes
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
31311 $as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
31313 $as_echo "$conv_16_rgb_565" >&6; }
31315 if test "x$conv_16_rgb_565" = "xyes" ; then
31317 $as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
31325 ## Convert to 16bpp BGR 565
31328 conv_16_bgr_565="no"
31331 # Check whether --enable-convert-16-bgr-565 was given.
31332 if test "${enable_convert_16_bgr_565+set}" = set; then :
31333 enableval=$enable_convert_16_bgr_565; conv_16_bgr_565=$enableval
31335 conv_16_bgr_565=yes
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
31342 $as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
31343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
31344 $as_echo "$conv_16_bgr_565" >&6; }
31346 if test "x$conv_16_bgr_565" = "xyes" ; then
31348 $as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
31356 ## Convert to 16bpp RGB 555
31359 conv_16_rgb_555="no"
31362 # Check whether --enable-convert-16-rgb-555 was given.
31363 if test "${enable_convert_16_rgb_555+set}" = set; then :
31364 enableval=$enable_convert_16_rgb_555; conv_16_rgb_555=$enableval
31366 conv_16_rgb_555=yes
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
31373 $as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
31375 $as_echo "$conv_16_rgb_555" >&6; }
31377 if test "x$conv_16_rgb_555" = "xyes" ; then
31379 $as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
31387 ## Convert to 16bpp RGB 444
31390 conv_16_rgb_444="no"
31393 # Check whether --enable-convert-16-rgb-444 was given.
31394 if test "${enable_convert_16_rgb_444+set}" = set; then :
31395 enableval=$enable_convert_16_rgb_444; conv_16_rgb_444=$enableval
31397 conv_16_rgb_444=yes
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
31404 $as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
31406 $as_echo "$conv_16_rgb_444" >&6; }
31408 if test "x$conv_16_rgb_444" = "xyes" ; then
31410 $as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
31419 #######################################
31420 ## Convert to 16bpp RGB 565 (444 ipaq)
31421 conv_16_rgb_ipq="yes"
31422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
31423 $as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
31424 # Check whether --enable-convert-16-rgb-ipq was given.
31425 if test "${enable_convert_16_rgb_ipq+set}" = set; then :
31426 enableval=$enable_convert_16_rgb_ipq;
31427 if test "x$enableval" = "xyes" ; then
31429 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
31431 conv_16_rgb_ipq="yes"
31433 conv_16_rgb_ipq="no"
31438 if test "x$conv_16_rgb_ipq" = "xyes" ; then
31440 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
31447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
31448 $as_echo "$conv_16_rgb_ipq" >&6; }
31450 #######################################
31451 ## Convert to 16bpp RGB with rotation of 0
31454 conv_16_rgb_rot_0="no"
31457 # Check whether --enable-convert-16-rgb-rot-0 was given.
31458 if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
31459 enableval=$enable_convert_16_rgb_rot_0; conv_16_rgb_rot_0=$enableval
31461 conv_16_rgb_rot_0=yes
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
31468 $as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
31470 $as_echo "$conv_16_rgb_rot_0" >&6; }
31472 if test "x$conv_16_rgb_rot_0" = "xyes" ; then
31474 $as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
31482 ## Convert to 16bpp RGB with rotation of 180
31485 conv_16_rgb_rot_180="no"
31488 # Check whether --enable-convert-16-rgb-rot-180 was given.
31489 if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
31490 enableval=$enable_convert_16_rgb_rot_180; conv_16_rgb_rot_180=$enableval
31492 conv_16_rgb_rot_180=yes
31498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
31499 $as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
31501 $as_echo "$conv_16_rgb_rot_180" >&6; }
31503 if test "x$conv_16_rgb_rot_180" = "xyes" ; then
31505 $as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
31513 ## Convert to 16bpp RGB with rotation of 270
31516 conv_16_rgb_rot_270="no"
31519 # Check whether --enable-convert-16-rgb-rot-270 was given.
31520 if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
31521 enableval=$enable_convert_16_rgb_rot_270; conv_16_rgb_rot_270=$enableval
31523 conv_16_rgb_rot_270=yes
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
31530 $as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
31532 $as_echo "$conv_16_rgb_rot_270" >&6; }
31534 if test "x$conv_16_rgb_rot_270" = "xyes" ; then
31536 $as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
31544 ## Convert to 16bpp RGB with rotation of 90
31547 conv_16_rgb_rot_90="no"
31550 # Check whether --enable-convert-16-rgb-rot-90 was given.
31551 if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
31552 enableval=$enable_convert_16_rgb_rot_90; conv_16_rgb_rot_90=$enableval
31554 conv_16_rgb_rot_90=yes
31560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
31561 $as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
31562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
31563 $as_echo "$conv_16_rgb_rot_90" >&6; }
31565 if test "x$conv_16_rgb_rot_90" = "xyes" ; then
31567 $as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
31576 #######################################
31577 ## Convert to 24bpp RGB 888
31580 conv_24_rgb_888="no"
31583 # Check whether --enable-convert-24-rgb-888 was given.
31584 if test "${enable_convert_24_rgb_888+set}" = set; then :
31585 enableval=$enable_convert_24_rgb_888; conv_24_rgb_888=$enableval
31587 conv_24_rgb_888=yes
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
31594 $as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
31595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
31596 $as_echo "$conv_24_rgb_888" >&6; }
31598 if test "x$conv_24_rgb_888" = "xyes" ; then
31600 $as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
31608 ## Convert to 24bpp BGR 888
31611 conv_24_bgr_888="no"
31614 # Check whether --enable-convert-24-bgr-888 was given.
31615 if test "${enable_convert_24_bgr_888+set}" = set; then :
31616 enableval=$enable_convert_24_bgr_888; conv_24_bgr_888=$enableval
31618 conv_24_bgr_888=yes
31624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
31625 $as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
31626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
31627 $as_echo "$conv_24_bgr_888" >&6; }
31629 if test "x$conv_24_bgr_888" = "xyes" ; then
31631 $as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
31639 ## Convert to 32bpp RGB 8888
31642 conv_32_rgb_8888="no"
31645 # Check whether --enable-convert-32-rgb-8888 was given.
31646 if test "${enable_convert_32_rgb_8888+set}" = set; then :
31647 enableval=$enable_convert_32_rgb_8888; conv_32_rgb_8888=$enableval
31649 conv_32_rgb_8888=yes
31655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
31656 $as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
31658 $as_echo "$conv_32_rgb_8888" >&6; }
31660 if test "x$conv_32_rgb_8888" = "xyes" ; then
31662 $as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
31670 ## Convert to 32bpp RGBX 8888
31673 conv_32_rgbx_8888="no"
31676 # Check whether --enable-convert-32-rgbx-8888 was given.
31677 if test "${enable_convert_32_rgbx_8888+set}" = set; then :
31678 enableval=$enable_convert_32_rgbx_8888; conv_32_rgbx_8888=$enableval
31680 conv_32_rgbx_8888=yes
31686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
31687 $as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
31689 $as_echo "$conv_32_rgbx_8888" >&6; }
31691 if test "x$conv_32_rgbx_8888" = "xyes" ; then
31693 $as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
31701 ## Convert to 32bpp BGR 8888
31704 conv_32_bgr_8888="no"
31707 # Check whether --enable-convert-32-bgr-8888 was given.
31708 if test "${enable_convert_32_bgr_8888+set}" = set; then :
31709 enableval=$enable_convert_32_bgr_8888; conv_32_bgr_8888=$enableval
31711 conv_32_bgr_8888=yes
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
31718 $as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
31720 $as_echo "$conv_32_bgr_8888" >&6; }
31722 if test "x$conv_32_bgr_8888" = "xyes" ; then
31724 $as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
31732 ## Convert to 32bpp BGRX 8888
31735 conv_32_bgrx_8888="no"
31738 # Check whether --enable-convert-32-bgrx-8888 was given.
31739 if test "${enable_convert_32_bgrx_8888+set}" = set; then :
31740 enableval=$enable_convert_32_bgrx_8888; conv_32_bgrx_8888=$enableval
31742 conv_32_bgrx_8888=yes
31748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
31749 $as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
31750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
31751 $as_echo "$conv_32_bgrx_8888" >&6; }
31753 if test "x$conv_32_bgrx_8888" = "xyes" ; then
31755 $as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
31764 #######################################
31765 ## Convert to 24bpp RGB 666 (666 ezx)
31766 conv_24_rgb_ezx="yes"
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
31768 $as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
31769 # Check whether --enable-convert-24-rgb-ezx was given.
31770 if test "${enable_convert_24_rgb_ezx+set}" = set; then :
31771 enableval=$enable_convert_24_rgb_ezx;
31772 if test "x$enableval" = "xyes" ; then
31774 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
31776 conv_24_rgb_ezx="yes"
31778 conv_24_rgb_ezx="no"
31783 if test "x$conv_24_rgb_ezx" = "xyes" ; then
31785 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
31793 $as_echo "$conv_24_rgb_ezx" >&6; }
31795 #######################################
31796 ## Convert to 32bpp RGB 666 (666 ezx)
31797 conv_32_rgb_ezx="yes"
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
31799 $as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
31800 # Check whether --enable-convert-32-rgb-ezx was given.
31801 if test "${enable_convert_32_rgb_ezx+set}" = set; then :
31802 enableval=$enable_convert_32_rgb_ezx;
31803 if test "x$enableval" = "xyes" ; then
31805 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
31807 conv_32_rgb_ezx="yes"
31809 conv_32_rgb_ezx="no"
31814 if test "x$conv_32_rgb_ezx" = "xyes" ; then
31816 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
31824 $as_echo "$conv_32_rgb_ezx" >&6; }
31826 #######################################
31827 ## Convert to 32bpp RGB with rotation of 0
31830 conv_32_rgb_rot_0="no"
31833 # Check whether --enable-convert-32-rgb-rot-0 was given.
31834 if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
31835 enableval=$enable_convert_32_rgb_rot_0; conv_32_rgb_rot_0=$enableval
31837 conv_32_rgb_rot_0=yes
31843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
31844 $as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
31846 $as_echo "$conv_32_rgb_rot_0" >&6; }
31848 if test "x$conv_32_rgb_rot_0" = "xyes" ; then
31850 $as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
31858 ## Convert to 32bpp RGB with rotation of 180
31861 conv_32_rgb_rot_180="no"
31864 # Check whether --enable-convert-32-rgb-rot-180 was given.
31865 if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
31866 enableval=$enable_convert_32_rgb_rot_180; conv_32_rgb_rot_180=$enableval
31868 conv_32_rgb_rot_180=yes
31874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
31875 $as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
31877 $as_echo "$conv_32_rgb_rot_180" >&6; }
31879 if test "x$conv_32_rgb_rot_180" = "xyes" ; then
31881 $as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
31889 ## Convert to 32bpp RGB with rotation of 270
31892 conv_32_rgb_rot_270="no"
31895 # Check whether --enable-convert-32-rgb-rot-270 was given.
31896 if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
31897 enableval=$enable_convert_32_rgb_rot_270; conv_32_rgb_rot_270=$enableval
31899 conv_32_rgb_rot_270=yes
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
31906 $as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
31908 $as_echo "$conv_32_rgb_rot_270" >&6; }
31910 if test "x$conv_32_rgb_rot_270" = "xyes" ; then
31912 $as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
31920 ## Convert to 32bpp RGB with rotation of 90
31923 conv_32_rgb_rot_90="no"
31926 # Check whether --enable-convert-32-rgb-rot-90 was given.
31927 if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
31928 enableval=$enable_convert_32_rgb_rot_90; conv_32_rgb_rot_90=$enableval
31930 conv_32_rgb_rot_90=yes
31936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
31937 $as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
31939 $as_echo "$conv_32_rgb_rot_90" >&6; }
31941 if test "x$conv_32_rgb_rot_90" = "xyes" ; then
31943 $as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
31952 #######################################
31953 ## Convert to 8bpp grayscale with 256 value, no palette
31959 # Check whether --enable-convert-8-gry-1 was given.
31960 if test "${enable_convert_8_gry_1+set}" = set; then :
31961 enableval=$enable_convert_8_gry_1; conv_8_gry_1=$enableval
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
31970 $as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
31972 $as_echo "$conv_8_gry_1" >&6; }
31974 if test "x$conv_8_gry_1" = "xyes" ; then
31976 $as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
31984 ## Convert to 8bpp grayscale with 16 value, no palette
31990 # Check whether --enable-convert-8-gry-16 was given.
31991 if test "${enable_convert_8_gry_16+set}" = set; then :
31992 enableval=$enable_convert_8_gry_16; conv_8_gry_16=$enableval
32000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32001 $as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32003 $as_echo "$conv_8_gry_16" >&6; }
32005 if test "x$conv_8_gry_16" = "xyes" ; then
32007 $as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32016 #######################################
32017 ## Convert to 8bpp grayscale, 64-palette
32018 conv_8_grayscale_64="yes"
32019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32020 $as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32021 # Check whether --enable-convert-8-grayscale-64 was given.
32022 if test "${enable_convert_8_grayscale_64+set}" = set; then :
32023 enableval=$enable_convert_8_grayscale_64;
32024 if test "x$enableval" = "xyes"; then
32026 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32028 conv_8_grayscale_64="yes"
32030 conv_8_grayscale_64="no"
32035 if test "x$conv_8_grayscale_64" = "xyes"; then
32037 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32045 $as_echo "$conv_8_grayscale_64" >&6; }
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32052 $as_echo_n "checking whether to enable build with valgrind... " >&6; }
32053 # Check whether --enable-valgrind was given.
32054 if test "${enable_valgrind+set}" = set; then :
32055 enableval=$enable_valgrind; want_valgrind=$enableval
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32060 $as_echo "$want_valgrind" >&6; }
32062 if test x$want_valgrind = "xyes"; then
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32066 $as_echo_n "checking for VALGRIND... " >&6; }
32068 if test -n "$VALGRIND_CFLAGS"; then
32069 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32070 elif test -n "$PKG_CONFIG"; then
32071 if test -n "$PKG_CONFIG" && \
32072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32073 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32076 test $ac_status = 0; }; then
32077 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32084 if test -n "$VALGRIND_LIBS"; then
32085 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32086 elif test -n "$PKG_CONFIG"; then
32087 if test -n "$PKG_CONFIG" && \
32088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32089 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32092 test $ac_status = 0; }; then
32093 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32103 if test $pkg_failed = yes; then
32104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32105 $as_echo "no" >&6; }
32107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32108 _pkg_short_errors_supported=yes
32110 _pkg_short_errors_supported=no
32112 if test $_pkg_short_errors_supported = yes; then
32113 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 2.4.0" 2>&1`
32115 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 2.4.0" 2>&1`
32117 # Put the nasty error message in config.log where it belongs
32118 echo "$VALGRIND_PKG_ERRORS" >&5
32121 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32122 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32126 elif test $pkg_failed = untried; then
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32128 $as_echo "no" >&6; }
32130 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32131 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32136 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32137 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32139 $as_echo "yes" >&6; }
32142 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32145 requirement_evas="valgrind ${requirement_evas}"
32152 install_examples="yes"
32153 # Check whether --enable-install-examples was given.
32154 if test "${enable_install_examples+set}" = set; then :
32155 enableval=$enable_install_examples;
32156 if test "x${enableval}" = "xyes" ; then
32157 install_examples="yes"
32159 install_examples="no"
32163 install_examples="yes"
32166 if test "x${install_examples}" = "xyes"; then
32167 INSTALL_EXAMPLES_TRUE=
32168 INSTALL_EXAMPLES_FALSE='#'
32170 INSTALL_EXAMPLES_TRUE='#'
32171 INSTALL_EXAMPLES_FALSE=
32175 build_examples="no"
32176 # Check whether --enable-build-examples was given.
32177 if test "${enable_build_examples+set}" = set; then :
32178 enableval=$enable_build_examples;
32179 if test "x${enableval}" = "xyes" ; then
32180 build_examples="yes"
32181 # put in here the dependencies for Evas' examples. they are
32182 # meant to be 'real world' usage examples, thus one will be
32183 # using higher level libraries on these programs
32186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
32187 $as_echo_n "checking for ECORE_EVAS... " >&6; }
32189 if test -n "$ECORE_EVAS_CFLAGS"; then
32190 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
32191 elif test -n "$PKG_CONFIG"; then
32192 if test -n "$PKG_CONFIG" && \
32193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32194 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32197 test $ac_status = 0; }; then
32198 pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
32205 if test -n "$ECORE_EVAS_LIBS"; then
32206 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
32207 elif test -n "$PKG_CONFIG"; then
32208 if test -n "$PKG_CONFIG" && \
32209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32210 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32213 test $ac_status = 0; }; then
32214 pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
32224 if test $pkg_failed = yes; then
32225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32226 $as_echo "no" >&6; }
32228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32229 _pkg_short_errors_supported=yes
32231 _pkg_short_errors_supported=no
32233 if test $_pkg_short_errors_supported = yes; then
32234 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas ecore" 2>&1`
32236 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas ecore" 2>&1`
32238 # Put the nasty error message in config.log where it belongs
32239 echo "$ECORE_EVAS_PKG_ERRORS" >&5
32241 build_examples="no"
32242 elif test $pkg_failed = untried; then
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32244 $as_echo "no" >&6; }
32245 build_examples="no"
32247 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
32248 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
32249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32250 $as_echo "yes" >&6; }
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
32256 $as_echo_n "checking for EDJE... " >&6; }
32258 if test -n "$EDJE_CFLAGS"; then
32259 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
32260 elif test -n "$PKG_CONFIG"; then
32261 if test -n "$PKG_CONFIG" && \
32262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32263 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32266 test $ac_status = 0; }; then
32267 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
32274 if test -n "$EDJE_LIBS"; then
32275 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
32276 elif test -n "$PKG_CONFIG"; then
32277 if test -n "$PKG_CONFIG" && \
32278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32279 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32282 test $ac_status = 0; }; then
32283 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
32293 if test $pkg_failed = yes; then
32294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32295 $as_echo "no" >&6; }
32297 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32298 _pkg_short_errors_supported=yes
32300 _pkg_short_errors_supported=no
32302 if test $_pkg_short_errors_supported = yes; then
32303 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje" 2>&1`
32305 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje" 2>&1`
32307 # Put the nasty error message in config.log where it belongs
32308 echo "$EDJE_PKG_ERRORS" >&5
32310 build_examples="no"
32311 elif test $pkg_failed = untried; then
32312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32313 $as_echo "no" >&6; }
32314 build_examples="no"
32316 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
32317 EDJE_LIBS=$pkg_cv_EDJE_LIBS
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32319 $as_echo "yes" >&6; }
32320 edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
32324 build_examples="no"
32328 build_examples="no"
32331 if test "x${build_examples}" = "xyes"; then
32332 BUILD_EXAMPLES_TRUE=
32333 BUILD_EXAMPLES_FALSE='#'
32335 BUILD_EXAMPLES_TRUE='#'
32336 BUILD_EXAMPLES_FALSE=
32340 ## Unit tests, coverage
32345 # Check whether --enable-tests was given.
32346 if test "${enable_tests+set}" = set; then :
32347 enableval=$enable_tests;
32348 if test "x${enableval}" = "xyes" ; then
32349 _efl_enable_tests="yes"
32351 _efl_enable_tests="no"
32355 _efl_enable_tests="no"
32359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
32360 $as_echo_n "checking whether tests are built... " >&6; }
32361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
32362 $as_echo "${_efl_enable_tests}" >&6; }
32366 if test "x${_efl_enable_tests}" = "xyes" ; then
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
32370 $as_echo_n "checking for CHECK... " >&6; }
32372 if test -n "$CHECK_CFLAGS"; then
32373 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
32374 elif test -n "$PKG_CONFIG"; then
32375 if test -n "$PKG_CONFIG" && \
32376 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32377 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32380 test $ac_status = 0; }; then
32381 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
32388 if test -n "$CHECK_LIBS"; then
32389 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
32390 elif test -n "$PKG_CONFIG"; then
32391 if test -n "$PKG_CONFIG" && \
32392 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32393 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32396 test $ac_status = 0; }; then
32397 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
32407 if test $pkg_failed = yes; then
32408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32409 $as_echo "no" >&6; }
32411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32412 _pkg_short_errors_supported=yes
32414 _pkg_short_errors_supported=no
32416 if test $_pkg_short_errors_supported = yes; then
32417 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
32419 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
32421 # Put the nasty error message in config.log where it belongs
32422 echo "$CHECK_PKG_ERRORS" >&5
32424 _efl_enable_tests="no"
32425 elif test $pkg_failed = untried; then
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32427 $as_echo "no" >&6; }
32428 _efl_enable_tests="no"
32430 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
32431 CHECK_LIBS=$pkg_cv_CHECK_LIBS
32432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32433 $as_echo "yes" >&6; }
32437 if test "x${_efl_enable_tests}" = "xyes" ; then
32439 $as_echo "#define HAVE_TESTS 1" >>confdefs.h
32443 if test "x${_efl_enable_tests}" = "xyes"; then
32444 EFL_ENABLE_TESTS_TRUE=
32445 EFL_ENABLE_TESTS_FALSE='#'
32447 EFL_ENABLE_TESTS_TRUE='#'
32448 EFL_ENABLE_TESTS_FALSE=
32452 if test "x$_efl_enable_tests" = "xyes"; then :
32462 # Check whether --enable-coverage was given.
32463 if test "${enable_coverage+set}" = set; then :
32464 enableval=$enable_coverage;
32465 if test "x${enableval}" = "xyes" ; then
32466 _efl_enable_coverage="yes"
32468 _efl_enable_coverage="no"
32472 _efl_enable_coverage="no"
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
32477 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
32478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
32479 $as_echo "$_efl_enable_coverage" >&6; }
32482 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
32483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
32484 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
32485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
32486 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
32487 _efl_enable_coverage="no"
32490 if test "x$_efl_enable_coverage" = "xyes" ; then
32491 # Extract the first word of "lcov", so it can be a program name with args.
32492 set dummy lcov; ac_word=$2
32493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32494 $as_echo_n "checking for $ac_word... " >&6; }
32495 if test "${ac_cv_prog_have_lcov+set}" = set; then :
32496 $as_echo_n "(cached) " >&6
32498 if test -n "$have_lcov"; then
32499 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
32501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32502 for as_dir in $PATH
32505 test -z "$as_dir" && as_dir=.
32506 for ac_exec_ext in '' $ac_executable_extensions; do
32507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32508 ac_cv_prog_have_lcov="yes"
32509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32516 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
32519 have_lcov=$ac_cv_prog_have_lcov
32520 if test -n "$have_lcov"; then
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
32522 $as_echo "$have_lcov" >&6; }
32524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32525 $as_echo "no" >&6; }
32529 if test "x$have_lcov" = "xyes" ; then
32530 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
32531 EFL_COVERAGE_LIBS="-lgcov"
32532 # remove any optimisation flag and force debug symbols
32533 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
32535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
32536 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
32537 _efl_enable_coverage="no"
32544 if test "x${_efl_enable_coverage}" = "xyes"; then
32545 EFL_ENABLE_COVERAGE_TRUE=
32546 EFL_ENABLE_COVERAGE_FALSE='#'
32548 EFL_ENABLE_COVERAGE_TRUE='#'
32549 EFL_ENABLE_COVERAGE_FALSE=
32553 if test "x$_efl_enable_coverage" = "xyes"; then :
32554 enable_coverage="yes"
32556 enable_coverage="no"
32559 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
32560 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
32561 if test "x$enable_coverage" = "xyes" ; then
32562 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
32570 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
32571 EVAS_GENERAL_LIBS="${EINA_LIBS}"
32575 #####################################################################
32584 #####################################################################
32587 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"
32589 cat >confcache <<\_ACEOF
32590 # This file is a shell script that caches the results of configure
32591 # tests run on this system so they can be shared between configure
32592 # scripts and configure runs, see configure's option --config-cache.
32593 # It is not useful on other systems. If it contains results you don't
32594 # want to keep, you may remove or edit it.
32596 # config.status only pays attention to the cache file if you give it
32597 # the --recheck option to rerun configure.
32599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32601 # following values.
32605 # The following way of writing the cache mishandles newlines in values,
32606 # but we know of no workaround that is simple, portable, and efficient.
32607 # So, we kill variables containing newlines.
32608 # Ultrix sh set writes to stderr and can't be redirected directly,
32609 # and sets the high bit in the cache file unless we assign to the vars.
32611 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32612 eval ac_val=\$$ac_var
32616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
32620 _ | IFS | as_nl) ;; #(
32621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
32622 *) { eval $ac_var=; unset $ac_var;} ;;
32628 case $as_nl`(ac_space=' '; set) 2>&1` in #(
32629 *${as_nl}ac_space=\ *)
32630 # `set' does not quote correctly, so add quotes: double-quote
32631 # substitution turns \\\\ into \\, and sed turns \\ into \.
32634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32637 # `set' quotes correctly as required by POSIX, so do not add quotes.
32638 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32647 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32649 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32651 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
32652 if test -w "$cache_file"; then
32653 test "x$cache_file" != "x/dev/null" &&
32654 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
32655 $as_echo "$as_me: updating cache $cache_file" >&6;}
32656 cat confcache >$cache_file
32658 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
32659 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32664 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32665 # Let make expand exec_prefix.
32666 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32668 DEFS=-DHAVE_CONFIG_H
32673 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32674 # 1. Remove the extension, and $U if already installed.
32675 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
32676 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
32677 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
32678 # will be set to the directory where LIBOBJS objects are built.
32679 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
32680 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
32682 LIBOBJS=$ac_libobjs
32684 LTLIBOBJS=$ac_ltlibobjs
32687 if test -n "$EXEEXT"; then
32689 am__EXEEXT_FALSE='#'
32691 am__EXEEXT_TRUE='#'
32695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32696 as_fn_error $? "conditional \"AMDEP\" was never defined.
32697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32699 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32700 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32703 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32704 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32707 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32708 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32711 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32712 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32715 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32716 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32720 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32723 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
32724 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
32725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32727 if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
32728 as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
32729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32731 if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
32732 as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
32733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32736 if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
32737 as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
32738 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32740 if test -z "${EVAS_CSERVE2_TRUE}" && test -z "${EVAS_CSERVE2_FALSE}"; then
32741 as_fn_error $? "conditional \"EVAS_CSERVE2\" was never defined.
32742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32744 if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
32745 as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
32746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32748 if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
32749 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
32750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32752 if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
32753 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
32754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32756 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
32757 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
32758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32760 if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
32761 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
32762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32764 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
32765 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
32766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32768 if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
32769 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
32770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32772 if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
32773 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
32774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32776 if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
32777 as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
32778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32780 if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
32781 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
32782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32784 if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
32785 as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
32786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32788 if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
32789 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
32790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32792 if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
32793 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
32794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32796 if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
32797 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
32798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32800 if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
32801 as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
32802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32804 if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
32805 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
32806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32808 if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
32809 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
32810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32812 if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
32813 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
32814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32816 if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
32817 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
32818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32820 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
32821 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
32822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32824 if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
32825 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
32826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32828 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
32829 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
32830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32832 if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
32833 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
32834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32836 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
32837 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
32838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32840 if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
32841 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
32842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32844 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
32845 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
32846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32848 if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
32849 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
32850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32852 if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
32853 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
32854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32856 if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
32857 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
32858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32860 if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
32861 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
32862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32864 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
32865 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
32866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32868 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
32869 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
32870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32872 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
32873 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
32874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32876 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
32877 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
32878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32880 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
32881 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
32882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32884 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
32885 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
32886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32888 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
32889 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
32890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32892 if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
32893 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
32894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32896 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
32897 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
32898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32900 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
32901 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
32902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32904 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
32905 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
32906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32908 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
32909 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
32910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32912 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
32913 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
32914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32916 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
32917 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
32918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32920 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
32921 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
32922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32924 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
32925 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
32926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32928 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
32929 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
32930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32932 if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
32933 as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
32934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32936 if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
32937 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
32938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32940 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
32941 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
32942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32944 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
32945 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
32946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32948 if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
32949 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
32950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32952 if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
32953 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
32954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32956 if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
32957 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
32958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32960 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
32961 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
32962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32964 if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
32965 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
32966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32968 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
32969 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
32970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32972 if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
32973 as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
32974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32976 if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
32977 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
32978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32980 if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
32981 as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
32982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32984 if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
32985 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
32986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32988 if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
32989 as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
32990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32992 if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
32993 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
32994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32996 if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
32997 as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
32998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33000 if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33001 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33004 if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33005 as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33008 if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33009 as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33012 if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33013 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33016 if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33017 as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33020 if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33021 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33024 if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33025 as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33028 if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33029 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33032 if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33033 as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33036 if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33037 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33040 if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33041 as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33044 if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33045 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33048 if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33049 as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33052 if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33053 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33056 if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33057 as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33060 if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33061 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33064 if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33065 as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33068 if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33069 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33072 if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33073 as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33076 if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33077 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33080 if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33081 as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33084 if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33085 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33088 if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33089 as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33092 if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33093 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33096 if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33097 as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33100 if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33101 as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33104 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33105 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33108 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33109 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33112 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33113 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33117 : ${CONFIG_STATUS=./config.status}
33119 ac_clean_files_save=$ac_clean_files
33120 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33122 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33124 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33126 # Generated by $as_me.
33127 # Run this file to recreate the current configuration.
33128 # Compiler output produced by configure, useful for debugging
33129 # configure, is in config.log if it exists.
33132 ac_cs_recheck=false
33135 SHELL=\${CONFIG_SHELL-$SHELL}
33138 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
33139 ## -------------------- ##
33140 ## M4sh Initialization. ##
33141 ## -------------------- ##
33143 # Be more Bourne compatible
33144 DUALCASE=1; export DUALCASE # for MKS sh
33145 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33148 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33149 # is contrary to our usage. Disable this feature.
33150 alias -g '${1+"$@"}'='"$@"'
33151 setopt NO_GLOB_SUBST
33153 case `(set -o) 2>/dev/null` in #(
33165 # Printing a long string crashes Solaris 7 /usr/bin/printf.
33166 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33167 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33168 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33169 # Prefer a ksh shell builtin over an external printf program on Solaris,
33170 # but without wasting forks for bash or zsh.
33171 if test -z "$BASH_VERSION$ZSH_VERSION" \
33172 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
33173 as_echo='print -r --'
33174 as_echo_n='print -rn --'
33175 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33176 as_echo='printf %s\n'
33177 as_echo_n='printf %s'
33179 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33180 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33181 as_echo_n='/usr/ucb/echo -n'
33183 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33184 as_echo_n_body='eval
33188 expr "X$arg" : "X\\(.*\\)$as_nl";
33189 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33191 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33193 export as_echo_n_body
33194 as_echo_n='sh -c $as_echo_n_body as_echo'
33196 export as_echo_body
33197 as_echo='sh -c $as_echo_body as_echo'
33200 # The user is always right.
33201 if test "${PATH_SEPARATOR+set}" != set; then
33203 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33204 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33211 # We need space, tab and new line, in precisely that order. Quoting is
33212 # there to prevent editors from complaining about space-tab.
33213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33214 # splitting by setting IFS to empty value.)
33217 # Find who we are. Look in the path if we contain no directory separator.
33219 *[\\/]* ) as_myself=$0 ;;
33220 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33221 for as_dir in $PATH
33224 test -z "$as_dir" && as_dir=.
33225 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33231 # We did not find ourselves, most probably we were run as `sh COMMAND'
33232 # in which case we are not to be found in the path.
33233 if test "x$as_myself" = x; then
33236 if test ! -f "$as_myself"; then
33237 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33241 # Unset variables that we do not need and which cause bugs (e.g. in
33242 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
33243 # suppresses any "Segmentation fault" message there. '((' could
33244 # trigger a bug in pdksh 5.2.14.
33245 for as_var in BASH_ENV ENV MAIL MAILPATH
33246 do eval test x\${$as_var+set} = xset \
33247 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
33260 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33263 # as_fn_error STATUS ERROR [LINENO LOG_FD]
33264 # ----------------------------------------
33265 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
33266 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
33267 # script with STATUS, using 1 if that was 0.
33270 as_status=$1; test $as_status -eq 0 && as_status=1
33272 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
33273 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
33275 $as_echo "$as_me: error: $2" >&2
33276 as_fn_exit $as_status
33280 # as_fn_set_status STATUS
33281 # -----------------------
33282 # Set $? to STATUS, without forking.
33283 as_fn_set_status ()
33286 } # as_fn_set_status
33288 # as_fn_exit STATUS
33289 # -----------------
33290 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
33294 as_fn_set_status $1
33300 # Portably unset VAR.
33303 { eval $1=; unset $1;}
33305 as_unset=as_fn_unset
33306 # as_fn_append VAR VALUE
33307 # ----------------------
33308 # Append the text in VALUE to the end of the definition contained in VAR. Take
33309 # advantage of any shell optimizations that allow amortized linear growth over
33310 # repeated appends, instead of the typical quadratic growth present in naive
33312 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
33313 eval 'as_fn_append ()
33324 # as_fn_arith ARG...
33325 # ------------------
33326 # Perform arithmetic evaluation on the ARGs, and store the result in the
33327 # global $as_val. Take advantage of shells that can avoid forks. The arguments
33328 # must be portable across $(()) and expr.
33329 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
33330 eval 'as_fn_arith ()
33337 as_val=`expr "$@" || test $? -eq 1`
33342 if expr a : '\(a\)' >/dev/null 2>&1 &&
33343 test "X`expr 00001 : '.*\(...\)'`" = X001; then
33349 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33350 as_basename=basename
33355 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33361 as_me=`$as_basename -- "$0" ||
33362 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33363 X"$0" : 'X\(//\)$' \| \
33364 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33366 sed '/^.*\/\([^/][^/]*\)\/*$/{
33380 # Avoid depending upon Character Ranges.
33381 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33382 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33383 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33384 as_cr_digits='0123456789'
33385 as_cr_alnum=$as_cr_Letters$as_cr_digits
33387 ECHO_C= ECHO_N= ECHO_T=
33388 case `echo -n x` in #(((((
33390 case `echo 'xy\c'` in
33391 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
33393 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
33400 rm -f conf$$ conf$$.exe conf$$.file
33401 if test -d conf$$.dir; then
33402 rm -f conf$$.dir/conf$$.file
33405 mkdir conf$$.dir 2>/dev/null
33407 if (echo >conf$$.file) 2>/dev/null; then
33408 if ln -s conf$$.file conf$$ 2>/dev/null; then
33410 # ... but there are two gotchas:
33411 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33412 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33413 # In both cases, we have to default to `cp -p'.
33414 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33416 elif ln conf$$.file conf$$ 2>/dev/null; then
33424 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33425 rmdir conf$$.dir 2>/dev/null
33430 # Create "$as_dir" as a directory, including parents if necessary.
33435 -*) as_dir=./$as_dir;;
33437 test -d "$as_dir" || eval $as_mkdir_p || {
33441 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
33442 *) as_qdir=$as_dir;;
33444 as_dirs="'$as_qdir' $as_dirs"
33445 as_dir=`$as_dirname -- "$as_dir" ||
33446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33447 X"$as_dir" : 'X\(//\)[^/]' \| \
33448 X"$as_dir" : 'X\(//\)$' \| \
33449 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33450 $as_echo X"$as_dir" |
33451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33455 /^X\(\/\/\)[^/].*/{
33468 test -d "$as_dir" && break
33470 test -z "$as_dirs" || eval "mkdir $as_dirs"
33471 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
33475 if mkdir -p . 2>/dev/null; then
33476 as_mkdir_p='mkdir -p "$as_dir"'
33478 test -d ./-p && rmdir ./-p
33482 if test -x / >/dev/null 2>&1; then
33483 as_test_x='test -x'
33485 if ls -dL / >/dev/null 2>&1; then
33492 if test -d "$1"; then
33498 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
33499 ???[sx]*):;;*)false;;esac;fi
33503 as_executable_p=$as_test_x
33505 # Sed expression to map a string onto a valid CPP name.
33506 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33508 # Sed expression to map a string onto a valid variable name.
33509 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33513 ## ----------------------------------- ##
33514 ## Main body of $CONFIG_STATUS script. ##
33515 ## ----------------------------------- ##
33517 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
33519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33520 # Save the log message, to keep $0 and so on meaningful, and to
33521 # report actual input values of CONFIG_FILES etc. instead of their
33522 # values after options handling.
33524 This file was extended by evas $as_me 1.7.1, which was
33525 generated by GNU Autoconf 2.67. Invocation command line was
33527 CONFIG_FILES = $CONFIG_FILES
33528 CONFIG_HEADERS = $CONFIG_HEADERS
33529 CONFIG_LINKS = $CONFIG_LINKS
33530 CONFIG_COMMANDS = $CONFIG_COMMANDS
33533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
33538 case $ac_config_files in *"
33539 "*) set x $ac_config_files; shift; ac_config_files=$*;;
33542 case $ac_config_headers in *"
33543 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
33547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33548 # Files that config.status was made for.
33549 config_files="$ac_config_files"
33550 config_headers="$ac_config_headers"
33551 config_commands="$ac_config_commands"
33555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33557 \`$as_me' instantiates files and other configuration actions
33558 from templates according to the current configuration. Unless the files
33559 and actions are specified as TAGs, all are instantiated by default.
33561 Usage: $0 [OPTION]... [TAG]...
33563 -h, --help print this help, then exit
33564 -V, --version print version number and configuration settings, then exit
33565 --config print configuration, then exit
33566 -q, --quiet, --silent
33567 do not print progress messages
33568 -d, --debug don't remove temporary files
33569 --recheck update $as_me by reconfiguring in the same conditions
33570 --file=FILE[:TEMPLATE]
33571 instantiate the configuration file FILE
33572 --header=FILE[:TEMPLATE]
33573 instantiate the configuration header FILE
33575 Configuration files:
33578 Configuration headers:
33581 Configuration commands:
33584 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
33587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33588 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
33590 evas config.status 1.7.1
33591 configured by $0, generated by GNU Autoconf 2.67,
33592 with options \\"\$ac_cs_config\\"
33594 Copyright (C) 2010 Free Software Foundation, Inc.
33595 This config.status script is free software; the Free Software Foundation
33596 gives unlimited permission to copy, distribute and modify it."
33603 test -n "\$AWK" || AWK=awk
33606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33607 # The default lists apply if the user does not specify any file.
33613 ac_option=`expr "X$1" : 'X\([^=]*\)='`
33614 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33618 ac_option=`expr "X$1" : 'X\([^=]*\)='`
33630 # Handling of the options.
33631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33633 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33634 $as_echo "$ac_cs_version"; exit ;;
33635 --config | --confi | --conf | --con | --co | --c )
33636 $as_echo "$ac_cs_config"; exit ;;
33637 --debug | --debu | --deb | --de | --d | -d )
33639 --file | --fil | --fi | --f )
33642 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33643 '') as_fn_error $? "missing file argument" ;;
33645 as_fn_append CONFIG_FILES " '$ac_optarg'"
33646 ac_need_defaults=false;;
33647 --header | --heade | --head | --hea )
33650 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33652 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
33653 ac_need_defaults=false;;
33655 # Conflict between --help and --header
33656 as_fn_error $? "ambiguous option: \`$1'
33657 Try \`$0 --help' for more information.";;
33658 --help | --hel | -h )
33659 $as_echo "$ac_cs_usage"; exit ;;
33660 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33661 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33664 # This is an error.
33665 -*) as_fn_error $? "unrecognized option: \`$1'
33666 Try \`$0 --help' for more information." ;;
33668 *) as_fn_append ac_config_targets " $1"
33669 ac_need_defaults=false ;;
33675 ac_configure_extra_args=
33677 if $ac_cs_silent; then
33679 ac_configure_extra_args="$ac_configure_extra_args --silent"
33683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33684 if \$ac_cs_recheck; then
33685 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33687 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
33688 CONFIG_SHELL='$SHELL'
33689 export CONFIG_SHELL
33694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33698 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33699 ## Running $as_me. ##
33705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33709 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33712 # The HP-UX ksh and POSIX shell print the target directory to stdout
33713 # if CDPATH is set.
33714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33716 sed_quote_subst='$sed_quote_subst'
33717 double_quote_subst='$double_quote_subst'
33718 delay_variable_subst='$delay_variable_subst'
33719 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
33720 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
33721 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
33722 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33723 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33724 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33725 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33726 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33727 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33728 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33729 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33730 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33731 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33732 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33733 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33734 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33735 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33736 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33737 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33738 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33739 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33740 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33741 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33742 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33743 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33744 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33745 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33746 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33747 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33748 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33749 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33750 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33751 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33752 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33753 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33754 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33755 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33756 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33757 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33758 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33759 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33760 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33761 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33762 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33763 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33764 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33765 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
33766 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33767 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33768 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33769 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33770 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33771 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33772 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33773 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33774 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33775 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33776 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33777 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
33778 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
33779 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
33780 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
33781 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
33782 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33783 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33784 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33785 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33786 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33787 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33788 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33789 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33790 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33791 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33792 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33793 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33794 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33795 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33796 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33797 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33798 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33799 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33800 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33801 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33802 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33803 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33804 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33805 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33806 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33807 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33808 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33809 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33810 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33811 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33812 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33813 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33814 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33815 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33816 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33817 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33818 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33819 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33820 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33821 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33822 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33823 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33824 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33825 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33826 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33827 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33828 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33829 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33830 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33831 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33832 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33833 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33834 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33835 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33836 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33837 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33838 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33839 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
33840 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33841 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33842 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33843 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33844 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33845 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33846 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33847 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33848 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33849 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33850 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33851 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33852 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33853 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33854 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33855 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33856 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33857 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33858 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33859 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33860 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33861 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33862 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33863 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33864 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33865 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33866 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33867 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33868 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33869 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33870 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33871 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33872 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33873 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33874 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33875 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33876 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33877 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33878 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33879 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33880 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33881 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33882 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33883 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33884 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33885 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33886 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33887 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33888 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33889 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33890 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33891 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33894 LTCFLAGS='$LTCFLAGS'
33895 compiler='$compiler_DEFAULT'
33897 # Quote evaled strings.
33908 deplibs_check_method \
33917 lt_cv_sys_global_symbol_pipe \
33918 lt_cv_sys_global_symbol_to_cdecl \
33919 lt_cv_sys_global_symbol_to_c_name_address \
33920 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
33923 lt_prog_compiler_no_builtin_flag \
33924 lt_prog_compiler_wl \
33925 lt_prog_compiler_pic \
33926 lt_prog_compiler_static \
33927 lt_cv_prog_compiler_c_o \
33935 export_dynamic_flag_spec \
33936 whole_archive_flag_spec \
33937 compiler_needs_object \
33939 allow_undefined_flag \
33940 no_undefined_flag \
33941 hardcode_libdir_flag_spec \
33942 hardcode_libdir_flag_spec_ld \
33943 hardcode_libdir_separator \
33948 variables_saved_for_relink \
33950 library_names_spec \
33955 compiler_lib_search_dirs \
33960 compiler_lib_search_path \
33963 lt_prog_compiler_no_builtin_flag_CXX \
33964 lt_prog_compiler_wl_CXX \
33965 lt_prog_compiler_pic_CXX \
33966 lt_prog_compiler_static_CXX \
33967 lt_cv_prog_compiler_c_o_CXX \
33968 export_dynamic_flag_spec_CXX \
33969 whole_archive_flag_spec_CXX \
33970 compiler_needs_object_CXX \
33972 allow_undefined_flag_CXX \
33973 no_undefined_flag_CXX \
33974 hardcode_libdir_flag_spec_CXX \
33975 hardcode_libdir_flag_spec_ld_CXX \
33976 hardcode_libdir_separator_CXX \
33977 fix_srcfile_path_CXX \
33978 exclude_expsyms_CXX \
33979 include_expsyms_CXX \
33980 file_list_spec_CXX \
33981 compiler_lib_search_dirs_CXX \
33982 predep_objects_CXX \
33983 postdep_objects_CXX \
33986 compiler_lib_search_path_CXX; do
33987 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33988 *[\\\\\\\`\\"\\\$]*)
33989 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33992 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33997 # Double-quote double-evaled strings.
33998 for var in reload_cmds \
33999 old_postinstall_cmds \
34000 old_postuninstall_cmds \
34002 extract_expsyms_cmds \
34003 old_archive_from_new_cmds \
34004 old_archive_from_expsyms_cmds \
34006 archive_expsym_cmds \
34008 module_expsym_cmds \
34009 export_symbols_cmds \
34012 postuninstall_cmds \
34014 sys_lib_search_path_spec \
34015 sys_lib_dlsearch_path_spec \
34016 old_archive_cmds_CXX \
34017 old_archive_from_new_cmds_CXX \
34018 old_archive_from_expsyms_cmds_CXX \
34020 archive_expsym_cmds_CXX \
34022 module_expsym_cmds_CXX \
34023 export_symbols_cmds_CXX \
34024 prelink_cmds_CXX; do
34025 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34026 *[\\\\\\\`\\"\\\$]*)
34027 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34030 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34035 # Fix-up fallback echo if it was mangled by the above quoting rules.
34037 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34041 ac_aux_dir='$ac_aux_dir'
34042 xsi_shell='$xsi_shell'
34043 lt_shell_append='$lt_shell_append'
34045 # See if we are running on zsh, and set the options which allow our
34046 # commands through without removal of \ escapes INIT.
34047 if test -n "\${ZSH_VERSION+set}" ; then
34048 setopt NO_GLOB_SUBST
34054 TIMESTAMP='$TIMESTAMP'
34065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34067 # Handling of arguments.
34068 for ac_config_target in $ac_config_targets
34070 case $ac_config_target in
34071 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34072 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34073 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34074 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34075 "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34076 "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34077 "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34078 "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34079 "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34080 "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34081 "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34082 "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34083 "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34084 "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34085 "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34086 "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34087 "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34088 "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34089 "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34090 "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34091 "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34092 "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34093 "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34094 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34095 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34096 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34097 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34098 "src/bin/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/Makefile" ;;
34099 "src/bin/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/jpeg/Makefile" ;;
34100 "src/bin/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/png/Makefile" ;;
34101 "src/bin/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/eet/Makefile" ;;
34102 "src/bin/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tiff/Makefile" ;;
34103 "src/bin/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/xpm/Makefile" ;;
34104 "src/bin/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/bmp/Makefile" ;;
34105 "src/bin/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/ico/Makefile" ;;
34106 "src/bin/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tga/Makefile" ;;
34107 "src/bin/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/pmaps/Makefile" ;;
34108 "src/bin/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/wbmp/Makefile" ;;
34109 "src/bin/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/psd/Makefile" ;;
34110 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34111 "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34112 "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34113 "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34114 "src/lib/cache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache2/Makefile" ;;
34115 "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34116 "src/lib/cserve2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve2/Makefile" ;;
34117 "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34118 "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34119 "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34120 "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34121 "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34122 "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
34123 "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
34124 "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
34125 "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
34126 "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
34127 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
34128 "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
34129 "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
34130 "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
34131 "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
34132 "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
34133 "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
34134 "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
34135 "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
34136 "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
34137 "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
34138 "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
34139 "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
34140 "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
34141 "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
34142 "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
34143 "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
34144 "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
34145 "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
34146 "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
34147 "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
34148 "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
34149 "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
34150 "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
34151 "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
34152 "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
34153 "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
34154 "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
34155 "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
34156 "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
34157 "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
34158 "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
34159 "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
34160 "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
34161 "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
34162 "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
34163 "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
34164 "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
34165 "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
34166 "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
34167 "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
34168 "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
34169 "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
34170 "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
34171 "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
34172 "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
34173 "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
34174 "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
34175 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
34176 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
34177 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
34178 "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
34180 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
34185 # If the user did not use the arguments to specify the items to instantiate,
34186 # then the envvar interface is used. Set only those that are not.
34187 # We use the long form for the default assignment because of an extremely
34188 # bizarre bug on SunOS 4.1.3.
34189 if $ac_need_defaults; then
34190 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34191 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34192 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34195 # Have a temporary directory for convenience. Make it in the build tree
34196 # simply because there is no reason against having it here, and in addition,
34197 # creating and moving files from /tmp can sometimes cause problems.
34198 # Hook for its removal unless debugging.
34199 # Note that there is a small window in which the directory will not be cleaned:
34200 # after its creation but before its name has been assigned to `$tmp'.
34204 trap 'exit_status=$?
34205 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34207 trap 'as_fn_exit 1' 1 2 13 15
34209 # Create a (secure) tmp directory for tmp files.
34212 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34213 test -n "$tmp" && test -d "$tmp"
34216 tmp=./conf$$-$RANDOM
34217 (umask 077 && mkdir "$tmp")
34218 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
34220 # Set up the scripts for CONFIG_FILES section.
34221 # No need to generate them if there are no CONFIG_FILES.
34222 # This happens for instance with `./config.status config.h'.
34223 if test -n "$CONFIG_FILES"; then
34226 ac_cr=`echo X | tr X '\015'`
34227 # On cygwin, bash can eat \r inside `` if the user requested igncr.
34228 # But we know of no other shell where ac_cr would be empty at this
34229 # point, so we can use a bashism as a fallback.
34230 if test "x$ac_cr" = x; then
34231 eval ac_cr=\$\'\\r\'
34233 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34234 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34237 ac_cs_awk_cr=$ac_cr
34240 echo 'BEGIN {' >"$tmp/subs1.awk" &&
34245 echo "cat >conf$$subs.awk <<_ACEOF" &&
34246 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
34248 } >conf$$subs.sh ||
34249 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34250 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
34252 for ac_last_try in false false false false false :; do
34253 . ./conf$$subs.sh ||
34254 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34256 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
34257 if test $ac_delim_n = $ac_delim_num; then
34259 elif $ac_last_try; then
34260 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34262 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34265 rm -f conf$$subs.sh
34267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34268 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
34272 s/^/S["/; s/!.*/"]=/
34282 s/\(.\{148\}\)..*/\1/
34284 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
34289 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34296 s/\(.\{148\}\)..*/\1/
34298 s/["\\]/\\&/g; s/^/"/; s/$/"/
34302 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34307 ' <conf$$subs.awk | sed '
34312 ' >>$CONFIG_STATUS || ac_write_fail=1
34313 rm -f conf$$subs.awk
34314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34316 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
34317 for (key in S) S_is_set[key] = 1
34323 nfields = split(line, field, "@")
34325 len = length(field[1])
34326 for (i = 2; i < nfields; i++) {
34328 keylen = length(key)
34329 if (S_is_set[key]) {
34331 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
34332 len += length(value) + length(field[++i])
34343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34344 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
34345 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34348 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
34349 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34352 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
34353 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
34354 # trailing colons and then remove the whole line if VPATH becomes empty
34355 # (actually we leave an empty line to preserve line numbers).
34356 if test "x$srcdir" = x.; then
34357 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
34375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34376 fi # test -n "$CONFIG_FILES"
34378 # Set up the scripts for CONFIG_HEADERS section.
34379 # No need to generate them if there are no CONFIG_HEADERS.
34380 # This happens for instance with `./config.status Makefile'.
34381 if test -n "$CONFIG_HEADERS"; then
34382 cat >"$tmp/defines.awk" <<\_ACAWK ||
34386 # Transform confdefs.h into an awk script `defines.awk', embedded as
34387 # here-document in config.status, that substitutes the proper values into
34388 # config.h.in to produce config.h.
34390 # Create a delimiter string that does not exist in confdefs.h, to ease
34391 # handling of long lines.
34393 for ac_last_try in false false :; do
34394 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
34395 if test -z "$ac_t"; then
34397 elif $ac_last_try; then
34398 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
34400 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34404 # For the awk script, D is an array of macro values keyed by name,
34405 # likewise P contains macro parameters if any. Preserve backslash
34406 # newline sequences.
34408 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34410 s/.\{148\}/&'"$ac_delim"'/g
34413 s/^[ ]*#[ ]*define[ ][ ]*/ /
34420 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
34422 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
34426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
34427 D["\1"]=" \3\\\\\\n"\\/p
34429 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
34434 s/.\{148\}/&'"$ac_delim"'/g
34439 s/["\\]/\\&/g; s/^/"/; s/$/"/p
34442 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
34444 ' <confdefs.h | sed '
34445 s/'"$ac_delim"'/"\\\
34446 "/g' >>$CONFIG_STATUS || ac_write_fail=1
34448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34449 for (key in D) D_is_set[key] = 1
34452 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
34454 split(line, arg, " ")
34455 if (arg[1] == "#") {
34459 defundef = substr(arg[1], 2)
34462 split(mac1, mac2, "(") #)
34464 prefix = substr(line, 1, index(line, defundef) - 1)
34465 if (D_is_set[macro]) {
34466 # Preserve the white space surrounding the "#".
34467 print prefix "define", macro P[macro] D[macro]
34470 # Replace #undef with comments. This is necessary, for example,
34471 # in the case of _POSIX_SOURCE, which is predefined and required
34472 # on some systems where configure will not decide to define it.
34473 if (defundef == "undef") {
34474 print "/*", prefix defundef, macro, "*/"
34482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34483 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
34484 fi # test -n "$CONFIG_HEADERS"
34487 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
34492 :[FHLC]) ac_mode=$ac_tag; continue;;
34494 case $ac_mode$ac_tag in
34496 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
34497 :[FH]-) ac_tag=-:-;;
34498 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34515 -) ac_f="$tmp/stdin";;
34516 *) # Look for the file first in the build tree, then in the source tree
34517 # (if the path is not absolute). The absolute path cannot be DOS-style,
34518 # because $ac_f cannot contain `:'.
34522 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34524 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
34526 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34527 as_fn_append ac_file_inputs " '$ac_f'"
34530 # Let's still pretend it is `configure' which instantiates (i.e., don't
34531 # use $as_me), people would be surprised to read:
34532 # /* config.h. Generated by config.status. */
34533 configure_input='Generated from '`
34534 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
34536 if test x"$ac_file" != x-; then
34537 configure_input="$ac_file. $configure_input"
34538 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
34539 $as_echo "$as_me: creating $ac_file" >&6;}
34541 # Neutralize special characters interpreted by sed in replacement strings.
34542 case $configure_input in #(
34543 *\&* | *\|* | *\\* )
34544 ac_sed_conf_input=`$as_echo "$configure_input" |
34545 sed 's/[\\\\&|]/\\\\&/g'`;; #(
34546 *) ac_sed_conf_input=$configure_input;;
34550 *:-:* | *:-) cat >"$tmp/stdin" \
34551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
34556 ac_dir=`$as_dirname -- "$ac_file" ||
34557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34558 X"$ac_file" : 'X\(//\)[^/]' \| \
34559 X"$ac_file" : 'X\(//\)$' \| \
34560 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34561 $as_echo X"$ac_file" |
34562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34566 /^X\(\/\/\)[^/].*/{
34579 as_dir="$ac_dir"; as_fn_mkdir_p
34583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34585 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
34586 # A ".." for each directory in $ac_dir_suffix.
34587 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
34588 case $ac_top_builddir_sub in
34589 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34590 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34593 ac_abs_top_builddir=$ac_pwd
34594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
34595 # for backward compatibility:
34596 ac_top_builddir=$ac_top_build_prefix
34599 .) # We are building in place.
34601 ac_top_srcdir=$ac_top_builddir_sub
34602 ac_abs_top_srcdir=$ac_pwd ;;
34603 [\\/]* | ?:[\\/]* ) # Absolute name.
34604 ac_srcdir=$srcdir$ac_dir_suffix;
34605 ac_top_srcdir=$srcdir
34606 ac_abs_top_srcdir=$srcdir ;;
34607 *) # Relative name.
34608 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34609 ac_top_srcdir=$ac_top_build_prefix$srcdir
34610 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34622 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34623 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34625 ac_MKDIR_P=$MKDIR_P
34627 [\\/$]* | ?:[\\/]* ) ;;
34628 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
34632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34633 # If the template does not know about datarootdir, expand it.
34634 # FIXME: This hack should be removed a few years after 2.60.
34635 ac_datarootdir_hack=; ac_datarootdir_seen=
34646 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
34647 *datarootdir*) ac_datarootdir_seen=yes;;
34648 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34650 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34653 ac_datarootdir_hack='
34654 s&@datadir@&$datadir&g
34655 s&@docdir@&$docdir&g
34656 s&@infodir@&$infodir&g
34657 s&@localedir@&$localedir&g
34658 s&@mandir@&$mandir&g
34659 s&\\\${datarootdir}&$datarootdir&g' ;;
34663 # Neutralize VPATH when `$srcdir' = `.'.
34664 # Shell code in configure.ac might set extrasub.
34665 # FIXME: do we really want to maintain this feature?
34666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34667 ac_sed_extra="$ac_vpsub
34670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34672 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34673 s|@configure_input@|$ac_sed_conf_input|;t t
34674 s&@top_builddir@&$ac_top_builddir_sub&;t t
34675 s&@top_build_prefix@&$ac_top_build_prefix&;t t
34676 s&@srcdir@&$ac_srcdir&;t t
34677 s&@abs_srcdir@&$ac_abs_srcdir&;t t
34678 s&@top_srcdir@&$ac_top_srcdir&;t t
34679 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34680 s&@builddir@&$ac_builddir&;t t
34681 s&@abs_builddir@&$ac_abs_builddir&;t t
34682 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34683 s&@INSTALL@&$ac_INSTALL&;t t
34684 s&@MKDIR_P@&$ac_MKDIR_P&;t t
34685 $ac_datarootdir_hack
34687 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
34688 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34690 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34691 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34692 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34694 which seems to be undefined. Please make sure it is defined" >&5
34695 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34696 which seems to be undefined. Please make sure it is defined" >&2;}
34700 -) cat "$tmp/out" && rm -f "$tmp/out";;
34701 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
34703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34709 if test x"$ac_file" != x-; then
34711 $as_echo "/* $configure_input */" \
34712 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
34713 } >"$tmp/config.h" \
34714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34715 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
34716 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
34717 $as_echo "$as_me: $ac_file is unchanged" >&6;}
34720 mv "$tmp/config.h" "$ac_file" \
34721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34724 $as_echo "/* $configure_input */" \
34725 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
34726 || as_fn_error $? "could not create -" "$LINENO" 5
34728 # Compute "$ac_file"'s index in $config_headers.
34731 for _am_header in $config_headers :; do
34732 case $_am_header in
34733 $_am_arg | $_am_arg:* )
34736 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34739 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
34740 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34741 X"$_am_arg" : 'X\(//\)[^/]' \| \
34742 X"$_am_arg" : 'X\(//\)$' \| \
34743 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
34744 $as_echo X"$_am_arg" |
34745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34749 /^X\(\/\/\)[^/].*/{
34761 s/.*/./; q'`/stamp-h$_am_stamp_count
34764 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
34765 $as_echo "$as_me: executing $ac_file commands" >&6;}
34770 case $ac_file$ac_mode in
34771 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
34772 # Autoconf 2.62 quotes --file arguments for eval, but not when files
34773 # are listed without --file. Let's play safe and only enable the eval
34774 # if we detect the quoting.
34775 case $CONFIG_FILES in
34776 *\'*) eval set x "$CONFIG_FILES" ;;
34777 *) set x $CONFIG_FILES ;;
34782 # Strip MF so we end up with the name of the file.
34783 mf=`echo "$mf" | sed -e 's/:.*$//'`
34784 # Check whether this is an Automake generated Makefile or not.
34785 # We used to match only the files named `Makefile.in', but
34786 # some people rename them; so instead we look at the file content.
34787 # Grep'ing the first line is not enough: some people post-process
34788 # each Makefile.in and add a new line on top of each file to say so.
34789 # Grep'ing the whole file is not good either: AIX grep has a line
34790 # limit of 2048, but all sed's we know have understand at least 4000.
34791 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
34792 dirpart=`$as_dirname -- "$mf" ||
34793 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34794 X"$mf" : 'X\(//\)[^/]' \| \
34795 X"$mf" : 'X\(//\)$' \| \
34796 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34802 /^X\(\/\/\)[^/].*/{
34818 # Extract the definition of DEPDIR, am__include, and am__quote
34819 # from the Makefile without running `make'.
34820 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34821 test -z "$DEPDIR" && continue
34822 am__include=`sed -n 's/^am__include = //p' < "$mf"`
34823 test -z "am__include" && continue
34824 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34825 # When using ansi2knr, U may be empty or an underscore; expand it
34826 U=`sed -n 's/^U = //p' < "$mf"`
34827 # Find all dependency output files, they are included files with
34828 # $(DEPDIR) in their names. We invoke sed twice because it is the
34829 # simplest approach to changing $(DEPDIR) to its actual value in the
34831 for file in `sed -n "
34832 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34833 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34834 # Make sure the directory exists.
34835 test -f "$dirpart/$file" && continue
34836 fdir=`$as_dirname -- "$file" ||
34837 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34838 X"$file" : 'X\(//\)[^/]' \| \
34839 X"$file" : 'X\(//\)$' \| \
34840 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34841 $as_echo X"$file" |
34842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34846 /^X\(\/\/\)[^/].*/{
34859 as_dir=$dirpart/$fdir; as_fn_mkdir_p
34860 # echo "creating $dirpart/$file"
34861 echo '# dummy' > "$dirpart/$file"
34868 # See if we are running on zsh, and set the options which allow our
34869 # commands through without removal of \ escapes.
34870 if test -n "${ZSH_VERSION+set}" ; then
34871 setopt NO_GLOB_SUBST
34874 cfgfile="${ofile}T"
34875 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34878 cat <<_LT_EOF >> "$cfgfile"
34881 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34882 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
34883 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34884 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34886 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34887 # 2006, 2007, 2008 Free Software Foundation, Inc.
34888 # Written by Gordon Matzigkeit, 1996
34890 # This file is part of GNU Libtool.
34892 # GNU Libtool is free software; you can redistribute it and/or
34893 # modify it under the terms of the GNU General Public License as
34894 # published by the Free Software Foundation; either version 2 of
34895 # the License, or (at your option) any later version.
34897 # As a special exception to the GNU General Public License,
34898 # if you distribute this file as part of a program or library that
34899 # is built using GNU Libtool, you may include this file under the
34900 # same distribution terms that you use for the rest of that program.
34902 # GNU Libtool is distributed in the hope that it will be useful,
34903 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34904 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34905 # GNU General Public License for more details.
34907 # You should have received a copy of the GNU General Public License
34908 # along with GNU Libtool; see the file COPYING. If not, a copy
34909 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
34910 # obtained by writing to the Free Software Foundation, Inc.,
34911 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34914 # The names of the tagged configurations supported by this script.
34915 available_tags="CXX "
34917 # ### BEGIN LIBTOOL CONFIG
34919 # Assembler program.
34922 # DLL creation program.
34925 # Object dumper program.
34928 # Which release of libtool.m4 was used?
34929 macro_version=$macro_version
34930 macro_revision=$macro_revision
34932 # Whether or not to build shared libraries.
34933 build_libtool_libs=$enable_shared
34935 # Whether or not to build static libraries.
34936 build_old_libs=$enable_static
34938 # What type of objects to build.
34941 # Whether or not to optimize for fast installation.
34942 fast_install=$enable_fast_install
34945 host_alias=$host_alias
34949 # The build system.
34950 build_alias=$build_alias
34954 # A sed program that does not truncate output.
34957 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34958 Xsed="\$SED -e 1s/^X//"
34960 # A grep program that handles long lines.
34966 # A literal string matcher.
34969 # A BSD- or MS-compatible name lister.
34972 # Whether we need soft or hard links.
34975 # What is the maximum length of a command?
34976 max_cmd_len=$max_cmd_len
34978 # Object file suffix (normally "o").
34981 # Executable file suffix (normally "").
34984 # whether the shell understands "unset".
34987 # turn spaces into newlines.
34990 # turn newlines into spaces.
34993 # How to create reloadable object files.
34994 reload_flag=$lt_reload_flag
34995 reload_cmds=$lt_reload_cmds
34997 # Method to check whether dependent libraries are shared objects.
34998 deplibs_check_method=$lt_deplibs_check_method
35000 # Command to use when deplibs_check_method == "file_magic".
35001 file_magic_cmd=$lt_file_magic_cmd
35005 AR_FLAGS=$lt_AR_FLAGS
35007 # A symbol stripping program.
35010 # Commands used to install an old-style archive.
35012 old_postinstall_cmds=$lt_old_postinstall_cmds
35013 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35018 # LTCC compiler flags.
35019 LTCFLAGS=$lt_CFLAGS
35021 # Take the output of nm and produce a listing of raw symbols and C names.
35022 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35024 # Transform the output of nm in a proper C declaration.
35025 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35027 # Transform the output of nm in a C name address pair.
35028 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35030 # Transform the output of nm in a C name address pair when lib prefix is needed.
35031 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35033 # The name of the directory that contains temporary libtool files.
35036 # Shell to use when invoking shell scripts.
35039 # An echo program that does not interpret backslashes.
35042 # Used to examine libraries when file_magic_cmd begins with "file".
35043 MAGIC_CMD=$MAGIC_CMD
35045 # Must we lock files when doing compilation?
35046 need_locks=$lt_need_locks
35048 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35049 DSYMUTIL=$lt_DSYMUTIL
35051 # Tool to change global to local symbols on Mac OS X.
35054 # Tool to manipulate fat objects and archives on Mac OS X.
35057 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
35060 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35061 OTOOL64=$lt_OTOOL64
35063 # Old archive suffix (normally "a").
35066 # Shared library suffix (normally ".so").
35067 shrext_cmds=$lt_shrext_cmds
35069 # The commands to extract the exported symbol list from a shared archive.
35070 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35072 # Variables whose values should be saved in libtool wrapper scripts and
35073 # restored at link time.
35074 variables_saved_for_relink=$lt_variables_saved_for_relink
35076 # Do we need the "lib" prefix for modules?
35077 need_lib_prefix=$need_lib_prefix
35079 # Do we need a version for libraries?
35080 need_version=$need_version
35082 # Library versioning type.
35083 version_type=$version_type
35085 # Shared library runtime path variable.
35086 runpath_var=$runpath_var
35088 # Shared library path variable.
35089 shlibpath_var=$shlibpath_var
35091 # Is shlibpath searched before the hard-coded library search path?
35092 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35094 # Format of library name prefix.
35095 libname_spec=$lt_libname_spec
35097 # List of archive names. First name is the real one, the rest are links.
35098 # The last name is the one that the linker finds with -lNAME
35099 library_names_spec=$lt_library_names_spec
35101 # The coded name of the library, if different from the real name.
35102 soname_spec=$lt_soname_spec
35104 # Command to use after installation of a shared archive.
35105 postinstall_cmds=$lt_postinstall_cmds
35107 # Command to use after uninstallation of a shared archive.
35108 postuninstall_cmds=$lt_postuninstall_cmds
35110 # Commands used to finish a libtool library installation in a directory.
35111 finish_cmds=$lt_finish_cmds
35113 # As "finish_cmds", except a single script fragment to be evaled but
35115 finish_eval=$lt_finish_eval
35117 # Whether we should hardcode library paths into libraries.
35118 hardcode_into_libs=$hardcode_into_libs
35120 # Compile-time system search path for libraries.
35121 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35123 # Run-time system search path for libraries.
35124 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35126 # Whether dlopen is supported.
35127 dlopen_support=$enable_dlopen
35129 # Whether dlopen of programs is supported.
35130 dlopen_self=$enable_dlopen_self
35132 # Whether dlopen of statically linked programs is supported.
35133 dlopen_self_static=$enable_dlopen_self_static
35135 # Commands to strip libraries.
35136 old_striplib=$lt_old_striplib
35137 striplib=$lt_striplib
35140 # The linker used to build libraries.
35143 # Commands used to build an old-style archive.
35144 old_archive_cmds=$lt_old_archive_cmds
35146 # A language specific compiler.
35149 # Is the compiler the GNU compiler?
35152 # Compiler flag to turn off builtin functions.
35153 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35155 # How to pass a linker flag through the compiler.
35156 wl=$lt_lt_prog_compiler_wl
35158 # Additional compiler flags for building library objects.
35159 pic_flag=$lt_lt_prog_compiler_pic
35161 # Compiler flag to prevent dynamic linking.
35162 link_static_flag=$lt_lt_prog_compiler_static
35164 # Does compiler simultaneously support -c and -o options?
35165 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35167 # Whether or not to add -lc for building shared libraries.
35168 build_libtool_need_lc=$archive_cmds_need_lc
35170 # Whether or not to disallow shared libs when runtime libs are static.
35171 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35173 # Compiler flag to allow reflexive dlopens.
35174 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35176 # Compiler flag to generate shared objects directly from archives.
35177 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35179 # Whether the compiler copes with passing no objects directly.
35180 compiler_needs_object=$lt_compiler_needs_object
35182 # Create an old-style archive from a shared archive.
35183 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35185 # Create a temporary old-style archive to link instead of a shared archive.
35186 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35188 # Commands used to build a shared archive.
35189 archive_cmds=$lt_archive_cmds
35190 archive_expsym_cmds=$lt_archive_expsym_cmds
35192 # Commands used to build a loadable module if different from building
35193 # a shared archive.
35194 module_cmds=$lt_module_cmds
35195 module_expsym_cmds=$lt_module_expsym_cmds
35197 # Whether we are building with GNU ld or not.
35198 with_gnu_ld=$lt_with_gnu_ld
35200 # Flag that allows shared libraries with undefined symbols to be built.
35201 allow_undefined_flag=$lt_allow_undefined_flag
35203 # Flag that enforces no undefined symbols.
35204 no_undefined_flag=$lt_no_undefined_flag
35206 # Flag to hardcode \$libdir into a binary during linking.
35207 # This must work even if \$libdir does not exist
35208 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35210 # If ld is used when linking, flag to hardcode \$libdir into a binary
35211 # during linking. This must work even if \$libdir does not exist.
35212 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35214 # Whether we need a single "-rpath" flag with a separated argument.
35215 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35217 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35218 # DIR into the resulting binary.
35219 hardcode_direct=$hardcode_direct
35221 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35222 # DIR into the resulting binary and the resulting library dependency is
35223 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35224 # library is relocated.
35225 hardcode_direct_absolute=$hardcode_direct_absolute
35227 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35228 # into the resulting binary.
35229 hardcode_minus_L=$hardcode_minus_L
35231 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35232 # into the resulting binary.
35233 hardcode_shlibpath_var=$hardcode_shlibpath_var
35235 # Set to "yes" if building a shared library automatically hardcodes DIR
35236 # into the library and all subsequent libraries and executables linked
35238 hardcode_automatic=$hardcode_automatic
35240 # Set to yes if linker adds runtime paths of dependent libraries
35241 # to runtime path list.
35242 inherit_rpath=$inherit_rpath
35244 # Whether libtool must link a program against all its dependency libraries.
35245 link_all_deplibs=$link_all_deplibs
35247 # Fix the shell variable \$srcfile for the compiler.
35248 fix_srcfile_path=$lt_fix_srcfile_path
35250 # Set to "yes" if exported symbols are required.
35251 always_export_symbols=$always_export_symbols
35253 # The commands to list exported symbols.
35254 export_symbols_cmds=$lt_export_symbols_cmds
35256 # Symbols that should not be listed in the preloaded symbols.
35257 exclude_expsyms=$lt_exclude_expsyms
35259 # Symbols that must always be exported.
35260 include_expsyms=$lt_include_expsyms
35262 # Commands necessary for linking programs (against libraries) with templates.
35263 prelink_cmds=$lt_prelink_cmds
35265 # Specify filename containing input files.
35266 file_list_spec=$lt_file_list_spec
35268 # How to hardcode a shared library path into an executable.
35269 hardcode_action=$hardcode_action
35271 # The directories searched by this compiler when creating a shared library.
35272 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
35274 # Dependencies to place before and after the objects being linked to
35275 # create a shared library.
35276 predep_objects=$lt_predep_objects
35277 postdep_objects=$lt_postdep_objects
35278 predeps=$lt_predeps
35279 postdeps=$lt_postdeps
35281 # The library search path used internally by the compiler when linking
35282 # a shared library.
35283 compiler_lib_search_path=$lt_compiler_lib_search_path
35285 # ### END LIBTOOL CONFIG
35291 cat <<\_LT_EOF >> "$cfgfile"
35292 # AIX sometimes has problems with the GCC collect2 program. For some
35293 # reason, if we set the COLLECT_NAMES environment variable, the problems
35294 # vanish in a puff of smoke.
35295 if test "X${COLLECT_NAMES+set}" != Xset; then
35297 export COLLECT_NAMES
35304 ltmain="$ac_aux_dir/ltmain.sh"
35307 # We use sed instead of cat because bash on DJGPP gets confused if
35308 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35309 # text mode, it properly converts lines to CR/LF. This bash problem
35310 # is reportedly fixed, but why not run on old versions too?
35311 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35312 || (rm -f "$cfgfile"; exit 1)
35316 cat << \_LT_EOF >> "$cfgfile"
35318 # func_dirname file append nondir_replacement
35319 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35320 # otherwise set result to NONDIR_REPLACEMENT.
35324 */*) func_dirname_result="${1%/*}${2}" ;;
35325 * ) func_dirname_result="${3}" ;;
35329 # func_basename file
35332 func_basename_result="${1##*/}"
35335 # func_dirname_and_basename file append nondir_replacement
35336 # perform func_basename and func_dirname in a single function
35338 # dirname: Compute the dirname of FILE. If nonempty,
35339 # add APPEND to the result, otherwise set result
35340 # to NONDIR_REPLACEMENT.
35341 # value returned in "$func_dirname_result"
35342 # basename: Compute filename of FILE.
35343 # value retuned in "$func_basename_result"
35344 # Implementation must be kept synchronized with func_dirname
35345 # and func_basename. For efficiency, we do not delegate to
35346 # those functions but instead duplicate the functionality here.
35347 func_dirname_and_basename ()
35350 */*) func_dirname_result="${1%/*}${2}" ;;
35351 * ) func_dirname_result="${3}" ;;
35353 func_basename_result="${1##*/}"
35356 # func_stripname prefix suffix name
35357 # strip PREFIX and SUFFIX off of NAME.
35358 # PREFIX and SUFFIX must not contain globbing or regex special
35359 # characters, hashes, percent signs, but SUFFIX may contain a leading
35360 # dot (in which case that matches only a dot).
35363 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35364 # positional parameters, so assign one to ordinary parameter first.
35365 func_stripname_result=${3}
35366 func_stripname_result=${func_stripname_result#"${1}"}
35367 func_stripname_result=${func_stripname_result%"${2}"}
35373 func_opt_split_opt=${1%%=*}
35374 func_opt_split_arg=${1#*=}
35381 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35382 *) func_lo2o_result=${1} ;;
35386 # func_xform libobj-or-source
35389 func_xform_result=${1%.*}.lo
35392 # func_arith arithmetic-term...
35395 func_arith_result=$(( $* ))
35399 # STRING may not start with a hyphen.
35402 func_len_result=${#1}
35407 *) # Bourne compatible functions.
35408 cat << \_LT_EOF >> "$cfgfile"
35410 # func_dirname file append nondir_replacement
35411 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35412 # otherwise set result to NONDIR_REPLACEMENT.
35415 # Extract subdirectory from the argument.
35416 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35417 if test "X$func_dirname_result" = "X${1}"; then
35418 func_dirname_result="${3}"
35420 func_dirname_result="$func_dirname_result${2}"
35424 # func_basename file
35427 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35431 # func_stripname prefix suffix name
35432 # strip PREFIX and SUFFIX off of NAME.
35433 # PREFIX and SUFFIX must not contain globbing or regex special
35434 # characters, hashes, percent signs, but SUFFIX may contain a leading
35435 # dot (in which case that matches only a dot).
35436 # func_strip_suffix prefix name
35440 .*) func_stripname_result=`$ECHO "X${3}" \
35441 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35442 *) func_stripname_result=`$ECHO "X${3}" \
35443 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35448 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35449 my_sed_long_arg='1s/^-[^=]*=//'
35454 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35455 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35461 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35464 # func_xform libobj-or-source
35467 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
35470 # func_arith arithmetic-term...
35473 func_arith_result=`expr "$@"`
35477 # STRING may not start with a hyphen.
35480 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
35486 case $lt_shell_append in
35488 cat << \_LT_EOF >> "$cfgfile"
35490 # func_append var value
35491 # Append VALUE to the end of shell variable VAR.
35499 cat << \_LT_EOF >> "$cfgfile"
35501 # func_append var value
35502 # Append VALUE to the end of shell variable VAR.
35513 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35514 || (rm -f "$cfgfile"; exit 1)
35516 mv -f "$cfgfile" "$ofile" ||
35517 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35521 cat <<_LT_EOF >> "$ofile"
35523 # ### BEGIN LIBTOOL TAG CONFIG: CXX
35525 # The linker used to build libraries.
35528 # Commands used to build an old-style archive.
35529 old_archive_cmds=$lt_old_archive_cmds_CXX
35531 # A language specific compiler.
35532 CC=$lt_compiler_CXX
35534 # Is the compiler the GNU compiler?
35537 # Compiler flag to turn off builtin functions.
35538 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
35540 # How to pass a linker flag through the compiler.
35541 wl=$lt_lt_prog_compiler_wl_CXX
35543 # Additional compiler flags for building library objects.
35544 pic_flag=$lt_lt_prog_compiler_pic_CXX
35546 # Compiler flag to prevent dynamic linking.
35547 link_static_flag=$lt_lt_prog_compiler_static_CXX
35549 # Does compiler simultaneously support -c and -o options?
35550 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
35552 # Whether or not to add -lc for building shared libraries.
35553 build_libtool_need_lc=$archive_cmds_need_lc_CXX
35555 # Whether or not to disallow shared libs when runtime libs are static.
35556 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
35558 # Compiler flag to allow reflexive dlopens.
35559 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
35561 # Compiler flag to generate shared objects directly from archives.
35562 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
35564 # Whether the compiler copes with passing no objects directly.
35565 compiler_needs_object=$lt_compiler_needs_object_CXX
35567 # Create an old-style archive from a shared archive.
35568 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
35570 # Create a temporary old-style archive to link instead of a shared archive.
35571 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
35573 # Commands used to build a shared archive.
35574 archive_cmds=$lt_archive_cmds_CXX
35575 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
35577 # Commands used to build a loadable module if different from building
35578 # a shared archive.
35579 module_cmds=$lt_module_cmds_CXX
35580 module_expsym_cmds=$lt_module_expsym_cmds_CXX
35582 # Whether we are building with GNU ld or not.
35583 with_gnu_ld=$lt_with_gnu_ld_CXX
35585 # Flag that allows shared libraries with undefined symbols to be built.
35586 allow_undefined_flag=$lt_allow_undefined_flag_CXX
35588 # Flag that enforces no undefined symbols.
35589 no_undefined_flag=$lt_no_undefined_flag_CXX
35591 # Flag to hardcode \$libdir into a binary during linking.
35592 # This must work even if \$libdir does not exist
35593 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
35595 # If ld is used when linking, flag to hardcode \$libdir into a binary
35596 # during linking. This must work even if \$libdir does not exist.
35597 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
35599 # Whether we need a single "-rpath" flag with a separated argument.
35600 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
35602 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35603 # DIR into the resulting binary.
35604 hardcode_direct=$hardcode_direct_CXX
35606 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35607 # DIR into the resulting binary and the resulting library dependency is
35608 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35609 # library is relocated.
35610 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
35612 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35613 # into the resulting binary.
35614 hardcode_minus_L=$hardcode_minus_L_CXX
35616 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35617 # into the resulting binary.
35618 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
35620 # Set to "yes" if building a shared library automatically hardcodes DIR
35621 # into the library and all subsequent libraries and executables linked
35623 hardcode_automatic=$hardcode_automatic_CXX
35625 # Set to yes if linker adds runtime paths of dependent libraries
35626 # to runtime path list.
35627 inherit_rpath=$inherit_rpath_CXX
35629 # Whether libtool must link a program against all its dependency libraries.
35630 link_all_deplibs=$link_all_deplibs_CXX
35632 # Fix the shell variable \$srcfile for the compiler.
35633 fix_srcfile_path=$lt_fix_srcfile_path_CXX
35635 # Set to "yes" if exported symbols are required.
35636 always_export_symbols=$always_export_symbols_CXX
35638 # The commands to list exported symbols.
35639 export_symbols_cmds=$lt_export_symbols_cmds_CXX
35641 # Symbols that should not be listed in the preloaded symbols.
35642 exclude_expsyms=$lt_exclude_expsyms_CXX
35644 # Symbols that must always be exported.
35645 include_expsyms=$lt_include_expsyms_CXX
35647 # Commands necessary for linking programs (against libraries) with templates.
35648 prelink_cmds=$lt_prelink_cmds_CXX
35650 # Specify filename containing input files.
35651 file_list_spec=$lt_file_list_spec_CXX
35653 # How to hardcode a shared library path into an executable.
35654 hardcode_action=$hardcode_action_CXX
35656 # The directories searched by this compiler when creating a shared library.
35657 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
35659 # Dependencies to place before and after the objects being linked to
35660 # create a shared library.
35661 predep_objects=$lt_predep_objects_CXX
35662 postdep_objects=$lt_postdep_objects_CXX
35663 predeps=$lt_predeps_CXX
35664 postdeps=$lt_postdeps_CXX
35666 # The library search path used internally by the compiler when linking
35667 # a shared library.
35668 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
35670 # ### END LIBTOOL TAG CONFIG: CXX
35681 ac_clean_files=$ac_clean_files_save
35683 test $ac_write_fail = 0 ||
35684 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35687 # configure is writing to config.log, and then calls config.status.
35688 # config.status does its own redirection, appending to config.log.
35689 # Unfortunately, on DOS this fails, as config.log is still kept open
35690 # by configure, so config.status won't be able to write to it; its
35691 # output is simply discarded. So we exec the FD to /dev/null,
35692 # effectively closing config.log, so it can be properly (re)opened and
35693 # appended to by config.status. When coming back to configure, we
35694 # need to make the FD available again.
35695 if test "$no_create" != yes; then
35697 ac_config_status_args=
35698 test "$silent" = yes &&
35699 ac_config_status_args="$ac_config_status_args --quiet"
35701 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35703 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35704 # would make configure fail if this is the last instruction.
35705 $ac_cs_success || as_fn_exit 1
35707 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35709 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
35713 #####################################################################
35716 if test "x$build_pthreads" = "xno" ; then
35717 if test "x$build_pipe_render" = "xyes" ; then
35718 echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
35719 echo " needs thread support."
35724 if test "x${has_pthreads}" = "xno" ; then
35725 if test "x$build_async_preload" = "xyes" ; then
35726 echo "ERROR: PThreads off, but Async Preload on. Async Preload"
35727 echo " needs thread support."
35732 #####################################################################
35738 echo "------------------------------------------------------------------------"
35739 echo "$PACKAGE $VERSION"
35740 echo "------------------------------------------------------------------------"
35742 echo "Configuration Options Summary:"
35745 echo " Software Memory Buffer.....: $have_evas_engine_buffer"
35746 echo " Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
35747 echo $ECHO_N " OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
35748 if test "x$have_evas_engine_gl_x11" = "xyes"; then
35749 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
35753 echo " Software GDI...............: $have_evas_engine_software_gdi"
35754 echo " Software DirectDraw........: $have_evas_engine_software_ddraw"
35755 echo " Direct3d...................: $have_evas_engine_direct3d"
35756 echo " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
35757 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
35758 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
35762 echo " OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
35763 echo " Software Framebuffer.......: $have_evas_engine_fb"
35764 echo " DirectFB...................: $have_evas_engine_directfb"
35765 echo " PSL1GHT....................: $have_evas_engine_psl1ght"
35766 echo " Software 8bit grayscale....: $have_evas_engine_software_8"
35767 # FIXME: kill software 16bit
35768 echo " Software 16bit ............: $have_evas_engine_software_16"
35769 echo " Software 16bit X11.........: $have_evas_engine_software_16_x11"
35770 echo " Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
35771 echo " Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
35772 echo " Wayland Shm................: $have_evas_engine_wayland_shm"
35773 echo " Wayland Egl................: $have_evas_engine_wayland_egl"
35775 echo "Image Loaders:"
35776 echo " BMP.....................: $have_evas_image_loader_bmp"
35777 echo " EDB.....................: $have_evas_image_loader_edb"
35778 echo " EET.....................: $have_evas_image_loader_eet"
35779 echo " GENERIC.................: $have_evas_image_loader_generic"
35780 echo " GIF.....................: $have_evas_image_loader_gif"
35781 echo " ICO.....................: $have_evas_image_loader_ico"
35782 echo " JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
35783 echo " PMAPS...................: $have_evas_image_loader_pmaps"
35784 echo " PNG.....................: $have_evas_image_loader_png"
35785 echo " PSD.....................: $have_evas_image_loader_psd"
35786 echo " SVG.....................: $have_evas_image_loader_svg"
35787 echo " TGA.....................: $have_evas_image_loader_tga"
35788 echo " TIFF....................: $have_evas_image_loader_tiff"
35789 echo " WBMP....................: $have_evas_image_loader_wbmp"
35790 echo " XPM.....................: $have_evas_image_loader_xpm"
35792 echo "Font Sourcing Systems:"
35793 echo " EET.....................: $have_evas_font_loader_eet"
35795 echo "Font Searching Systems:"
35796 echo " Fontconfig..............: $have_fontconfig"
35798 echo "Font Rendering Helpers:"
35799 echo " Fribidi.................: $have_fribidi"
35800 echo " Harfbuzz................: $have_harfbuzz"
35801 echo " liblinebreak............: $have_linebreak"
35802 # FIXME: add non freetype2 font engine support
35803 # FIXME: make freetype2 optional
35805 echo "CPU Specific Extensions:"
35806 echo " Fallback C Code.........: $build_cpu_c"
35807 echo " MMX.....................: $build_cpu_mmx"
35808 echo " SSE.....................: $build_cpu_sse"
35809 echo " SSE3....................: $build_cpu_sse3"
35810 echo " ALTIVEC.................: $build_cpu_altivec"
35811 echo " NEON....................: $build_cpu_neon"
35812 echo " Thread Support..........: $build_pthreads"
35815 echo " MAGIC_DEBUG.............: $want_evas_magic_debug"
35816 echo " Cache Server............: $want_evas_cserve"
35817 echo " Cache Server 2..........: $want_evas_cserve2"
35819 echo " Threaded Pipe Rendering.: $build_pipe_render"
35820 echo " Async Events............: $build_async_events"
35821 echo " Async Image Preload.....: $build_async_preload"
35823 echo " Pixman..................: $have_pixman"
35824 echo " Pixman Fonts............: $have_pixman_font"
35825 echo " Pixman Rects............: $have_pixman_rect"
35826 echo " Pixman Lines............: $have_pixman_line"
35827 echo " Pixman Polygons.........: $have_pixman_poly"
35828 echo " Pixman Images...........: $have_pixman_image"
35829 echo " Pixman Image ScaleSample: $have_pixman_image_scale_sample"
35831 echo " Tiled 32BPP rotate......: $have_tile_rotate"
35833 echo "ARGB Software Engine Options:"
35834 echo " Sampling Scaler.........: $scaler_sample"
35835 echo " Smooth Scaler...........: $scaler_smooth"
35836 # FIXME: add an mmx scaler routine
35837 echo " YUV Converter...........: $conv_yuv"
35838 # FIXME: add more YUV format and colorvariant support
35840 echo "ARGB Conversion Options:"
35841 echo " Smaller Dither Mask.....: $conv_small_dither"
35842 echo " Line Dither Mask........: $conv_line_dither"
35843 echo " No Dither Mask for 16bpp: $conv_no_dither"
35844 echo " 8bpp RGB 332............: $conv_8_rgb_332"
35845 echo " 8bpp RGB 666............: $conv_8_rgb_666"
35846 echo " 8bpp RGB 232............: $conv_8_rgb_232"
35847 echo " 8bpp RGB 222............: $conv_8_rgb_222"
35848 echo " 8bpp RGB 221............: $conv_8_rgb_221"
35849 echo " 8bpp RGB 121............: $conv_8_rgb_121"
35850 echo " 8bpp RGB 111............: $conv_8_rgb_111"
35851 echo " 8bpp Grayscale (256)....: $conv_8_gry_1"
35852 echo " 8bpp Grayscale (16).....: $conv_8_gry_16"
35853 echo " 8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
35854 # FIXME: add grayscale and B&W support to standard x converters
35855 echo " 16bpp RGB 565...........: $conv_16_rgb_565"
35856 echo " 16bpp BGR 565...........: $conv_16_bgr_565"
35857 echo " 16bpp RGB 555...........: $conv_16_rgb_555"
35858 echo " 16bpp RGB 444...........: $conv_16_rgb_444"
35859 echo " 16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
35860 # FIXME: add 555 (444 ipaq) support
35861 # FIXME: add 30bpp support
35862 # FIXME: add palletted support (ugh!)
35863 # FIXME: add 8bpp and below rotation
35864 echo " 16bpp Rotation 0........: $conv_16_rgb_rot_0"
35865 echo " 16bpp Rotation 90.......: $conv_16_rgb_rot_90"
35866 echo " 16bpp Rotation 180......: $conv_16_rgb_rot_180"
35867 echo " 16bpp Rotation 270......: $conv_16_rgb_rot_270"
35868 echo " 24bpp RGB 888...........: $conv_24_rgb_888"
35869 echo " 24bpp BGR 888...........: $conv_24_bgr_888"
35870 echo " 24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
35871 # FIXME: add 24bpp rotation
35872 echo " 32bpp RGB 8888..........: $conv_32_rgb_8888"
35873 echo " 32bpp RGBX 8888.........: $conv_32_rgbx_8888"
35874 echo " 32bpp BGR 8888..........: $conv_32_bgr_8888"
35875 echo " 32bpp BGRX 8888.........: $conv_32_bgrx_8888"
35876 echo " 32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
35877 echo " 32bpp Rotation 0........: $conv_32_rgb_rot_0"
35878 echo " 32bpp Rotation 90.......: $conv_32_rgb_rot_90"
35879 echo " 32bpp Rotation 180......: $conv_32_rgb_rot_180"
35880 echo " 32bpp Rotation 270......: $conv_32_rgb_rot_270"
35882 echo "Documentation.............: ${build_doc}"
35883 echo "Examples..................: install:${install_examples} build:${build_examples}"
35884 if test "x${enable_tests}" = "xyes" ; then
35885 echo "Tests.....................: ${enable_tests} (make check)"
35887 echo "Tests.....................: ${enable_tests}"
35889 if test "x${enable_coverage}" = "xyes" ; then
35890 echo "Coverage..................: ${enable_coverage} (make coverage)"
35892 echo "Coverage..................: ${enable_coverage}"
35895 echo "Compilation............: make (or gmake)"
35896 echo " CPPFLAGS.............: $CPPFLAGS"
35897 echo " CFLAGS...............: $CFLAGS"
35898 echo " CXXFLAGS.............: $CXXFLAGS"
35899 echo " LDFLAGS..............: $LDFLAGS"
35901 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
35902 echo " prefix...............: $prefix"
35904 if test "x${have_static_module}" = "xyes" ; then
35905 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
35906 echo " You must know what you are doing, or else you will have a lot of"
35907 echo " problems. And Kenny will be killed."
35908 echo " Think about that."