Imported Upstream version 1.7.7
[platform/upstream/evas.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for evas 1.7.7.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
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 ## -------------------- ##
18
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 :
22   emulate sh
23   NULLCMD=:
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+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
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
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
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'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
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.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1
178
179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183     PATH=/empty FPATH=/empty; export PATH FPATH
184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: enlightenment-devel@lists.sourceforge.net about your
251 $0: system, including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script under such a shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='evas'
572 PACKAGE_TARNAME='evas'
573 PACKAGE_VERSION='1.7.7'
574 PACKAGE_STRING='evas 1.7.7'
575 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
576 PACKAGE_URL=''
577
578 ac_unique_file="configure.ac"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 requirement_evas
620 pthread_libs
621 pthread_cflags
622 altivec_cflags
623 EVAS_GENERAL_LIBS
624 EVAS_GENERAL_CFLAGS
625 EVAS_LIBS
626 EVAS_CFLAGS
627 EFL_ENABLE_COVERAGE_FALSE
628 EFL_ENABLE_COVERAGE_TRUE
629 EFL_COVERAGE_LIBS
630 EFL_COVERAGE_CFLAGS
631 have_lcov
632 EFL_ENABLE_TESTS_FALSE
633 EFL_ENABLE_TESTS_TRUE
634 CHECK_LIBS
635 CHECK_CFLAGS
636 BUILD_EXAMPLES_FALSE
637 BUILD_EXAMPLES_TRUE
638 edje_cc
639 EDJE_LIBS
640 EDJE_CFLAGS
641 ECORE_EVAS_LIBS
642 ECORE_EVAS_CFLAGS
643 INSTALL_EXAMPLES_FALSE
644 INSTALL_EXAMPLES_TRUE
645 VALGRIND_LIBS
646 VALGRIND_CFLAGS
647 EVAS_MAGIC_DEBUG_FALSE
648 EVAS_MAGIC_DEBUG_TRUE
649 EVAS_SSE3_CFLAGS
650 EVAS_STATIC_BUILD_GENERIC_FALSE
651 EVAS_STATIC_BUILD_GENERIC_TRUE
652 BUILD_LOADER_GENERIC_FALSE
653 BUILD_LOADER_GENERIC_TRUE
654 evas_image_loader_generic_libs
655 evas_image_loader_generic_cflags
656 EVAS_STATIC_BUILD_PSD_FALSE
657 EVAS_STATIC_BUILD_PSD_TRUE
658 BUILD_LOADER_PSD_FALSE
659 BUILD_LOADER_PSD_TRUE
660 evas_image_loader_psd_libs
661 evas_image_loader_psd_cflags
662 EVAS_STATIC_BUILD_ICO_FALSE
663 EVAS_STATIC_BUILD_ICO_TRUE
664 BUILD_LOADER_ICO_FALSE
665 BUILD_LOADER_ICO_TRUE
666 evas_image_loader_ico_libs
667 evas_image_loader_ico_cflags
668 EVAS_STATIC_BUILD_WBMP_FALSE
669 EVAS_STATIC_BUILD_WBMP_TRUE
670 BUILD_LOADER_WBMP_FALSE
671 BUILD_LOADER_WBMP_TRUE
672 evas_image_loader_wbmp_libs
673 evas_image_loader_wbmp_cflags
674 EVAS_STATIC_BUILD_TGA_FALSE
675 EVAS_STATIC_BUILD_TGA_TRUE
676 BUILD_LOADER_TGA_FALSE
677 BUILD_LOADER_TGA_TRUE
678 evas_image_loader_tga_libs
679 evas_image_loader_tga_cflags
680 EVAS_STATIC_BUILD_BMP_FALSE
681 EVAS_STATIC_BUILD_BMP_TRUE
682 BUILD_LOADER_BMP_FALSE
683 BUILD_LOADER_BMP_TRUE
684 evas_image_loader_bmp_libs
685 evas_image_loader_bmp_cflags
686 EVAS_STATIC_BUILD_XPM_FALSE
687 EVAS_STATIC_BUILD_XPM_TRUE
688 BUILD_LOADER_XPM_FALSE
689 BUILD_LOADER_XPM_TRUE
690 evas_image_loader_xpm_libs
691 evas_image_loader_xpm_cflags
692 EVAS_STATIC_BUILD_TIFF_FALSE
693 EVAS_STATIC_BUILD_TIFF_TRUE
694 BUILD_LOADER_TIFF_FALSE
695 BUILD_LOADER_TIFF_TRUE
696 evas_image_loader_tiff_libs
697 evas_image_loader_tiff_cflags
698 EVAS_STATIC_BUILD_SVG_FALSE
699 EVAS_STATIC_BUILD_SVG_TRUE
700 BUILD_LOADER_SVG_FALSE
701 BUILD_LOADER_SVG_TRUE
702 evas_image_loader_svg_libs
703 evas_image_loader_svg_cflags
704 SVG_LIBS
705 SVG_CFLAGS
706 EVAS_STATIC_BUILD_PNG_FALSE
707 EVAS_STATIC_BUILD_PNG_TRUE
708 BUILD_LOADER_PNG_FALSE
709 BUILD_LOADER_PNG_TRUE
710 evas_image_loader_png_libs
711 evas_image_loader_png_cflags
712 PNG_LIBS
713 PNG_CFLAGS
714 EVAS_STATIC_BUILD_PMAPS_FALSE
715 EVAS_STATIC_BUILD_PMAPS_TRUE
716 BUILD_LOADER_PMAPS_FALSE
717 BUILD_LOADER_PMAPS_TRUE
718 evas_image_loader_pmaps_libs
719 evas_image_loader_pmaps_cflags
720 BUILD_SAVER_JPEG_FALSE
721 BUILD_SAVER_JPEG_TRUE
722 EVAS_STATIC_BUILD_JPEG_FALSE
723 EVAS_STATIC_BUILD_JPEG_TRUE
724 BUILD_LOADER_JPEG_FALSE
725 BUILD_LOADER_JPEG_TRUE
726 evas_image_loader_jpeg_libs
727 evas_image_loader_jpeg_cflags
728 EVAS_STATIC_BUILD_GIF_FALSE
729 EVAS_STATIC_BUILD_GIF_TRUE
730 BUILD_LOADER_GIF_FALSE
731 BUILD_LOADER_GIF_TRUE
732 evas_image_loader_gif_libs
733 evas_image_loader_gif_cflags
734 EVAS_STATIC_BUILD_EET_FALSE
735 EVAS_STATIC_BUILD_EET_TRUE
736 BUILD_LOADER_EET_FALSE
737 BUILD_LOADER_EET_TRUE
738 evas_image_loader_eet_libs
739 evas_image_loader_eet_cflags
740 EET_LIBS
741 EET_CFLAGS
742 EVAS_STATIC_BUILD_EDB_FALSE
743 EVAS_STATIC_BUILD_EDB_TRUE
744 BUILD_LOADER_EDB_FALSE
745 BUILD_LOADER_EDB_TRUE
746 evas_image_loader_edb_libs
747 evas_image_loader_edb_cflags
748 EDB_LIBS
749 EDB_CFLAGS
750 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE
751 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE
752 BUILD_ENGINE_SOFTWARE_8_FALSE
753 BUILD_ENGINE_SOFTWARE_8_TRUE
754 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE
755 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE
756 BUILD_ENGINE_SOFTWARE_16_FALSE
757 BUILD_ENGINE_SOFTWARE_16_TRUE
758 EVAS_STATIC_BUILD_GL_COMMON_FALSE
759 EVAS_STATIC_BUILD_GL_COMMON_TRUE
760 BUILD_ENGINE_GL_COMMON_FALSE
761 BUILD_ENGINE_GL_COMMON_TRUE
762 evas_engine_gl_common_libs
763 have_evas_engine_gl_x11
764 EVAS_STATIC_BUILD_GL_X11_FALSE
765 EVAS_STATIC_BUILD_GL_X11_TRUE
766 BUILD_ENGINE_GL_X11_FALSE
767 BUILD_ENGINE_GL_X11_TRUE
768 have_evas_engine_gl_xlib
769 EVAS_STATIC_BUILD_GL_XLIB_FALSE
770 EVAS_STATIC_BUILD_GL_XLIB_TRUE
771 BUILD_ENGINE_GL_XLIB_FALSE
772 BUILD_ENGINE_GL_XLIB_TRUE
773 evas_engine_gl_xlib_libs
774 evas_engine_gl_xlib_cflags
775 have_evas_engine_gl_xcb
776 EVAS_STATIC_BUILD_GL_XCB_FALSE
777 EVAS_STATIC_BUILD_GL_XCB_TRUE
778 BUILD_ENGINE_GL_XCB_FALSE
779 BUILD_ENGINE_GL_XCB_TRUE
780 evas_engine_gl_xcb_libs
781 evas_engine_gl_xcb_cflags
782 XCB_GL_LIBS
783 XCB_GL_CFLAGS
784 have_evas_engine_software_x11
785 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE
786 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE
787 BUILD_ENGINE_SOFTWARE_X11_FALSE
788 BUILD_ENGINE_SOFTWARE_X11_TRUE
789 have_evas_engine_software_xlib
790 have_evas_engine_software_xcb
791 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE
792 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE
793 BUILD_ENGINE_SOFTWARE_XLIB_FALSE
794 BUILD_ENGINE_SOFTWARE_XLIB_TRUE
795 evas_engine_software_xlib_libs
796 evas_engine_software_xlib_cflags
797 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE
798 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE
799 BUILD_ENGINE_SOFTWARE_XCB_FALSE
800 BUILD_ENGINE_SOFTWARE_XCB_TRUE
801 evas_engine_software_xcb_libs
802 evas_engine_software_xcb_cflags
803 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE
804 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE
805 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE
806 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE
807 BUILD_ENGINE_WAYLAND_EGL_FALSE
808 BUILD_ENGINE_WAYLAND_EGL_TRUE
809 evas_engine_wayland_egl_libs
810 evas_engine_wayland_egl_cflags
811 WAYLAND_EGL_LIBS
812 WAYLAND_EGL_CFLAGS
813 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE
814 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE
815 BUILD_ENGINE_WAYLAND_SHM_FALSE
816 BUILD_ENGINE_WAYLAND_SHM_TRUE
817 evas_engine_wayland_shm_libs
818 evas_engine_wayland_shm_cflags
819 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE
820 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE
821 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE
822 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE
823 evas_engine_software_16_sdl_libs
824 evas_engine_software_16_sdl_cflags
825 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE
826 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE
827 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE
828 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE
829 evas_engine_software_16_wince_libs
830 evas_engine_software_16_wince_cflags
831 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE
832 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE
833 BUILD_ENGINE_SOFTWARE_16_X11_FALSE
834 BUILD_ENGINE_SOFTWARE_16_X11_TRUE
835 evas_engine_software_16_x11_libs
836 evas_engine_software_16_x11_cflags
837 X_EXTRA_LIBS
838 X_LIBS
839 X_PRE_LIBS
840 X_CFLAGS
841 XMKMF
842 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE
843 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE
844 BUILD_ENGINE_SOFTWARE_8_X11_FALSE
845 BUILD_ENGINE_SOFTWARE_8_X11_TRUE
846 evas_engine_software_8_x11_libs
847 evas_engine_software_8_x11_cflags
848 XCB_LIBS
849 XCB_CFLAGS
850 EVAS_STATIC_BUILD_DIRECTFB_FALSE
851 EVAS_STATIC_BUILD_DIRECTFB_TRUE
852 BUILD_ENGINE_DIRECTFB_FALSE
853 BUILD_ENGINE_DIRECTFB_TRUE
854 evas_engine_directfb_libs
855 evas_engine_directfb_cflags
856 DIRECTFB_LIBS
857 DIRECTFB_CFLAGS
858 EVAS_STATIC_BUILD_FB_FALSE
859 EVAS_STATIC_BUILD_FB_TRUE
860 BUILD_ENGINE_FB_FALSE
861 BUILD_ENGINE_FB_TRUE
862 evas_engine_fb_libs
863 evas_engine_fb_cflags
864 EVAS_STATIC_BUILD_GL_COCOA_FALSE
865 EVAS_STATIC_BUILD_GL_COCOA_TRUE
866 BUILD_ENGINE_GL_COCOA_FALSE
867 BUILD_ENGINE_GL_COCOA_TRUE
868 evas_engine_gl_cocoa_libs
869 evas_engine_gl_cocoa_cflags
870 GL_EET_LIBS
871 GL_EET_CFLAGS
872 EVAS_STATIC_BUILD_GL_SDL_FALSE
873 EVAS_STATIC_BUILD_GL_SDL_TRUE
874 BUILD_ENGINE_GL_SDL_FALSE
875 BUILD_ENGINE_GL_SDL_TRUE
876 evas_engine_gl_sdl_libs
877 evas_engine_gl_sdl_cflags
878 SDL_LIBS
879 SDL_CFLAGS
880 EVAS_STATIC_BUILD_PSL1GHT_FALSE
881 EVAS_STATIC_BUILD_PSL1GHT_TRUE
882 BUILD_ENGINE_PSL1GHT_FALSE
883 BUILD_ENGINE_PSL1GHT_TRUE
884 evas_engine_psl1ght_libs
885 evas_engine_psl1ght_cflags
886 EVAS_STATIC_BUILD_DIRECT3D_FALSE
887 EVAS_STATIC_BUILD_DIRECT3D_TRUE
888 BUILD_ENGINE_DIRECT3D_FALSE
889 BUILD_ENGINE_DIRECT3D_TRUE
890 evas_engine_direct3d_libs
891 evas_engine_direct3d_cflags
892 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE
893 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE
894 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE
895 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE
896 evas_engine_software_ddraw_libs
897 evas_engine_software_ddraw_cflags
898 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE
899 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE
900 BUILD_ENGINE_SOFTWARE_GDI_FALSE
901 BUILD_ENGINE_SOFTWARE_GDI_TRUE
902 evas_engine_software_gdi_libs
903 evas_engine_software_gdi_cflags
904 EVAS_STATIC_BUILD_BUFFER_FALSE
905 EVAS_STATIC_BUILD_BUFFER_TRUE
906 BUILD_ENGINE_BUFFER_FALSE
907 BUILD_ENGINE_BUFFER_TRUE
908 evas_engine_buffer_libs
909 evas_engine_buffer_cflags
910 EVAS_CSERVE2_FALSE
911 EVAS_CSERVE2_TRUE
912 EVAS_CSERVE_FALSE
913 EVAS_CSERVE_TRUE
914 shm_open_libs
915 EFL_SHM_OPEN_LIBS
916 dlopen_libs
917 EFL_FNMATCH_LIBS
918 ALLOCA
919 lt_enable_auto_import
920 PIXMAN_LIBS
921 PIXMAN_CFLAGS
922 HARFBUZZ_LIBS
923 HARFBUZZ_CFLAGS
924 FRIBIDI_LIBS
925 FRIBIDI_CFLAGS
926 LINEBREAK_LIBS
927 LINEBREAK_CFLAGS
928 EVAS_USE_LINEBREAK_FALSE
929 EVAS_USE_LINEBREAK_TRUE
930 FONTCONFIG_LIBS
931 FONTCONFIG_CFLAGS
932 FREETYPE_LIBS
933 FREETYPE_CFLAGS
934 EINA_LIBS
935 EINA_CFLAGS
936 EVAS_HAVE_EXOTIC_FALSE
937 EVAS_HAVE_EXOTIC_TRUE
938 EXOTIC_LIBS
939 EXOTIC_CFLAGS
940 EVIL_LIBS
941 EVIL_CFLAGS
942 EFL_BUILD_DOC_FALSE
943 EFL_BUILD_DOC_TRUE
944 efl_doxygen
945 efl_have_doxygen
946 pkgconfig_requires_private
947 PKG_CONFIG_LIBDIR
948 PKG_CONFIG_PATH
949 PKG_CONFIG
950 CXXCPP
951 am__fastdepCXX_FALSE
952 am__fastdepCXX_TRUE
953 CXXDEPMODE
954 ac_ct_CXX
955 CXXFLAGS
956 CXX
957 am__fastdepOBJC_FALSE
958 am__fastdepOBJC_TRUE
959 OBJCDEPMODE
960 ac_ct_OBJC
961 OBJCFLAGS
962 OBJC
963 MODULE_ARCH
964 VMAJ
965 release_info
966 version_info
967 OTOOL64
968 OTOOL
969 LIPO
970 NMEDIT
971 DSYMUTIL
972 MANIFEST_TOOL
973 RANLIB
974 ac_ct_AR
975 AR
976 LN_S
977 NM
978 ac_ct_DUMPBIN
979 DUMPBIN
980 LD
981 FGREP
982 SED
983 LIBTOOL
984 OBJDUMP
985 DLLTOOL
986 AS
987 host_os
988 host_vendor
989 host_cpu
990 host
991 build_os
992 build_vendor
993 build_cpu
994 build
995 EGREP
996 GREP
997 CPP
998 am__fastdepCC_FALSE
999 am__fastdepCC_TRUE
1000 CCDEPMODE
1001 am__nodep
1002 AMDEPBACKSLASH
1003 AMDEP_FALSE
1004 AMDEP_TRUE
1005 am__quote
1006 am__include
1007 DEPDIR
1008 OBJEXT
1009 EXEEXT
1010 ac_ct_CC
1011 CPPFLAGS
1012 LDFLAGS
1013 CFLAGS
1014 CC
1015 AM_BACKSLASH
1016 AM_DEFAULT_VERBOSITY
1017 AM_DEFAULT_V
1018 AM_V
1019 am__untar
1020 am__tar
1021 AMTAR
1022 am__leading_dot
1023 SET_MAKE
1024 AWK
1025 mkdir_p
1026 MKDIR_P
1027 INSTALL_STRIP_PROGRAM
1028 STRIP
1029 install_sh
1030 MAKEINFO
1031 AUTOHEADER
1032 AUTOMAKE
1033 AUTOCONF
1034 ACLOCAL
1035 VERSION
1036 PACKAGE
1037 CYGPATH_W
1038 am__isrc
1039 INSTALL_DATA
1040 INSTALL_SCRIPT
1041 INSTALL_PROGRAM
1042 target_alias
1043 host_alias
1044 build_alias
1045 LIBS
1046 ECHO_T
1047 ECHO_N
1048 ECHO_C
1049 DEFS
1050 mandir
1051 localedir
1052 libdir
1053 psdir
1054 pdfdir
1055 dvidir
1056 htmldir
1057 infodir
1058 docdir
1059 oldincludedir
1060 includedir
1061 localstatedir
1062 sharedstatedir
1063 sysconfdir
1064 datadir
1065 datarootdir
1066 libexecdir
1067 sbindir
1068 bindir
1069 program_transform_name
1070 prefix
1071 exec_prefix
1072 PACKAGE_URL
1073 PACKAGE_BUGREPORT
1074 PACKAGE_STRING
1075 PACKAGE_VERSION
1076 PACKAGE_TARNAME
1077 PACKAGE_NAME
1078 PATH_SEPARATOR
1079 SHELL'
1080 ac_subst_files=''
1081 ac_user_opts='
1082 enable_option_checking
1083 enable_silent_rules
1084 enable_dependency_tracking
1085 enable_shared
1086 enable_static
1087 with_pic
1088 enable_fast_install
1089 with_gnu_ld
1090 with_sysroot
1091 enable_libtool_lock
1092 enable_strict
1093 enable_simple_x11
1094 enable_doc
1095 with_doxygen
1096 enable_fontconfig
1097 enable_liblinebreak
1098 enable_fribidi
1099 enable_harfbuzz
1100 enable_pixman
1101 enable_pixman_font
1102 enable_pixman_rect
1103 enable_pixman_line
1104 enable_pixman_poly
1105 enable_pixman_image
1106 enable_pixman_image_scale_sample
1107 enable_tile_rotate
1108 enable_evas_cserve
1109 enable_evas_cserve2
1110 enable_gl_flavor_gles
1111 enable_gles_variety_sgx
1112 enable_gles_variety_s3c6410
1113 enable_buffer
1114 enable_software_gdi
1115 enable_software_ddraw
1116 enable_direct3d
1117 enable_psl1ght
1118 enable_gl_sdl
1119 enable_gl_cocoa
1120 enable_fb
1121 enable_directfb
1122 enable_software_8_x11
1123 enable_software_16_x11
1124 with_x
1125 enable_software_16_wince
1126 enable_software_16_sdl
1127 enable_wayland_shm
1128 enable_wayland_egl
1129 enable_sdl_primitive
1130 enable_static_software_generic
1131 enable_software_xcb
1132 enable_software_xlib
1133 enable_gl_xcb
1134 enable_gl_xlib
1135 enable_static_software_16
1136 enable_static_software_8
1137 enable_image_loader_edb
1138 enable_image_loader_eet
1139 enable_font_loader_eet
1140 enable_image_loader_gif
1141 enable_image_loader_jpeg
1142 enable_image_loader_pmaps
1143 enable_image_loader_png
1144 enable_image_loader_svg
1145 enable_image_loader_tiff
1146 enable_image_loader_xpm
1147 enable_image_loader_bmp
1148 enable_image_loader_tga
1149 enable_image_loader_wbmp
1150 enable_image_loader_ico
1151 enable_image_loader_psd
1152 enable_image_loader_generic
1153 enable_pthreads
1154 enable_async_events
1155 enable_async_preload
1156 enable_cpu_mmx
1157 enable_cpu_sse
1158 enable_cpu_sse3
1159 enable_cpu_altivec
1160 enable_cpu_neon
1161 enable_cpu_c
1162 enable_evas_magic_debug
1163 enable_scale_sample
1164 enable_scale_smooth
1165 enable_convert_yuv
1166 enable_small_dither_mask
1167 enable_line_dither_mask
1168 enable_no_dither_mask
1169 enable_convert_8_rgb_332
1170 enable_convert_8_rgb_666
1171 enable_convert_8_rgb_232
1172 enable_convert_8_rgb_222
1173 enable_convert_8_rgb_221
1174 enable_convert_8_rgb_121
1175 enable_convert_8_rgb_111
1176 enable_convert_16_rgb_565
1177 enable_convert_16_bgr_565
1178 enable_convert_16_rgb_555
1179 enable_convert_16_rgb_444
1180 enable_convert_16_rgb_ipq
1181 enable_convert_16_rgb_rot_0
1182 enable_convert_16_rgb_rot_180
1183 enable_convert_16_rgb_rot_270
1184 enable_convert_16_rgb_rot_90
1185 enable_convert_24_rgb_888
1186 enable_convert_24_bgr_888
1187 enable_convert_32_rgb_8888
1188 enable_convert_32_rgbx_8888
1189 enable_convert_32_bgr_8888
1190 enable_convert_32_bgrx_8888
1191 enable_convert_24_rgb_ezx
1192 enable_convert_32_rgb_ezx
1193 enable_convert_32_rgb_rot_0
1194 enable_convert_32_rgb_rot_180
1195 enable_convert_32_rgb_rot_270
1196 enable_convert_32_rgb_rot_90
1197 enable_convert_8_gry_1
1198 enable_convert_8_gry_16
1199 enable_convert_8_grayscale_64
1200 enable_valgrind
1201 enable_install_examples
1202 enable_build_examples
1203 enable_tests
1204 enable_coverage
1205 '
1206       ac_precious_vars='build_alias
1207 host_alias
1208 target_alias
1209 CC
1210 CFLAGS
1211 LDFLAGS
1212 LIBS
1213 CPPFLAGS
1214 CPP
1215 OBJC
1216 OBJCFLAGS
1217 CXX
1218 CXXFLAGS
1219 CCC
1220 CXXCPP
1221 PKG_CONFIG
1222 PKG_CONFIG_PATH
1223 PKG_CONFIG_LIBDIR
1224 EVIL_CFLAGS
1225 EVIL_LIBS
1226 EXOTIC_CFLAGS
1227 EXOTIC_LIBS
1228 EINA_CFLAGS
1229 EINA_LIBS
1230 FREETYPE_CFLAGS
1231 FREETYPE_LIBS
1232 FONTCONFIG_CFLAGS
1233 FONTCONFIG_LIBS
1234 FRIBIDI_CFLAGS
1235 FRIBIDI_LIBS
1236 HARFBUZZ_CFLAGS
1237 HARFBUZZ_LIBS
1238 PIXMAN_CFLAGS
1239 PIXMAN_LIBS
1240 SDL_CFLAGS
1241 SDL_LIBS
1242 GL_EET_CFLAGS
1243 GL_EET_LIBS
1244 DIRECTFB_CFLAGS
1245 DIRECTFB_LIBS
1246 XCB_CFLAGS
1247 XCB_LIBS
1248 XMKMF
1249 WAYLAND_EGL_CFLAGS
1250 WAYLAND_EGL_LIBS
1251 XCB_GL_CFLAGS
1252 XCB_GL_LIBS
1253 EDB_CFLAGS
1254 EDB_LIBS
1255 EET_CFLAGS
1256 EET_LIBS
1257 PNG_CFLAGS
1258 PNG_LIBS
1259 SVG_CFLAGS
1260 SVG_LIBS
1261 VALGRIND_CFLAGS
1262 VALGRIND_LIBS
1263 ECORE_EVAS_CFLAGS
1264 ECORE_EVAS_LIBS
1265 EDJE_CFLAGS
1266 EDJE_LIBS
1267 CHECK_CFLAGS
1268 CHECK_LIBS'
1269
1270
1271 # Initialize some variables set by options.
1272 ac_init_help=
1273 ac_init_version=false
1274 ac_unrecognized_opts=
1275 ac_unrecognized_sep=
1276 # The variables have the same names as the options, with
1277 # dashes changed to underlines.
1278 cache_file=/dev/null
1279 exec_prefix=NONE
1280 no_create=
1281 no_recursion=
1282 prefix=NONE
1283 program_prefix=NONE
1284 program_suffix=NONE
1285 program_transform_name=s,x,x,
1286 silent=
1287 site=
1288 srcdir=
1289 verbose=
1290 x_includes=NONE
1291 x_libraries=NONE
1292
1293 # Installation directory options.
1294 # These are left unexpanded so users can "make install exec_prefix=/foo"
1295 # and all the variables that are supposed to be based on exec_prefix
1296 # by default will actually change.
1297 # Use braces instead of parens because sh, perl, etc. also accept them.
1298 # (The list follows the same order as the GNU Coding Standards.)
1299 bindir='${exec_prefix}/bin'
1300 sbindir='${exec_prefix}/sbin'
1301 libexecdir='${exec_prefix}/libexec'
1302 datarootdir='${prefix}/share'
1303 datadir='${datarootdir}'
1304 sysconfdir='${prefix}/etc'
1305 sharedstatedir='${prefix}/com'
1306 localstatedir='${prefix}/var'
1307 includedir='${prefix}/include'
1308 oldincludedir='/usr/include'
1309 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1310 infodir='${datarootdir}/info'
1311 htmldir='${docdir}'
1312 dvidir='${docdir}'
1313 pdfdir='${docdir}'
1314 psdir='${docdir}'
1315 libdir='${exec_prefix}/lib'
1316 localedir='${datarootdir}/locale'
1317 mandir='${datarootdir}/man'
1318
1319 ac_prev=
1320 ac_dashdash=
1321 for ac_option
1322 do
1323   # If the previous option needs an argument, assign it.
1324   if test -n "$ac_prev"; then
1325     eval $ac_prev=\$ac_option
1326     ac_prev=
1327     continue
1328   fi
1329
1330   case $ac_option in
1331   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1332   *=)   ac_optarg= ;;
1333   *)    ac_optarg=yes ;;
1334   esac
1335
1336   # Accept the important Cygnus configure options, so we can diagnose typos.
1337
1338   case $ac_dashdash$ac_option in
1339   --)
1340     ac_dashdash=yes ;;
1341
1342   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1343     ac_prev=bindir ;;
1344   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1345     bindir=$ac_optarg ;;
1346
1347   -build | --build | --buil | --bui | --bu)
1348     ac_prev=build_alias ;;
1349   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1350     build_alias=$ac_optarg ;;
1351
1352   -cache-file | --cache-file | --cache-fil | --cache-fi \
1353   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1354     ac_prev=cache_file ;;
1355   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1356   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1357     cache_file=$ac_optarg ;;
1358
1359   --config-cache | -C)
1360     cache_file=config.cache ;;
1361
1362   -datadir | --datadir | --datadi | --datad)
1363     ac_prev=datadir ;;
1364   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1365     datadir=$ac_optarg ;;
1366
1367   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1368   | --dataroo | --dataro | --datar)
1369     ac_prev=datarootdir ;;
1370   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1371   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1372     datarootdir=$ac_optarg ;;
1373
1374   -disable-* | --disable-*)
1375     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1376     # Reject names that are not valid shell variable names.
1377     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1378       as_fn_error $? "invalid feature name: $ac_useropt"
1379     ac_useropt_orig=$ac_useropt
1380     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1381     case $ac_user_opts in
1382       *"
1383 "enable_$ac_useropt"
1384 "*) ;;
1385       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1386          ac_unrecognized_sep=', ';;
1387     esac
1388     eval enable_$ac_useropt=no ;;
1389
1390   -docdir | --docdir | --docdi | --doc | --do)
1391     ac_prev=docdir ;;
1392   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1393     docdir=$ac_optarg ;;
1394
1395   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1396     ac_prev=dvidir ;;
1397   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1398     dvidir=$ac_optarg ;;
1399
1400   -enable-* | --enable-*)
1401     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1402     # Reject names that are not valid shell variable names.
1403     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1404       as_fn_error $? "invalid feature name: $ac_useropt"
1405     ac_useropt_orig=$ac_useropt
1406     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1407     case $ac_user_opts in
1408       *"
1409 "enable_$ac_useropt"
1410 "*) ;;
1411       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1412          ac_unrecognized_sep=', ';;
1413     esac
1414     eval enable_$ac_useropt=\$ac_optarg ;;
1415
1416   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1417   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1418   | --exec | --exe | --ex)
1419     ac_prev=exec_prefix ;;
1420   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1421   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1422   | --exec=* | --exe=* | --ex=*)
1423     exec_prefix=$ac_optarg ;;
1424
1425   -gas | --gas | --ga | --g)
1426     # Obsolete; use --with-gas.
1427     with_gas=yes ;;
1428
1429   -help | --help | --hel | --he | -h)
1430     ac_init_help=long ;;
1431   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1432     ac_init_help=recursive ;;
1433   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1434     ac_init_help=short ;;
1435
1436   -host | --host | --hos | --ho)
1437     ac_prev=host_alias ;;
1438   -host=* | --host=* | --hos=* | --ho=*)
1439     host_alias=$ac_optarg ;;
1440
1441   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1442     ac_prev=htmldir ;;
1443   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1444   | --ht=*)
1445     htmldir=$ac_optarg ;;
1446
1447   -includedir | --includedir | --includedi | --included | --include \
1448   | --includ | --inclu | --incl | --inc)
1449     ac_prev=includedir ;;
1450   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1451   | --includ=* | --inclu=* | --incl=* | --inc=*)
1452     includedir=$ac_optarg ;;
1453
1454   -infodir | --infodir | --infodi | --infod | --info | --inf)
1455     ac_prev=infodir ;;
1456   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1457     infodir=$ac_optarg ;;
1458
1459   -libdir | --libdir | --libdi | --libd)
1460     ac_prev=libdir ;;
1461   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1462     libdir=$ac_optarg ;;
1463
1464   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1465   | --libexe | --libex | --libe)
1466     ac_prev=libexecdir ;;
1467   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1468   | --libexe=* | --libex=* | --libe=*)
1469     libexecdir=$ac_optarg ;;
1470
1471   -localedir | --localedir | --localedi | --localed | --locale)
1472     ac_prev=localedir ;;
1473   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1474     localedir=$ac_optarg ;;
1475
1476   -localstatedir | --localstatedir | --localstatedi | --localstated \
1477   | --localstate | --localstat | --localsta | --localst | --locals)
1478     ac_prev=localstatedir ;;
1479   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1480   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1481     localstatedir=$ac_optarg ;;
1482
1483   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1484     ac_prev=mandir ;;
1485   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1486     mandir=$ac_optarg ;;
1487
1488   -nfp | --nfp | --nf)
1489     # Obsolete; use --without-fp.
1490     with_fp=no ;;
1491
1492   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1493   | --no-cr | --no-c | -n)
1494     no_create=yes ;;
1495
1496   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1497   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1498     no_recursion=yes ;;
1499
1500   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1501   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1502   | --oldin | --oldi | --old | --ol | --o)
1503     ac_prev=oldincludedir ;;
1504   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1505   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1506   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1507     oldincludedir=$ac_optarg ;;
1508
1509   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1510     ac_prev=prefix ;;
1511   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1512     prefix=$ac_optarg ;;
1513
1514   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1515   | --program-pre | --program-pr | --program-p)
1516     ac_prev=program_prefix ;;
1517   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1518   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1519     program_prefix=$ac_optarg ;;
1520
1521   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1522   | --program-suf | --program-su | --program-s)
1523     ac_prev=program_suffix ;;
1524   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1525   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1526     program_suffix=$ac_optarg ;;
1527
1528   -program-transform-name | --program-transform-name \
1529   | --program-transform-nam | --program-transform-na \
1530   | --program-transform-n | --program-transform- \
1531   | --program-transform | --program-transfor \
1532   | --program-transfo | --program-transf \
1533   | --program-trans | --program-tran \
1534   | --progr-tra | --program-tr | --program-t)
1535     ac_prev=program_transform_name ;;
1536   -program-transform-name=* | --program-transform-name=* \
1537   | --program-transform-nam=* | --program-transform-na=* \
1538   | --program-transform-n=* | --program-transform-=* \
1539   | --program-transform=* | --program-transfor=* \
1540   | --program-transfo=* | --program-transf=* \
1541   | --program-trans=* | --program-tran=* \
1542   | --progr-tra=* | --program-tr=* | --program-t=*)
1543     program_transform_name=$ac_optarg ;;
1544
1545   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1546     ac_prev=pdfdir ;;
1547   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1548     pdfdir=$ac_optarg ;;
1549
1550   -psdir | --psdir | --psdi | --psd | --ps)
1551     ac_prev=psdir ;;
1552   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1553     psdir=$ac_optarg ;;
1554
1555   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1556   | -silent | --silent | --silen | --sile | --sil)
1557     silent=yes ;;
1558
1559   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1560     ac_prev=sbindir ;;
1561   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1562   | --sbi=* | --sb=*)
1563     sbindir=$ac_optarg ;;
1564
1565   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1566   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1567   | --sharedst | --shareds | --shared | --share | --shar \
1568   | --sha | --sh)
1569     ac_prev=sharedstatedir ;;
1570   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1571   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1572   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1573   | --sha=* | --sh=*)
1574     sharedstatedir=$ac_optarg ;;
1575
1576   -site | --site | --sit)
1577     ac_prev=site ;;
1578   -site=* | --site=* | --sit=*)
1579     site=$ac_optarg ;;
1580
1581   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1582     ac_prev=srcdir ;;
1583   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1584     srcdir=$ac_optarg ;;
1585
1586   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1587   | --syscon | --sysco | --sysc | --sys | --sy)
1588     ac_prev=sysconfdir ;;
1589   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1590   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1591     sysconfdir=$ac_optarg ;;
1592
1593   -target | --target | --targe | --targ | --tar | --ta | --t)
1594     ac_prev=target_alias ;;
1595   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1596     target_alias=$ac_optarg ;;
1597
1598   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1599     verbose=yes ;;
1600
1601   -version | --version | --versio | --versi | --vers | -V)
1602     ac_init_version=: ;;
1603
1604   -with-* | --with-*)
1605     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1606     # Reject names that are not valid shell variable names.
1607     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1608       as_fn_error $? "invalid package name: $ac_useropt"
1609     ac_useropt_orig=$ac_useropt
1610     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611     case $ac_user_opts in
1612       *"
1613 "with_$ac_useropt"
1614 "*) ;;
1615       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1616          ac_unrecognized_sep=', ';;
1617     esac
1618     eval with_$ac_useropt=\$ac_optarg ;;
1619
1620   -without-* | --without-*)
1621     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1622     # Reject names that are not valid shell variable names.
1623     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1624       as_fn_error $? "invalid package name: $ac_useropt"
1625     ac_useropt_orig=$ac_useropt
1626     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1627     case $ac_user_opts in
1628       *"
1629 "with_$ac_useropt"
1630 "*) ;;
1631       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1632          ac_unrecognized_sep=', ';;
1633     esac
1634     eval with_$ac_useropt=no ;;
1635
1636   --x)
1637     # Obsolete; use --with-x.
1638     with_x=yes ;;
1639
1640   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1641   | --x-incl | --x-inc | --x-in | --x-i)
1642     ac_prev=x_includes ;;
1643   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1644   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1645     x_includes=$ac_optarg ;;
1646
1647   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1648   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1649     ac_prev=x_libraries ;;
1650   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1651   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1652     x_libraries=$ac_optarg ;;
1653
1654   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1655 Try \`$0 --help' for more information"
1656     ;;
1657
1658   *=*)
1659     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1660     # Reject names that are not valid shell variable names.
1661     case $ac_envvar in #(
1662       '' | [0-9]* | *[!_$as_cr_alnum]* )
1663       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1664     esac
1665     eval $ac_envvar=\$ac_optarg
1666     export $ac_envvar ;;
1667
1668   *)
1669     # FIXME: should be removed in autoconf 3.0.
1670     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1671     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1672       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1673     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1674     ;;
1675
1676   esac
1677 done
1678
1679 if test -n "$ac_prev"; then
1680   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1681   as_fn_error $? "missing argument to $ac_option"
1682 fi
1683
1684 if test -n "$ac_unrecognized_opts"; then
1685   case $enable_option_checking in
1686     no) ;;
1687     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1688     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1689   esac
1690 fi
1691
1692 # Check all directory arguments for consistency.
1693 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1694                 datadir sysconfdir sharedstatedir localstatedir includedir \
1695                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1696                 libdir localedir mandir
1697 do
1698   eval ac_val=\$$ac_var
1699   # Remove trailing slashes.
1700   case $ac_val in
1701     */ )
1702       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1703       eval $ac_var=\$ac_val;;
1704   esac
1705   # Be sure to have absolute directory names.
1706   case $ac_val in
1707     [\\/$]* | ?:[\\/]* )  continue;;
1708     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1709   esac
1710   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1711 done
1712
1713 # There might be people who depend on the old broken behavior: `$host'
1714 # used to hold the argument of --host etc.
1715 # FIXME: To remove some day.
1716 build=$build_alias
1717 host=$host_alias
1718 target=$target_alias
1719
1720 # FIXME: To remove some day.
1721 if test "x$host_alias" != x; then
1722   if test "x$build_alias" = x; then
1723     cross_compiling=maybe
1724     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1725     If a cross compiler is detected then cross compile mode will be used" >&2
1726   elif test "x$build_alias" != "x$host_alias"; then
1727     cross_compiling=yes
1728   fi
1729 fi
1730
1731 ac_tool_prefix=
1732 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1733
1734 test "$silent" = yes && exec 6>/dev/null
1735
1736
1737 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1738 ac_ls_di=`ls -di .` &&
1739 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1740   as_fn_error $? "working directory cannot be determined"
1741 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1742   as_fn_error $? "pwd does not report name of working directory"
1743
1744
1745 # Find the source files, if location was not specified.
1746 if test -z "$srcdir"; then
1747   ac_srcdir_defaulted=yes
1748   # Try the directory containing this script, then the parent directory.
1749   ac_confdir=`$as_dirname -- "$as_myself" ||
1750 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1751          X"$as_myself" : 'X\(//\)[^/]' \| \
1752          X"$as_myself" : 'X\(//\)$' \| \
1753          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1754 $as_echo X"$as_myself" |
1755     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1756             s//\1/
1757             q
1758           }
1759           /^X\(\/\/\)[^/].*/{
1760             s//\1/
1761             q
1762           }
1763           /^X\(\/\/\)$/{
1764             s//\1/
1765             q
1766           }
1767           /^X\(\/\).*/{
1768             s//\1/
1769             q
1770           }
1771           s/.*/./; q'`
1772   srcdir=$ac_confdir
1773   if test ! -r "$srcdir/$ac_unique_file"; then
1774     srcdir=..
1775   fi
1776 else
1777   ac_srcdir_defaulted=no
1778 fi
1779 if test ! -r "$srcdir/$ac_unique_file"; then
1780   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1781   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1782 fi
1783 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1784 ac_abs_confdir=`(
1785         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1786         pwd)`
1787 # When building in place, set srcdir=.
1788 if test "$ac_abs_confdir" = "$ac_pwd"; then
1789   srcdir=.
1790 fi
1791 # Remove unnecessary trailing slashes from srcdir.
1792 # Double slashes in file names in object file debugging info
1793 # mess up M-x gdb in Emacs.
1794 case $srcdir in
1795 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1796 esac
1797 for ac_var in $ac_precious_vars; do
1798   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1799   eval ac_env_${ac_var}_value=\$${ac_var}
1800   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1801   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1802 done
1803
1804 #
1805 # Report the --help message.
1806 #
1807 if test "$ac_init_help" = "long"; then
1808   # Omit some internal or obsolete options to make the list less imposing.
1809   # This message is too long to be a string in the A/UX 3.1 sh.
1810   cat <<_ACEOF
1811 \`configure' configures evas 1.7.7 to adapt to many kinds of systems.
1812
1813 Usage: $0 [OPTION]... [VAR=VALUE]...
1814
1815 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1816 VAR=VALUE.  See below for descriptions of some of the useful variables.
1817
1818 Defaults for the options are specified in brackets.
1819
1820 Configuration:
1821   -h, --help              display this help and exit
1822       --help=short        display options specific to this package
1823       --help=recursive    display the short help of all the included packages
1824   -V, --version           display version information and exit
1825   -q, --quiet, --silent   do not print \`checking ...' messages
1826       --cache-file=FILE   cache test results in FILE [disabled]
1827   -C, --config-cache      alias for \`--cache-file=config.cache'
1828   -n, --no-create         do not create output files
1829       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1830
1831 Installation directories:
1832   --prefix=PREFIX         install architecture-independent files in PREFIX
1833                           [$ac_default_prefix]
1834   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1835                           [PREFIX]
1836
1837 By default, \`make install' will install all the files in
1838 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1839 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1840 for instance \`--prefix=\$HOME'.
1841
1842 For better control, use the options below.
1843
1844 Fine tuning of the installation directories:
1845   --bindir=DIR            user executables [EPREFIX/bin]
1846   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1847   --libexecdir=DIR        program executables [EPREFIX/libexec]
1848   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1849   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1850   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1851   --libdir=DIR            object code libraries [EPREFIX/lib]
1852   --includedir=DIR        C header files [PREFIX/include]
1853   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1854   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1855   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1856   --infodir=DIR           info documentation [DATAROOTDIR/info]
1857   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1858   --mandir=DIR            man documentation [DATAROOTDIR/man]
1859   --docdir=DIR            documentation root [DATAROOTDIR/doc/evas]
1860   --htmldir=DIR           html documentation [DOCDIR]
1861   --dvidir=DIR            dvi documentation [DOCDIR]
1862   --pdfdir=DIR            pdf documentation [DOCDIR]
1863   --psdir=DIR             ps documentation [DOCDIR]
1864 _ACEOF
1865
1866   cat <<\_ACEOF
1867
1868 Program names:
1869   --program-prefix=PREFIX            prepend PREFIX to installed program names
1870   --program-suffix=SUFFIX            append SUFFIX to installed program names
1871   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1872
1873 X features:
1874   --x-includes=DIR    X include files are in DIR
1875   --x-libraries=DIR   X library files are in DIR
1876
1877 System types:
1878   --build=BUILD     configure for building on BUILD [guessed]
1879   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1880 _ACEOF
1881 fi
1882
1883 if test -n "$ac_init_help"; then
1884   case $ac_init_help in
1885      short | recursive ) echo "Configuration of evas 1.7.7:";;
1886    esac
1887   cat <<\_ACEOF
1888
1889 Optional Features:
1890   --disable-option-checking  ignore unrecognized --enable/--with options
1891   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1892   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1893   --enable-silent-rules          less verbose build output (undo: `make V=1')
1894   --disable-silent-rules         verbose build output (undo: `make V=0')
1895   --disable-dependency-tracking  speeds up one-time build
1896   --enable-dependency-tracking   do not reject slow dependency extractors
1897   --enable-shared[=PKGS]  build shared libraries [default=yes]
1898   --enable-static[=PKGS]  build static libraries [default=yes]
1899   --enable-fast-install[=PKGS]
1900                           optimize for fast installation [default=yes]
1901   --disable-libtool-lock  avoid locking (might break parallel builds)
1902   --enable-strict         enable strict checking mode. [default==disabled]
1903   --enable-simple-x11     enable simple x11 linking
1904   --disable-doc           Disable documentation build [default=enabled]
1905   --disable-fontconfig    disable fontconfig for finding fonts.
1906                           [default=enabled]
1907   --disable-liblinebreak  disable linking against liblinebreak.
1908                           [default=enabled]
1909   --disable-fribidi       disable bidirectional text support.
1910                           [default=enabled]
1911   --disable-harfbuzz      disable complex text shaping and layouting support.
1912                           [default=enabled]
1913   --enable-pixman         enable pixman for software rendering.
1914                           [default=enabled]
1915   --enable-pixman-font    Allow pixman to render fonts
1916   --enable-pixman-rect    Allow pixman to render rects
1917   --enable-pixman-line    Allow pixman to render lines
1918   --enable-pixman-poly    Allow pixman to render polys
1919   --enable-pixman-image   Allow pixman to render images
1920   --enable-pixman-image-scale-sample
1921                           Allow pixman to render sampled scaled images
1922   --enable-tile-rotate    Enable tiled rotate algorithm
1923   --disable-evas-cserve   disable shared cache server support.
1924                           [default=enabled]
1925   --disable-evas-cserve2  disable shared cache server 2 support.
1926                           [default=enabled]
1927   --enable-gl-flavor-gles enable gles flavor of gl instead of standard
1928   --enable-gles-variety-sgx
1929                           GLES variety SGX 3D unit
1930   --enable-gles-variety-s3c6410
1931                           GLES variety s3c6410 3D unit
1932   --enable-buffer         enable Buffer rendering backend
1933   --enable-software-gdi   enable Software GDI rendering backend
1934   --enable-software-ddraw enable Software DirectDraw rendering backend
1935   --enable-direct3d       enable Direct3D rendering backend
1936   --enable-psl1ght        enable PSL1GHT rendering backend
1937   --enable-gl-sdl         enable OpenGL SDL rendering backend
1938   --enable-gl-cocoa       enable OpenGL Cocoa rendering backend
1939   --enable-fb             enable Framebuffer rendering backend
1940   --enable-directfb       enable DirectFB rendering backend
1941   --enable-software-8-x11 enable Software X11 8 bits grayscale rendering
1942                           backend
1943   --enable-software-16-x11
1944                           enable Software X11 16 bits rendering backend
1945   --enable-software-16-wince
1946                           enable Software Windows CE 16 bits rendering backend
1947   --enable-software-16-sdl
1948                           enable Software SDL 16 bits rendering backend
1949   --enable-wayland-shm    enable Wayland Shm rendering backend
1950   --enable-wayland-egl    enable Wayland Egl rendering backend
1951   --enable-sdl-primitive
1952   --enable-static-software-generic
1953                           Build software generic engine as part of libevas
1954   --enable-software-xcb   enable Software XCB Engine. [default=disabled]
1955   --enable-software-xcb   enable Software XCB rendering backend
1956   --enable-software-xlib  enable Software Xlib rendering backend
1957   --enable-gl-xcb         enable OpenGL XCB Engine. [default=disabled]
1958   --enable-gl-xcb         enable OpenGL XCB rendering backend
1959   --enable-gl-xlib        enable OpenGL XLib rendering backend
1960   --enable-static-software-16
1961                           Build software 16 engine as part of libevas
1962   --enable-static-software-8
1963                           Build software 8 engine as part of libevas
1964   --enable-image-loader-edb
1965                           enable Edb image loader
1966   --enable-image-loader-eet
1967                           enable Eet image loader
1968   --disable-font-loader-eet
1969                           disable EET font loader. [[default=enabled]]
1970   --enable-image-loader-gif
1971                           enable Gif image loader
1972   --enable-image-loader-jpeg
1973                           enable Jpeg image loader
1974   --enable-image-loader-pmaps
1975                           enable PMAPS image loader
1976   --enable-image-loader-png
1977                           enable PNG image loader
1978   --enable-image-loader-svg
1979                           enable SVG image loader
1980   --enable-image-loader-tiff
1981                           enable Tiff image loader
1982   --enable-image-loader-xpm
1983                           enable XPM image loader
1984   --enable-image-loader-bmp
1985                           enable BMP image loader
1986   --enable-image-loader-tga
1987                           enable TGA image loader
1988   --enable-image-loader-wbmp
1989                           enable WBMP image loader
1990   --enable-image-loader-ico
1991                           enable ICO image loader
1992   --enable-image-loader-psd
1993                           enable PSD image loader
1994   --enable-image-loader-generic
1995                           enable GENERIC image loader
1996   --enable-pthreads       enable threaded rendering
1997   --enable-async-events   enable async events support
1998   --enable-async-preload  enable async image preloading support
1999   --enable-cpu-mmx        enable mmx code
2000   --enable-cpu-sse        enable sse code
2001   --enable-cpu-sse3       enable sse3 code
2002   --enable-cpu-altivec    enable altivec code
2003   --enable-cpu-neon       build neon code, the code will be checked at run
2004                           time to see if the CPU supports it
2005   --enable-cpu-c          enable C code
2006   --disable-evas-magic-debug
2007                           disable MAGIC_DEBUG check when people pass in wrong
2008                           object type. [[default=enabled]]
2009   --disable-scale-sample  disable sampling scaler code [default=enabled]
2010   --disable-scale-smooth  disable smooth scaler code [default=enabled]
2011   --enable-convert-yuv    enable yuv converter code
2012   --enable-small-dither-mask
2013                           enable small dither mask [default=disabled]
2014   --enable-line-dither-mask
2015                           enable line dither mask [default=disabled]
2016   --enable-no-dither-mask enable conversion to 16bpp without dither mask
2017                           [default=disabled]
2018   --disable-convert-8-rgb-332
2019                           disable the 8bpp RGB 332 converter code
2020   --disable-convert-8-rgb-666
2021                           disable the 8bpp RGB 666 converter code
2022   --disable-convert-8-rgb-232
2023                           disable the 8bpp RGB 232 converter code
2024   --disable-convert-8-rgb-222
2025                           disable the 8bpp RGB 222 converter code
2026   --disable-convert-8-rgb-221
2027                           disable the 8bpp RGB 221 converter code
2028   --disable-convert-8-rgb-121
2029                           disable the 8bpp RGB 121 converter code
2030   --disable-convert-8-rgb-111
2031                           disable the 8bpp RGB 111 converter code
2032   --disable-convert-16-rgb-565
2033                           disable the 16bpp RGB 565 converter code
2034   --disable-convert-16-bgr-565
2035                           disable the 16bpp BGR 565 converter code
2036   --disable-convert-16-rgb-555
2037                           disable the 16bpp RGB 555 converter code
2038   --disable-convert-16-rgb-444
2039                           disable the 16bpp RGB 444 converter code
2040   --disable-convert-16-rgb-ipq
2041                           disable 16bpp 565 (444 ipaq) converter code
2042   --disable-convert-16-rgb-rot-0
2043                           disable the 16bpp RGB rotation 0 converter code
2044   --disable-convert-16-rgb-rot-180
2045                           disable the 16bpp RGB rotation 180 converter code
2046   --disable-convert-16-rgb-rot-270
2047                           disable the 16bpp RGB rotation 270 converter code
2048   --disable-convert-16-rgb-rot-90
2049                           disable the 16bpp RGB rotation 90 converter code
2050   --disable-convert-24-rgb-888
2051                           disable the 24bpp RGB 888 converter code
2052   --disable-convert-24-bgr-888
2053                           disable the 24bpp BGR 888 converter code
2054   --disable-convert-32-rgb-8888
2055                           disable the 32bpp RGB 8888 converter code
2056   --disable-convert-32-rgbx-8888
2057                           disable the 32bpp RGBX 8888 converter code
2058   --disable-convert-32-bgr-8888
2059                           disable the 32bpp BGR 8888 converter code
2060   --disable-convert-32-bgrx-8888
2061                           disable the 32bpp BGRX 8888 converter code
2062   --disable-convert-24-rgb-ezx
2063                           disable 24bpp 666 (666 ezx) converter code
2064   --disable-convert-32-rgb-ezx
2065                           disable 32bpp 666 (666 ezx) converter code
2066   --disable-convert-32-rgb-rot-0
2067                           disable the 32bpp RGB rotation 0 converter code
2068   --disable-convert-32-rgb-rot-180
2069                           disable the 32bpp RGB rotation 180 converter code
2070   --disable-convert-32-rgb-rot-270
2071                           disable the 32bpp RGB rotation 270 converter code
2072   --disable-convert-32-rgb-rot-90
2073                           disable the 32bpp RGB rotation 90 converter code
2074   --disable-convert-8-gry-1
2075                           disable the 8bpp GRY 1 converter code
2076   --disable-convert-8-gry-16
2077                           disable the 8bpp GRY 16 converter code
2078   --disable-convert-8-grayscale-64
2079                           disable 8bpp grayscale 64-palette converter code
2080   --enable-valgrind       enable valgrind fixes to stop false reports
2081   --disable-install-examples
2082                           disable installing examples (compiled or just
2083                           source). [default==enabled]
2084   --enable-build-examples enable building examples (this requires extra
2085                           denpendencies. if you don't have them installed yet,
2086                           don't build with this option or it will fail. build
2087                           again when you have it, overriding the previous
2088                           installation). [default==disabled]
2089   --enable-tests          enable tests [default=disabled]
2090   --enable-coverage       enable coverage profiling instrumentation
2091                           [default=disabled]
2092
2093 Optional Packages:
2094   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2095   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2096   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
2097                           both]
2098   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
2099   --with-sysroot=DIR Search for dependent libraries within DIR
2100                         (or the compiler's sysroot if not specified).
2101   --with-doxygen=FILE     doxygen program to use [default=doxygen]
2102   --with-x                use the X Window System
2103
2104 Some influential environment variables:
2105   CC          C compiler command
2106   CFLAGS      C compiler flags
2107   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
2108               nonstandard directory <lib dir>
2109   LIBS        libraries to pass to the linker, e.g. -l<library>
2110   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2111               you have headers in a nonstandard directory <include dir>
2112   CPP         C preprocessor
2113   OBJC        Objective C compiler command
2114   OBJCFLAGS   Objective C compiler flags
2115   CXX         C++ compiler command
2116   CXXFLAGS    C++ compiler flags
2117   CXXCPP      C++ preprocessor
2118   PKG_CONFIG  path to pkg-config utility
2119   PKG_CONFIG_PATH
2120               directories to add to pkg-config's search path
2121   PKG_CONFIG_LIBDIR
2122               path overriding pkg-config's built-in search path
2123   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2124   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
2125   EXOTIC_CFLAGS
2126               C compiler flags for EXOTIC, overriding pkg-config
2127   EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2128   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2129   EINA_LIBS   linker flags for EINA, overriding pkg-config
2130   FREETYPE_CFLAGS
2131               C compiler flags for FREETYPE, overriding pkg-config
2132   FREETYPE_LIBS
2133               linker flags for FREETYPE, overriding pkg-config
2134   FONTCONFIG_CFLAGS
2135               C compiler flags for FONTCONFIG, overriding pkg-config
2136   FONTCONFIG_LIBS
2137               linker flags for FONTCONFIG, overriding pkg-config
2138   FRIBIDI_CFLAGS
2139               C compiler flags for FRIBIDI, overriding pkg-config
2140   FRIBIDI_LIBS
2141               linker flags for FRIBIDI, overriding pkg-config
2142   HARFBUZZ_CFLAGS
2143               C compiler flags for HARFBUZZ, overriding pkg-config
2144   HARFBUZZ_LIBS
2145               linker flags for HARFBUZZ, overriding pkg-config
2146   PIXMAN_CFLAGS
2147               C compiler flags for PIXMAN, overriding pkg-config
2148   PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2149   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
2150   SDL_LIBS    linker flags for SDL, overriding pkg-config
2151   GL_EET_CFLAGS
2152               C compiler flags for GL_EET, overriding pkg-config
2153   GL_EET_LIBS linker flags for GL_EET, overriding pkg-config
2154   DIRECTFB_CFLAGS
2155               C compiler flags for DIRECTFB, overriding pkg-config
2156   DIRECTFB_LIBS
2157               linker flags for DIRECTFB, overriding pkg-config
2158   XCB_CFLAGS  C compiler flags for XCB, overriding pkg-config
2159   XCB_LIBS    linker flags for XCB, overriding pkg-config
2160   XMKMF       Path to xmkmf, Makefile generator for X Window System
2161   WAYLAND_EGL_CFLAGS
2162               C compiler flags for WAYLAND_EGL, overriding pkg-config
2163   WAYLAND_EGL_LIBS
2164               linker flags for WAYLAND_EGL, overriding pkg-config
2165   XCB_GL_CFLAGS
2166               C compiler flags for XCB_GL, overriding pkg-config
2167   XCB_GL_LIBS linker flags for XCB_GL, overriding pkg-config
2168   EDB_CFLAGS  C compiler flags for EDB, overriding pkg-config
2169   EDB_LIBS    linker flags for EDB, overriding pkg-config
2170   EET_CFLAGS  C compiler flags for EET, overriding pkg-config
2171   EET_LIBS    linker flags for EET, overriding pkg-config
2172   PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
2173   PNG_LIBS    linker flags for PNG, overriding pkg-config
2174   SVG_CFLAGS  C compiler flags for SVG, overriding pkg-config
2175   SVG_LIBS    linker flags for SVG, overriding pkg-config
2176   VALGRIND_CFLAGS
2177               C compiler flags for VALGRIND, overriding pkg-config
2178   VALGRIND_LIBS
2179               linker flags for VALGRIND, overriding pkg-config
2180   ECORE_EVAS_CFLAGS
2181               C compiler flags for ECORE_EVAS, overriding pkg-config
2182   ECORE_EVAS_LIBS
2183               linker flags for ECORE_EVAS, overriding pkg-config
2184   EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
2185   EDJE_LIBS   linker flags for EDJE, overriding pkg-config
2186   CHECK_CFLAGS
2187               C compiler flags for CHECK, overriding pkg-config
2188   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
2189
2190 Use these variables to override the choices made by `configure' or to help
2191 it to find libraries and programs with nonstandard names/locations.
2192
2193 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2194 _ACEOF
2195 ac_status=$?
2196 fi
2197
2198 if test "$ac_init_help" = "recursive"; then
2199   # If there are subdirs, report their specific --help.
2200   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2201     test -d "$ac_dir" ||
2202       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2203       continue
2204     ac_builddir=.
2205
2206 case "$ac_dir" in
2207 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2208 *)
2209   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2210   # A ".." for each directory in $ac_dir_suffix.
2211   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2212   case $ac_top_builddir_sub in
2213   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2214   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2215   esac ;;
2216 esac
2217 ac_abs_top_builddir=$ac_pwd
2218 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2219 # for backward compatibility:
2220 ac_top_builddir=$ac_top_build_prefix
2221
2222 case $srcdir in
2223   .)  # We are building in place.
2224     ac_srcdir=.
2225     ac_top_srcdir=$ac_top_builddir_sub
2226     ac_abs_top_srcdir=$ac_pwd ;;
2227   [\\/]* | ?:[\\/]* )  # Absolute name.
2228     ac_srcdir=$srcdir$ac_dir_suffix;
2229     ac_top_srcdir=$srcdir
2230     ac_abs_top_srcdir=$srcdir ;;
2231   *) # Relative name.
2232     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2233     ac_top_srcdir=$ac_top_build_prefix$srcdir
2234     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2235 esac
2236 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2237
2238     cd "$ac_dir" || { ac_status=$?; continue; }
2239     # Check for guested configure.
2240     if test -f "$ac_srcdir/configure.gnu"; then
2241       echo &&
2242       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2243     elif test -f "$ac_srcdir/configure"; then
2244       echo &&
2245       $SHELL "$ac_srcdir/configure" --help=recursive
2246     else
2247       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2248     fi || ac_status=$?
2249     cd "$ac_pwd" || { ac_status=$?; break; }
2250   done
2251 fi
2252
2253 test -n "$ac_init_help" && exit $ac_status
2254 if $ac_init_version; then
2255   cat <<\_ACEOF
2256 evas configure 1.7.7
2257 generated by GNU Autoconf 2.68
2258
2259 Copyright (C) 2010 Free Software Foundation, Inc.
2260 This configure script is free software; the Free Software Foundation
2261 gives unlimited permission to copy, distribute and modify it.
2262 _ACEOF
2263   exit
2264 fi
2265
2266 ## ------------------------ ##
2267 ## Autoconf initialization. ##
2268 ## ------------------------ ##
2269
2270 # ac_fn_c_try_compile LINENO
2271 # --------------------------
2272 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2273 ac_fn_c_try_compile ()
2274 {
2275   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276   rm -f conftest.$ac_objext
2277   if { { ac_try="$ac_compile"
2278 case "(($ac_try" in
2279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2280   *) ac_try_echo=$ac_try;;
2281 esac
2282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2283 $as_echo "$ac_try_echo"; } >&5
2284   (eval "$ac_compile") 2>conftest.err
2285   ac_status=$?
2286   if test -s conftest.err; then
2287     grep -v '^ *+' conftest.err >conftest.er1
2288     cat conftest.er1 >&5
2289     mv -f conftest.er1 conftest.err
2290   fi
2291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2292   test $ac_status = 0; } && {
2293          test -z "$ac_c_werror_flag" ||
2294          test ! -s conftest.err
2295        } && test -s conftest.$ac_objext; then :
2296   ac_retval=0
2297 else
2298   $as_echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2300
2301         ac_retval=1
2302 fi
2303   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2304   as_fn_set_status $ac_retval
2305
2306 } # ac_fn_c_try_compile
2307
2308 # ac_fn_c_try_cpp LINENO
2309 # ----------------------
2310 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2311 ac_fn_c_try_cpp ()
2312 {
2313   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314   if { { ac_try="$ac_cpp conftest.$ac_ext"
2315 case "(($ac_try" in
2316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2317   *) ac_try_echo=$ac_try;;
2318 esac
2319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2320 $as_echo "$ac_try_echo"; } >&5
2321   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2322   ac_status=$?
2323   if test -s conftest.err; then
2324     grep -v '^ *+' conftest.err >conftest.er1
2325     cat conftest.er1 >&5
2326     mv -f conftest.er1 conftest.err
2327   fi
2328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2329   test $ac_status = 0; } > conftest.i && {
2330          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2331          test ! -s conftest.err
2332        }; then :
2333   ac_retval=0
2334 else
2335   $as_echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.$ac_ext >&5
2337
2338     ac_retval=1
2339 fi
2340   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2341   as_fn_set_status $ac_retval
2342
2343 } # ac_fn_c_try_cpp
2344
2345 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2346 # -------------------------------------------------------
2347 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2348 # the include files in INCLUDES and setting the cache variable VAR
2349 # accordingly.
2350 ac_fn_c_check_header_mongrel ()
2351 {
2352   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2353   if eval \${$3+:} false; then :
2354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2355 $as_echo_n "checking for $2... " >&6; }
2356 if eval \${$3+:} false; then :
2357   $as_echo_n "(cached) " >&6
2358 fi
2359 eval ac_res=\$$3
2360                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2361 $as_echo "$ac_res" >&6; }
2362 else
2363   # Is the header compilable?
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2365 $as_echo_n "checking $2 usability... " >&6; }
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h.  */
2368 $4
2369 #include <$2>
2370 _ACEOF
2371 if ac_fn_c_try_compile "$LINENO"; then :
2372   ac_header_compiler=yes
2373 else
2374   ac_header_compiler=no
2375 fi
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2378 $as_echo "$ac_header_compiler" >&6; }
2379
2380 # Is the header present?
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2382 $as_echo_n "checking $2 presence... " >&6; }
2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2384 /* end confdefs.h.  */
2385 #include <$2>
2386 _ACEOF
2387 if ac_fn_c_try_cpp "$LINENO"; then :
2388   ac_header_preproc=yes
2389 else
2390   ac_header_preproc=no
2391 fi
2392 rm -f conftest.err conftest.i conftest.$ac_ext
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2394 $as_echo "$ac_header_preproc" >&6; }
2395
2396 # So?  What about this header?
2397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2398   yes:no: )
2399     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2400 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2401     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2402 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2403     ;;
2404   no:yes:* )
2405     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2406 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2407     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2408 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2409     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2410 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2411     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2412 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2413     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2414 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2415 ( $as_echo "## -------------------------------------------------------- ##
2416 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2417 ## -------------------------------------------------------- ##"
2418      ) | sed "s/^/$as_me: WARNING:     /" >&2
2419     ;;
2420 esac
2421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2422 $as_echo_n "checking for $2... " >&6; }
2423 if eval \${$3+:} false; then :
2424   $as_echo_n "(cached) " >&6
2425 else
2426   eval "$3=\$ac_header_compiler"
2427 fi
2428 eval ac_res=\$$3
2429                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2430 $as_echo "$ac_res" >&6; }
2431 fi
2432   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2433
2434 } # ac_fn_c_check_header_mongrel
2435
2436 # ac_fn_c_try_run LINENO
2437 # ----------------------
2438 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2439 # that executables *can* be run.
2440 ac_fn_c_try_run ()
2441 {
2442   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2443   if { { ac_try="$ac_link"
2444 case "(($ac_try" in
2445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2446   *) ac_try_echo=$ac_try;;
2447 esac
2448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2449 $as_echo "$ac_try_echo"; } >&5
2450   (eval "$ac_link") 2>&5
2451   ac_status=$?
2452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2453   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2454   { { case "(($ac_try" in
2455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456   *) ac_try_echo=$ac_try;;
2457 esac
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460   (eval "$ac_try") 2>&5
2461   ac_status=$?
2462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2463   test $ac_status = 0; }; }; then :
2464   ac_retval=0
2465 else
2466   $as_echo "$as_me: program exited with status $ac_status" >&5
2467        $as_echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2469
2470        ac_retval=$ac_status
2471 fi
2472   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2473   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2474   as_fn_set_status $ac_retval
2475
2476 } # ac_fn_c_try_run
2477
2478 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2479 # -------------------------------------------------------
2480 # Tests whether HEADER exists and can be compiled using the include files in
2481 # INCLUDES, setting the cache variable VAR accordingly.
2482 ac_fn_c_check_header_compile ()
2483 {
2484   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2486 $as_echo_n "checking for $2... " >&6; }
2487 if eval \${$3+:} false; then :
2488   $as_echo_n "(cached) " >&6
2489 else
2490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h.  */
2492 $4
2493 #include <$2>
2494 _ACEOF
2495 if ac_fn_c_try_compile "$LINENO"; then :
2496   eval "$3=yes"
2497 else
2498   eval "$3=no"
2499 fi
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 fi
2502 eval ac_res=\$$3
2503                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2504 $as_echo "$ac_res" >&6; }
2505   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506
2507 } # ac_fn_c_check_header_compile
2508
2509 # ac_fn_c_try_link LINENO
2510 # -----------------------
2511 # Try to link conftest.$ac_ext, and return whether this succeeded.
2512 ac_fn_c_try_link ()
2513 {
2514   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2515   rm -f conftest.$ac_objext conftest$ac_exeext
2516   if { { ac_try="$ac_link"
2517 case "(($ac_try" in
2518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519   *) ac_try_echo=$ac_try;;
2520 esac
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523   (eval "$ac_link") 2>conftest.err
2524   ac_status=$?
2525   if test -s conftest.err; then
2526     grep -v '^ *+' conftest.err >conftest.er1
2527     cat conftest.er1 >&5
2528     mv -f conftest.er1 conftest.err
2529   fi
2530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531   test $ac_status = 0; } && {
2532          test -z "$ac_c_werror_flag" ||
2533          test ! -s conftest.err
2534        } && test -s conftest$ac_exeext && {
2535          test "$cross_compiling" = yes ||
2536          $as_test_x conftest$ac_exeext
2537        }; then :
2538   ac_retval=0
2539 else
2540   $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.$ac_ext >&5
2542
2543         ac_retval=1
2544 fi
2545   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2546   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2547   # interfere with the next link command; also delete a directory that is
2548   # left behind by Apple's compiler.  We do this before executing the actions.
2549   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551   as_fn_set_status $ac_retval
2552
2553 } # ac_fn_c_try_link
2554
2555 # ac_fn_c_check_func LINENO FUNC VAR
2556 # ----------------------------------
2557 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2558 ac_fn_c_check_func ()
2559 {
2560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2562 $as_echo_n "checking for $2... " >&6; }
2563 if eval \${$3+:} false; then :
2564   $as_echo_n "(cached) " >&6
2565 else
2566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h.  */
2568 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2570 #define $2 innocuous_$2
2571
2572 /* System header to define __stub macros and hopefully few prototypes,
2573     which can conflict with char $2 (); below.
2574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2575     <limits.h> exists even on freestanding compilers.  */
2576
2577 #ifdef __STDC__
2578 # include <limits.h>
2579 #else
2580 # include <assert.h>
2581 #endif
2582
2583 #undef $2
2584
2585 /* Override any GCC internal prototype to avoid an error.
2586    Use char because int might match the return type of a GCC
2587    builtin and then its argument prototype would still apply.  */
2588 #ifdef __cplusplus
2589 extern "C"
2590 #endif
2591 char $2 ();
2592 /* The GNU C library defines this for functions which it implements
2593     to always fail with ENOSYS.  Some functions are actually named
2594     something starting with __ and the normal name is an alias.  */
2595 #if defined __stub_$2 || defined __stub___$2
2596 choke me
2597 #endif
2598
2599 int
2600 main ()
2601 {
2602 return $2 ();
2603   ;
2604   return 0;
2605 }
2606 _ACEOF
2607 if ac_fn_c_try_link "$LINENO"; then :
2608   eval "$3=yes"
2609 else
2610   eval "$3=no"
2611 fi
2612 rm -f core conftest.err conftest.$ac_objext \
2613     conftest$ac_exeext conftest.$ac_ext
2614 fi
2615 eval ac_res=\$$3
2616                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2617 $as_echo "$ac_res" >&6; }
2618   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2619
2620 } # ac_fn_c_check_func
2621
2622 # ac_fn_objc_try_compile LINENO
2623 # -----------------------------
2624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2625 ac_fn_objc_try_compile ()
2626 {
2627   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628   rm -f conftest.$ac_objext
2629   if { { ac_try="$ac_compile"
2630 case "(($ac_try" in
2631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632   *) ac_try_echo=$ac_try;;
2633 esac
2634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635 $as_echo "$ac_try_echo"; } >&5
2636   (eval "$ac_compile") 2>conftest.err
2637   ac_status=$?
2638   if test -s conftest.err; then
2639     grep -v '^ *+' conftest.err >conftest.er1
2640     cat conftest.er1 >&5
2641     mv -f conftest.er1 conftest.err
2642   fi
2643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2644   test $ac_status = 0; } && {
2645          test -z "$ac_objc_werror_flag" ||
2646          test ! -s conftest.err
2647        } && test -s conftest.$ac_objext; then :
2648   ac_retval=0
2649 else
2650   $as_echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2652
2653         ac_retval=1
2654 fi
2655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656   as_fn_set_status $ac_retval
2657
2658 } # ac_fn_objc_try_compile
2659
2660 # ac_fn_objc_try_link LINENO
2661 # --------------------------
2662 # Try to link conftest.$ac_ext, and return whether this succeeded.
2663 ac_fn_objc_try_link ()
2664 {
2665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666   rm -f conftest.$ac_objext conftest$ac_exeext
2667   if { { ac_try="$ac_link"
2668 case "(($ac_try" in
2669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670   *) ac_try_echo=$ac_try;;
2671 esac
2672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2673 $as_echo "$ac_try_echo"; } >&5
2674   (eval "$ac_link") 2>conftest.err
2675   ac_status=$?
2676   if test -s conftest.err; then
2677     grep -v '^ *+' conftest.err >conftest.er1
2678     cat conftest.er1 >&5
2679     mv -f conftest.er1 conftest.err
2680   fi
2681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682   test $ac_status = 0; } && {
2683          test -z "$ac_objc_werror_flag" ||
2684          test ! -s conftest.err
2685        } && test -s conftest$ac_exeext && {
2686          test "$cross_compiling" = yes ||
2687          $as_test_x conftest$ac_exeext
2688        }; then :
2689   ac_retval=0
2690 else
2691   $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2693
2694         ac_retval=1
2695 fi
2696   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2697   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2698   # interfere with the next link command; also delete a directory that is
2699   # left behind by Apple's compiler.  We do this before executing the actions.
2700   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2701   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702   as_fn_set_status $ac_retval
2703
2704 } # ac_fn_objc_try_link
2705
2706 # ac_fn_cxx_try_compile LINENO
2707 # ----------------------------
2708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2709 ac_fn_cxx_try_compile ()
2710 {
2711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712   rm -f conftest.$ac_objext
2713   if { { ac_try="$ac_compile"
2714 case "(($ac_try" in
2715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716   *) ac_try_echo=$ac_try;;
2717 esac
2718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2719 $as_echo "$ac_try_echo"; } >&5
2720   (eval "$ac_compile") 2>conftest.err
2721   ac_status=$?
2722   if test -s conftest.err; then
2723     grep -v '^ *+' conftest.err >conftest.er1
2724     cat conftest.er1 >&5
2725     mv -f conftest.er1 conftest.err
2726   fi
2727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2728   test $ac_status = 0; } && {
2729          test -z "$ac_cxx_werror_flag" ||
2730          test ! -s conftest.err
2731        } && test -s conftest.$ac_objext; then :
2732   ac_retval=0
2733 else
2734   $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2736
2737         ac_retval=1
2738 fi
2739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740   as_fn_set_status $ac_retval
2741
2742 } # ac_fn_cxx_try_compile
2743
2744 # ac_fn_cxx_try_cpp LINENO
2745 # ------------------------
2746 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2747 ac_fn_cxx_try_cpp ()
2748 {
2749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750   if { { ac_try="$ac_cpp conftest.$ac_ext"
2751 case "(($ac_try" in
2752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753   *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2758   ac_status=$?
2759   if test -s conftest.err; then
2760     grep -v '^ *+' conftest.err >conftest.er1
2761     cat conftest.er1 >&5
2762     mv -f conftest.er1 conftest.err
2763   fi
2764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2765   test $ac_status = 0; } > conftest.i && {
2766          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2767          test ! -s conftest.err
2768        }; then :
2769   ac_retval=0
2770 else
2771   $as_echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2773
2774     ac_retval=1
2775 fi
2776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2777   as_fn_set_status $ac_retval
2778
2779 } # ac_fn_cxx_try_cpp
2780
2781 # ac_fn_cxx_try_link LINENO
2782 # -------------------------
2783 # Try to link conftest.$ac_ext, and return whether this succeeded.
2784 ac_fn_cxx_try_link ()
2785 {
2786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787   rm -f conftest.$ac_objext conftest$ac_exeext
2788   if { { ac_try="$ac_link"
2789 case "(($ac_try" in
2790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791   *) ac_try_echo=$ac_try;;
2792 esac
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795   (eval "$ac_link") 2>conftest.err
2796   ac_status=$?
2797   if test -s conftest.err; then
2798     grep -v '^ *+' conftest.err >conftest.er1
2799     cat conftest.er1 >&5
2800     mv -f conftest.er1 conftest.err
2801   fi
2802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803   test $ac_status = 0; } && {
2804          test -z "$ac_cxx_werror_flag" ||
2805          test ! -s conftest.err
2806        } && test -s conftest$ac_exeext && {
2807          test "$cross_compiling" = yes ||
2808          $as_test_x conftest$ac_exeext
2809        }; then :
2810   ac_retval=0
2811 else
2812   $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2814
2815         ac_retval=1
2816 fi
2817   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2818   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2819   # interfere with the next link command; also delete a directory that is
2820   # left behind by Apple's compiler.  We do this before executing the actions.
2821   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2822   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2823   as_fn_set_status $ac_retval
2824
2825 } # ac_fn_cxx_try_link
2826
2827 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2828 # --------------------------------------------
2829 # Tries to find the compile-time value of EXPR in a program that includes
2830 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2831 # computed
2832 ac_fn_c_compute_int ()
2833 {
2834   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835   if test "$cross_compiling" = yes; then
2836     # Depending upon the size, compute the lo and hi bounds.
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h.  */
2839 $4
2840 int
2841 main ()
2842 {
2843 static int test_array [1 - 2 * !(($2) >= 0)];
2844 test_array [0] = 0
2845
2846   ;
2847   return 0;
2848 }
2849 _ACEOF
2850 if ac_fn_c_try_compile "$LINENO"; then :
2851   ac_lo=0 ac_mid=0
2852   while :; do
2853     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h.  */
2855 $4
2856 int
2857 main ()
2858 {
2859 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2860 test_array [0] = 0
2861
2862   ;
2863   return 0;
2864 }
2865 _ACEOF
2866 if ac_fn_c_try_compile "$LINENO"; then :
2867   ac_hi=$ac_mid; break
2868 else
2869   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2870                         if test $ac_lo -le $ac_mid; then
2871                           ac_lo= ac_hi=
2872                           break
2873                         fi
2874                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2875 fi
2876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2877   done
2878 else
2879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h.  */
2881 $4
2882 int
2883 main ()
2884 {
2885 static int test_array [1 - 2 * !(($2) < 0)];
2886 test_array [0] = 0
2887
2888   ;
2889   return 0;
2890 }
2891 _ACEOF
2892 if ac_fn_c_try_compile "$LINENO"; then :
2893   ac_hi=-1 ac_mid=-1
2894   while :; do
2895     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h.  */
2897 $4
2898 int
2899 main ()
2900 {
2901 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2902 test_array [0] = 0
2903
2904   ;
2905   return 0;
2906 }
2907 _ACEOF
2908 if ac_fn_c_try_compile "$LINENO"; then :
2909   ac_lo=$ac_mid; break
2910 else
2911   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2912                         if test $ac_mid -le $ac_hi; then
2913                           ac_lo= ac_hi=
2914                           break
2915                         fi
2916                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2917 fi
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919   done
2920 else
2921   ac_lo= ac_hi=
2922 fi
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 fi
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 # Binary search between lo and hi bounds.
2927 while test "x$ac_lo" != "x$ac_hi"; do
2928   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2930 /* end confdefs.h.  */
2931 $4
2932 int
2933 main ()
2934 {
2935 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2936 test_array [0] = 0
2937
2938   ;
2939   return 0;
2940 }
2941 _ACEOF
2942 if ac_fn_c_try_compile "$LINENO"; then :
2943   ac_hi=$ac_mid
2944 else
2945   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2946 fi
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2948 done
2949 case $ac_lo in #((
2950 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2951 '') ac_retval=1 ;;
2952 esac
2953   else
2954     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h.  */
2956 $4
2957 static long int longval () { return $2; }
2958 static unsigned long int ulongval () { return $2; }
2959 #include <stdio.h>
2960 #include <stdlib.h>
2961 int
2962 main ()
2963 {
2964
2965   FILE *f = fopen ("conftest.val", "w");
2966   if (! f)
2967     return 1;
2968   if (($2) < 0)
2969     {
2970       long int i = longval ();
2971       if (i != ($2))
2972         return 1;
2973       fprintf (f, "%ld", i);
2974     }
2975   else
2976     {
2977       unsigned long int i = ulongval ();
2978       if (i != ($2))
2979         return 1;
2980       fprintf (f, "%lu", i);
2981     }
2982   /* Do not output a trailing newline, as this causes \r\n confusion
2983      on some platforms.  */
2984   return ferror (f) || fclose (f) != 0;
2985
2986   ;
2987   return 0;
2988 }
2989 _ACEOF
2990 if ac_fn_c_try_run "$LINENO"; then :
2991   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2992 else
2993   ac_retval=1
2994 fi
2995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2996   conftest.$ac_objext conftest.beam conftest.$ac_ext
2997 rm -f conftest.val
2998
2999   fi
3000   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3001   as_fn_set_status $ac_retval
3002
3003 } # ac_fn_c_compute_int
3004
3005 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3006 # -------------------------------------------
3007 # Tests whether TYPE exists after having included INCLUDES, setting cache
3008 # variable VAR accordingly.
3009 ac_fn_c_check_type ()
3010 {
3011   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3013 $as_echo_n "checking for $2... " >&6; }
3014 if eval \${$3+:} false; then :
3015   $as_echo_n "(cached) " >&6
3016 else
3017   eval "$3=no"
3018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3019 /* end confdefs.h.  */
3020 $4
3021 int
3022 main ()
3023 {
3024 if (sizeof ($2))
3025          return 0;
3026   ;
3027   return 0;
3028 }
3029 _ACEOF
3030 if ac_fn_c_try_compile "$LINENO"; then :
3031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h.  */
3033 $4
3034 int
3035 main ()
3036 {
3037 if (sizeof (($2)))
3038             return 0;
3039   ;
3040   return 0;
3041 }
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"; then :
3044
3045 else
3046   eval "$3=yes"
3047 fi
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 fi
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 fi
3052 eval ac_res=\$$3
3053                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3054 $as_echo "$ac_res" >&6; }
3055   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056
3057 } # ac_fn_c_check_type
3058
3059 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3060 # ---------------------------------------------
3061 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3062 # accordingly.
3063 ac_fn_c_check_decl ()
3064 {
3065   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066   as_decl_name=`echo $2|sed 's/ *(.*//'`
3067   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3069 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3070 if eval \${$3+:} false; then :
3071   $as_echo_n "(cached) " >&6
3072 else
3073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3074 /* end confdefs.h.  */
3075 $4
3076 int
3077 main ()
3078 {
3079 #ifndef $as_decl_name
3080 #ifdef __cplusplus
3081   (void) $as_decl_use;
3082 #else
3083   (void) $as_decl_name;
3084 #endif
3085 #endif
3086
3087   ;
3088   return 0;
3089 }
3090 _ACEOF
3091 if ac_fn_c_try_compile "$LINENO"; then :
3092   eval "$3=yes"
3093 else
3094   eval "$3=no"
3095 fi
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 fi
3098 eval ac_res=\$$3
3099                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 $as_echo "$ac_res" >&6; }
3101   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102
3103 } # ac_fn_c_check_decl
3104 cat >config.log <<_ACEOF
3105 This file contains any messages produced by compilers while
3106 running configure, to aid debugging if configure makes a mistake.
3107
3108 It was created by evas $as_me 1.7.7, which was
3109 generated by GNU Autoconf 2.68.  Invocation command line was
3110
3111   $ $0 $@
3112
3113 _ACEOF
3114 exec 5>>config.log
3115 {
3116 cat <<_ASUNAME
3117 ## --------- ##
3118 ## Platform. ##
3119 ## --------- ##
3120
3121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3126
3127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3128 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
3129
3130 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3131 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3133 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3134 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3135 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3136 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3137
3138 _ASUNAME
3139
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 for as_dir in $PATH
3142 do
3143   IFS=$as_save_IFS
3144   test -z "$as_dir" && as_dir=.
3145     $as_echo "PATH: $as_dir"
3146   done
3147 IFS=$as_save_IFS
3148
3149 } >&5
3150
3151 cat >&5 <<_ACEOF
3152
3153
3154 ## ----------- ##
3155 ## Core tests. ##
3156 ## ----------- ##
3157
3158 _ACEOF
3159
3160
3161 # Keep a trace of the command line.
3162 # Strip out --no-create and --no-recursion so they do not pile up.
3163 # Strip out --silent because we don't want to record it for future runs.
3164 # Also quote any args containing shell meta-characters.
3165 # Make two passes to allow for proper duplicate-argument suppression.
3166 ac_configure_args=
3167 ac_configure_args0=
3168 ac_configure_args1=
3169 ac_must_keep_next=false
3170 for ac_pass in 1 2
3171 do
3172   for ac_arg
3173   do
3174     case $ac_arg in
3175     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3176     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3177     | -silent | --silent | --silen | --sile | --sil)
3178       continue ;;
3179     *\'*)
3180       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3181     esac
3182     case $ac_pass in
3183     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3184     2)
3185       as_fn_append ac_configure_args1 " '$ac_arg'"
3186       if test $ac_must_keep_next = true; then
3187         ac_must_keep_next=false # Got value, back to normal.
3188       else
3189         case $ac_arg in
3190           *=* | --config-cache | -C | -disable-* | --disable-* \
3191           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3192           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3193           | -with-* | --with-* | -without-* | --without-* | --x)
3194             case "$ac_configure_args0 " in
3195               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3196             esac
3197             ;;
3198           -* ) ac_must_keep_next=true ;;
3199         esac
3200       fi
3201       as_fn_append ac_configure_args " '$ac_arg'"
3202       ;;
3203     esac
3204   done
3205 done
3206 { ac_configure_args0=; unset ac_configure_args0;}
3207 { ac_configure_args1=; unset ac_configure_args1;}
3208
3209 # When interrupted or exit'd, cleanup temporary files, and complete
3210 # config.log.  We remove comments because anyway the quotes in there
3211 # would cause problems or look ugly.
3212 # WARNING: Use '\'' to represent an apostrophe within the trap.
3213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3214 trap 'exit_status=$?
3215   # Save into config.log some information that might help in debugging.
3216   {
3217     echo
3218
3219     $as_echo "## ---------------- ##
3220 ## Cache variables. ##
3221 ## ---------------- ##"
3222     echo
3223     # The following way of writing the cache mishandles newlines in values,
3224 (
3225   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3226     eval ac_val=\$$ac_var
3227     case $ac_val in #(
3228     *${as_nl}*)
3229       case $ac_var in #(
3230       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3231 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3232       esac
3233       case $ac_var in #(
3234       _ | IFS | as_nl) ;; #(
3235       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3236       *) { eval $ac_var=; unset $ac_var;} ;;
3237       esac ;;
3238     esac
3239   done
3240   (set) 2>&1 |
3241     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3242     *${as_nl}ac_space=\ *)
3243       sed -n \
3244         "s/'\''/'\''\\\\'\'''\''/g;
3245           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3246       ;; #(
3247     *)
3248       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3249       ;;
3250     esac |
3251     sort
3252 )
3253     echo
3254
3255     $as_echo "## ----------------- ##
3256 ## Output variables. ##
3257 ## ----------------- ##"
3258     echo
3259     for ac_var in $ac_subst_vars
3260     do
3261       eval ac_val=\$$ac_var
3262       case $ac_val in
3263       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3264       esac
3265       $as_echo "$ac_var='\''$ac_val'\''"
3266     done | sort
3267     echo
3268
3269     if test -n "$ac_subst_files"; then
3270       $as_echo "## ------------------- ##
3271 ## File substitutions. ##
3272 ## ------------------- ##"
3273       echo
3274       for ac_var in $ac_subst_files
3275       do
3276         eval ac_val=\$$ac_var
3277         case $ac_val in
3278         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3279         esac
3280         $as_echo "$ac_var='\''$ac_val'\''"
3281       done | sort
3282       echo
3283     fi
3284
3285     if test -s confdefs.h; then
3286       $as_echo "## ----------- ##
3287 ## confdefs.h. ##
3288 ## ----------- ##"
3289       echo
3290       cat confdefs.h
3291       echo
3292     fi
3293     test "$ac_signal" != 0 &&
3294       $as_echo "$as_me: caught signal $ac_signal"
3295     $as_echo "$as_me: exit $exit_status"
3296   } >&5
3297   rm -f core *.core core.conftest.* &&
3298     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3299     exit $exit_status
3300 ' 0
3301 for ac_signal in 1 2 13 15; do
3302   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3303 done
3304 ac_signal=0
3305
3306 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3307 rm -f -r conftest* confdefs.h
3308
3309 $as_echo "/* confdefs.h */" > confdefs.h
3310
3311 # Predefined preprocessor variables.
3312
3313 cat >>confdefs.h <<_ACEOF
3314 #define PACKAGE_NAME "$PACKAGE_NAME"
3315 _ACEOF
3316
3317 cat >>confdefs.h <<_ACEOF
3318 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3319 _ACEOF
3320
3321 cat >>confdefs.h <<_ACEOF
3322 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3323 _ACEOF
3324
3325 cat >>confdefs.h <<_ACEOF
3326 #define PACKAGE_STRING "$PACKAGE_STRING"
3327 _ACEOF
3328
3329 cat >>confdefs.h <<_ACEOF
3330 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3331 _ACEOF
3332
3333 cat >>confdefs.h <<_ACEOF
3334 #define PACKAGE_URL "$PACKAGE_URL"
3335 _ACEOF
3336
3337
3338 # Let the site file select an alternate cache file if it wants to.
3339 # Prefer an explicitly selected file to automatically selected ones.
3340 ac_site_file1=NONE
3341 ac_site_file2=NONE
3342 if test -n "$CONFIG_SITE"; then
3343   # We do not want a PATH search for config.site.
3344   case $CONFIG_SITE in #((
3345     -*)  ac_site_file1=./$CONFIG_SITE;;
3346     */*) ac_site_file1=$CONFIG_SITE;;
3347     *)   ac_site_file1=./$CONFIG_SITE;;
3348   esac
3349 elif test "x$prefix" != xNONE; then
3350   ac_site_file1=$prefix/share/config.site
3351   ac_site_file2=$prefix/etc/config.site
3352 else
3353   ac_site_file1=$ac_default_prefix/share/config.site
3354   ac_site_file2=$ac_default_prefix/etc/config.site
3355 fi
3356 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3357 do
3358   test "x$ac_site_file" = xNONE && continue
3359   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3360     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3361 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3362     sed 's/^/| /' "$ac_site_file" >&5
3363     . "$ac_site_file" \
3364       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366 as_fn_error $? "failed to load site script $ac_site_file
3367 See \`config.log' for more details" "$LINENO" 5; }
3368   fi
3369 done
3370
3371 if test -r "$cache_file"; then
3372   # Some versions of bash will fail to source /dev/null (special files
3373   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
3374   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3375     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3376 $as_echo "$as_me: loading cache $cache_file" >&6;}
3377     case $cache_file in
3378       [\\/]* | ?:[\\/]* ) . "$cache_file";;
3379       *)                      . "./$cache_file";;
3380     esac
3381   fi
3382 else
3383   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3384 $as_echo "$as_me: creating cache $cache_file" >&6;}
3385   >$cache_file
3386 fi
3387
3388 # Check that the precious variables saved in the cache have kept the same
3389 # value.
3390 ac_cache_corrupted=false
3391 for ac_var in $ac_precious_vars; do
3392   eval ac_old_set=\$ac_cv_env_${ac_var}_set
3393   eval ac_new_set=\$ac_env_${ac_var}_set
3394   eval ac_old_val=\$ac_cv_env_${ac_var}_value
3395   eval ac_new_val=\$ac_env_${ac_var}_value
3396   case $ac_old_set,$ac_new_set in
3397     set,)
3398       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3399 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3400       ac_cache_corrupted=: ;;
3401     ,set)
3402       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3403 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3404       ac_cache_corrupted=: ;;
3405     ,);;
3406     *)
3407       if test "x$ac_old_val" != "x$ac_new_val"; then
3408         # differences in whitespace do not lead to failure.
3409         ac_old_val_w=`echo x $ac_old_val`
3410         ac_new_val_w=`echo x $ac_new_val`
3411         if test "$ac_old_val_w" != "$ac_new_val_w"; then
3412           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3413 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3414           ac_cache_corrupted=:
3415         else
3416           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3417 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3418           eval $ac_var=\$ac_old_val
3419         fi
3420         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
3421 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
3422         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
3423 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
3424       fi;;
3425   esac
3426   # Pass precious variables to config.status.
3427   if test "$ac_new_set" = set; then
3428     case $ac_new_val in
3429     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3430     *) ac_arg=$ac_var=$ac_new_val ;;
3431     esac
3432     case " $ac_configure_args " in
3433       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
3434       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3435     esac
3436   fi
3437 done
3438 if $ac_cache_corrupted; then
3439   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3442 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3443   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3444 fi
3445 ## -------------------- ##
3446 ## Main body of script. ##
3447 ## -------------------- ##
3448
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454
3455
3456
3457
3458
3459
3460 ac_config_headers="$ac_config_headers config.h"
3461
3462
3463
3464
3465 am__api_version='1.11'
3466
3467 ac_aux_dir=
3468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3469   if test -f "$ac_dir/install-sh"; then
3470     ac_aux_dir=$ac_dir
3471     ac_install_sh="$ac_aux_dir/install-sh -c"
3472     break
3473   elif test -f "$ac_dir/install.sh"; then
3474     ac_aux_dir=$ac_dir
3475     ac_install_sh="$ac_aux_dir/install.sh -c"
3476     break
3477   elif test -f "$ac_dir/shtool"; then
3478     ac_aux_dir=$ac_dir
3479     ac_install_sh="$ac_aux_dir/shtool install -c"
3480     break
3481   fi
3482 done
3483 if test -z "$ac_aux_dir"; then
3484   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3485 fi
3486
3487 # These three variables are undocumented and unsupported,
3488 # and are intended to be withdrawn in a future Autoconf release.
3489 # They can cause serious problems if a builder's source tree is in a directory
3490 # whose full name contains unusual characters.
3491 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3492 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3493 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3494
3495
3496 # Find a good install program.  We prefer a C program (faster),
3497 # so one script is as good as another.  But avoid the broken or
3498 # incompatible versions:
3499 # SysV /etc/install, /usr/sbin/install
3500 # SunOS /usr/etc/install
3501 # IRIX /sbin/install
3502 # AIX /bin/install
3503 # AmigaOS /C/install, which installs bootblocks on floppy discs
3504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3507 # OS/2's system install, which has a completely different semantic
3508 # ./install, which can be erroneously created by make from ./install.sh.
3509 # Reject install programs that cannot install multiple files.
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3511 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3512 if test -z "$INSTALL"; then
3513 if ${ac_cv_path_install+:} false; then :
3514   $as_echo_n "(cached) " >&6
3515 else
3516   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3518 do
3519   IFS=$as_save_IFS
3520   test -z "$as_dir" && as_dir=.
3521     # Account for people who put trailing slashes in PATH elements.
3522 case $as_dir/ in #((
3523   ./ | .// | /[cC]/* | \
3524   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3525   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3526   /usr/ucb/* ) ;;
3527   *)
3528     # OSF1 and SCO ODT 3.0 have their own names for install.
3529     # Don't use installbsd from OSF since it installs stuff as root
3530     # by default.
3531     for ac_prog in ginstall scoinst install; do
3532       for ac_exec_ext in '' $ac_executable_extensions; do
3533         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3534           if test $ac_prog = install &&
3535             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3536             # AIX install.  It has an incompatible calling convention.
3537             :
3538           elif test $ac_prog = install &&
3539             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3540             # program-specific install script used by HP pwplus--don't use.
3541             :
3542           else
3543             rm -rf conftest.one conftest.two conftest.dir
3544             echo one > conftest.one
3545             echo two > conftest.two
3546             mkdir conftest.dir
3547             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3548               test -s conftest.one && test -s conftest.two &&
3549               test -s conftest.dir/conftest.one &&
3550               test -s conftest.dir/conftest.two
3551             then
3552               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3553               break 3
3554             fi
3555           fi
3556         fi
3557       done
3558     done
3559     ;;
3560 esac
3561
3562   done
3563 IFS=$as_save_IFS
3564
3565 rm -rf conftest.one conftest.two conftest.dir
3566
3567 fi
3568   if test "${ac_cv_path_install+set}" = set; then
3569     INSTALL=$ac_cv_path_install
3570   else
3571     # As a last resort, use the slow shell script.  Don't cache a
3572     # value for INSTALL within a source directory, because that will
3573     # break other packages using the cache if that directory is
3574     # removed, or if the value is a relative name.
3575     INSTALL=$ac_install_sh
3576   fi
3577 fi
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3579 $as_echo "$INSTALL" >&6; }
3580
3581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3582 # It thinks the first close brace ends the variable substitution.
3583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3584
3585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3586
3587 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3588
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3590 $as_echo_n "checking whether build environment is sane... " >&6; }
3591 # Just in case
3592 sleep 1
3593 echo timestamp > conftest.file
3594 # Reject unsafe characters in $srcdir or the absolute working directory
3595 # name.  Accept space and tab only in the latter.
3596 am_lf='
3597 '
3598 case `pwd` in
3599   *[\\\"\#\$\&\'\`$am_lf]*)
3600     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3601 esac
3602 case $srcdir in
3603   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3604     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3605 esac
3606
3607 # Do `set' in a subshell so we don't clobber the current shell's
3608 # arguments.  Must try -L first in case configure is actually a
3609 # symlink; some systems play weird games with the mod time of symlinks
3610 # (eg FreeBSD returns the mod time of the symlink's containing
3611 # directory).
3612 if (
3613    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3614    if test "$*" = "X"; then
3615       # -L didn't work.
3616       set X `ls -t "$srcdir/configure" conftest.file`
3617    fi
3618    rm -f conftest.file
3619    if test "$*" != "X $srcdir/configure conftest.file" \
3620       && test "$*" != "X conftest.file $srcdir/configure"; then
3621
3622       # If neither matched, then we have a broken ls.  This can happen
3623       # if, for instance, CONFIG_SHELL is bash and it inherits a
3624       # broken ls alias from the environment.  This has actually
3625       # happened.  Such a system could not be considered "sane".
3626       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3627 alias in your environment" "$LINENO" 5
3628    fi
3629
3630    test "$2" = conftest.file
3631    )
3632 then
3633    # Ok.
3634    :
3635 else
3636    as_fn_error $? "newly created file is older than distributed files!
3637 Check your system clock" "$LINENO" 5
3638 fi
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3640 $as_echo "yes" >&6; }
3641 test "$program_prefix" != NONE &&
3642   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3643 # Use a double $ so make ignores it.
3644 test "$program_suffix" != NONE &&
3645   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3646 # Double any \ or $.
3647 # By default was `s,x,x', remove it if useless.
3648 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3649 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3650
3651 # expand $ac_aux_dir to an absolute path
3652 am_aux_dir=`cd $ac_aux_dir && pwd`
3653
3654 if test x"${MISSING+set}" != xset; then
3655   case $am_aux_dir in
3656   *\ * | *\     *)
3657     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3658   *)
3659     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3660   esac
3661 fi
3662 # Use eval to expand $SHELL
3663 if eval "$MISSING --run true"; then
3664   am_missing_run="$MISSING --run "
3665 else
3666   am_missing_run=
3667   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3668 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3669 fi
3670
3671 if test x"${install_sh}" != xset; then
3672   case $am_aux_dir in
3673   *\ * | *\     *)
3674     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3675   *)
3676     install_sh="\${SHELL} $am_aux_dir/install-sh"
3677   esac
3678 fi
3679
3680 # Installed binaries are usually stripped using `strip' when the user
3681 # run `make install-strip'.  However `strip' might not be the right
3682 # tool to use in cross-compilation environments, therefore Automake
3683 # will honor the `STRIP' environment variable to overrule this program.
3684 if test "$cross_compiling" != no; then
3685   if test -n "$ac_tool_prefix"; then
3686   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3687 set dummy ${ac_tool_prefix}strip; ac_word=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_STRIP+:} false; then :
3691   $as_echo_n "(cached) " >&6
3692 else
3693   if test -n "$STRIP"; then
3694   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3695 else
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 for as_dir in $PATH
3698 do
3699   IFS=$as_save_IFS
3700   test -z "$as_dir" && as_dir=.
3701     for ac_exec_ext in '' $ac_executable_extensions; do
3702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3705     break 2
3706   fi
3707 done
3708   done
3709 IFS=$as_save_IFS
3710
3711 fi
3712 fi
3713 STRIP=$ac_cv_prog_STRIP
3714 if test -n "$STRIP"; then
3715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3716 $as_echo "$STRIP" >&6; }
3717 else
3718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3720 fi
3721
3722
3723 fi
3724 if test -z "$ac_cv_prog_STRIP"; then
3725   ac_ct_STRIP=$STRIP
3726   # Extract the first word of "strip", so it can be a program name with args.
3727 set dummy strip; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3731   $as_echo_n "(cached) " >&6
3732 else
3733   if test -n "$ac_ct_STRIP"; then
3734   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3735 else
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 for as_dir in $PATH
3738 do
3739   IFS=$as_save_IFS
3740   test -z "$as_dir" && as_dir=.
3741     for ac_exec_ext in '' $ac_executable_extensions; do
3742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3743     ac_cv_prog_ac_ct_STRIP="strip"
3744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745     break 2
3746   fi
3747 done
3748   done
3749 IFS=$as_save_IFS
3750
3751 fi
3752 fi
3753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3754 if test -n "$ac_ct_STRIP"; then
3755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3756 $as_echo "$ac_ct_STRIP" >&6; }
3757 else
3758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3760 fi
3761
3762   if test "x$ac_ct_STRIP" = x; then
3763     STRIP=":"
3764   else
3765     case $cross_compiling:$ac_tool_warned in
3766 yes:)
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3769 ac_tool_warned=yes ;;
3770 esac
3771     STRIP=$ac_ct_STRIP
3772   fi
3773 else
3774   STRIP="$ac_cv_prog_STRIP"
3775 fi
3776
3777 fi
3778 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3779
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3782 if test -z "$MKDIR_P"; then
3783   if ${ac_cv_path_mkdir+:} false; then :
3784   $as_echo_n "(cached) " >&6
3785 else
3786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3788 do
3789   IFS=$as_save_IFS
3790   test -z "$as_dir" && as_dir=.
3791     for ac_prog in mkdir gmkdir; do
3792          for ac_exec_ext in '' $ac_executable_extensions; do
3793            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3794            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3795              'mkdir (GNU coreutils) '* | \
3796              'mkdir (coreutils) '* | \
3797              'mkdir (fileutils) '4.1*)
3798                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3799                break 3;;
3800            esac
3801          done
3802        done
3803   done
3804 IFS=$as_save_IFS
3805
3806 fi
3807
3808   test -d ./--version && rmdir ./--version
3809   if test "${ac_cv_path_mkdir+set}" = set; then
3810     MKDIR_P="$ac_cv_path_mkdir -p"
3811   else
3812     # As a last resort, use the slow shell script.  Don't cache a
3813     # value for MKDIR_P within a source directory, because that will
3814     # break other packages using the cache if that directory is
3815     # removed, or if the value is a relative name.
3816     MKDIR_P="$ac_install_sh -d"
3817   fi
3818 fi
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3820 $as_echo "$MKDIR_P" >&6; }
3821
3822 mkdir_p="$MKDIR_P"
3823 case $mkdir_p in
3824   [\\/$]* | ?:[\\/]*) ;;
3825   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3826 esac
3827
3828 for ac_prog in gawk mawk nawk awk
3829 do
3830   # Extract the first word of "$ac_prog", so it can be a program name with args.
3831 set dummy $ac_prog; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_AWK+:} false; then :
3835   $as_echo_n "(cached) " >&6
3836 else
3837   if test -n "$AWK"; then
3838   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3839 else
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH
3842 do
3843   IFS=$as_save_IFS
3844   test -z "$as_dir" && as_dir=.
3845     for ac_exec_ext in '' $ac_executable_extensions; do
3846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847     ac_cv_prog_AWK="$ac_prog"
3848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849     break 2
3850   fi
3851 done
3852   done
3853 IFS=$as_save_IFS
3854
3855 fi
3856 fi
3857 AWK=$ac_cv_prog_AWK
3858 if test -n "$AWK"; then
3859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3860 $as_echo "$AWK" >&6; }
3861 else
3862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3864 fi
3865
3866
3867   test -n "$AWK" && break
3868 done
3869
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3871 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3872 set x ${MAKE-make}
3873 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3874 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3875   $as_echo_n "(cached) " >&6
3876 else
3877   cat >conftest.make <<\_ACEOF
3878 SHELL = /bin/sh
3879 all:
3880         @echo '@@@%%%=$(MAKE)=@@@%%%'
3881 _ACEOF
3882 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3883 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3884   *@@@%%%=?*=@@@%%%*)
3885     eval ac_cv_prog_make_${ac_make}_set=yes;;
3886   *)
3887     eval ac_cv_prog_make_${ac_make}_set=no;;
3888 esac
3889 rm -f conftest.make
3890 fi
3891 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3893 $as_echo "yes" >&6; }
3894   SET_MAKE=
3895 else
3896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3898   SET_MAKE="MAKE=${MAKE-make}"
3899 fi
3900
3901 rm -rf .tst 2>/dev/null
3902 mkdir .tst 2>/dev/null
3903 if test -d .tst; then
3904   am__leading_dot=.
3905 else
3906   am__leading_dot=_
3907 fi
3908 rmdir .tst 2>/dev/null
3909
3910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3911   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3912   # is not polluted with repeated "-I."
3913   am__isrc=' -I$(srcdir)'
3914   # test to see if srcdir already configured
3915   if test -f $srcdir/config.status; then
3916     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3917   fi
3918 fi
3919
3920 # test whether we have cygpath
3921 if test -z "$CYGPATH_W"; then
3922   if (cygpath --version) >/dev/null 2>/dev/null; then
3923     CYGPATH_W='cygpath -w'
3924   else
3925     CYGPATH_W=echo
3926   fi
3927 fi
3928
3929
3930 # Define the identity of the package.
3931  PACKAGE='evas'
3932  VERSION='1.7.7'
3933
3934
3935 cat >>confdefs.h <<_ACEOF
3936 #define PACKAGE "$PACKAGE"
3937 _ACEOF
3938
3939
3940 cat >>confdefs.h <<_ACEOF
3941 #define VERSION "$VERSION"
3942 _ACEOF
3943
3944 # Some tools Automake needs.
3945
3946 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3947
3948
3949 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3950
3951
3952 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3953
3954
3955 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3956
3957
3958 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3959
3960 # We need awk for the "check" target.  The system "awk" is bad on
3961 # some platforms.
3962 # Always define AMTAR for backward compatibility.  Yes, it's still used
3963 # in the wild :-(  We should find a proper way to deprecate it ...
3964 AMTAR='$${TAR-tar}'
3965
3966 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3967
3968
3969
3970
3971
3972 # Check whether --enable-silent-rules was given.
3973 if test "${enable_silent_rules+set}" = set; then :
3974   enableval=$enable_silent_rules;
3975 fi
3976
3977 case $enable_silent_rules in
3978 yes) AM_DEFAULT_VERBOSITY=0;;
3979 no)  AM_DEFAULT_VERBOSITY=1;;
3980 *)   AM_DEFAULT_VERBOSITY=0;;
3981 esac
3982 am_make=${MAKE-make}
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3984 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3985 if ${am_cv_make_support_nested_variables+:} false; then :
3986   $as_echo_n "(cached) " >&6
3987 else
3988   if $as_echo 'TRUE=$(BAR$(V))
3989 BAR0=false
3990 BAR1=true
3991 V=1
3992 am__doit:
3993         @$(TRUE)
3994 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3995   am_cv_make_support_nested_variables=yes
3996 else
3997   am_cv_make_support_nested_variables=no
3998 fi
3999 fi
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4001 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4002 if test $am_cv_make_support_nested_variables = yes; then
4003     AM_V='$(V)'
4004   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4005 else
4006   AM_V=$AM_DEFAULT_VERBOSITY
4007   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4008 fi
4009 AM_BACKSLASH='\'
4010
4011
4012 DEPDIR="${am__leading_dot}deps"
4013
4014 ac_config_commands="$ac_config_commands depfiles"
4015
4016
4017 am_make=${MAKE-make}
4018 cat > confinc << 'END'
4019 am__doit:
4020         @echo this is the am__doit target
4021 .PHONY: am__doit
4022 END
4023 # If we don't find an include directive, just comment out the code.
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4025 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4026 am__include="#"
4027 am__quote=
4028 _am_result=none
4029 # First try GNU make style include.
4030 echo "include confinc" > confmf
4031 # Ignore all kinds of additional output from `make'.
4032 case `$am_make -s -f confmf 2> /dev/null` in #(
4033 *the\ am__doit\ target*)
4034   am__include=include
4035   am__quote=
4036   _am_result=GNU
4037   ;;
4038 esac
4039 # Now try BSD make style include.
4040 if test "$am__include" = "#"; then
4041    echo '.include "confinc"' > confmf
4042    case `$am_make -s -f confmf 2> /dev/null` in #(
4043    *the\ am__doit\ target*)
4044      am__include=.include
4045      am__quote="\""
4046      _am_result=BSD
4047      ;;
4048    esac
4049 fi
4050
4051
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4053 $as_echo "$_am_result" >&6; }
4054 rm -f confinc confmf
4055
4056 # Check whether --enable-dependency-tracking was given.
4057 if test "${enable_dependency_tracking+set}" = set; then :
4058   enableval=$enable_dependency_tracking;
4059 fi
4060
4061 if test "x$enable_dependency_tracking" != xno; then
4062   am_depcomp="$ac_aux_dir/depcomp"
4063   AMDEPBACKSLASH='\'
4064   am__nodep='_no'
4065 fi
4066  if test "x$enable_dependency_tracking" != xno; then
4067   AMDEP_TRUE=
4068   AMDEP_FALSE='#'
4069 else
4070   AMDEP_TRUE='#'
4071   AMDEP_FALSE=
4072 fi
4073
4074
4075 ac_ext=c
4076 ac_cpp='$CPP $CPPFLAGS'
4077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4080 if test -n "$ac_tool_prefix"; then
4081   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4082 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if ${ac_cv_prog_CC+:} false; then :
4086   $as_echo_n "(cached) " >&6
4087 else
4088   if test -n "$CC"; then
4089   ac_cv_prog_CC="$CC" # Let the user override the test.
4090 else
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4093 do
4094   IFS=$as_save_IFS
4095   test -z "$as_dir" && as_dir=.
4096     for ac_exec_ext in '' $ac_executable_extensions; do
4097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100     break 2
4101   fi
4102 done
4103   done
4104 IFS=$as_save_IFS
4105
4106 fi
4107 fi
4108 CC=$ac_cv_prog_CC
4109 if test -n "$CC"; then
4110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4111 $as_echo "$CC" >&6; }
4112 else
4113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4115 fi
4116
4117
4118 fi
4119 if test -z "$ac_cv_prog_CC"; then
4120   ac_ct_CC=$CC
4121   # Extract the first word of "gcc", so it can be a program name with args.
4122 set dummy gcc; ac_word=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4126   $as_echo_n "(cached) " >&6
4127 else
4128   if test -n "$ac_ct_CC"; then
4129   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4130 else
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH
4133 do
4134   IFS=$as_save_IFS
4135   test -z "$as_dir" && as_dir=.
4136     for ac_exec_ext in '' $ac_executable_extensions; do
4137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138     ac_cv_prog_ac_ct_CC="gcc"
4139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140     break 2
4141   fi
4142 done
4143   done
4144 IFS=$as_save_IFS
4145
4146 fi
4147 fi
4148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4149 if test -n "$ac_ct_CC"; then
4150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4151 $as_echo "$ac_ct_CC" >&6; }
4152 else
4153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4155 fi
4156
4157   if test "x$ac_ct_CC" = x; then
4158     CC=""
4159   else
4160     case $cross_compiling:$ac_tool_warned in
4161 yes:)
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4164 ac_tool_warned=yes ;;
4165 esac
4166     CC=$ac_ct_CC
4167   fi
4168 else
4169   CC="$ac_cv_prog_CC"
4170 fi
4171
4172 if test -z "$CC"; then
4173           if test -n "$ac_tool_prefix"; then
4174     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4175 set dummy ${ac_tool_prefix}cc; ac_word=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if ${ac_cv_prog_CC+:} false; then :
4179   $as_echo_n "(cached) " >&6
4180 else
4181   if test -n "$CC"; then
4182   ac_cv_prog_CC="$CC" # Let the user override the test.
4183 else
4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4185 for as_dir in $PATH
4186 do
4187   IFS=$as_save_IFS
4188   test -z "$as_dir" && as_dir=.
4189     for ac_exec_ext in '' $ac_executable_extensions; do
4190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191     ac_cv_prog_CC="${ac_tool_prefix}cc"
4192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4193     break 2
4194   fi
4195 done
4196   done
4197 IFS=$as_save_IFS
4198
4199 fi
4200 fi
4201 CC=$ac_cv_prog_CC
4202 if test -n "$CC"; then
4203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4204 $as_echo "$CC" >&6; }
4205 else
4206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4208 fi
4209
4210
4211   fi
4212 fi
4213 if test -z "$CC"; then
4214   # Extract the first word of "cc", so it can be a program name with args.
4215 set dummy cc; ac_word=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if ${ac_cv_prog_CC+:} false; then :
4219   $as_echo_n "(cached) " >&6
4220 else
4221   if test -n "$CC"; then
4222   ac_cv_prog_CC="$CC" # Let the user override the test.
4223 else
4224   ac_prog_rejected=no
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 for as_dir in $PATH
4227 do
4228   IFS=$as_save_IFS
4229   test -z "$as_dir" && as_dir=.
4230     for ac_exec_ext in '' $ac_executable_extensions; do
4231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4232     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4233        ac_prog_rejected=yes
4234        continue
4235      fi
4236     ac_cv_prog_CC="cc"
4237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238     break 2
4239   fi
4240 done
4241   done
4242 IFS=$as_save_IFS
4243
4244 if test $ac_prog_rejected = yes; then
4245   # We found a bogon in the path, so make sure we never use it.
4246   set dummy $ac_cv_prog_CC
4247   shift
4248   if test $# != 0; then
4249     # We chose a different compiler from the bogus one.
4250     # However, it has the same basename, so the bogon will be chosen
4251     # first if we set CC to just the basename; use the full file name.
4252     shift
4253     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4254   fi
4255 fi
4256 fi
4257 fi
4258 CC=$ac_cv_prog_CC
4259 if test -n "$CC"; then
4260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4261 $as_echo "$CC" >&6; }
4262 else
4263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4264 $as_echo "no" >&6; }
4265 fi
4266
4267
4268 fi
4269 if test -z "$CC"; then
4270   if test -n "$ac_tool_prefix"; then
4271   for ac_prog in cl.exe
4272   do
4273     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 $as_echo_n "checking for $ac_word... " >&6; }
4277 if ${ac_cv_prog_CC+:} false; then :
4278   $as_echo_n "(cached) " >&6
4279 else
4280   if test -n "$CC"; then
4281   ac_cv_prog_CC="$CC" # Let the user override the test.
4282 else
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH
4285 do
4286   IFS=$as_save_IFS
4287   test -z "$as_dir" && as_dir=.
4288     for ac_exec_ext in '' $ac_executable_extensions; do
4289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4292     break 2
4293   fi
4294 done
4295   done
4296 IFS=$as_save_IFS
4297
4298 fi
4299 fi
4300 CC=$ac_cv_prog_CC
4301 if test -n "$CC"; then
4302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4303 $as_echo "$CC" >&6; }
4304 else
4305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4306 $as_echo "no" >&6; }
4307 fi
4308
4309
4310     test -n "$CC" && break
4311   done
4312 fi
4313 if test -z "$CC"; then
4314   ac_ct_CC=$CC
4315   for ac_prog in cl.exe
4316 do
4317   # Extract the first word of "$ac_prog", so it can be a program name with args.
4318 set dummy $ac_prog; ac_word=$2
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4322   $as_echo_n "(cached) " >&6
4323 else
4324   if test -n "$ac_ct_CC"; then
4325   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4326 else
4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 for as_dir in $PATH
4329 do
4330   IFS=$as_save_IFS
4331   test -z "$as_dir" && as_dir=.
4332     for ac_exec_ext in '' $ac_executable_extensions; do
4333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334     ac_cv_prog_ac_ct_CC="$ac_prog"
4335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336     break 2
4337   fi
4338 done
4339   done
4340 IFS=$as_save_IFS
4341
4342 fi
4343 fi
4344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4345 if test -n "$ac_ct_CC"; then
4346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4347 $as_echo "$ac_ct_CC" >&6; }
4348 else
4349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 fi
4352
4353
4354   test -n "$ac_ct_CC" && break
4355 done
4356
4357   if test "x$ac_ct_CC" = x; then
4358     CC=""
4359   else
4360     case $cross_compiling:$ac_tool_warned in
4361 yes:)
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364 ac_tool_warned=yes ;;
4365 esac
4366     CC=$ac_ct_CC
4367   fi
4368 fi
4369
4370 fi
4371
4372
4373 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4375 as_fn_error $? "no acceptable C compiler found in \$PATH
4376 See \`config.log' for more details" "$LINENO" 5; }
4377
4378 # Provide some information about the compiler.
4379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4380 set X $ac_compile
4381 ac_compiler=$2
4382 for ac_option in --version -v -V -qversion; do
4383   { { ac_try="$ac_compiler $ac_option >&5"
4384 case "(($ac_try" in
4385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4386   *) ac_try_echo=$ac_try;;
4387 esac
4388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4389 $as_echo "$ac_try_echo"; } >&5
4390   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4391   ac_status=$?
4392   if test -s conftest.err; then
4393     sed '10a\
4394 ... rest of stderr output deleted ...
4395          10q' conftest.err >conftest.er1
4396     cat conftest.er1 >&5
4397   fi
4398   rm -f conftest.er1 conftest.err
4399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4400   test $ac_status = 0; }
4401 done
4402
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h.  */
4405
4406 int
4407 main ()
4408 {
4409
4410   ;
4411   return 0;
4412 }
4413 _ACEOF
4414 ac_clean_files_save=$ac_clean_files
4415 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4416 # Try to create an executable without -o first, disregard a.out.
4417 # It will help us diagnose broken compilers, and finding out an intuition
4418 # of exeext.
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4420 $as_echo_n "checking whether the C compiler works... " >&6; }
4421 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4422
4423 # The possible output files:
4424 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4425
4426 ac_rmfiles=
4427 for ac_file in $ac_files
4428 do
4429   case $ac_file in
4430     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4431     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4432   esac
4433 done
4434 rm -f $ac_rmfiles
4435
4436 if { { ac_try="$ac_link_default"
4437 case "(($ac_try" in
4438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439   *) ac_try_echo=$ac_try;;
4440 esac
4441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4442 $as_echo "$ac_try_echo"; } >&5
4443   (eval "$ac_link_default") 2>&5
4444   ac_status=$?
4445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4446   test $ac_status = 0; }; then :
4447   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4448 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4449 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
4450 # so that the user can short-circuit this test for compilers unknown to
4451 # Autoconf.
4452 for ac_file in $ac_files ''
4453 do
4454   test -f "$ac_file" || continue
4455   case $ac_file in
4456     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4457         ;;
4458     [ab].out )
4459         # We found the default executable, but exeext='' is most
4460         # certainly right.
4461         break;;
4462     *.* )
4463         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4464         then :; else
4465            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4466         fi
4467         # We set ac_cv_exeext here because the later test for it is not
4468         # safe: cross compilers may not add the suffix if given an `-o'
4469         # argument, so we may need to know it at that point already.
4470         # Even if this section looks crufty: it has the advantage of
4471         # actually working.
4472         break;;
4473     * )
4474         break;;
4475   esac
4476 done
4477 test "$ac_cv_exeext" = no && ac_cv_exeext=
4478
4479 else
4480   ac_file=''
4481 fi
4482 if test -z "$ac_file"; then :
4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4485 $as_echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4487
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4490 as_fn_error 77 "C compiler cannot create executables
4491 See \`config.log' for more details" "$LINENO" 5; }
4492 else
4493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4494 $as_echo "yes" >&6; }
4495 fi
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4497 $as_echo_n "checking for C compiler default output file name... " >&6; }
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4499 $as_echo "$ac_file" >&6; }
4500 ac_exeext=$ac_cv_exeext
4501
4502 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4503 ac_clean_files=$ac_clean_files_save
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4505 $as_echo_n "checking for suffix of executables... " >&6; }
4506 if { { ac_try="$ac_link"
4507 case "(($ac_try" in
4508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509   *) ac_try_echo=$ac_try;;
4510 esac
4511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512 $as_echo "$ac_try_echo"; } >&5
4513   (eval "$ac_link") 2>&5
4514   ac_status=$?
4515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4516   test $ac_status = 0; }; then :
4517   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4518 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4519 # work properly (i.e., refer to `conftest.exe'), while it won't with
4520 # `rm'.
4521 for ac_file in conftest.exe conftest conftest.*; do
4522   test -f "$ac_file" || continue
4523   case $ac_file in
4524     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4525     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4526           break;;
4527     * ) break;;
4528   esac
4529 done
4530 else
4531   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4534 See \`config.log' for more details" "$LINENO" 5; }
4535 fi
4536 rm -f conftest conftest$ac_cv_exeext
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4538 $as_echo "$ac_cv_exeext" >&6; }
4539
4540 rm -f conftest.$ac_ext
4541 EXEEXT=$ac_cv_exeext
4542 ac_exeext=$EXEEXT
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h.  */
4545 #include <stdio.h>
4546 int
4547 main ()
4548 {
4549 FILE *f = fopen ("conftest.out", "w");
4550  return ferror (f) || fclose (f) != 0;
4551
4552   ;
4553   return 0;
4554 }
4555 _ACEOF
4556 ac_clean_files="$ac_clean_files conftest.out"
4557 # Check that the compiler produces executables we can run.  If not, either
4558 # the compiler is broken, or we cross compile.
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4560 $as_echo_n "checking whether we are cross compiling... " >&6; }
4561 if test "$cross_compiling" != yes; then
4562   { { ac_try="$ac_link"
4563 case "(($ac_try" in
4564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4565   *) ac_try_echo=$ac_try;;
4566 esac
4567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4568 $as_echo "$ac_try_echo"; } >&5
4569   (eval "$ac_link") 2>&5
4570   ac_status=$?
4571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4572   test $ac_status = 0; }
4573   if { ac_try='./conftest$ac_cv_exeext'
4574   { { case "(($ac_try" in
4575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4576   *) ac_try_echo=$ac_try;;
4577 esac
4578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4579 $as_echo "$ac_try_echo"; } >&5
4580   (eval "$ac_try") 2>&5
4581   ac_status=$?
4582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4583   test $ac_status = 0; }; }; then
4584     cross_compiling=no
4585   else
4586     if test "$cross_compiling" = maybe; then
4587         cross_compiling=yes
4588     else
4589         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4591 as_fn_error $? "cannot run C compiled programs.
4592 If you meant to cross compile, use \`--host'.
4593 See \`config.log' for more details" "$LINENO" 5; }
4594     fi
4595   fi
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4598 $as_echo "$cross_compiling" >&6; }
4599
4600 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4601 ac_clean_files=$ac_clean_files_save
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4603 $as_echo_n "checking for suffix of object files... " >&6; }
4604 if ${ac_cv_objext+:} false; then :
4605   $as_echo_n "(cached) " >&6
4606 else
4607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h.  */
4609
4610 int
4611 main ()
4612 {
4613
4614   ;
4615   return 0;
4616 }
4617 _ACEOF
4618 rm -f conftest.o conftest.obj
4619 if { { ac_try="$ac_compile"
4620 case "(($ac_try" in
4621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4622   *) ac_try_echo=$ac_try;;
4623 esac
4624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4625 $as_echo "$ac_try_echo"; } >&5
4626   (eval "$ac_compile") 2>&5
4627   ac_status=$?
4628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4629   test $ac_status = 0; }; then :
4630   for ac_file in conftest.o conftest.obj conftest.*; do
4631   test -f "$ac_file" || continue;
4632   case $ac_file in
4633     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4634     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4635        break;;
4636   esac
4637 done
4638 else
4639   $as_echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4641
4642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4644 as_fn_error $? "cannot compute suffix of object files: cannot compile
4645 See \`config.log' for more details" "$LINENO" 5; }
4646 fi
4647 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4648 fi
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4650 $as_echo "$ac_cv_objext" >&6; }
4651 OBJEXT=$ac_cv_objext
4652 ac_objext=$OBJEXT
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4654 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4655 if ${ac_cv_c_compiler_gnu+:} false; then :
4656   $as_echo_n "(cached) " >&6
4657 else
4658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h.  */
4660
4661 int
4662 main ()
4663 {
4664 #ifndef __GNUC__
4665        choke me
4666 #endif
4667
4668   ;
4669   return 0;
4670 }
4671 _ACEOF
4672 if ac_fn_c_try_compile "$LINENO"; then :
4673   ac_compiler_gnu=yes
4674 else
4675   ac_compiler_gnu=no
4676 fi
4677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4679
4680 fi
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4682 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4683 if test $ac_compiler_gnu = yes; then
4684   GCC=yes
4685 else
4686   GCC=
4687 fi
4688 ac_test_CFLAGS=${CFLAGS+set}
4689 ac_save_CFLAGS=$CFLAGS
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4691 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4692 if ${ac_cv_prog_cc_g+:} false; then :
4693   $as_echo_n "(cached) " >&6
4694 else
4695   ac_save_c_werror_flag=$ac_c_werror_flag
4696    ac_c_werror_flag=yes
4697    ac_cv_prog_cc_g=no
4698    CFLAGS="-g"
4699    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h.  */
4701
4702 int
4703 main ()
4704 {
4705
4706   ;
4707   return 0;
4708 }
4709 _ACEOF
4710 if ac_fn_c_try_compile "$LINENO"; then :
4711   ac_cv_prog_cc_g=yes
4712 else
4713   CFLAGS=""
4714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h.  */
4716
4717 int
4718 main ()
4719 {
4720
4721   ;
4722   return 0;
4723 }
4724 _ACEOF
4725 if ac_fn_c_try_compile "$LINENO"; then :
4726
4727 else
4728   ac_c_werror_flag=$ac_save_c_werror_flag
4729          CFLAGS="-g"
4730          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h.  */
4732
4733 int
4734 main ()
4735 {
4736
4737   ;
4738   return 0;
4739 }
4740 _ACEOF
4741 if ac_fn_c_try_compile "$LINENO"; then :
4742   ac_cv_prog_cc_g=yes
4743 fi
4744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4745 fi
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 fi
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749    ac_c_werror_flag=$ac_save_c_werror_flag
4750 fi
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4752 $as_echo "$ac_cv_prog_cc_g" >&6; }
4753 if test "$ac_test_CFLAGS" = set; then
4754   CFLAGS=$ac_save_CFLAGS
4755 elif test $ac_cv_prog_cc_g = yes; then
4756   if test "$GCC" = yes; then
4757     CFLAGS="-g -O2"
4758   else
4759     CFLAGS="-g"
4760   fi
4761 else
4762   if test "$GCC" = yes; then
4763     CFLAGS="-O2"
4764   else
4765     CFLAGS=
4766   fi
4767 fi
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4769 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4770 if ${ac_cv_prog_cc_c89+:} false; then :
4771   $as_echo_n "(cached) " >&6
4772 else
4773   ac_cv_prog_cc_c89=no
4774 ac_save_CC=$CC
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h.  */
4777 #include <stdarg.h>
4778 #include <stdio.h>
4779 #include <sys/types.h>
4780 #include <sys/stat.h>
4781 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4782 struct buf { int x; };
4783 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4784 static char *e (p, i)
4785      char **p;
4786      int i;
4787 {
4788   return p[i];
4789 }
4790 static char *f (char * (*g) (char **, int), char **p, ...)
4791 {
4792   char *s;
4793   va_list v;
4794   va_start (v,p);
4795   s = g (p, va_arg (v,int));
4796   va_end (v);
4797   return s;
4798 }
4799
4800 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4801    function prototypes and stuff, but not '\xHH' hex character constants.
4802    These don't provoke an error unfortunately, instead are silently treated
4803    as 'x'.  The following induces an error, until -std is added to get
4804    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4805    array size at least.  It's necessary to write '\x00'==0 to get something
4806    that's true only with -std.  */
4807 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4808
4809 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4810    inside strings and character constants.  */
4811 #define FOO(x) 'x'
4812 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4813
4814 int test (int i, double x);
4815 struct s1 {int (*f) (int a);};
4816 struct s2 {int (*f) (double a);};
4817 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4818 int argc;
4819 char **argv;
4820 int
4821 main ()
4822 {
4823 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4824   ;
4825   return 0;
4826 }
4827 _ACEOF
4828 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4829         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4830 do
4831   CC="$ac_save_CC $ac_arg"
4832   if ac_fn_c_try_compile "$LINENO"; then :
4833   ac_cv_prog_cc_c89=$ac_arg
4834 fi
4835 rm -f core conftest.err conftest.$ac_objext
4836   test "x$ac_cv_prog_cc_c89" != "xno" && break
4837 done
4838 rm -f conftest.$ac_ext
4839 CC=$ac_save_CC
4840
4841 fi
4842 # AC_CACHE_VAL
4843 case "x$ac_cv_prog_cc_c89" in
4844   x)
4845     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4846 $as_echo "none needed" >&6; } ;;
4847   xno)
4848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4849 $as_echo "unsupported" >&6; } ;;
4850   *)
4851     CC="$CC $ac_cv_prog_cc_c89"
4852     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4853 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4854 esac
4855 if test "x$ac_cv_prog_cc_c89" != xno; then :
4856
4857 fi
4858
4859 ac_ext=c
4860 ac_cpp='$CPP $CPPFLAGS'
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864
4865 depcc="$CC"   am_compiler_list=
4866
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4868 $as_echo_n "checking dependency style of $depcc... " >&6; }
4869 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4870   $as_echo_n "(cached) " >&6
4871 else
4872   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4873   # We make a subdir and do the tests there.  Otherwise we can end up
4874   # making bogus files that we don't know about and never remove.  For
4875   # instance it was reported that on HP-UX the gcc test will end up
4876   # making a dummy file named `D' -- because `-MD' means `put the output
4877   # in D'.
4878   rm -rf conftest.dir
4879   mkdir conftest.dir
4880   # Copy depcomp to subdir because otherwise we won't find it if we're
4881   # using a relative directory.
4882   cp "$am_depcomp" conftest.dir
4883   cd conftest.dir
4884   # We will build objects and dependencies in a subdirectory because
4885   # it helps to detect inapplicable dependency modes.  For instance
4886   # both Tru64's cc and ICC support -MD to output dependencies as a
4887   # side effect of compilation, but ICC will put the dependencies in
4888   # the current directory while Tru64 will put them in the object
4889   # directory.
4890   mkdir sub
4891
4892   am_cv_CC_dependencies_compiler_type=none
4893   if test "$am_compiler_list" = ""; then
4894      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4895   fi
4896   am__universal=false
4897   case " $depcc " in #(
4898      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4899      esac
4900
4901   for depmode in $am_compiler_list; do
4902     # Setup a source with many dependencies, because some compilers
4903     # like to wrap large dependency lists on column 80 (with \), and
4904     # we should not choose a depcomp mode which is confused by this.
4905     #
4906     # We need to recreate these files for each test, as the compiler may
4907     # overwrite some of them when testing with obscure command lines.
4908     # This happens at least with the AIX C compiler.
4909     : > sub/conftest.c
4910     for i in 1 2 3 4 5 6; do
4911       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4912       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4913       # Solaris 8's {/usr,}/bin/sh.
4914       touch sub/conftst$i.h
4915     done
4916     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4917
4918     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4919     # mode.  It turns out that the SunPro C++ compiler does not properly
4920     # handle `-M -o', and we need to detect this.  Also, some Intel
4921     # versions had trouble with output in subdirs
4922     am__obj=sub/conftest.${OBJEXT-o}
4923     am__minus_obj="-o $am__obj"
4924     case $depmode in
4925     gcc)
4926       # This depmode causes a compiler race in universal mode.
4927       test "$am__universal" = false || continue
4928       ;;
4929     nosideeffect)
4930       # after this tag, mechanisms are not by side-effect, so they'll
4931       # only be used when explicitly requested
4932       if test "x$enable_dependency_tracking" = xyes; then
4933         continue
4934       else
4935         break
4936       fi
4937       ;;
4938     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4939       # This compiler won't grok `-c -o', but also, the minuso test has
4940       # not run yet.  These depmodes are late enough in the game, and
4941       # so weak that their functioning should not be impacted.
4942       am__obj=conftest.${OBJEXT-o}
4943       am__minus_obj=
4944       ;;
4945     none) break ;;
4946     esac
4947     if depmode=$depmode \
4948        source=sub/conftest.c object=$am__obj \
4949        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4950        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4951          >/dev/null 2>conftest.err &&
4952        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4953        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4954        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4955        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4956       # icc doesn't choke on unknown options, it will just issue warnings
4957       # or remarks (even with -Werror).  So we grep stderr for any message
4958       # that says an option was ignored or not supported.
4959       # When given -MP, icc 7.0 and 7.1 complain thusly:
4960       #   icc: Command line warning: ignoring option '-M'; no argument required
4961       # The diagnosis changed in icc 8.0:
4962       #   icc: Command line remark: option '-MP' not supported
4963       if (grep 'ignoring option' conftest.err ||
4964           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4965         am_cv_CC_dependencies_compiler_type=$depmode
4966         break
4967       fi
4968     fi
4969   done
4970
4971   cd ..
4972   rm -rf conftest.dir
4973 else
4974   am_cv_CC_dependencies_compiler_type=none
4975 fi
4976
4977 fi
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4979 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4980 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4981
4982  if
4983   test "x$enable_dependency_tracking" != xno \
4984   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4985   am__fastdepCC_TRUE=
4986   am__fastdepCC_FALSE='#'
4987 else
4988   am__fastdepCC_TRUE='#'
4989   am__fastdepCC_FALSE=
4990 fi
4991
4992
4993
4994 ac_ext=c
4995 ac_cpp='$CPP $CPPFLAGS'
4996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5000 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5001 # On Suns, sometimes $CPP names a directory.
5002 if test -n "$CPP" && test -d "$CPP"; then
5003   CPP=
5004 fi
5005 if test -z "$CPP"; then
5006   if ${ac_cv_prog_CPP+:} false; then :
5007   $as_echo_n "(cached) " >&6
5008 else
5009       # Double quotes because CPP needs to be expanded
5010     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5011     do
5012       ac_preproc_ok=false
5013 for ac_c_preproc_warn_flag in '' yes
5014 do
5015   # Use a header file that comes with gcc, so configuring glibc
5016   # with a fresh cross-compiler works.
5017   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5018   # <limits.h> exists even on freestanding compilers.
5019   # On the NeXT, cc -E runs the code through the compiler's parser,
5020   # not just through cpp. "Syntax error" is here to catch this case.
5021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5022 /* end confdefs.h.  */
5023 #ifdef __STDC__
5024 # include <limits.h>
5025 #else
5026 # include <assert.h>
5027 #endif
5028                      Syntax error
5029 _ACEOF
5030 if ac_fn_c_try_cpp "$LINENO"; then :
5031
5032 else
5033   # Broken: fails on valid input.
5034 continue
5035 fi
5036 rm -f conftest.err conftest.i conftest.$ac_ext
5037
5038   # OK, works on sane cases.  Now check whether nonexistent headers
5039   # can be detected and how.
5040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041 /* end confdefs.h.  */
5042 #include <ac_nonexistent.h>
5043 _ACEOF
5044 if ac_fn_c_try_cpp "$LINENO"; then :
5045   # Broken: success on invalid input.
5046 continue
5047 else
5048   # Passes both tests.
5049 ac_preproc_ok=:
5050 break
5051 fi
5052 rm -f conftest.err conftest.i conftest.$ac_ext
5053
5054 done
5055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5056 rm -f conftest.i conftest.err conftest.$ac_ext
5057 if $ac_preproc_ok; then :
5058   break
5059 fi
5060
5061     done
5062     ac_cv_prog_CPP=$CPP
5063
5064 fi
5065   CPP=$ac_cv_prog_CPP
5066 else
5067   ac_cv_prog_CPP=$CPP
5068 fi
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5070 $as_echo "$CPP" >&6; }
5071 ac_preproc_ok=false
5072 for ac_c_preproc_warn_flag in '' yes
5073 do
5074   # Use a header file that comes with gcc, so configuring glibc
5075   # with a fresh cross-compiler works.
5076   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5077   # <limits.h> exists even on freestanding compilers.
5078   # On the NeXT, cc -E runs the code through the compiler's parser,
5079   # not just through cpp. "Syntax error" is here to catch this case.
5080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5081 /* end confdefs.h.  */
5082 #ifdef __STDC__
5083 # include <limits.h>
5084 #else
5085 # include <assert.h>
5086 #endif
5087                      Syntax error
5088 _ACEOF
5089 if ac_fn_c_try_cpp "$LINENO"; then :
5090
5091 else
5092   # Broken: fails on valid input.
5093 continue
5094 fi
5095 rm -f conftest.err conftest.i conftest.$ac_ext
5096
5097   # OK, works on sane cases.  Now check whether nonexistent headers
5098   # can be detected and how.
5099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h.  */
5101 #include <ac_nonexistent.h>
5102 _ACEOF
5103 if ac_fn_c_try_cpp "$LINENO"; then :
5104   # Broken: success on invalid input.
5105 continue
5106 else
5107   # Passes both tests.
5108 ac_preproc_ok=:
5109 break
5110 fi
5111 rm -f conftest.err conftest.i conftest.$ac_ext
5112
5113 done
5114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5115 rm -f conftest.i conftest.err conftest.$ac_ext
5116 if $ac_preproc_ok; then :
5117
5118 else
5119   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5121 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5122 See \`config.log' for more details" "$LINENO" 5; }
5123 fi
5124
5125 ac_ext=c
5126 ac_cpp='$CPP $CPPFLAGS'
5127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5130
5131
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5133 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5134 if ${ac_cv_path_GREP+:} false; then :
5135   $as_echo_n "(cached) " >&6
5136 else
5137   if test -z "$GREP"; then
5138   ac_path_GREP_found=false
5139   # Loop through the user's path and test for each of PROGNAME-LIST
5140   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5142 do
5143   IFS=$as_save_IFS
5144   test -z "$as_dir" && as_dir=.
5145     for ac_prog in grep ggrep; do
5146     for ac_exec_ext in '' $ac_executable_extensions; do
5147       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5148       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5149 # Check for GNU ac_path_GREP and select it if it is found.
5150   # Check for GNU $ac_path_GREP
5151 case `"$ac_path_GREP" --version 2>&1` in
5152 *GNU*)
5153   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5154 *)
5155   ac_count=0
5156   $as_echo_n 0123456789 >"conftest.in"
5157   while :
5158   do
5159     cat "conftest.in" "conftest.in" >"conftest.tmp"
5160     mv "conftest.tmp" "conftest.in"
5161     cp "conftest.in" "conftest.nl"
5162     $as_echo 'GREP' >> "conftest.nl"
5163     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5164     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5165     as_fn_arith $ac_count + 1 && ac_count=$as_val
5166     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5167       # Best one so far, save it but keep looking for a better one
5168       ac_cv_path_GREP="$ac_path_GREP"
5169       ac_path_GREP_max=$ac_count
5170     fi
5171     # 10*(2^10) chars as input seems more than enough
5172     test $ac_count -gt 10 && break
5173   done
5174   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5175 esac
5176
5177       $ac_path_GREP_found && break 3
5178     done
5179   done
5180   done
5181 IFS=$as_save_IFS
5182   if test -z "$ac_cv_path_GREP"; then
5183     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5184   fi
5185 else
5186   ac_cv_path_GREP=$GREP
5187 fi
5188
5189 fi
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5191 $as_echo "$ac_cv_path_GREP" >&6; }
5192  GREP="$ac_cv_path_GREP"
5193
5194
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5196 $as_echo_n "checking for egrep... " >&6; }
5197 if ${ac_cv_path_EGREP+:} false; then :
5198   $as_echo_n "(cached) " >&6
5199 else
5200   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5201    then ac_cv_path_EGREP="$GREP -E"
5202    else
5203      if test -z "$EGREP"; then
5204   ac_path_EGREP_found=false
5205   # Loop through the user's path and test for each of PROGNAME-LIST
5206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5208 do
5209   IFS=$as_save_IFS
5210   test -z "$as_dir" && as_dir=.
5211     for ac_prog in egrep; do
5212     for ac_exec_ext in '' $ac_executable_extensions; do
5213       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5214       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5215 # Check for GNU ac_path_EGREP and select it if it is found.
5216   # Check for GNU $ac_path_EGREP
5217 case `"$ac_path_EGREP" --version 2>&1` in
5218 *GNU*)
5219   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5220 *)
5221   ac_count=0
5222   $as_echo_n 0123456789 >"conftest.in"
5223   while :
5224   do
5225     cat "conftest.in" "conftest.in" >"conftest.tmp"
5226     mv "conftest.tmp" "conftest.in"
5227     cp "conftest.in" "conftest.nl"
5228     $as_echo 'EGREP' >> "conftest.nl"
5229     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5230     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5231     as_fn_arith $ac_count + 1 && ac_count=$as_val
5232     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5233       # Best one so far, save it but keep looking for a better one
5234       ac_cv_path_EGREP="$ac_path_EGREP"
5235       ac_path_EGREP_max=$ac_count
5236     fi
5237     # 10*(2^10) chars as input seems more than enough
5238     test $ac_count -gt 10 && break
5239   done
5240   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5241 esac
5242
5243       $ac_path_EGREP_found && break 3
5244     done
5245   done
5246   done
5247 IFS=$as_save_IFS
5248   if test -z "$ac_cv_path_EGREP"; then
5249     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5250   fi
5251 else
5252   ac_cv_path_EGREP=$EGREP
5253 fi
5254
5255    fi
5256 fi
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5258 $as_echo "$ac_cv_path_EGREP" >&6; }
5259  EGREP="$ac_cv_path_EGREP"
5260
5261
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5263 $as_echo_n "checking for ANSI C header files... " >&6; }
5264 if ${ac_cv_header_stdc+:} false; then :
5265   $as_echo_n "(cached) " >&6
5266 else
5267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5268 /* end confdefs.h.  */
5269 #include <stdlib.h>
5270 #include <stdarg.h>
5271 #include <string.h>
5272 #include <float.h>
5273
5274 int
5275 main ()
5276 {
5277
5278   ;
5279   return 0;
5280 }
5281 _ACEOF
5282 if ac_fn_c_try_compile "$LINENO"; then :
5283   ac_cv_header_stdc=yes
5284 else
5285   ac_cv_header_stdc=no
5286 fi
5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5288
5289 if test $ac_cv_header_stdc = yes; then
5290   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h.  */
5293 #include <string.h>
5294
5295 _ACEOF
5296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5297   $EGREP "memchr" >/dev/null 2>&1; then :
5298
5299 else
5300   ac_cv_header_stdc=no
5301 fi
5302 rm -f conftest*
5303
5304 fi
5305
5306 if test $ac_cv_header_stdc = yes; then
5307   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h.  */
5310 #include <stdlib.h>
5311
5312 _ACEOF
5313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5314   $EGREP "free" >/dev/null 2>&1; then :
5315
5316 else
5317   ac_cv_header_stdc=no
5318 fi
5319 rm -f conftest*
5320
5321 fi
5322
5323 if test $ac_cv_header_stdc = yes; then
5324   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5325   if test "$cross_compiling" = yes; then :
5326   :
5327 else
5328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h.  */
5330 #include <ctype.h>
5331 #include <stdlib.h>
5332 #if ((' ' & 0x0FF) == 0x020)
5333 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5334 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5335 #else
5336 # define ISLOWER(c) \
5337                    (('a' <= (c) && (c) <= 'i') \
5338                      || ('j' <= (c) && (c) <= 'r') \
5339                      || ('s' <= (c) && (c) <= 'z'))
5340 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5341 #endif
5342
5343 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5344 int
5345 main ()
5346 {
5347   int i;
5348   for (i = 0; i < 256; i++)
5349     if (XOR (islower (i), ISLOWER (i))
5350         || toupper (i) != TOUPPER (i))
5351       return 2;
5352   return 0;
5353 }
5354 _ACEOF
5355 if ac_fn_c_try_run "$LINENO"; then :
5356
5357 else
5358   ac_cv_header_stdc=no
5359 fi
5360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5361   conftest.$ac_objext conftest.beam conftest.$ac_ext
5362 fi
5363
5364 fi
5365 fi
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5367 $as_echo "$ac_cv_header_stdc" >&6; }
5368 if test $ac_cv_header_stdc = yes; then
5369
5370 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5371
5372 fi
5373
5374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5375 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5376                   inttypes.h stdint.h unistd.h
5377 do :
5378   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5379 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5380 "
5381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5382   cat >>confdefs.h <<_ACEOF
5383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5384 _ACEOF
5385
5386 fi
5387
5388 done
5389
5390
5391
5392   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5393 if test "x$ac_cv_header_minix_config_h" = xyes; then :
5394   MINIX=yes
5395 else
5396   MINIX=
5397 fi
5398
5399
5400   if test "$MINIX" = yes; then
5401
5402 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5403
5404
5405 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5406
5407
5408 $as_echo "#define _MINIX 1" >>confdefs.h
5409
5410   fi
5411
5412
5413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5414 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5415 if ${ac_cv_safe_to_define___extensions__+:} false; then :
5416   $as_echo_n "(cached) " >&6
5417 else
5418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h.  */
5420
5421 #         define __EXTENSIONS__ 1
5422           $ac_includes_default
5423 int
5424 main ()
5425 {
5426
5427   ;
5428   return 0;
5429 }
5430 _ACEOF
5431 if ac_fn_c_try_compile "$LINENO"; then :
5432   ac_cv_safe_to_define___extensions__=yes
5433 else
5434   ac_cv_safe_to_define___extensions__=no
5435 fi
5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 fi
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5439 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5440   test $ac_cv_safe_to_define___extensions__ = yes &&
5441     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5442
5443   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5444
5445   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5446
5447   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5448
5449   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5450
5451
5452
5453
5454 # Make sure we can run config.sub.
5455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5456   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5457
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5459 $as_echo_n "checking build system type... " >&6; }
5460 if ${ac_cv_build+:} false; then :
5461   $as_echo_n "(cached) " >&6
5462 else
5463   ac_build_alias=$build_alias
5464 test "x$ac_build_alias" = x &&
5465   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5466 test "x$ac_build_alias" = x &&
5467   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5468 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5469   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5470
5471 fi
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5473 $as_echo "$ac_cv_build" >&6; }
5474 case $ac_cv_build in
5475 *-*-*) ;;
5476 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5477 esac
5478 build=$ac_cv_build
5479 ac_save_IFS=$IFS; IFS='-'
5480 set x $ac_cv_build
5481 shift
5482 build_cpu=$1
5483 build_vendor=$2
5484 shift; shift
5485 # Remember, the first character of IFS is used to create $*,
5486 # except with old shells:
5487 build_os=$*
5488 IFS=$ac_save_IFS
5489 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5490
5491
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5493 $as_echo_n "checking host system type... " >&6; }
5494 if ${ac_cv_host+:} false; then :
5495   $as_echo_n "(cached) " >&6
5496 else
5497   if test "x$host_alias" = x; then
5498   ac_cv_host=$ac_cv_build
5499 else
5500   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5501     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5502 fi
5503
5504 fi
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5506 $as_echo "$ac_cv_host" >&6; }
5507 case $ac_cv_host in
5508 *-*-*) ;;
5509 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5510 esac
5511 host=$ac_cv_host
5512 ac_save_IFS=$IFS; IFS='-'
5513 set x $ac_cv_host
5514 shift
5515 host_cpu=$1
5516 host_vendor=$2
5517 shift; shift
5518 # Remember, the first character of IFS is used to create $*,
5519 # except with old shells:
5520 host_os=$*
5521 IFS=$ac_save_IFS
5522 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5523
5524
5525 enable_win32_dll=yes
5526
5527 case $host in
5528 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
5529   if test -n "$ac_tool_prefix"; then
5530   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5531 set dummy ${ac_tool_prefix}as; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if ${ac_cv_prog_AS+:} false; then :
5535   $as_echo_n "(cached) " >&6
5536 else
5537   if test -n "$AS"; then
5538   ac_cv_prog_AS="$AS" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5542 do
5543   IFS=$as_save_IFS
5544   test -z "$as_dir" && as_dir=.
5545     for ac_exec_ext in '' $ac_executable_extensions; do
5546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547     ac_cv_prog_AS="${ac_tool_prefix}as"
5548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5549     break 2
5550   fi
5551 done
5552   done
5553 IFS=$as_save_IFS
5554
5555 fi
5556 fi
5557 AS=$ac_cv_prog_AS
5558 if test -n "$AS"; then
5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5560 $as_echo "$AS" >&6; }
5561 else
5562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5563 $as_echo "no" >&6; }
5564 fi
5565
5566
5567 fi
5568 if test -z "$ac_cv_prog_AS"; then
5569   ac_ct_AS=$AS
5570   # Extract the first word of "as", so it can be a program name with args.
5571 set dummy as; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573 $as_echo_n "checking for $ac_word... " >&6; }
5574 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5575   $as_echo_n "(cached) " >&6
5576 else
5577   if test -n "$ac_ct_AS"; then
5578   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5579 else
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH
5582 do
5583   IFS=$as_save_IFS
5584   test -z "$as_dir" && as_dir=.
5585     for ac_exec_ext in '' $ac_executable_extensions; do
5586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587     ac_cv_prog_ac_ct_AS="as"
5588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589     break 2
5590   fi
5591 done
5592   done
5593 IFS=$as_save_IFS
5594
5595 fi
5596 fi
5597 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5598 if test -n "$ac_ct_AS"; then
5599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5600 $as_echo "$ac_ct_AS" >&6; }
5601 else
5602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5604 fi
5605
5606   if test "x$ac_ct_AS" = x; then
5607     AS="false"
5608   else
5609     case $cross_compiling:$ac_tool_warned in
5610 yes:)
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5613 ac_tool_warned=yes ;;
5614 esac
5615     AS=$ac_ct_AS
5616   fi
5617 else
5618   AS="$ac_cv_prog_AS"
5619 fi
5620
5621   if test -n "$ac_tool_prefix"; then
5622   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5623 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_DLLTOOL+:} false; then :
5627   $as_echo_n "(cached) " >&6
5628 else
5629   if test -n "$DLLTOOL"; then
5630   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635   IFS=$as_save_IFS
5636   test -z "$as_dir" && as_dir=.
5637     for ac_exec_ext in '' $ac_executable_extensions; do
5638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641     break 2
5642   fi
5643 done
5644   done
5645 IFS=$as_save_IFS
5646
5647 fi
5648 fi
5649 DLLTOOL=$ac_cv_prog_DLLTOOL
5650 if test -n "$DLLTOOL"; then
5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5652 $as_echo "$DLLTOOL" >&6; }
5653 else
5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5656 fi
5657
5658
5659 fi
5660 if test -z "$ac_cv_prog_DLLTOOL"; then
5661   ac_ct_DLLTOOL=$DLLTOOL
5662   # Extract the first word of "dlltool", so it can be a program name with args.
5663 set dummy dlltool; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5667   $as_echo_n "(cached) " >&6
5668 else
5669   if test -n "$ac_ct_DLLTOOL"; then
5670   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5671 else
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5674 do
5675   IFS=$as_save_IFS
5676   test -z "$as_dir" && as_dir=.
5677     for ac_exec_ext in '' $ac_executable_extensions; do
5678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681     break 2
5682   fi
5683 done
5684   done
5685 IFS=$as_save_IFS
5686
5687 fi
5688 fi
5689 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5690 if test -n "$ac_ct_DLLTOOL"; then
5691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5692 $as_echo "$ac_ct_DLLTOOL" >&6; }
5693 else
5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5696 fi
5697
5698   if test "x$ac_ct_DLLTOOL" = x; then
5699     DLLTOOL="false"
5700   else
5701     case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707     DLLTOOL=$ac_ct_DLLTOOL
5708   fi
5709 else
5710   DLLTOOL="$ac_cv_prog_DLLTOOL"
5711 fi
5712
5713   if test -n "$ac_tool_prefix"; then
5714   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5715 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_OBJDUMP+:} false; then :
5719   $as_echo_n "(cached) " >&6
5720 else
5721   if test -n "$OBJDUMP"; then
5722   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5726 do
5727   IFS=$as_save_IFS
5728   test -z "$as_dir" && as_dir=.
5729     for ac_exec_ext in '' $ac_executable_extensions; do
5730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5731     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733     break 2
5734   fi
5735 done
5736   done
5737 IFS=$as_save_IFS
5738
5739 fi
5740 fi
5741 OBJDUMP=$ac_cv_prog_OBJDUMP
5742 if test -n "$OBJDUMP"; then
5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5744 $as_echo "$OBJDUMP" >&6; }
5745 else
5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5748 fi
5749
5750
5751 fi
5752 if test -z "$ac_cv_prog_OBJDUMP"; then
5753   ac_ct_OBJDUMP=$OBJDUMP
5754   # Extract the first word of "objdump", so it can be a program name with args.
5755 set dummy objdump; ac_word=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5759   $as_echo_n "(cached) " >&6
5760 else
5761   if test -n "$ac_ct_OBJDUMP"; then
5762   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5763 else
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH
5766 do
5767   IFS=$as_save_IFS
5768   test -z "$as_dir" && as_dir=.
5769     for ac_exec_ext in '' $ac_executable_extensions; do
5770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5771     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773     break 2
5774   fi
5775 done
5776   done
5777 IFS=$as_save_IFS
5778
5779 fi
5780 fi
5781 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5782 if test -n "$ac_ct_OBJDUMP"; then
5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5784 $as_echo "$ac_ct_OBJDUMP" >&6; }
5785 else
5786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5788 fi
5789
5790   if test "x$ac_ct_OBJDUMP" = x; then
5791     OBJDUMP="false"
5792   else
5793     case $cross_compiling:$ac_tool_warned in
5794 yes:)
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5797 ac_tool_warned=yes ;;
5798 esac
5799     OBJDUMP=$ac_ct_OBJDUMP
5800   fi
5801 else
5802   OBJDUMP="$ac_cv_prog_OBJDUMP"
5803 fi
5804
5805   ;;
5806 esac
5807
5808 test -z "$AS" && AS=as
5809
5810
5811
5812
5813
5814 test -z "$DLLTOOL" && DLLTOOL=dlltool
5815
5816
5817
5818
5819
5820 test -z "$OBJDUMP" && OBJDUMP=objdump
5821
5822
5823
5824
5825
5826
5827
5828 case `pwd` in
5829   *\ * | *\     *)
5830     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5831 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5832 esac
5833
5834
5835
5836 macro_version='2.4.2'
5837 macro_revision='1.3337'
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851 ltmain="$ac_aux_dir/ltmain.sh"
5852
5853 # Backslashify metacharacters that are still active within
5854 # double-quoted strings.
5855 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5856
5857 # Same as above, but do not quote variable references.
5858 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5859
5860 # Sed substitution to delay expansion of an escaped shell variable in a
5861 # double_quote_subst'ed string.
5862 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5863
5864 # Sed substitution to delay expansion of an escaped single quote.
5865 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5866
5867 # Sed substitution to avoid accidental globbing in evaled expressions
5868 no_glob_subst='s/\*/\\\*/g'
5869
5870 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5871 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5872 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5873
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5875 $as_echo_n "checking how to print strings... " >&6; }
5876 # Test print first, because it will be a builtin if present.
5877 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5878    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5879   ECHO='print -r --'
5880 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5881   ECHO='printf %s\n'
5882 else
5883   # Use this function as a fallback that always works.
5884   func_fallback_echo ()
5885   {
5886     eval 'cat <<_LTECHO_EOF
5887 $1
5888 _LTECHO_EOF'
5889   }
5890   ECHO='func_fallback_echo'
5891 fi
5892
5893 # func_echo_all arg...
5894 # Invoke $ECHO with all args, space-separated.
5895 func_echo_all ()
5896 {
5897     $ECHO ""
5898 }
5899
5900 case "$ECHO" in
5901   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5902 $as_echo "printf" >&6; } ;;
5903   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5904 $as_echo "print -r" >&6; } ;;
5905   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5906 $as_echo "cat" >&6; } ;;
5907 esac
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5923 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5924 if ${ac_cv_path_SED+:} false; then :
5925   $as_echo_n "(cached) " >&6
5926 else
5927             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5928      for ac_i in 1 2 3 4 5 6 7; do
5929        ac_script="$ac_script$as_nl$ac_script"
5930      done
5931      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5932      { ac_script=; unset ac_script;}
5933      if test -z "$SED"; then
5934   ac_path_SED_found=false
5935   # Loop through the user's path and test for each of PROGNAME-LIST
5936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5938 do
5939   IFS=$as_save_IFS
5940   test -z "$as_dir" && as_dir=.
5941     for ac_prog in sed gsed; do
5942     for ac_exec_ext in '' $ac_executable_extensions; do
5943       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5944       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5945 # Check for GNU ac_path_SED and select it if it is found.
5946   # Check for GNU $ac_path_SED
5947 case `"$ac_path_SED" --version 2>&1` in
5948 *GNU*)
5949   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5950 *)
5951   ac_count=0
5952   $as_echo_n 0123456789 >"conftest.in"
5953   while :
5954   do
5955     cat "conftest.in" "conftest.in" >"conftest.tmp"
5956     mv "conftest.tmp" "conftest.in"
5957     cp "conftest.in" "conftest.nl"
5958     $as_echo '' >> "conftest.nl"
5959     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5960     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5961     as_fn_arith $ac_count + 1 && ac_count=$as_val
5962     if test $ac_count -gt ${ac_path_SED_max-0}; then
5963       # Best one so far, save it but keep looking for a better one
5964       ac_cv_path_SED="$ac_path_SED"
5965       ac_path_SED_max=$ac_count
5966     fi
5967     # 10*(2^10) chars as input seems more than enough
5968     test $ac_count -gt 10 && break
5969   done
5970   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5971 esac
5972
5973       $ac_path_SED_found && break 3
5974     done
5975   done
5976   done
5977 IFS=$as_save_IFS
5978   if test -z "$ac_cv_path_SED"; then
5979     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5980   fi
5981 else
5982   ac_cv_path_SED=$SED
5983 fi
5984
5985 fi
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5987 $as_echo "$ac_cv_path_SED" >&6; }
5988  SED="$ac_cv_path_SED"
5989   rm -f conftest.sed
5990
5991 test -z "$SED" && SED=sed
5992 Xsed="$SED -e 1s/^X//"
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6005 $as_echo_n "checking for fgrep... " >&6; }
6006 if ${ac_cv_path_FGREP+:} false; then :
6007   $as_echo_n "(cached) " >&6
6008 else
6009   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6010    then ac_cv_path_FGREP="$GREP -F"
6011    else
6012      if test -z "$FGREP"; then
6013   ac_path_FGREP_found=false
6014   # Loop through the user's path and test for each of PROGNAME-LIST
6015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6017 do
6018   IFS=$as_save_IFS
6019   test -z "$as_dir" && as_dir=.
6020     for ac_prog in fgrep; do
6021     for ac_exec_ext in '' $ac_executable_extensions; do
6022       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6023       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6024 # Check for GNU ac_path_FGREP and select it if it is found.
6025   # Check for GNU $ac_path_FGREP
6026 case `"$ac_path_FGREP" --version 2>&1` in
6027 *GNU*)
6028   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6029 *)
6030   ac_count=0
6031   $as_echo_n 0123456789 >"conftest.in"
6032   while :
6033   do
6034     cat "conftest.in" "conftest.in" >"conftest.tmp"
6035     mv "conftest.tmp" "conftest.in"
6036     cp "conftest.in" "conftest.nl"
6037     $as_echo 'FGREP' >> "conftest.nl"
6038     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6039     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6040     as_fn_arith $ac_count + 1 && ac_count=$as_val
6041     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6042       # Best one so far, save it but keep looking for a better one
6043       ac_cv_path_FGREP="$ac_path_FGREP"
6044       ac_path_FGREP_max=$ac_count
6045     fi
6046     # 10*(2^10) chars as input seems more than enough
6047     test $ac_count -gt 10 && break
6048   done
6049   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6050 esac
6051
6052       $ac_path_FGREP_found && break 3
6053     done
6054   done
6055   done
6056 IFS=$as_save_IFS
6057   if test -z "$ac_cv_path_FGREP"; then
6058     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6059   fi
6060 else
6061   ac_cv_path_FGREP=$FGREP
6062 fi
6063
6064    fi
6065 fi
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6067 $as_echo "$ac_cv_path_FGREP" >&6; }
6068  FGREP="$ac_cv_path_FGREP"
6069
6070
6071 test -z "$GREP" && GREP=grep
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091 # Check whether --with-gnu-ld was given.
6092 if test "${with_gnu_ld+set}" = set; then :
6093   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6094 else
6095   with_gnu_ld=no
6096 fi
6097
6098 ac_prog=ld
6099 if test "$GCC" = yes; then
6100   # Check if gcc -print-prog-name=ld gives a path.
6101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6102 $as_echo_n "checking for ld used by $CC... " >&6; }
6103   case $host in
6104   *-*-mingw*)
6105     # gcc leaves a trailing carriage return which upsets mingw
6106     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6107   *)
6108     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6109   esac
6110   case $ac_prog in
6111     # Accept absolute paths.
6112     [\\/]* | ?:[\\/]*)
6113       re_direlt='/[^/][^/]*/\.\./'
6114       # Canonicalize the pathname of ld
6115       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6116       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6117         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6118       done
6119       test -z "$LD" && LD="$ac_prog"
6120       ;;
6121   "")
6122     # If it fails, then pretend we aren't using GCC.
6123     ac_prog=ld
6124     ;;
6125   *)
6126     # If it is relative, then search for the first ld in PATH.
6127     with_gnu_ld=unknown
6128     ;;
6129   esac
6130 elif test "$with_gnu_ld" = yes; then
6131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6132 $as_echo_n "checking for GNU ld... " >&6; }
6133 else
6134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6135 $as_echo_n "checking for non-GNU ld... " >&6; }
6136 fi
6137 if ${lt_cv_path_LD+:} false; then :
6138   $as_echo_n "(cached) " >&6
6139 else
6140   if test -z "$LD"; then
6141   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6142   for ac_dir in $PATH; do
6143     IFS="$lt_save_ifs"
6144     test -z "$ac_dir" && ac_dir=.
6145     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6146       lt_cv_path_LD="$ac_dir/$ac_prog"
6147       # Check to see if the program is GNU ld.  I'd rather use --version,
6148       # but apparently some variants of GNU ld only accept -v.
6149       # Break only if it was the GNU/non-GNU ld that we prefer.
6150       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6151       *GNU* | *'with BFD'*)
6152         test "$with_gnu_ld" != no && break
6153         ;;
6154       *)
6155         test "$with_gnu_ld" != yes && break
6156         ;;
6157       esac
6158     fi
6159   done
6160   IFS="$lt_save_ifs"
6161 else
6162   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6163 fi
6164 fi
6165
6166 LD="$lt_cv_path_LD"
6167 if test -n "$LD"; then
6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6169 $as_echo "$LD" >&6; }
6170 else
6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6173 fi
6174 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6176 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6177 if ${lt_cv_prog_gnu_ld+:} false; then :
6178   $as_echo_n "(cached) " >&6
6179 else
6180   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6181 case `$LD -v 2>&1 </dev/null` in
6182 *GNU* | *'with BFD'*)
6183   lt_cv_prog_gnu_ld=yes
6184   ;;
6185 *)
6186   lt_cv_prog_gnu_ld=no
6187   ;;
6188 esac
6189 fi
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6191 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6192 with_gnu_ld=$lt_cv_prog_gnu_ld
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6203 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6204 if ${lt_cv_path_NM+:} false; then :
6205   $as_echo_n "(cached) " >&6
6206 else
6207   if test -n "$NM"; then
6208   # Let the user override the test.
6209   lt_cv_path_NM="$NM"
6210 else
6211   lt_nm_to_check="${ac_tool_prefix}nm"
6212   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6213     lt_nm_to_check="$lt_nm_to_check nm"
6214   fi
6215   for lt_tmp_nm in $lt_nm_to_check; do
6216     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6217     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6218       IFS="$lt_save_ifs"
6219       test -z "$ac_dir" && ac_dir=.
6220       tmp_nm="$ac_dir/$lt_tmp_nm"
6221       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6222         # Check to see if the nm accepts a BSD-compat flag.
6223         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6224         #   nm: unknown option "B" ignored
6225         # Tru64's nm complains that /dev/null is an invalid object file
6226         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6227         */dev/null* | *'Invalid file or object type'*)
6228           lt_cv_path_NM="$tmp_nm -B"
6229           break
6230           ;;
6231         *)
6232           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6233           */dev/null*)
6234             lt_cv_path_NM="$tmp_nm -p"
6235             break
6236             ;;
6237           *)
6238             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6239             continue # so that we can try to find one that supports BSD flags
6240             ;;
6241           esac
6242           ;;
6243         esac
6244       fi
6245     done
6246     IFS="$lt_save_ifs"
6247   done
6248   : ${lt_cv_path_NM=no}
6249 fi
6250 fi
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6252 $as_echo "$lt_cv_path_NM" >&6; }
6253 if test "$lt_cv_path_NM" != "no"; then
6254   NM="$lt_cv_path_NM"
6255 else
6256   # Didn't find any BSD compatible name lister, look for dumpbin.
6257   if test -n "$DUMPBIN"; then :
6258     # Let the user override the test.
6259   else
6260     if test -n "$ac_tool_prefix"; then
6261   for ac_prog in dumpbin "link -dump"
6262   do
6263     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6266 $as_echo_n "checking for $ac_word... " >&6; }
6267 if ${ac_cv_prog_DUMPBIN+:} false; then :
6268   $as_echo_n "(cached) " >&6
6269 else
6270   if test -n "$DUMPBIN"; then
6271   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6272 else
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH
6275 do
6276   IFS=$as_save_IFS
6277   test -z "$as_dir" && as_dir=.
6278     for ac_exec_ext in '' $ac_executable_extensions; do
6279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6280     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6282     break 2
6283   fi
6284 done
6285   done
6286 IFS=$as_save_IFS
6287
6288 fi
6289 fi
6290 DUMPBIN=$ac_cv_prog_DUMPBIN
6291 if test -n "$DUMPBIN"; then
6292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6293 $as_echo "$DUMPBIN" >&6; }
6294 else
6295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296 $as_echo "no" >&6; }
6297 fi
6298
6299
6300     test -n "$DUMPBIN" && break
6301   done
6302 fi
6303 if test -z "$DUMPBIN"; then
6304   ac_ct_DUMPBIN=$DUMPBIN
6305   for ac_prog in dumpbin "link -dump"
6306 do
6307   # Extract the first word of "$ac_prog", so it can be a program name with args.
6308 set dummy $ac_prog; ac_word=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6312   $as_echo_n "(cached) " >&6
6313 else
6314   if test -n "$ac_ct_DUMPBIN"; then
6315   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6316 else
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 for as_dir in $PATH
6319 do
6320   IFS=$as_save_IFS
6321   test -z "$as_dir" && as_dir=.
6322     for ac_exec_ext in '' $ac_executable_extensions; do
6323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6324     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326     break 2
6327   fi
6328 done
6329   done
6330 IFS=$as_save_IFS
6331
6332 fi
6333 fi
6334 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6335 if test -n "$ac_ct_DUMPBIN"; then
6336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6337 $as_echo "$ac_ct_DUMPBIN" >&6; }
6338 else
6339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 $as_echo "no" >&6; }
6341 fi
6342
6343
6344   test -n "$ac_ct_DUMPBIN" && break
6345 done
6346
6347   if test "x$ac_ct_DUMPBIN" = x; then
6348     DUMPBIN=":"
6349   else
6350     case $cross_compiling:$ac_tool_warned in
6351 yes:)
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6354 ac_tool_warned=yes ;;
6355 esac
6356     DUMPBIN=$ac_ct_DUMPBIN
6357   fi
6358 fi
6359
6360     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6361     *COFF*)
6362       DUMPBIN="$DUMPBIN -symbols"
6363       ;;
6364     *)
6365       DUMPBIN=:
6366       ;;
6367     esac
6368   fi
6369
6370   if test "$DUMPBIN" != ":"; then
6371     NM="$DUMPBIN"
6372   fi
6373 fi
6374 test -z "$NM" && NM=nm
6375
6376
6377
6378
6379
6380
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6382 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6383 if ${lt_cv_nm_interface+:} false; then :
6384   $as_echo_n "(cached) " >&6
6385 else
6386   lt_cv_nm_interface="BSD nm"
6387   echo "int some_variable = 0;" > conftest.$ac_ext
6388   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6389   (eval "$ac_compile" 2>conftest.err)
6390   cat conftest.err >&5
6391   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6392   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6393   cat conftest.err >&5
6394   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6395   cat conftest.out >&5
6396   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6397     lt_cv_nm_interface="MS dumpbin"
6398   fi
6399   rm -f conftest*
6400 fi
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6402 $as_echo "$lt_cv_nm_interface" >&6; }
6403
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6405 $as_echo_n "checking whether ln -s works... " >&6; }
6406 LN_S=$as_ln_s
6407 if test "$LN_S" = "ln -s"; then
6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6409 $as_echo "yes" >&6; }
6410 else
6411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6412 $as_echo "no, using $LN_S" >&6; }
6413 fi
6414
6415 # find the maximum length of command line arguments
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6417 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6418 if ${lt_cv_sys_max_cmd_len+:} false; then :
6419   $as_echo_n "(cached) " >&6
6420 else
6421     i=0
6422   teststring="ABCD"
6423
6424   case $build_os in
6425   msdosdjgpp*)
6426     # On DJGPP, this test can blow up pretty badly due to problems in libc
6427     # (any single argument exceeding 2000 bytes causes a buffer overrun
6428     # during glob expansion).  Even if it were fixed, the result of this
6429     # check would be larger than it should be.
6430     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6431     ;;
6432
6433   gnu*)
6434     # Under GNU Hurd, this test is not required because there is
6435     # no limit to the length of command line arguments.
6436     # Libtool will interpret -1 as no limit whatsoever
6437     lt_cv_sys_max_cmd_len=-1;
6438     ;;
6439
6440   cygwin* | mingw* | cegcc*)
6441     # On Win9x/ME, this test blows up -- it succeeds, but takes
6442     # about 5 minutes as the teststring grows exponentially.
6443     # Worse, since 9x/ME are not pre-emptively multitasking,
6444     # you end up with a "frozen" computer, even though with patience
6445     # the test eventually succeeds (with a max line length of 256k).
6446     # Instead, let's just punt: use the minimum linelength reported by
6447     # all of the supported platforms: 8192 (on NT/2K/XP).
6448     lt_cv_sys_max_cmd_len=8192;
6449     ;;
6450
6451   mint*)
6452     # On MiNT this can take a long time and run out of memory.
6453     lt_cv_sys_max_cmd_len=8192;
6454     ;;
6455
6456   amigaos*)
6457     # On AmigaOS with pdksh, this test takes hours, literally.
6458     # So we just punt and use a minimum line length of 8192.
6459     lt_cv_sys_max_cmd_len=8192;
6460     ;;
6461
6462   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6463     # This has been around since 386BSD, at least.  Likely further.
6464     if test -x /sbin/sysctl; then
6465       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6466     elif test -x /usr/sbin/sysctl; then
6467       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6468     else
6469       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6470     fi
6471     # And add a safety zone
6472     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6473     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6474     ;;
6475
6476   interix*)
6477     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6478     lt_cv_sys_max_cmd_len=196608
6479     ;;
6480
6481   os2*)
6482     # The test takes a long time on OS/2.
6483     lt_cv_sys_max_cmd_len=8192
6484     ;;
6485
6486   osf*)
6487     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6488     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6489     # nice to cause kernel panics so lets avoid the loop below.
6490     # First set a reasonable default.
6491     lt_cv_sys_max_cmd_len=16384
6492     #
6493     if test -x /sbin/sysconfig; then
6494       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6495         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6496       esac
6497     fi
6498     ;;
6499   sco3.2v5*)
6500     lt_cv_sys_max_cmd_len=102400
6501     ;;
6502   sysv5* | sco5v6* | sysv4.2uw2*)
6503     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6504     if test -n "$kargmax"; then
6505       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6506     else
6507       lt_cv_sys_max_cmd_len=32768
6508     fi
6509     ;;
6510   *)
6511     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6512     if test -n "$lt_cv_sys_max_cmd_len"; then
6513       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6514       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6515     else
6516       # Make teststring a little bigger before we do anything with it.
6517       # a 1K string should be a reasonable start.
6518       for i in 1 2 3 4 5 6 7 8 ; do
6519         teststring=$teststring$teststring
6520       done
6521       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6522       # If test is not a shell built-in, we'll probably end up computing a
6523       # maximum length that is only half of the actual maximum length, but
6524       # we can't tell.
6525       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6526                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6527               test $i != 17 # 1/2 MB should be enough
6528       do
6529         i=`expr $i + 1`
6530         teststring=$teststring$teststring
6531       done
6532       # Only check the string length outside the loop.
6533       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6534       teststring=
6535       # Add a significant safety factor because C++ compilers can tack on
6536       # massive amounts of additional arguments before passing them to the
6537       # linker.  It appears as though 1/2 is a usable value.
6538       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6539     fi
6540     ;;
6541   esac
6542
6543 fi
6544
6545 if test -n $lt_cv_sys_max_cmd_len ; then
6546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6547 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6548 else
6549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6550 $as_echo "none" >&6; }
6551 fi
6552 max_cmd_len=$lt_cv_sys_max_cmd_len
6553
6554
6555
6556
6557
6558
6559 : ${CP="cp -f"}
6560 : ${MV="mv -f"}
6561 : ${RM="rm -f"}
6562
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6564 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6565 # Try some XSI features
6566 xsi_shell=no
6567 ( _lt_dummy="a/b/c"
6568   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6569       = c,a/b,b/c, \
6570     && eval 'test $(( 1 + 1 )) -eq 2 \
6571     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6572   && xsi_shell=yes
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6574 $as_echo "$xsi_shell" >&6; }
6575
6576
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6578 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6579 lt_shell_append=no
6580 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6581     >/dev/null 2>&1 \
6582   && lt_shell_append=yes
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6584 $as_echo "$lt_shell_append" >&6; }
6585
6586
6587 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6588   lt_unset=unset
6589 else
6590   lt_unset=false
6591 fi
6592
6593
6594
6595
6596
6597 # test EBCDIC or ASCII
6598 case `echo X|tr X '\101'` in
6599  A) # ASCII based system
6600     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6601   lt_SP2NL='tr \040 \012'
6602   lt_NL2SP='tr \015\012 \040\040'
6603   ;;
6604  *) # EBCDIC based system
6605   lt_SP2NL='tr \100 \n'
6606   lt_NL2SP='tr \r\n \100\100'
6607   ;;
6608 esac
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6619 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6620 if ${lt_cv_to_host_file_cmd+:} false; then :
6621   $as_echo_n "(cached) " >&6
6622 else
6623   case $host in
6624   *-*-mingw* )
6625     case $build in
6626       *-*-mingw* ) # actually msys
6627         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6628         ;;
6629       *-*-cygwin* )
6630         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6631         ;;
6632       * ) # otherwise, assume *nix
6633         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6634         ;;
6635     esac
6636     ;;
6637   *-*-cygwin* )
6638     case $build in
6639       *-*-mingw* ) # actually msys
6640         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6641         ;;
6642       *-*-cygwin* )
6643         lt_cv_to_host_file_cmd=func_convert_file_noop
6644         ;;
6645       * ) # otherwise, assume *nix
6646         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6647         ;;
6648     esac
6649     ;;
6650   * ) # unhandled hosts (and "normal" native builds)
6651     lt_cv_to_host_file_cmd=func_convert_file_noop
6652     ;;
6653 esac
6654
6655 fi
6656
6657 to_host_file_cmd=$lt_cv_to_host_file_cmd
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6659 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6660
6661
6662
6663
6664
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6666 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6667 if ${lt_cv_to_tool_file_cmd+:} false; then :
6668   $as_echo_n "(cached) " >&6
6669 else
6670   #assume ordinary cross tools, or native build.
6671 lt_cv_to_tool_file_cmd=func_convert_file_noop
6672 case $host in
6673   *-*-mingw* )
6674     case $build in
6675       *-*-mingw* ) # actually msys
6676         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6677         ;;
6678     esac
6679     ;;
6680 esac
6681
6682 fi
6683
6684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6686 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6687
6688
6689
6690
6691
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6693 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6694 if ${lt_cv_ld_reload_flag+:} false; then :
6695   $as_echo_n "(cached) " >&6
6696 else
6697   lt_cv_ld_reload_flag='-r'
6698 fi
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6700 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6701 reload_flag=$lt_cv_ld_reload_flag
6702 case $reload_flag in
6703 "" | " "*) ;;
6704 *) reload_flag=" $reload_flag" ;;
6705 esac
6706 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6707 case $host_os in
6708   cygwin* | mingw* | pw32* | cegcc*)
6709     if test "$GCC" != yes; then
6710       reload_cmds=false
6711     fi
6712     ;;
6713   darwin*)
6714     if test "$GCC" = yes; then
6715       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6716     else
6717       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6718     fi
6719     ;;
6720 esac
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730 if test -n "$ac_tool_prefix"; then
6731   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6732 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_OBJDUMP+:} false; then :
6736   $as_echo_n "(cached) " >&6
6737 else
6738   if test -n "$OBJDUMP"; then
6739   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6743 do
6744   IFS=$as_save_IFS
6745   test -z "$as_dir" && as_dir=.
6746     for ac_exec_ext in '' $ac_executable_extensions; do
6747   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750     break 2
6751   fi
6752 done
6753   done
6754 IFS=$as_save_IFS
6755
6756 fi
6757 fi
6758 OBJDUMP=$ac_cv_prog_OBJDUMP
6759 if test -n "$OBJDUMP"; then
6760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6761 $as_echo "$OBJDUMP" >&6; }
6762 else
6763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6765 fi
6766
6767
6768 fi
6769 if test -z "$ac_cv_prog_OBJDUMP"; then
6770   ac_ct_OBJDUMP=$OBJDUMP
6771   # Extract the first word of "objdump", so it can be a program name with args.
6772 set dummy objdump; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6776   $as_echo_n "(cached) " >&6
6777 else
6778   if test -n "$ac_ct_OBJDUMP"; then
6779   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6780 else
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 for as_dir in $PATH
6783 do
6784   IFS=$as_save_IFS
6785   test -z "$as_dir" && as_dir=.
6786     for ac_exec_ext in '' $ac_executable_extensions; do
6787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6788     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790     break 2
6791   fi
6792 done
6793   done
6794 IFS=$as_save_IFS
6795
6796 fi
6797 fi
6798 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6799 if test -n "$ac_ct_OBJDUMP"; then
6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6801 $as_echo "$ac_ct_OBJDUMP" >&6; }
6802 else
6803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6805 fi
6806
6807   if test "x$ac_ct_OBJDUMP" = x; then
6808     OBJDUMP="false"
6809   else
6810     case $cross_compiling:$ac_tool_warned in
6811 yes:)
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6814 ac_tool_warned=yes ;;
6815 esac
6816     OBJDUMP=$ac_ct_OBJDUMP
6817   fi
6818 else
6819   OBJDUMP="$ac_cv_prog_OBJDUMP"
6820 fi
6821
6822 test -z "$OBJDUMP" && OBJDUMP=objdump
6823
6824
6825
6826
6827
6828
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6830 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6831 if ${lt_cv_deplibs_check_method+:} false; then :
6832   $as_echo_n "(cached) " >&6
6833 else
6834   lt_cv_file_magic_cmd='$MAGIC_CMD'
6835 lt_cv_file_magic_test_file=
6836 lt_cv_deplibs_check_method='unknown'
6837 # Need to set the preceding variable on all platforms that support
6838 # interlibrary dependencies.
6839 # 'none' -- dependencies not supported.
6840 # `unknown' -- same as none, but documents that we really don't know.
6841 # 'pass_all' -- all dependencies passed with no checks.
6842 # 'test_compile' -- check by making test program.
6843 # 'file_magic [[regex]]' -- check by looking for files in library path
6844 # which responds to the $file_magic_cmd with a given extended regex.
6845 # If you have `file' or equivalent on your system and you're not sure
6846 # whether `pass_all' will *always* work, you probably want this one.
6847
6848 case $host_os in
6849 aix[4-9]*)
6850   lt_cv_deplibs_check_method=pass_all
6851   ;;
6852
6853 beos*)
6854   lt_cv_deplibs_check_method=pass_all
6855   ;;
6856
6857 bsdi[45]*)
6858   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6859   lt_cv_file_magic_cmd='/usr/bin/file -L'
6860   lt_cv_file_magic_test_file=/shlib/libc.so
6861   ;;
6862
6863 cygwin*)
6864   # func_win32_libid is a shell function defined in ltmain.sh
6865   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6866   lt_cv_file_magic_cmd='func_win32_libid'
6867   ;;
6868
6869 mingw* | pw32*)
6870   # Base MSYS/MinGW do not provide the 'file' command needed by
6871   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6872   # unless we find 'file', for example because we are cross-compiling.
6873   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6874   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6875     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6876     lt_cv_file_magic_cmd='func_win32_libid'
6877   else
6878     # Keep this pattern in sync with the one in func_win32_libid.
6879     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6880     lt_cv_file_magic_cmd='$OBJDUMP -f'
6881   fi
6882   ;;
6883
6884 cegcc*)
6885   # use the weaker test based on 'objdump'. See mingw*.
6886   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6887   lt_cv_file_magic_cmd='$OBJDUMP -f'
6888   ;;
6889
6890 darwin* | rhapsody*)
6891   lt_cv_deplibs_check_method=pass_all
6892   ;;
6893
6894 freebsd* | dragonfly*)
6895   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6896     case $host_cpu in
6897     i*86 )
6898       # Not sure whether the presence of OpenBSD here was a mistake.
6899       # Let's accept both of them until this is cleared up.
6900       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6901       lt_cv_file_magic_cmd=/usr/bin/file
6902       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6903       ;;
6904     esac
6905   else
6906     lt_cv_deplibs_check_method=pass_all
6907   fi
6908   ;;
6909
6910 gnu*)
6911   lt_cv_deplibs_check_method=pass_all
6912   ;;
6913
6914 haiku*)
6915   lt_cv_deplibs_check_method=pass_all
6916   ;;
6917
6918 hpux10.20* | hpux11*)
6919   lt_cv_file_magic_cmd=/usr/bin/file
6920   case $host_cpu in
6921   ia64*)
6922     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6923     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6924     ;;
6925   hppa*64*)
6926     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6927     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6928     ;;
6929   *)
6930     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6931     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6932     ;;
6933   esac
6934   ;;
6935
6936 interix[3-9]*)
6937   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6938   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6939   ;;
6940
6941 irix5* | irix6* | nonstopux*)
6942   case $LD in
6943   *-32|*"-32 ") libmagic=32-bit;;
6944   *-n32|*"-n32 ") libmagic=N32;;
6945   *-64|*"-64 ") libmagic=64-bit;;
6946   *) libmagic=never-match;;
6947   esac
6948   lt_cv_deplibs_check_method=pass_all
6949   ;;
6950
6951 # This must be glibc/ELF.
6952 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6953   lt_cv_deplibs_check_method=pass_all
6954   ;;
6955
6956 netbsd*)
6957   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6958     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6959   else
6960     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6961   fi
6962   ;;
6963
6964 newos6*)
6965   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6966   lt_cv_file_magic_cmd=/usr/bin/file
6967   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6968   ;;
6969
6970 *nto* | *qnx*)
6971   lt_cv_deplibs_check_method=pass_all
6972   ;;
6973
6974 openbsd*)
6975   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6976     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6977   else
6978     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6979   fi
6980   ;;
6981
6982 osf3* | osf4* | osf5*)
6983   lt_cv_deplibs_check_method=pass_all
6984   ;;
6985
6986 rdos*)
6987   lt_cv_deplibs_check_method=pass_all
6988   ;;
6989
6990 solaris*)
6991   lt_cv_deplibs_check_method=pass_all
6992   ;;
6993
6994 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6995   lt_cv_deplibs_check_method=pass_all
6996   ;;
6997
6998 sysv4 | sysv4.3*)
6999   case $host_vendor in
7000   motorola)
7001     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7002     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7003     ;;
7004   ncr)
7005     lt_cv_deplibs_check_method=pass_all
7006     ;;
7007   sequent)
7008     lt_cv_file_magic_cmd='/bin/file'
7009     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7010     ;;
7011   sni)
7012     lt_cv_file_magic_cmd='/bin/file'
7013     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7014     lt_cv_file_magic_test_file=/lib/libc.so
7015     ;;
7016   siemens)
7017     lt_cv_deplibs_check_method=pass_all
7018     ;;
7019   pc)
7020     lt_cv_deplibs_check_method=pass_all
7021     ;;
7022   esac
7023   ;;
7024
7025 tpf*)
7026   lt_cv_deplibs_check_method=pass_all
7027   ;;
7028 esac
7029
7030 fi
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7032 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7033
7034 file_magic_glob=
7035 want_nocaseglob=no
7036 if test "$build" = "$host"; then
7037   case $host_os in
7038   mingw* | pw32*)
7039     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7040       want_nocaseglob=yes
7041     else
7042       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7043     fi
7044     ;;
7045   esac
7046 fi
7047
7048 file_magic_cmd=$lt_cv_file_magic_cmd
7049 deplibs_check_method=$lt_cv_deplibs_check_method
7050 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073 if test -n "$ac_tool_prefix"; then
7074   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7075 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 $as_echo_n "checking for $ac_word... " >&6; }
7078 if ${ac_cv_prog_DLLTOOL+:} false; then :
7079   $as_echo_n "(cached) " >&6
7080 else
7081   if test -n "$DLLTOOL"; then
7082   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7083 else
7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085 for as_dir in $PATH
7086 do
7087   IFS=$as_save_IFS
7088   test -z "$as_dir" && as_dir=.
7089     for ac_exec_ext in '' $ac_executable_extensions; do
7090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093     break 2
7094   fi
7095 done
7096   done
7097 IFS=$as_save_IFS
7098
7099 fi
7100 fi
7101 DLLTOOL=$ac_cv_prog_DLLTOOL
7102 if test -n "$DLLTOOL"; then
7103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7104 $as_echo "$DLLTOOL" >&6; }
7105 else
7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 $as_echo "no" >&6; }
7108 fi
7109
7110
7111 fi
7112 if test -z "$ac_cv_prog_DLLTOOL"; then
7113   ac_ct_DLLTOOL=$DLLTOOL
7114   # Extract the first word of "dlltool", so it can be a program name with args.
7115 set dummy dlltool; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 $as_echo_n "checking for $ac_word... " >&6; }
7118 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7119   $as_echo_n "(cached) " >&6
7120 else
7121   if test -n "$ac_ct_DLLTOOL"; then
7122   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7123 else
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7125 for as_dir in $PATH
7126 do
7127   IFS=$as_save_IFS
7128   test -z "$as_dir" && as_dir=.
7129     for ac_exec_ext in '' $ac_executable_extensions; do
7130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7133     break 2
7134   fi
7135 done
7136   done
7137 IFS=$as_save_IFS
7138
7139 fi
7140 fi
7141 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7142 if test -n "$ac_ct_DLLTOOL"; then
7143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7144 $as_echo "$ac_ct_DLLTOOL" >&6; }
7145 else
7146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 $as_echo "no" >&6; }
7148 fi
7149
7150   if test "x$ac_ct_DLLTOOL" = x; then
7151     DLLTOOL="false"
7152   else
7153     case $cross_compiling:$ac_tool_warned in
7154 yes:)
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7157 ac_tool_warned=yes ;;
7158 esac
7159     DLLTOOL=$ac_ct_DLLTOOL
7160   fi
7161 else
7162   DLLTOOL="$ac_cv_prog_DLLTOOL"
7163 fi
7164
7165 test -z "$DLLTOOL" && DLLTOOL=dlltool
7166
7167
7168
7169
7170
7171
7172
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7174 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7175 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7176   $as_echo_n "(cached) " >&6
7177 else
7178   lt_cv_sharedlib_from_linklib_cmd='unknown'
7179
7180 case $host_os in
7181 cygwin* | mingw* | pw32* | cegcc*)
7182   # two different shell functions defined in ltmain.sh
7183   # decide which to use based on capabilities of $DLLTOOL
7184   case `$DLLTOOL --help 2>&1` in
7185   *--identify-strict*)
7186     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7187     ;;
7188   *)
7189     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7190     ;;
7191   esac
7192   ;;
7193 *)
7194   # fallback: assume linklib IS sharedlib
7195   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7196   ;;
7197 esac
7198
7199 fi
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7201 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7202 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7203 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7204
7205
7206
7207
7208
7209
7210
7211 if test -n "$ac_tool_prefix"; then
7212   for ac_prog in ar
7213   do
7214     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 $as_echo_n "checking for $ac_word... " >&6; }
7218 if ${ac_cv_prog_AR+:} false; then :
7219   $as_echo_n "(cached) " >&6
7220 else
7221   if test -n "$AR"; then
7222   ac_cv_prog_AR="$AR" # Let the user override the test.
7223 else
7224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225 for as_dir in $PATH
7226 do
7227   IFS=$as_save_IFS
7228   test -z "$as_dir" && as_dir=.
7229     for ac_exec_ext in '' $ac_executable_extensions; do
7230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7231     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7233     break 2
7234   fi
7235 done
7236   done
7237 IFS=$as_save_IFS
7238
7239 fi
7240 fi
7241 AR=$ac_cv_prog_AR
7242 if test -n "$AR"; then
7243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7244 $as_echo "$AR" >&6; }
7245 else
7246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 $as_echo "no" >&6; }
7248 fi
7249
7250
7251     test -n "$AR" && break
7252   done
7253 fi
7254 if test -z "$AR"; then
7255   ac_ct_AR=$AR
7256   for ac_prog in ar
7257 do
7258   # Extract the first word of "$ac_prog", so it can be a program name with args.
7259 set dummy $ac_prog; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7263   $as_echo_n "(cached) " >&6
7264 else
7265   if test -n "$ac_ct_AR"; then
7266   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7267 else
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269 for as_dir in $PATH
7270 do
7271   IFS=$as_save_IFS
7272   test -z "$as_dir" && as_dir=.
7273     for ac_exec_ext in '' $ac_executable_extensions; do
7274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7275     ac_cv_prog_ac_ct_AR="$ac_prog"
7276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7277     break 2
7278   fi
7279 done
7280   done
7281 IFS=$as_save_IFS
7282
7283 fi
7284 fi
7285 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7286 if test -n "$ac_ct_AR"; then
7287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7288 $as_echo "$ac_ct_AR" >&6; }
7289 else
7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7292 fi
7293
7294
7295   test -n "$ac_ct_AR" && break
7296 done
7297
7298   if test "x$ac_ct_AR" = x; then
7299     AR="false"
7300   else
7301     case $cross_compiling:$ac_tool_warned in
7302 yes:)
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7305 ac_tool_warned=yes ;;
7306 esac
7307     AR=$ac_ct_AR
7308   fi
7309 fi
7310
7311 : ${AR=ar}
7312 : ${AR_FLAGS=cru}
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7325 $as_echo_n "checking for archiver @FILE support... " >&6; }
7326 if ${lt_cv_ar_at_file+:} false; then :
7327   $as_echo_n "(cached) " >&6
7328 else
7329   lt_cv_ar_at_file=no
7330    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h.  */
7332
7333 int
7334 main ()
7335 {
7336
7337   ;
7338   return 0;
7339 }
7340 _ACEOF
7341 if ac_fn_c_try_compile "$LINENO"; then :
7342   echo conftest.$ac_objext > conftest.lst
7343       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7344       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7345   (eval $lt_ar_try) 2>&5
7346   ac_status=$?
7347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7348   test $ac_status = 0; }
7349       if test "$ac_status" -eq 0; then
7350         # Ensure the archiver fails upon bogus file names.
7351         rm -f conftest.$ac_objext libconftest.a
7352         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7353   (eval $lt_ar_try) 2>&5
7354   ac_status=$?
7355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7356   test $ac_status = 0; }
7357         if test "$ac_status" -ne 0; then
7358           lt_cv_ar_at_file=@
7359         fi
7360       fi
7361       rm -f conftest.* libconftest.a
7362
7363 fi
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7365
7366 fi
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7368 $as_echo "$lt_cv_ar_at_file" >&6; }
7369
7370 if test "x$lt_cv_ar_at_file" = xno; then
7371   archiver_list_spec=
7372 else
7373   archiver_list_spec=$lt_cv_ar_at_file
7374 fi
7375
7376
7377
7378
7379
7380
7381
7382 if test -n "$ac_tool_prefix"; then
7383   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7384 set dummy ${ac_tool_prefix}strip; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if ${ac_cv_prog_STRIP+:} false; then :
7388   $as_echo_n "(cached) " >&6
7389 else
7390   if test -n "$STRIP"; then
7391   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7392 else
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7395 do
7396   IFS=$as_save_IFS
7397   test -z "$as_dir" && as_dir=.
7398     for ac_exec_ext in '' $ac_executable_extensions; do
7399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402     break 2
7403   fi
7404 done
7405   done
7406 IFS=$as_save_IFS
7407
7408 fi
7409 fi
7410 STRIP=$ac_cv_prog_STRIP
7411 if test -n "$STRIP"; then
7412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7413 $as_echo "$STRIP" >&6; }
7414 else
7415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7417 fi
7418
7419
7420 fi
7421 if test -z "$ac_cv_prog_STRIP"; then
7422   ac_ct_STRIP=$STRIP
7423   # Extract the first word of "strip", so it can be a program name with args.
7424 set dummy strip; ac_word=$2
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7426 $as_echo_n "checking for $ac_word... " >&6; }
7427 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7428   $as_echo_n "(cached) " >&6
7429 else
7430   if test -n "$ac_ct_STRIP"; then
7431   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7432 else
7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7434 for as_dir in $PATH
7435 do
7436   IFS=$as_save_IFS
7437   test -z "$as_dir" && as_dir=.
7438     for ac_exec_ext in '' $ac_executable_extensions; do
7439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7440     ac_cv_prog_ac_ct_STRIP="strip"
7441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442     break 2
7443   fi
7444 done
7445   done
7446 IFS=$as_save_IFS
7447
7448 fi
7449 fi
7450 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7451 if test -n "$ac_ct_STRIP"; then
7452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7453 $as_echo "$ac_ct_STRIP" >&6; }
7454 else
7455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7456 $as_echo "no" >&6; }
7457 fi
7458
7459   if test "x$ac_ct_STRIP" = x; then
7460     STRIP=":"
7461   else
7462     case $cross_compiling:$ac_tool_warned in
7463 yes:)
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7466 ac_tool_warned=yes ;;
7467 esac
7468     STRIP=$ac_ct_STRIP
7469   fi
7470 else
7471   STRIP="$ac_cv_prog_STRIP"
7472 fi
7473
7474 test -z "$STRIP" && STRIP=:
7475
7476
7477
7478
7479
7480
7481 if test -n "$ac_tool_prefix"; then
7482   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7483 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if ${ac_cv_prog_RANLIB+:} false; then :
7487   $as_echo_n "(cached) " >&6
7488 else
7489   if test -n "$RANLIB"; then
7490   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7491 else
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 for as_dir in $PATH
7494 do
7495   IFS=$as_save_IFS
7496   test -z "$as_dir" && as_dir=.
7497     for ac_exec_ext in '' $ac_executable_extensions; do
7498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7499     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501     break 2
7502   fi
7503 done
7504   done
7505 IFS=$as_save_IFS
7506
7507 fi
7508 fi
7509 RANLIB=$ac_cv_prog_RANLIB
7510 if test -n "$RANLIB"; then
7511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7512 $as_echo "$RANLIB" >&6; }
7513 else
7514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7516 fi
7517
7518
7519 fi
7520 if test -z "$ac_cv_prog_RANLIB"; then
7521   ac_ct_RANLIB=$RANLIB
7522   # Extract the first word of "ranlib", so it can be a program name with args.
7523 set dummy ranlib; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7527   $as_echo_n "(cached) " >&6
7528 else
7529   if test -n "$ac_ct_RANLIB"; then
7530   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7534 do
7535   IFS=$as_save_IFS
7536   test -z "$as_dir" && as_dir=.
7537     for ac_exec_ext in '' $ac_executable_extensions; do
7538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539     ac_cv_prog_ac_ct_RANLIB="ranlib"
7540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541     break 2
7542   fi
7543 done
7544   done
7545 IFS=$as_save_IFS
7546
7547 fi
7548 fi
7549 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7550 if test -n "$ac_ct_RANLIB"; then
7551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7552 $as_echo "$ac_ct_RANLIB" >&6; }
7553 else
7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7556 fi
7557
7558   if test "x$ac_ct_RANLIB" = x; then
7559     RANLIB=":"
7560   else
7561     case $cross_compiling:$ac_tool_warned in
7562 yes:)
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7565 ac_tool_warned=yes ;;
7566 esac
7567     RANLIB=$ac_ct_RANLIB
7568   fi
7569 else
7570   RANLIB="$ac_cv_prog_RANLIB"
7571 fi
7572
7573 test -z "$RANLIB" && RANLIB=:
7574
7575
7576
7577
7578
7579
7580 # Determine commands to create old-style static archives.
7581 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7582 old_postinstall_cmds='chmod 644 $oldlib'
7583 old_postuninstall_cmds=
7584
7585 if test -n "$RANLIB"; then
7586   case $host_os in
7587   openbsd*)
7588     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7589     ;;
7590   *)
7591     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7592     ;;
7593   esac
7594   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7595 fi
7596
7597 case $host_os in
7598   darwin*)
7599     lock_old_archive_extraction=yes ;;
7600   *)
7601     lock_old_archive_extraction=no ;;
7602 esac
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642 # If no C compiler was specified, use CC.
7643 LTCC=${LTCC-"$CC"}
7644
7645 # If no C compiler flags were specified, use CFLAGS.
7646 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7647
7648 # Allow CC to be a program name with arguments.
7649 compiler=$CC
7650
7651
7652 # Check for command to grab the raw symbol name followed by C symbol from nm.
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7654 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7655 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7656   $as_echo_n "(cached) " >&6
7657 else
7658
7659 # These are sane defaults that work on at least a few old systems.
7660 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7661
7662 # Character class describing NM global symbol codes.
7663 symcode='[BCDEGRST]'
7664
7665 # Regexp to match symbols that can be accessed directly from C.
7666 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7667
7668 # Define system-specific variables.
7669 case $host_os in
7670 aix*)
7671   symcode='[BCDT]'
7672   ;;
7673 cygwin* | mingw* | pw32* | cegcc*)
7674   symcode='[ABCDGISTW]'
7675   ;;
7676 hpux*)
7677   if test "$host_cpu" = ia64; then
7678     symcode='[ABCDEGRST]'
7679   fi
7680   ;;
7681 irix* | nonstopux*)
7682   symcode='[BCDEGRST]'
7683   ;;
7684 osf*)
7685   symcode='[BCDEGQRST]'
7686   ;;
7687 solaris*)
7688   symcode='[BDRT]'
7689   ;;
7690 sco3.2v5*)
7691   symcode='[DT]'
7692   ;;
7693 sysv4.2uw2*)
7694   symcode='[DT]'
7695   ;;
7696 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7697   symcode='[ABDT]'
7698   ;;
7699 sysv4)
7700   symcode='[DFNSTU]'
7701   ;;
7702 esac
7703
7704 # If we're using GNU nm, then use its standard symbol codes.
7705 case `$NM -V 2>&1` in
7706 *GNU* | *'with BFD'*)
7707   symcode='[ABCDGIRSTW]' ;;
7708 esac
7709
7710 # Transform an extracted symbol line into a proper C declaration.
7711 # Some systems (esp. on ia64) link data and code symbols differently,
7712 # so use this general approach.
7713 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7714
7715 # Transform an extracted symbol line into symbol name and symbol address
7716 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7717 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7718
7719 # Handle CRLF in mingw tool chain
7720 opt_cr=
7721 case $build_os in
7722 mingw*)
7723   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7724   ;;
7725 esac
7726
7727 # Try without a prefix underscore, then with it.
7728 for ac_symprfx in "" "_"; do
7729
7730   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7731   symxfrm="\\1 $ac_symprfx\\2 \\2"
7732
7733   # Write the raw and C identifiers.
7734   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7735     # Fake it for dumpbin and say T for any non-static function
7736     # and D for any global variable.
7737     # Also find C++ and __fastcall symbols from MSVC++,
7738     # which start with @ or ?.
7739     lt_cv_sys_global_symbol_pipe="$AWK '"\
7740 "     {last_section=section; section=\$ 3};"\
7741 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7742 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7743 "     \$ 0!~/External *\|/{next};"\
7744 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7745 "     {if(hide[section]) next};"\
7746 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7747 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7748 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7749 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7750 "     ' prfx=^$ac_symprfx"
7751   else
7752     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7753   fi
7754   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7755
7756   # Check to see that the pipe works correctly.
7757   pipe_works=no
7758
7759   rm -f conftest*
7760   cat > conftest.$ac_ext <<_LT_EOF
7761 #ifdef __cplusplus
7762 extern "C" {
7763 #endif
7764 char nm_test_var;
7765 void nm_test_func(void);
7766 void nm_test_func(void){}
7767 #ifdef __cplusplus
7768 }
7769 #endif
7770 int main(){nm_test_var='a';nm_test_func();return(0);}
7771 _LT_EOF
7772
7773   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7774   (eval $ac_compile) 2>&5
7775   ac_status=$?
7776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7777   test $ac_status = 0; }; then
7778     # Now try to grab the symbols.
7779     nlist=conftest.nm
7780     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7781   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7782   ac_status=$?
7783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7784   test $ac_status = 0; } && test -s "$nlist"; then
7785       # Try sorting and uniquifying the output.
7786       if sort "$nlist" | uniq > "$nlist"T; then
7787         mv -f "$nlist"T "$nlist"
7788       else
7789         rm -f "$nlist"T
7790       fi
7791
7792       # Make sure that we snagged all the symbols we need.
7793       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7794         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7795           cat <<_LT_EOF > conftest.$ac_ext
7796 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7797 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7798 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7799    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7800 # define LT_DLSYM_CONST
7801 #elif defined(__osf__)
7802 /* This system does not cope well with relocations in const data.  */
7803 # define LT_DLSYM_CONST
7804 #else
7805 # define LT_DLSYM_CONST const
7806 #endif
7807
7808 #ifdef __cplusplus
7809 extern "C" {
7810 #endif
7811
7812 _LT_EOF
7813           # Now generate the symbol file.
7814           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7815
7816           cat <<_LT_EOF >> conftest.$ac_ext
7817
7818 /* The mapping between symbol names and symbols.  */
7819 LT_DLSYM_CONST struct {
7820   const char *name;
7821   void       *address;
7822 }
7823 lt__PROGRAM__LTX_preloaded_symbols[] =
7824 {
7825   { "@PROGRAM@", (void *) 0 },
7826 _LT_EOF
7827           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7828           cat <<\_LT_EOF >> conftest.$ac_ext
7829   {0, (void *) 0}
7830 };
7831
7832 /* This works around a problem in FreeBSD linker */
7833 #ifdef FREEBSD_WORKAROUND
7834 static const void *lt_preloaded_setup() {
7835   return lt__PROGRAM__LTX_preloaded_symbols;
7836 }
7837 #endif
7838
7839 #ifdef __cplusplus
7840 }
7841 #endif
7842 _LT_EOF
7843           # Now try linking the two files.
7844           mv conftest.$ac_objext conftstm.$ac_objext
7845           lt_globsym_save_LIBS=$LIBS
7846           lt_globsym_save_CFLAGS=$CFLAGS
7847           LIBS="conftstm.$ac_objext"
7848           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7849           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7850   (eval $ac_link) 2>&5
7851   ac_status=$?
7852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7853   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7854             pipe_works=yes
7855           fi
7856           LIBS=$lt_globsym_save_LIBS
7857           CFLAGS=$lt_globsym_save_CFLAGS
7858         else
7859           echo "cannot find nm_test_func in $nlist" >&5
7860         fi
7861       else
7862         echo "cannot find nm_test_var in $nlist" >&5
7863       fi
7864     else
7865       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7866     fi
7867   else
7868     echo "$progname: failed program was:" >&5
7869     cat conftest.$ac_ext >&5
7870   fi
7871   rm -rf conftest* conftst*
7872
7873   # Do not use the global_symbol_pipe unless it works.
7874   if test "$pipe_works" = yes; then
7875     break
7876   else
7877     lt_cv_sys_global_symbol_pipe=
7878   fi
7879 done
7880
7881 fi
7882
7883 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7884   lt_cv_sys_global_symbol_to_cdecl=
7885 fi
7886 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7888 $as_echo "failed" >&6; }
7889 else
7890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7891 $as_echo "ok" >&6; }
7892 fi
7893
7894 # Response file support.
7895 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7896   nm_file_list_spec='@'
7897 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7898   nm_file_list_spec='@'
7899 fi
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7928 $as_echo_n "checking for sysroot... " >&6; }
7929
7930 # Check whether --with-sysroot was given.
7931 if test "${with_sysroot+set}" = set; then :
7932   withval=$with_sysroot;
7933 else
7934   with_sysroot=no
7935 fi
7936
7937
7938 lt_sysroot=
7939 case ${with_sysroot} in #(
7940  yes)
7941    if test "$GCC" = yes; then
7942      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7943    fi
7944    ;; #(
7945  /*)
7946    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7947    ;; #(
7948  no|'')
7949    ;; #(
7950  *)
7951    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7952 $as_echo "${with_sysroot}" >&6; }
7953    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7954    ;;
7955 esac
7956
7957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7958 $as_echo "${lt_sysroot:-no}" >&6; }
7959
7960
7961
7962
7963
7964 # Check whether --enable-libtool-lock was given.
7965 if test "${enable_libtool_lock+set}" = set; then :
7966   enableval=$enable_libtool_lock;
7967 fi
7968
7969 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7970
7971 # Some flags need to be propagated to the compiler or linker for good
7972 # libtool support.
7973 case $host in
7974 ia64-*-hpux*)
7975   # Find out which ABI we are using.
7976   echo 'int i;' > conftest.$ac_ext
7977   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7978   (eval $ac_compile) 2>&5
7979   ac_status=$?
7980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7981   test $ac_status = 0; }; then
7982     case `/usr/bin/file conftest.$ac_objext` in
7983       *ELF-32*)
7984         HPUX_IA64_MODE="32"
7985         ;;
7986       *ELF-64*)
7987         HPUX_IA64_MODE="64"
7988         ;;
7989     esac
7990   fi
7991   rm -rf conftest*
7992   ;;
7993 *-*-irix6*)
7994   # Find out which ABI we are using.
7995   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7996   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7997   (eval $ac_compile) 2>&5
7998   ac_status=$?
7999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8000   test $ac_status = 0; }; then
8001     if test "$lt_cv_prog_gnu_ld" = yes; then
8002       case `/usr/bin/file conftest.$ac_objext` in
8003         *32-bit*)
8004           LD="${LD-ld} -melf32bsmip"
8005           ;;
8006         *N32*)
8007           LD="${LD-ld} -melf32bmipn32"
8008           ;;
8009         *64-bit*)
8010           LD="${LD-ld} -melf64bmip"
8011         ;;
8012       esac
8013     else
8014       case `/usr/bin/file conftest.$ac_objext` in
8015         *32-bit*)
8016           LD="${LD-ld} -32"
8017           ;;
8018         *N32*)
8019           LD="${LD-ld} -n32"
8020           ;;
8021         *64-bit*)
8022           LD="${LD-ld} -64"
8023           ;;
8024       esac
8025     fi
8026   fi
8027   rm -rf conftest*
8028   ;;
8029
8030 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8031 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8032   # Find out which ABI we are using.
8033   echo 'int i;' > conftest.$ac_ext
8034   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8035   (eval $ac_compile) 2>&5
8036   ac_status=$?
8037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8038   test $ac_status = 0; }; then
8039     case `/usr/bin/file conftest.o` in
8040       *32-bit*)
8041         case $host in
8042           x86_64-*kfreebsd*-gnu)
8043             LD="${LD-ld} -m elf_i386_fbsd"
8044             ;;
8045           x86_64-*linux*)
8046             LD="${LD-ld} -m elf_i386"
8047             ;;
8048           ppc64-*linux*|powerpc64-*linux*)
8049             LD="${LD-ld} -m elf32ppclinux"
8050             ;;
8051           s390x-*linux*)
8052             LD="${LD-ld} -m elf_s390"
8053             ;;
8054           sparc64-*linux*)
8055             LD="${LD-ld} -m elf32_sparc"
8056             ;;
8057         esac
8058         ;;
8059       *64-bit*)
8060         case $host in
8061           x86_64-*kfreebsd*-gnu)
8062             LD="${LD-ld} -m elf_x86_64_fbsd"
8063             ;;
8064           x86_64-*linux*)
8065             LD="${LD-ld} -m elf_x86_64"
8066             ;;
8067           ppc*-*linux*|powerpc*-*linux*)
8068             LD="${LD-ld} -m elf64ppc"
8069             ;;
8070           s390*-*linux*|s390*-*tpf*)
8071             LD="${LD-ld} -m elf64_s390"
8072             ;;
8073           sparc*-*linux*)
8074             LD="${LD-ld} -m elf64_sparc"
8075             ;;
8076         esac
8077         ;;
8078     esac
8079   fi
8080   rm -rf conftest*
8081   ;;
8082
8083 *-*-sco3.2v5*)
8084   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8085   SAVE_CFLAGS="$CFLAGS"
8086   CFLAGS="$CFLAGS -belf"
8087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8088 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8089 if ${lt_cv_cc_needs_belf+:} false; then :
8090   $as_echo_n "(cached) " >&6
8091 else
8092   ac_ext=c
8093 ac_cpp='$CPP $CPPFLAGS'
8094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8097
8098      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h.  */
8100
8101 int
8102 main ()
8103 {
8104
8105   ;
8106   return 0;
8107 }
8108 _ACEOF
8109 if ac_fn_c_try_link "$LINENO"; then :
8110   lt_cv_cc_needs_belf=yes
8111 else
8112   lt_cv_cc_needs_belf=no
8113 fi
8114 rm -f core conftest.err conftest.$ac_objext \
8115     conftest$ac_exeext conftest.$ac_ext
8116      ac_ext=c
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8121
8122 fi
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8124 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8125   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8126     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8127     CFLAGS="$SAVE_CFLAGS"
8128   fi
8129   ;;
8130 *-*solaris*)
8131   # Find out which ABI we are using.
8132   echo 'int i;' > conftest.$ac_ext
8133   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8134   (eval $ac_compile) 2>&5
8135   ac_status=$?
8136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8137   test $ac_status = 0; }; then
8138     case `/usr/bin/file conftest.o` in
8139     *64-bit*)
8140       case $lt_cv_prog_gnu_ld in
8141       yes*)
8142         case $host in
8143         i?86-*-solaris*)
8144           LD="${LD-ld} -m elf_x86_64"
8145           ;;
8146         sparc*-*-solaris*)
8147           LD="${LD-ld} -m elf64_sparc"
8148           ;;
8149         esac
8150         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8151         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8152           LD="${LD-ld}_sol2"
8153         fi
8154         ;;
8155       *)
8156         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8157           LD="${LD-ld} -64"
8158         fi
8159         ;;
8160       esac
8161       ;;
8162     esac
8163   fi
8164   rm -rf conftest*
8165   ;;
8166 esac
8167
8168 need_locks="$enable_libtool_lock"
8169
8170 if test -n "$ac_tool_prefix"; then
8171   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8172 set dummy ${ac_tool_prefix}mt; ac_word=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8174 $as_echo_n "checking for $ac_word... " >&6; }
8175 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8176   $as_echo_n "(cached) " >&6
8177 else
8178   if test -n "$MANIFEST_TOOL"; then
8179   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8180 else
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8182 for as_dir in $PATH
8183 do
8184   IFS=$as_save_IFS
8185   test -z "$as_dir" && as_dir=.
8186     for ac_exec_ext in '' $ac_executable_extensions; do
8187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8190     break 2
8191   fi
8192 done
8193   done
8194 IFS=$as_save_IFS
8195
8196 fi
8197 fi
8198 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8199 if test -n "$MANIFEST_TOOL"; then
8200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8201 $as_echo "$MANIFEST_TOOL" >&6; }
8202 else
8203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8205 fi
8206
8207
8208 fi
8209 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8210   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8211   # Extract the first word of "mt", so it can be a program name with args.
8212 set dummy mt; ac_word=$2
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8214 $as_echo_n "checking for $ac_word... " >&6; }
8215 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8216   $as_echo_n "(cached) " >&6
8217 else
8218   if test -n "$ac_ct_MANIFEST_TOOL"; then
8219   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8220 else
8221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 for as_dir in $PATH
8223 do
8224   IFS=$as_save_IFS
8225   test -z "$as_dir" && as_dir=.
8226     for ac_exec_ext in '' $ac_executable_extensions; do
8227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8228     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8230     break 2
8231   fi
8232 done
8233   done
8234 IFS=$as_save_IFS
8235
8236 fi
8237 fi
8238 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8239 if test -n "$ac_ct_MANIFEST_TOOL"; then
8240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8241 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8242 else
8243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8245 fi
8246
8247   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8248     MANIFEST_TOOL=":"
8249   else
8250     case $cross_compiling:$ac_tool_warned in
8251 yes:)
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8254 ac_tool_warned=yes ;;
8255 esac
8256     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8257   fi
8258 else
8259   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8260 fi
8261
8262 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8264 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8265 if ${lt_cv_path_mainfest_tool+:} false; then :
8266   $as_echo_n "(cached) " >&6
8267 else
8268   lt_cv_path_mainfest_tool=no
8269   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8270   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8271   cat conftest.err >&5
8272   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8273     lt_cv_path_mainfest_tool=yes
8274   fi
8275   rm -f conftest*
8276 fi
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8278 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8279 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8280   MANIFEST_TOOL=:
8281 fi
8282
8283
8284
8285
8286
8287
8288   case $host_os in
8289     rhapsody* | darwin*)
8290     if test -n "$ac_tool_prefix"; then
8291   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8296   $as_echo_n "(cached) " >&6
8297 else
8298   if test -n "$DSYMUTIL"; then
8299   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8303 do
8304   IFS=$as_save_IFS
8305   test -z "$as_dir" && as_dir=.
8306     for ac_exec_ext in '' $ac_executable_extensions; do
8307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310     break 2
8311   fi
8312 done
8313   done
8314 IFS=$as_save_IFS
8315
8316 fi
8317 fi
8318 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8319 if test -n "$DSYMUTIL"; then
8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8321 $as_echo "$DSYMUTIL" >&6; }
8322 else
8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324 $as_echo "no" >&6; }
8325 fi
8326
8327
8328 fi
8329 if test -z "$ac_cv_prog_DSYMUTIL"; then
8330   ac_ct_DSYMUTIL=$DSYMUTIL
8331   # Extract the first word of "dsymutil", so it can be a program name with args.
8332 set dummy dsymutil; ac_word=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8336   $as_echo_n "(cached) " >&6
8337 else
8338   if test -n "$ac_ct_DSYMUTIL"; then
8339   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8340 else
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 for as_dir in $PATH
8343 do
8344   IFS=$as_save_IFS
8345   test -z "$as_dir" && as_dir=.
8346     for ac_exec_ext in '' $ac_executable_extensions; do
8347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350     break 2
8351   fi
8352 done
8353   done
8354 IFS=$as_save_IFS
8355
8356 fi
8357 fi
8358 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8359 if test -n "$ac_ct_DSYMUTIL"; then
8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8361 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8362 else
8363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8365 fi
8366
8367   if test "x$ac_ct_DSYMUTIL" = x; then
8368     DSYMUTIL=":"
8369   else
8370     case $cross_compiling:$ac_tool_warned in
8371 yes:)
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374 ac_tool_warned=yes ;;
8375 esac
8376     DSYMUTIL=$ac_ct_DSYMUTIL
8377   fi
8378 else
8379   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8380 fi
8381
8382     if test -n "$ac_tool_prefix"; then
8383   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8384 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_NMEDIT+:} false; then :
8388   $as_echo_n "(cached) " >&6
8389 else
8390   if test -n "$NMEDIT"; then
8391   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8392 else
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 for as_dir in $PATH
8395 do
8396   IFS=$as_save_IFS
8397   test -z "$as_dir" && as_dir=.
8398     for ac_exec_ext in '' $ac_executable_extensions; do
8399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402     break 2
8403   fi
8404 done
8405   done
8406 IFS=$as_save_IFS
8407
8408 fi
8409 fi
8410 NMEDIT=$ac_cv_prog_NMEDIT
8411 if test -n "$NMEDIT"; then
8412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8413 $as_echo "$NMEDIT" >&6; }
8414 else
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8417 fi
8418
8419
8420 fi
8421 if test -z "$ac_cv_prog_NMEDIT"; then
8422   ac_ct_NMEDIT=$NMEDIT
8423   # Extract the first word of "nmedit", so it can be a program name with args.
8424 set dummy nmedit; ac_word=$2
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8426 $as_echo_n "checking for $ac_word... " >&6; }
8427 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8428   $as_echo_n "(cached) " >&6
8429 else
8430   if test -n "$ac_ct_NMEDIT"; then
8431   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8432 else
8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8434 for as_dir in $PATH
8435 do
8436   IFS=$as_save_IFS
8437   test -z "$as_dir" && as_dir=.
8438     for ac_exec_ext in '' $ac_executable_extensions; do
8439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8440     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8442     break 2
8443   fi
8444 done
8445   done
8446 IFS=$as_save_IFS
8447
8448 fi
8449 fi
8450 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8451 if test -n "$ac_ct_NMEDIT"; then
8452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8453 $as_echo "$ac_ct_NMEDIT" >&6; }
8454 else
8455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8456 $as_echo "no" >&6; }
8457 fi
8458
8459   if test "x$ac_ct_NMEDIT" = x; then
8460     NMEDIT=":"
8461   else
8462     case $cross_compiling:$ac_tool_warned in
8463 yes:)
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8466 ac_tool_warned=yes ;;
8467 esac
8468     NMEDIT=$ac_ct_NMEDIT
8469   fi
8470 else
8471   NMEDIT="$ac_cv_prog_NMEDIT"
8472 fi
8473
8474     if test -n "$ac_tool_prefix"; then
8475   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8476 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8478 $as_echo_n "checking for $ac_word... " >&6; }
8479 if ${ac_cv_prog_LIPO+:} false; then :
8480   $as_echo_n "(cached) " >&6
8481 else
8482   if test -n "$LIPO"; then
8483   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8484 else
8485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8486 for as_dir in $PATH
8487 do
8488   IFS=$as_save_IFS
8489   test -z "$as_dir" && as_dir=.
8490     for ac_exec_ext in '' $ac_executable_extensions; do
8491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8492     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8494     break 2
8495   fi
8496 done
8497   done
8498 IFS=$as_save_IFS
8499
8500 fi
8501 fi
8502 LIPO=$ac_cv_prog_LIPO
8503 if test -n "$LIPO"; then
8504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8505 $as_echo "$LIPO" >&6; }
8506 else
8507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508 $as_echo "no" >&6; }
8509 fi
8510
8511
8512 fi
8513 if test -z "$ac_cv_prog_LIPO"; then
8514   ac_ct_LIPO=$LIPO
8515   # Extract the first word of "lipo", so it can be a program name with args.
8516 set dummy lipo; ac_word=$2
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8518 $as_echo_n "checking for $ac_word... " >&6; }
8519 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8520   $as_echo_n "(cached) " >&6
8521 else
8522   if test -n "$ac_ct_LIPO"; then
8523   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8524 else
8525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8526 for as_dir in $PATH
8527 do
8528   IFS=$as_save_IFS
8529   test -z "$as_dir" && as_dir=.
8530     for ac_exec_ext in '' $ac_executable_extensions; do
8531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8532     ac_cv_prog_ac_ct_LIPO="lipo"
8533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8534     break 2
8535   fi
8536 done
8537   done
8538 IFS=$as_save_IFS
8539
8540 fi
8541 fi
8542 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8543 if test -n "$ac_ct_LIPO"; then
8544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8545 $as_echo "$ac_ct_LIPO" >&6; }
8546 else
8547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8549 fi
8550
8551   if test "x$ac_ct_LIPO" = x; then
8552     LIPO=":"
8553   else
8554     case $cross_compiling:$ac_tool_warned in
8555 yes:)
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8558 ac_tool_warned=yes ;;
8559 esac
8560     LIPO=$ac_ct_LIPO
8561   fi
8562 else
8563   LIPO="$ac_cv_prog_LIPO"
8564 fi
8565
8566     if test -n "$ac_tool_prefix"; then
8567   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8568 set dummy ${ac_tool_prefix}otool; ac_word=$2
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8570 $as_echo_n "checking for $ac_word... " >&6; }
8571 if ${ac_cv_prog_OTOOL+:} false; then :
8572   $as_echo_n "(cached) " >&6
8573 else
8574   if test -n "$OTOOL"; then
8575   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8576 else
8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8578 for as_dir in $PATH
8579 do
8580   IFS=$as_save_IFS
8581   test -z "$as_dir" && as_dir=.
8582     for ac_exec_ext in '' $ac_executable_extensions; do
8583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8584     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8586     break 2
8587   fi
8588 done
8589   done
8590 IFS=$as_save_IFS
8591
8592 fi
8593 fi
8594 OTOOL=$ac_cv_prog_OTOOL
8595 if test -n "$OTOOL"; then
8596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8597 $as_echo "$OTOOL" >&6; }
8598 else
8599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8600 $as_echo "no" >&6; }
8601 fi
8602
8603
8604 fi
8605 if test -z "$ac_cv_prog_OTOOL"; then
8606   ac_ct_OTOOL=$OTOOL
8607   # Extract the first word of "otool", so it can be a program name with args.
8608 set dummy otool; ac_word=$2
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8610 $as_echo_n "checking for $ac_word... " >&6; }
8611 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8612   $as_echo_n "(cached) " >&6
8613 else
8614   if test -n "$ac_ct_OTOOL"; then
8615   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8616 else
8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8618 for as_dir in $PATH
8619 do
8620   IFS=$as_save_IFS
8621   test -z "$as_dir" && as_dir=.
8622     for ac_exec_ext in '' $ac_executable_extensions; do
8623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8624     ac_cv_prog_ac_ct_OTOOL="otool"
8625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8626     break 2
8627   fi
8628 done
8629   done
8630 IFS=$as_save_IFS
8631
8632 fi
8633 fi
8634 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8635 if test -n "$ac_ct_OTOOL"; then
8636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8637 $as_echo "$ac_ct_OTOOL" >&6; }
8638 else
8639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640 $as_echo "no" >&6; }
8641 fi
8642
8643   if test "x$ac_ct_OTOOL" = x; then
8644     OTOOL=":"
8645   else
8646     case $cross_compiling:$ac_tool_warned in
8647 yes:)
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8650 ac_tool_warned=yes ;;
8651 esac
8652     OTOOL=$ac_ct_OTOOL
8653   fi
8654 else
8655   OTOOL="$ac_cv_prog_OTOOL"
8656 fi
8657
8658     if test -n "$ac_tool_prefix"; then
8659   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8660 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8662 $as_echo_n "checking for $ac_word... " >&6; }
8663 if ${ac_cv_prog_OTOOL64+:} false; then :
8664   $as_echo_n "(cached) " >&6
8665 else
8666   if test -n "$OTOOL64"; then
8667   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8668 else
8669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 for as_dir in $PATH
8671 do
8672   IFS=$as_save_IFS
8673   test -z "$as_dir" && as_dir=.
8674     for ac_exec_ext in '' $ac_executable_extensions; do
8675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8676     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8678     break 2
8679   fi
8680 done
8681   done
8682 IFS=$as_save_IFS
8683
8684 fi
8685 fi
8686 OTOOL64=$ac_cv_prog_OTOOL64
8687 if test -n "$OTOOL64"; then
8688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8689 $as_echo "$OTOOL64" >&6; }
8690 else
8691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8692 $as_echo "no" >&6; }
8693 fi
8694
8695
8696 fi
8697 if test -z "$ac_cv_prog_OTOOL64"; then
8698   ac_ct_OTOOL64=$OTOOL64
8699   # Extract the first word of "otool64", so it can be a program name with args.
8700 set dummy otool64; ac_word=$2
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8702 $as_echo_n "checking for $ac_word... " >&6; }
8703 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8704   $as_echo_n "(cached) " >&6
8705 else
8706   if test -n "$ac_ct_OTOOL64"; then
8707   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8708 else
8709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8710 for as_dir in $PATH
8711 do
8712   IFS=$as_save_IFS
8713   test -z "$as_dir" && as_dir=.
8714     for ac_exec_ext in '' $ac_executable_extensions; do
8715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8716     ac_cv_prog_ac_ct_OTOOL64="otool64"
8717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8718     break 2
8719   fi
8720 done
8721   done
8722 IFS=$as_save_IFS
8723
8724 fi
8725 fi
8726 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8727 if test -n "$ac_ct_OTOOL64"; then
8728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8729 $as_echo "$ac_ct_OTOOL64" >&6; }
8730 else
8731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8732 $as_echo "no" >&6; }
8733 fi
8734
8735   if test "x$ac_ct_OTOOL64" = x; then
8736     OTOOL64=":"
8737   else
8738     case $cross_compiling:$ac_tool_warned in
8739 yes:)
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8742 ac_tool_warned=yes ;;
8743 esac
8744     OTOOL64=$ac_ct_OTOOL64
8745   fi
8746 else
8747   OTOOL64="$ac_cv_prog_OTOOL64"
8748 fi
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8777 $as_echo_n "checking for -single_module linker flag... " >&6; }
8778 if ${lt_cv_apple_cc_single_mod+:} false; then :
8779   $as_echo_n "(cached) " >&6
8780 else
8781   lt_cv_apple_cc_single_mod=no
8782       if test -z "${LT_MULTI_MODULE}"; then
8783         # By default we will add the -single_module flag. You can override
8784         # by either setting the environment variable LT_MULTI_MODULE
8785         # non-empty at configure time, or by adding -multi_module to the
8786         # link flags.
8787         rm -rf libconftest.dylib*
8788         echo "int foo(void){return 1;}" > conftest.c
8789         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8790 -dynamiclib -Wl,-single_module conftest.c" >&5
8791         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8792           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8793         _lt_result=$?
8794         # If there is a non-empty error log, and "single_module"
8795         # appears in it, assume the flag caused a linker warning
8796         if test -s conftest.err && $GREP single_module conftest.err; then
8797           cat conftest.err >&5
8798         # Otherwise, if the output was created with a 0 exit code from
8799         # the compiler, it worked.
8800         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8801           lt_cv_apple_cc_single_mod=yes
8802         else
8803           cat conftest.err >&5
8804         fi
8805         rm -rf libconftest.dylib*
8806         rm -f conftest.*
8807       fi
8808 fi
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8810 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8811
8812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8813 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8814 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8815   $as_echo_n "(cached) " >&6
8816 else
8817   lt_cv_ld_exported_symbols_list=no
8818       save_LDFLAGS=$LDFLAGS
8819       echo "_main" > conftest.sym
8820       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h.  */
8823
8824 int
8825 main ()
8826 {
8827
8828   ;
8829   return 0;
8830 }
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833   lt_cv_ld_exported_symbols_list=yes
8834 else
8835   lt_cv_ld_exported_symbols_list=no
8836 fi
8837 rm -f core conftest.err conftest.$ac_objext \
8838     conftest$ac_exeext conftest.$ac_ext
8839         LDFLAGS="$save_LDFLAGS"
8840
8841 fi
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8843 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8844
8845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8846 $as_echo_n "checking for -force_load linker flag... " >&6; }
8847 if ${lt_cv_ld_force_load+:} false; then :
8848   $as_echo_n "(cached) " >&6
8849 else
8850   lt_cv_ld_force_load=no
8851       cat > conftest.c << _LT_EOF
8852 int forced_loaded() { return 2;}
8853 _LT_EOF
8854       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8855       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8856       echo "$AR cru libconftest.a conftest.o" >&5
8857       $AR cru libconftest.a conftest.o 2>&5
8858       echo "$RANLIB libconftest.a" >&5
8859       $RANLIB libconftest.a 2>&5
8860       cat > conftest.c << _LT_EOF
8861 int main() { return 0;}
8862 _LT_EOF
8863       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8864       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8865       _lt_result=$?
8866       if test -s conftest.err && $GREP force_load conftest.err; then
8867         cat conftest.err >&5
8868       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8869         lt_cv_ld_force_load=yes
8870       else
8871         cat conftest.err >&5
8872       fi
8873         rm -f conftest.err libconftest.a conftest conftest.c
8874         rm -rf conftest.dSYM
8875
8876 fi
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8878 $as_echo "$lt_cv_ld_force_load" >&6; }
8879     case $host_os in
8880     rhapsody* | darwin1.[012])
8881       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8882     darwin1.*)
8883       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8884     darwin*) # darwin 5.x on
8885       # if running on 10.5 or later, the deployment target defaults
8886       # to the OS version, if on x86, and 10.4, the deployment
8887       # target defaults to 10.4. Don't you love it?
8888       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8889         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8890           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8891         10.[012]*)
8892           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8893         10.*)
8894           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8895       esac
8896     ;;
8897   esac
8898     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8899       _lt_dar_single_mod='$single_module'
8900     fi
8901     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8902       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8903     else
8904       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8905     fi
8906     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8907       _lt_dsymutil='~$DSYMUTIL $lib || :'
8908     else
8909       _lt_dsymutil=
8910     fi
8911     ;;
8912   esac
8913
8914 for ac_header in dlfcn.h
8915 do :
8916   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8917 "
8918 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8919   cat >>confdefs.h <<_ACEOF
8920 #define HAVE_DLFCN_H 1
8921 _ACEOF
8922
8923 fi
8924
8925 done
8926
8927
8928
8929
8930
8931 # Set options
8932
8933
8934
8935         enable_dlopen=no
8936
8937
8938
8939             # Check whether --enable-shared was given.
8940 if test "${enable_shared+set}" = set; then :
8941   enableval=$enable_shared; p=${PACKAGE-default}
8942     case $enableval in
8943     yes) enable_shared=yes ;;
8944     no) enable_shared=no ;;
8945     *)
8946       enable_shared=no
8947       # Look at the argument we got.  We use all the common list separators.
8948       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8949       for pkg in $enableval; do
8950         IFS="$lt_save_ifs"
8951         if test "X$pkg" = "X$p"; then
8952           enable_shared=yes
8953         fi
8954       done
8955       IFS="$lt_save_ifs"
8956       ;;
8957     esac
8958 else
8959   enable_shared=yes
8960 fi
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970   # Check whether --enable-static was given.
8971 if test "${enable_static+set}" = set; then :
8972   enableval=$enable_static; p=${PACKAGE-default}
8973     case $enableval in
8974     yes) enable_static=yes ;;
8975     no) enable_static=no ;;
8976     *)
8977      enable_static=no
8978       # Look at the argument we got.  We use all the common list separators.
8979       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8980       for pkg in $enableval; do
8981         IFS="$lt_save_ifs"
8982         if test "X$pkg" = "X$p"; then
8983           enable_static=yes
8984         fi
8985       done
8986       IFS="$lt_save_ifs"
8987       ;;
8988     esac
8989 else
8990   enable_static=yes
8991 fi
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002 # Check whether --with-pic was given.
9003 if test "${with_pic+set}" = set; then :
9004   withval=$with_pic; lt_p=${PACKAGE-default}
9005     case $withval in
9006     yes|no) pic_mode=$withval ;;
9007     *)
9008       pic_mode=default
9009       # Look at the argument we got.  We use all the common list separators.
9010       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9011       for lt_pkg in $withval; do
9012         IFS="$lt_save_ifs"
9013         if test "X$lt_pkg" = "X$lt_p"; then
9014           pic_mode=yes
9015         fi
9016       done
9017       IFS="$lt_save_ifs"
9018       ;;
9019     esac
9020 else
9021   pic_mode=default
9022 fi
9023
9024
9025 test -z "$pic_mode" && pic_mode=default
9026
9027
9028
9029
9030
9031
9032
9033   # Check whether --enable-fast-install was given.
9034 if test "${enable_fast_install+set}" = set; then :
9035   enableval=$enable_fast_install; p=${PACKAGE-default}
9036     case $enableval in
9037     yes) enable_fast_install=yes ;;
9038     no) enable_fast_install=no ;;
9039     *)
9040       enable_fast_install=no
9041       # Look at the argument we got.  We use all the common list separators.
9042       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9043       for pkg in $enableval; do
9044         IFS="$lt_save_ifs"
9045         if test "X$pkg" = "X$p"; then
9046           enable_fast_install=yes
9047         fi
9048       done
9049       IFS="$lt_save_ifs"
9050       ;;
9051     esac
9052 else
9053   enable_fast_install=yes
9054 fi
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066 # This can be used to rebuild libtool when needed
9067 LIBTOOL_DEPS="$ltmain"
9068
9069 # Always use our own libtool.
9070 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101 test -z "$LN_S" && LN_S="ln -s"
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116 if test -n "${ZSH_VERSION+set}" ; then
9117    setopt NO_GLOB_SUBST
9118 fi
9119
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9121 $as_echo_n "checking for objdir... " >&6; }
9122 if ${lt_cv_objdir+:} false; then :
9123   $as_echo_n "(cached) " >&6
9124 else
9125   rm -f .libs 2>/dev/null
9126 mkdir .libs 2>/dev/null
9127 if test -d .libs; then
9128   lt_cv_objdir=.libs
9129 else
9130   # MS-DOS does not allow filenames that begin with a dot.
9131   lt_cv_objdir=_libs
9132 fi
9133 rmdir .libs 2>/dev/null
9134 fi
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9136 $as_echo "$lt_cv_objdir" >&6; }
9137 objdir=$lt_cv_objdir
9138
9139
9140
9141
9142
9143 cat >>confdefs.h <<_ACEOF
9144 #define LT_OBJDIR "$lt_cv_objdir/"
9145 _ACEOF
9146
9147
9148
9149
9150 case $host_os in
9151 aix3*)
9152   # AIX sometimes has problems with the GCC collect2 program.  For some
9153   # reason, if we set the COLLECT_NAMES environment variable, the problems
9154   # vanish in a puff of smoke.
9155   if test "X${COLLECT_NAMES+set}" != Xset; then
9156     COLLECT_NAMES=
9157     export COLLECT_NAMES
9158   fi
9159   ;;
9160 esac
9161
9162 # Global variables:
9163 ofile=libtool
9164 can_build_shared=yes
9165
9166 # All known linkers require a `.a' archive for static linking (except MSVC,
9167 # which needs '.lib').
9168 libext=a
9169
9170 with_gnu_ld="$lt_cv_prog_gnu_ld"
9171
9172 old_CC="$CC"
9173 old_CFLAGS="$CFLAGS"
9174
9175 # Set sane defaults for various variables
9176 test -z "$CC" && CC=cc
9177 test -z "$LTCC" && LTCC=$CC
9178 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9179 test -z "$LD" && LD=ld
9180 test -z "$ac_objext" && ac_objext=o
9181
9182 for cc_temp in $compiler""; do
9183   case $cc_temp in
9184     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9185     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9186     \-*) ;;
9187     *) break;;
9188   esac
9189 done
9190 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9191
9192
9193 # Only perform the check for file, if the check method requires it
9194 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9195 case $deplibs_check_method in
9196 file_magic*)
9197   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9198     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9199 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9200 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9201   $as_echo_n "(cached) " >&6
9202 else
9203   case $MAGIC_CMD in
9204 [\\/*] |  ?:[\\/]*)
9205   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9206   ;;
9207 *)
9208   lt_save_MAGIC_CMD="$MAGIC_CMD"
9209   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9210   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9211   for ac_dir in $ac_dummy; do
9212     IFS="$lt_save_ifs"
9213     test -z "$ac_dir" && ac_dir=.
9214     if test -f $ac_dir/${ac_tool_prefix}file; then
9215       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9216       if test -n "$file_magic_test_file"; then
9217         case $deplibs_check_method in
9218         "file_magic "*)
9219           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9220           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9221           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9222             $EGREP "$file_magic_regex" > /dev/null; then
9223             :
9224           else
9225             cat <<_LT_EOF 1>&2
9226
9227 *** Warning: the command libtool uses to detect shared libraries,
9228 *** $file_magic_cmd, produces output that libtool cannot recognize.
9229 *** The result is that libtool may fail to recognize shared libraries
9230 *** as such.  This will affect the creation of libtool libraries that
9231 *** depend on shared libraries, but programs linked with such libtool
9232 *** libraries will work regardless of this problem.  Nevertheless, you
9233 *** may want to report the problem to your system manager and/or to
9234 *** bug-libtool@gnu.org
9235
9236 _LT_EOF
9237           fi ;;
9238         esac
9239       fi
9240       break
9241     fi
9242   done
9243   IFS="$lt_save_ifs"
9244   MAGIC_CMD="$lt_save_MAGIC_CMD"
9245   ;;
9246 esac
9247 fi
9248
9249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9250 if test -n "$MAGIC_CMD"; then
9251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9252 $as_echo "$MAGIC_CMD" >&6; }
9253 else
9254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 $as_echo "no" >&6; }
9256 fi
9257
9258
9259
9260
9261
9262 if test -z "$lt_cv_path_MAGIC_CMD"; then
9263   if test -n "$ac_tool_prefix"; then
9264     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9265 $as_echo_n "checking for file... " >&6; }
9266 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9267   $as_echo_n "(cached) " >&6
9268 else
9269   case $MAGIC_CMD in
9270 [\\/*] |  ?:[\\/]*)
9271   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9272   ;;
9273 *)
9274   lt_save_MAGIC_CMD="$MAGIC_CMD"
9275   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9276   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9277   for ac_dir in $ac_dummy; do
9278     IFS="$lt_save_ifs"
9279     test -z "$ac_dir" && ac_dir=.
9280     if test -f $ac_dir/file; then
9281       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9282       if test -n "$file_magic_test_file"; then
9283         case $deplibs_check_method in
9284         "file_magic "*)
9285           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9286           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9287           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9288             $EGREP "$file_magic_regex" > /dev/null; then
9289             :
9290           else
9291             cat <<_LT_EOF 1>&2
9292
9293 *** Warning: the command libtool uses to detect shared libraries,
9294 *** $file_magic_cmd, produces output that libtool cannot recognize.
9295 *** The result is that libtool may fail to recognize shared libraries
9296 *** as such.  This will affect the creation of libtool libraries that
9297 *** depend on shared libraries, but programs linked with such libtool
9298 *** libraries will work regardless of this problem.  Nevertheless, you
9299 *** may want to report the problem to your system manager and/or to
9300 *** bug-libtool@gnu.org
9301
9302 _LT_EOF
9303           fi ;;
9304         esac
9305       fi
9306       break
9307     fi
9308   done
9309   IFS="$lt_save_ifs"
9310   MAGIC_CMD="$lt_save_MAGIC_CMD"
9311   ;;
9312 esac
9313 fi
9314
9315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9316 if test -n "$MAGIC_CMD"; then
9317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9318 $as_echo "$MAGIC_CMD" >&6; }
9319 else
9320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9321 $as_echo "no" >&6; }
9322 fi
9323
9324
9325   else
9326     MAGIC_CMD=:
9327   fi
9328 fi
9329
9330   fi
9331   ;;
9332 esac
9333
9334 # Use C for the default configuration in the libtool script
9335
9336 lt_save_CC="$CC"
9337 ac_ext=c
9338 ac_cpp='$CPP $CPPFLAGS'
9339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9342
9343
9344 # Source file extension for C test sources.
9345 ac_ext=c
9346
9347 # Object file extension for compiled C test sources.
9348 objext=o
9349 objext=$objext
9350
9351 # Code to be used in simple compile tests
9352 lt_simple_compile_test_code="int some_variable = 0;"
9353
9354 # Code to be used in simple link tests
9355 lt_simple_link_test_code='int main(){return(0);}'
9356
9357
9358
9359
9360
9361
9362
9363 # If no C compiler was specified, use CC.
9364 LTCC=${LTCC-"$CC"}
9365
9366 # If no C compiler flags were specified, use CFLAGS.
9367 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9368
9369 # Allow CC to be a program name with arguments.
9370 compiler=$CC
9371
9372 # Save the default compiler, since it gets overwritten when the other
9373 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9374 compiler_DEFAULT=$CC
9375
9376 # save warnings/boilerplate of simple test code
9377 ac_outfile=conftest.$ac_objext
9378 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9379 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9380 _lt_compiler_boilerplate=`cat conftest.err`
9381 $RM conftest*
9382
9383 ac_outfile=conftest.$ac_objext
9384 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9385 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9386 _lt_linker_boilerplate=`cat conftest.err`
9387 $RM -r conftest*
9388
9389
9390 ## CAVEAT EMPTOR:
9391 ## There is no encapsulation within the following macros, do not change
9392 ## the running order or otherwise move them around unless you know exactly
9393 ## what you are doing...
9394 if test -n "$compiler"; then
9395
9396 lt_prog_compiler_no_builtin_flag=
9397
9398 if test "$GCC" = yes; then
9399   case $cc_basename in
9400   nvcc*)
9401     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9402   *)
9403     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9404   esac
9405
9406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9407 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9408 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9409   $as_echo_n "(cached) " >&6
9410 else
9411   lt_cv_prog_compiler_rtti_exceptions=no
9412    ac_outfile=conftest.$ac_objext
9413    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9414    lt_compiler_flag="-fno-rtti -fno-exceptions"
9415    # Insert the option either (1) after the last *FLAGS variable, or
9416    # (2) before a word containing "conftest.", or (3) at the end.
9417    # Note that $ac_compile itself does not contain backslashes and begins
9418    # with a dollar sign (not a hyphen), so the echo should work correctly.
9419    # The option is referenced via a variable to avoid confusing sed.
9420    lt_compile=`echo "$ac_compile" | $SED \
9421    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9422    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9423    -e 's:$: $lt_compiler_flag:'`
9424    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9425    (eval "$lt_compile" 2>conftest.err)
9426    ac_status=$?
9427    cat conftest.err >&5
9428    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429    if (exit $ac_status) && test -s "$ac_outfile"; then
9430      # The compiler can only warn and ignore the option if not recognized
9431      # So say no if there are warnings other than the usual output.
9432      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9433      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9434      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9435        lt_cv_prog_compiler_rtti_exceptions=yes
9436      fi
9437    fi
9438    $RM conftest*
9439
9440 fi
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9442 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9443
9444 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9445     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9446 else
9447     :
9448 fi
9449
9450 fi
9451
9452
9453
9454
9455
9456
9457   lt_prog_compiler_wl=
9458 lt_prog_compiler_pic=
9459 lt_prog_compiler_static=
9460
9461
9462   if test "$GCC" = yes; then
9463     lt_prog_compiler_wl='-Wl,'
9464     lt_prog_compiler_static='-static'
9465
9466     case $host_os in
9467       aix*)
9468       # All AIX code is PIC.
9469       if test "$host_cpu" = ia64; then
9470         # AIX 5 now supports IA64 processor
9471         lt_prog_compiler_static='-Bstatic'
9472       fi
9473       ;;
9474
9475     amigaos*)
9476       case $host_cpu in
9477       powerpc)
9478             # see comment about AmigaOS4 .so support
9479             lt_prog_compiler_pic='-fPIC'
9480         ;;
9481       m68k)
9482             # FIXME: we need at least 68020 code to build shared libraries, but
9483             # adding the `-m68020' flag to GCC prevents building anything better,
9484             # like `-m68040'.
9485             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9486         ;;
9487       esac
9488       ;;
9489
9490     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9491       # PIC is the default for these OSes.
9492       ;;
9493
9494     mingw* | cygwin* | pw32* | os2* | cegcc*)
9495       # This hack is so that the source file can tell whether it is being
9496       # built for inclusion in a dll (and should export symbols for example).
9497       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9498       # (--disable-auto-import) libraries
9499       lt_prog_compiler_pic='-DDLL_EXPORT'
9500       ;;
9501
9502     darwin* | rhapsody*)
9503       # PIC is the default on this platform
9504       # Common symbols not allowed in MH_DYLIB files
9505       lt_prog_compiler_pic='-fno-common'
9506       ;;
9507
9508     haiku*)
9509       # PIC is the default for Haiku.
9510       # The "-static" flag exists, but is broken.
9511       lt_prog_compiler_static=
9512       ;;
9513
9514     hpux*)
9515       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9516       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9517       # sets the default TLS model and affects inlining.
9518       case $host_cpu in
9519       hppa*64*)
9520         # +Z the default
9521         ;;
9522       *)
9523         lt_prog_compiler_pic='-fPIC'
9524         ;;
9525       esac
9526       ;;
9527
9528     interix[3-9]*)
9529       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9530       # Instead, we relocate shared libraries at runtime.
9531       ;;
9532
9533     msdosdjgpp*)
9534       # Just because we use GCC doesn't mean we suddenly get shared libraries
9535       # on systems that don't support them.
9536       lt_prog_compiler_can_build_shared=no
9537       enable_shared=no
9538       ;;
9539
9540     *nto* | *qnx*)
9541       # QNX uses GNU C++, but need to define -shared option too, otherwise
9542       # it will coredump.
9543       lt_prog_compiler_pic='-fPIC -shared'
9544       ;;
9545
9546     sysv4*MP*)
9547       if test -d /usr/nec; then
9548         lt_prog_compiler_pic=-Kconform_pic
9549       fi
9550       ;;
9551
9552     *)
9553       lt_prog_compiler_pic='-fPIC'
9554       ;;
9555     esac
9556
9557     case $cc_basename in
9558     nvcc*) # Cuda Compiler Driver 2.2
9559       lt_prog_compiler_wl='-Xlinker '
9560       if test -n "$lt_prog_compiler_pic"; then
9561         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9562       fi
9563       ;;
9564     esac
9565   else
9566     # PORTME Check for flag to pass linker flags through the system compiler.
9567     case $host_os in
9568     aix*)
9569       lt_prog_compiler_wl='-Wl,'
9570       if test "$host_cpu" = ia64; then
9571         # AIX 5 now supports IA64 processor
9572         lt_prog_compiler_static='-Bstatic'
9573       else
9574         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9575       fi
9576       ;;
9577
9578     mingw* | cygwin* | pw32* | os2* | cegcc*)
9579       # This hack is so that the source file can tell whether it is being
9580       # built for inclusion in a dll (and should export symbols for example).
9581       lt_prog_compiler_pic='-DDLL_EXPORT'
9582       ;;
9583
9584     hpux9* | hpux10* | hpux11*)
9585       lt_prog_compiler_wl='-Wl,'
9586       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9587       # not for PA HP-UX.
9588       case $host_cpu in
9589       hppa*64*|ia64*)
9590         # +Z the default
9591         ;;
9592       *)
9593         lt_prog_compiler_pic='+Z'
9594         ;;
9595       esac
9596       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9597       lt_prog_compiler_static='${wl}-a ${wl}archive'
9598       ;;
9599
9600     irix5* | irix6* | nonstopux*)
9601       lt_prog_compiler_wl='-Wl,'
9602       # PIC (with -KPIC) is the default.
9603       lt_prog_compiler_static='-non_shared'
9604       ;;
9605
9606     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9607       case $cc_basename in
9608       # old Intel for x86_64 which still supported -KPIC.
9609       ecc*)
9610         lt_prog_compiler_wl='-Wl,'
9611         lt_prog_compiler_pic='-KPIC'
9612         lt_prog_compiler_static='-static'
9613         ;;
9614       # icc used to be incompatible with GCC.
9615       # ICC 10 doesn't accept -KPIC any more.
9616       icc* | ifort*)
9617         lt_prog_compiler_wl='-Wl,'
9618         lt_prog_compiler_pic='-fPIC'
9619         lt_prog_compiler_static='-static'
9620         ;;
9621       # Lahey Fortran 8.1.
9622       lf95*)
9623         lt_prog_compiler_wl='-Wl,'
9624         lt_prog_compiler_pic='--shared'
9625         lt_prog_compiler_static='--static'
9626         ;;
9627       nagfor*)
9628         # NAG Fortran compiler
9629         lt_prog_compiler_wl='-Wl,-Wl,,'
9630         lt_prog_compiler_pic='-PIC'
9631         lt_prog_compiler_static='-Bstatic'
9632         ;;
9633       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9634         # Portland Group compilers (*not* the Pentium gcc compiler,
9635         # which looks to be a dead project)
9636         lt_prog_compiler_wl='-Wl,'
9637         lt_prog_compiler_pic='-fpic'
9638         lt_prog_compiler_static='-Bstatic'
9639         ;;
9640       ccc*)
9641         lt_prog_compiler_wl='-Wl,'
9642         # All Alpha code is PIC.
9643         lt_prog_compiler_static='-non_shared'
9644         ;;
9645       xl* | bgxl* | bgf* | mpixl*)
9646         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9647         lt_prog_compiler_wl='-Wl,'
9648         lt_prog_compiler_pic='-qpic'
9649         lt_prog_compiler_static='-qstaticlink'
9650         ;;
9651       *)
9652         case `$CC -V 2>&1 | sed 5q` in
9653         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9654           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9655           lt_prog_compiler_pic='-KPIC'
9656           lt_prog_compiler_static='-Bstatic'
9657           lt_prog_compiler_wl=''
9658           ;;
9659         *Sun\ F* | *Sun*Fortran*)
9660           lt_prog_compiler_pic='-KPIC'
9661           lt_prog_compiler_static='-Bstatic'
9662           lt_prog_compiler_wl='-Qoption ld '
9663           ;;
9664         *Sun\ C*)
9665           # Sun C 5.9
9666           lt_prog_compiler_pic='-KPIC'
9667           lt_prog_compiler_static='-Bstatic'
9668           lt_prog_compiler_wl='-Wl,'
9669           ;;
9670         *Intel*\ [CF]*Compiler*)
9671           lt_prog_compiler_wl='-Wl,'
9672           lt_prog_compiler_pic='-fPIC'
9673           lt_prog_compiler_static='-static'
9674           ;;
9675         *Portland\ Group*)
9676           lt_prog_compiler_wl='-Wl,'
9677           lt_prog_compiler_pic='-fpic'
9678           lt_prog_compiler_static='-Bstatic'
9679           ;;
9680         esac
9681         ;;
9682       esac
9683       ;;
9684
9685     newsos6)
9686       lt_prog_compiler_pic='-KPIC'
9687       lt_prog_compiler_static='-Bstatic'
9688       ;;
9689
9690     *nto* | *qnx*)
9691       # QNX uses GNU C++, but need to define -shared option too, otherwise
9692       # it will coredump.
9693       lt_prog_compiler_pic='-fPIC -shared'
9694       ;;
9695
9696     osf3* | osf4* | osf5*)
9697       lt_prog_compiler_wl='-Wl,'
9698       # All OSF/1 code is PIC.
9699       lt_prog_compiler_static='-non_shared'
9700       ;;
9701
9702     rdos*)
9703       lt_prog_compiler_static='-non_shared'
9704       ;;
9705
9706     solaris*)
9707       lt_prog_compiler_pic='-KPIC'
9708       lt_prog_compiler_static='-Bstatic'
9709       case $cc_basename in
9710       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9711         lt_prog_compiler_wl='-Qoption ld ';;
9712       *)
9713         lt_prog_compiler_wl='-Wl,';;
9714       esac
9715       ;;
9716
9717     sunos4*)
9718       lt_prog_compiler_wl='-Qoption ld '
9719       lt_prog_compiler_pic='-PIC'
9720       lt_prog_compiler_static='-Bstatic'
9721       ;;
9722
9723     sysv4 | sysv4.2uw2* | sysv4.3*)
9724       lt_prog_compiler_wl='-Wl,'
9725       lt_prog_compiler_pic='-KPIC'
9726       lt_prog_compiler_static='-Bstatic'
9727       ;;
9728
9729     sysv4*MP*)
9730       if test -d /usr/nec ;then
9731         lt_prog_compiler_pic='-Kconform_pic'
9732         lt_prog_compiler_static='-Bstatic'
9733       fi
9734       ;;
9735
9736     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9737       lt_prog_compiler_wl='-Wl,'
9738       lt_prog_compiler_pic='-KPIC'
9739       lt_prog_compiler_static='-Bstatic'
9740       ;;
9741
9742     unicos*)
9743       lt_prog_compiler_wl='-Wl,'
9744       lt_prog_compiler_can_build_shared=no
9745       ;;
9746
9747     uts4*)
9748       lt_prog_compiler_pic='-pic'
9749       lt_prog_compiler_static='-Bstatic'
9750       ;;
9751
9752     *)
9753       lt_prog_compiler_can_build_shared=no
9754       ;;
9755     esac
9756   fi
9757
9758 case $host_os in
9759   # For platforms which do not support PIC, -DPIC is meaningless:
9760   *djgpp*)
9761     lt_prog_compiler_pic=
9762     ;;
9763   *)
9764     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9765     ;;
9766 esac
9767
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9769 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9770 if ${lt_cv_prog_compiler_pic+:} false; then :
9771   $as_echo_n "(cached) " >&6
9772 else
9773   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9774 fi
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9776 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9777 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9778
9779 #
9780 # Check to make sure the PIC flag actually works.
9781 #
9782 if test -n "$lt_prog_compiler_pic"; then
9783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9784 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9785 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9786   $as_echo_n "(cached) " >&6
9787 else
9788   lt_cv_prog_compiler_pic_works=no
9789    ac_outfile=conftest.$ac_objext
9790    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9791    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9792    # Insert the option either (1) after the last *FLAGS variable, or
9793    # (2) before a word containing "conftest.", or (3) at the end.
9794    # Note that $ac_compile itself does not contain backslashes and begins
9795    # with a dollar sign (not a hyphen), so the echo should work correctly.
9796    # The option is referenced via a variable to avoid confusing sed.
9797    lt_compile=`echo "$ac_compile" | $SED \
9798    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9799    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9800    -e 's:$: $lt_compiler_flag:'`
9801    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9802    (eval "$lt_compile" 2>conftest.err)
9803    ac_status=$?
9804    cat conftest.err >&5
9805    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806    if (exit $ac_status) && test -s "$ac_outfile"; then
9807      # The compiler can only warn and ignore the option if not recognized
9808      # So say no if there are warnings other than the usual output.
9809      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9810      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9811      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9812        lt_cv_prog_compiler_pic_works=yes
9813      fi
9814    fi
9815    $RM conftest*
9816
9817 fi
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9819 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9820
9821 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9822     case $lt_prog_compiler_pic in
9823      "" | " "*) ;;
9824      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9825      esac
9826 else
9827     lt_prog_compiler_pic=
9828      lt_prog_compiler_can_build_shared=no
9829 fi
9830
9831 fi
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843 #
9844 # Check to make sure the static flag actually works.
9845 #
9846 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9848 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9849 if ${lt_cv_prog_compiler_static_works+:} false; then :
9850   $as_echo_n "(cached) " >&6
9851 else
9852   lt_cv_prog_compiler_static_works=no
9853    save_LDFLAGS="$LDFLAGS"
9854    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9855    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9856    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9857      # The linker can only warn and ignore the option if not recognized
9858      # So say no if there are warnings
9859      if test -s conftest.err; then
9860        # Append any errors to the config.log.
9861        cat conftest.err 1>&5
9862        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9863        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9864        if diff conftest.exp conftest.er2 >/dev/null; then
9865          lt_cv_prog_compiler_static_works=yes
9866        fi
9867      else
9868        lt_cv_prog_compiler_static_works=yes
9869      fi
9870    fi
9871    $RM -r conftest*
9872    LDFLAGS="$save_LDFLAGS"
9873
9874 fi
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9876 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9877
9878 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9879     :
9880 else
9881     lt_prog_compiler_static=
9882 fi
9883
9884
9885
9886
9887
9888
9889
9890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9892 if ${lt_cv_prog_compiler_c_o+:} false; then :
9893   $as_echo_n "(cached) " >&6
9894 else
9895   lt_cv_prog_compiler_c_o=no
9896    $RM -r conftest 2>/dev/null
9897    mkdir conftest
9898    cd conftest
9899    mkdir out
9900    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9901
9902    lt_compiler_flag="-o out/conftest2.$ac_objext"
9903    # Insert the option either (1) after the last *FLAGS variable, or
9904    # (2) before a word containing "conftest.", or (3) at the end.
9905    # Note that $ac_compile itself does not contain backslashes and begins
9906    # with a dollar sign (not a hyphen), so the echo should work correctly.
9907    lt_compile=`echo "$ac_compile" | $SED \
9908    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9909    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9910    -e 's:$: $lt_compiler_flag:'`
9911    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9912    (eval "$lt_compile" 2>out/conftest.err)
9913    ac_status=$?
9914    cat out/conftest.err >&5
9915    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9917    then
9918      # The compiler can only warn and ignore the option if not recognized
9919      # So say no if there are warnings
9920      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9921      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9922      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9923        lt_cv_prog_compiler_c_o=yes
9924      fi
9925    fi
9926    chmod u+w . 2>&5
9927    $RM conftest*
9928    # SGI C++ compiler will create directory out/ii_files/ for
9929    # template instantiation
9930    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9931    $RM out/* && rmdir out
9932    cd ..
9933    $RM -r conftest
9934    $RM conftest*
9935
9936 fi
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9938 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9939
9940
9941
9942
9943
9944
9945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9946 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9947 if ${lt_cv_prog_compiler_c_o+:} false; then :
9948   $as_echo_n "(cached) " >&6
9949 else
9950   lt_cv_prog_compiler_c_o=no
9951    $RM -r conftest 2>/dev/null
9952    mkdir conftest
9953    cd conftest
9954    mkdir out
9955    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9956
9957    lt_compiler_flag="-o out/conftest2.$ac_objext"
9958    # Insert the option either (1) after the last *FLAGS variable, or
9959    # (2) before a word containing "conftest.", or (3) at the end.
9960    # Note that $ac_compile itself does not contain backslashes and begins
9961    # with a dollar sign (not a hyphen), so the echo should work correctly.
9962    lt_compile=`echo "$ac_compile" | $SED \
9963    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9964    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9965    -e 's:$: $lt_compiler_flag:'`
9966    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9967    (eval "$lt_compile" 2>out/conftest.err)
9968    ac_status=$?
9969    cat out/conftest.err >&5
9970    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9972    then
9973      # The compiler can only warn and ignore the option if not recognized
9974      # So say no if there are warnings
9975      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9976      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9977      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9978        lt_cv_prog_compiler_c_o=yes
9979      fi
9980    fi
9981    chmod u+w . 2>&5
9982    $RM conftest*
9983    # SGI C++ compiler will create directory out/ii_files/ for
9984    # template instantiation
9985    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9986    $RM out/* && rmdir out
9987    cd ..
9988    $RM -r conftest
9989    $RM conftest*
9990
9991 fi
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9993 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9994
9995
9996
9997
9998 hard_links="nottested"
9999 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10000   # do not overwrite the value of need_locks provided by the user
10001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10002 $as_echo_n "checking if we can lock with hard links... " >&6; }
10003   hard_links=yes
10004   $RM conftest*
10005   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10006   touch conftest.a
10007   ln conftest.a conftest.b 2>&5 || hard_links=no
10008   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10010 $as_echo "$hard_links" >&6; }
10011   if test "$hard_links" = no; then
10012     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10013 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10014     need_locks=warn
10015   fi
10016 else
10017   need_locks=no
10018 fi
10019
10020
10021
10022
10023
10024
10025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10026 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10027
10028   runpath_var=
10029   allow_undefined_flag=
10030   always_export_symbols=no
10031   archive_cmds=
10032   archive_expsym_cmds=
10033   compiler_needs_object=no
10034   enable_shared_with_static_runtimes=no
10035   export_dynamic_flag_spec=
10036   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10037   hardcode_automatic=no
10038   hardcode_direct=no
10039   hardcode_direct_absolute=no
10040   hardcode_libdir_flag_spec=
10041   hardcode_libdir_separator=
10042   hardcode_minus_L=no
10043   hardcode_shlibpath_var=unsupported
10044   inherit_rpath=no
10045   link_all_deplibs=unknown
10046   module_cmds=
10047   module_expsym_cmds=
10048   old_archive_from_new_cmds=
10049   old_archive_from_expsyms_cmds=
10050   thread_safe_flag_spec=
10051   whole_archive_flag_spec=
10052   # include_expsyms should be a list of space-separated symbols to be *always*
10053   # included in the symbol list
10054   include_expsyms=
10055   # exclude_expsyms can be an extended regexp of symbols to exclude
10056   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10057   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10058   # as well as any symbol that contains `d'.
10059   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10060   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10061   # platforms (ab)use it in PIC code, but their linkers get confused if
10062   # the symbol is explicitly referenced.  Since portable code cannot
10063   # rely on this symbol name, it's probably fine to never include it in
10064   # preloaded symbol tables.
10065   # Exclude shared library initialization/finalization symbols.
10066   extract_expsyms_cmds=
10067
10068   case $host_os in
10069   cygwin* | mingw* | pw32* | cegcc*)
10070     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10071     # When not using gcc, we currently assume that we are using
10072     # Microsoft Visual C++.
10073     if test "$GCC" != yes; then
10074       with_gnu_ld=no
10075     fi
10076     ;;
10077   interix*)
10078     # we just hope/assume this is gcc and not c89 (= MSVC++)
10079     with_gnu_ld=yes
10080     ;;
10081   openbsd*)
10082     with_gnu_ld=no
10083     ;;
10084   esac
10085
10086   ld_shlibs=yes
10087
10088   # On some targets, GNU ld is compatible enough with the native linker
10089   # that we're better off using the native interface for both.
10090   lt_use_gnu_ld_interface=no
10091   if test "$with_gnu_ld" = yes; then
10092     case $host_os in
10093       aix*)
10094         # The AIX port of GNU ld has always aspired to compatibility
10095         # with the native linker.  However, as the warning in the GNU ld
10096         # block says, versions before 2.19.5* couldn't really create working
10097         # shared libraries, regardless of the interface used.
10098         case `$LD -v 2>&1` in
10099           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10100           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10101           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10102           *)
10103             lt_use_gnu_ld_interface=yes
10104             ;;
10105         esac
10106         ;;
10107       *)
10108         lt_use_gnu_ld_interface=yes
10109         ;;
10110     esac
10111   fi
10112
10113   if test "$lt_use_gnu_ld_interface" = yes; then
10114     # If archive_cmds runs LD, not CC, wlarc should be empty
10115     wlarc='${wl}'
10116
10117     # Set some defaults for GNU ld with shared library support. These
10118     # are reset later if shared libraries are not supported. Putting them
10119     # here allows them to be overridden if necessary.
10120     runpath_var=LD_RUN_PATH
10121     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10122     export_dynamic_flag_spec='${wl}--export-dynamic'
10123     # ancient GNU ld didn't support --whole-archive et. al.
10124     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10125       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10126     else
10127       whole_archive_flag_spec=
10128     fi
10129     supports_anon_versioning=no
10130     case `$LD -v 2>&1` in
10131       *GNU\ gold*) supports_anon_versioning=yes ;;
10132       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10133       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10134       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10135       *\ 2.11.*) ;; # other 2.11 versions
10136       *) supports_anon_versioning=yes ;;
10137     esac
10138
10139     # See if GNU ld supports shared libraries.
10140     case $host_os in
10141     aix[3-9]*)
10142       # On AIX/PPC, the GNU linker is very broken
10143       if test "$host_cpu" != ia64; then
10144         ld_shlibs=no
10145         cat <<_LT_EOF 1>&2
10146
10147 *** Warning: the GNU linker, at least up to release 2.19, is reported
10148 *** to be unable to reliably create shared libraries on AIX.
10149 *** Therefore, libtool is disabling shared libraries support.  If you
10150 *** really care for shared libraries, you may want to install binutils
10151 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10152 *** You will then need to restart the configuration process.
10153
10154 _LT_EOF
10155       fi
10156       ;;
10157
10158     amigaos*)
10159       case $host_cpu in
10160       powerpc)
10161             # see comment about AmigaOS4 .so support
10162             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10163             archive_expsym_cmds=''
10164         ;;
10165       m68k)
10166             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)'
10167             hardcode_libdir_flag_spec='-L$libdir'
10168             hardcode_minus_L=yes
10169         ;;
10170       esac
10171       ;;
10172
10173     beos*)
10174       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10175         allow_undefined_flag=unsupported
10176         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10177         # support --undefined.  This deserves some investigation.  FIXME
10178         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10179       else
10180         ld_shlibs=no
10181       fi
10182       ;;
10183
10184     cygwin* | mingw* | pw32* | cegcc*)
10185       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10186       # as there is no search path for DLLs.
10187       hardcode_libdir_flag_spec='-L$libdir'
10188       export_dynamic_flag_spec='${wl}--export-all-symbols'
10189       allow_undefined_flag=unsupported
10190       always_export_symbols=no
10191       enable_shared_with_static_runtimes=yes
10192       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10193       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10194
10195       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10196         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10197         # If the export-symbols file already is a .def file (1st line
10198         # is EXPORTS), use it as is; otherwise, prepend...
10199         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10200           cp $export_symbols $output_objdir/$soname.def;
10201         else
10202           echo EXPORTS > $output_objdir/$soname.def;
10203           cat $export_symbols >> $output_objdir/$soname.def;
10204         fi~
10205         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10206       else
10207         ld_shlibs=no
10208       fi
10209       ;;
10210
10211     haiku*)
10212       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10213       link_all_deplibs=yes
10214       ;;
10215
10216     interix[3-9]*)
10217       hardcode_direct=no
10218       hardcode_shlibpath_var=no
10219       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10220       export_dynamic_flag_spec='${wl}-E'
10221       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10222       # Instead, shared libraries are loaded at an image base (0x10000000 by
10223       # default) and relocated if they conflict, which is a slow very memory
10224       # consuming and fragmenting process.  To avoid this, we pick a random,
10225       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10226       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10227       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10228       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'
10229       ;;
10230
10231     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10232       tmp_diet=no
10233       if test "$host_os" = linux-dietlibc; then
10234         case $cc_basename in
10235           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10236         esac
10237       fi
10238       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10239          && test "$tmp_diet" = no
10240       then
10241         tmp_addflag=' $pic_flag'
10242         tmp_sharedflag='-shared'
10243         case $cc_basename,$host_cpu in
10244         pgcc*)                          # Portland Group C compiler
10245           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10246           tmp_addflag=' $pic_flag'
10247           ;;
10248         pgf77* | pgf90* | pgf95* | pgfortran*)
10249                                         # Portland Group f77 and f90 compilers
10250           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10251           tmp_addflag=' $pic_flag -Mnomain' ;;
10252         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10253           tmp_addflag=' -i_dynamic' ;;
10254         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10255           tmp_addflag=' -i_dynamic -nofor_main' ;;
10256         ifc* | ifort*)                  # Intel Fortran compiler
10257           tmp_addflag=' -nofor_main' ;;
10258         lf95*)                          # Lahey Fortran 8.1
10259           whole_archive_flag_spec=
10260           tmp_sharedflag='--shared' ;;
10261         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10262           tmp_sharedflag='-qmkshrobj'
10263           tmp_addflag= ;;
10264         nvcc*)  # Cuda Compiler Driver 2.2
10265           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10266           compiler_needs_object=yes
10267           ;;
10268         esac
10269         case `$CC -V 2>&1 | sed 5q` in
10270         *Sun\ C*)                       # Sun C 5.9
10271           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10272           compiler_needs_object=yes
10273           tmp_sharedflag='-G' ;;
10274         *Sun\ F*)                       # Sun Fortran 8.3
10275           tmp_sharedflag='-G' ;;
10276         esac
10277         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10278
10279         if test "x$supports_anon_versioning" = xyes; then
10280           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10281             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10282             echo "local: *; };" >> $output_objdir/$libname.ver~
10283             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10284         fi
10285
10286         case $cc_basename in
10287         xlf* | bgf* | bgxlf* | mpixlf*)
10288           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10289           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10290           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10291           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10292           if test "x$supports_anon_versioning" = xyes; then
10293             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10294               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10295               echo "local: *; };" >> $output_objdir/$libname.ver~
10296               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10297           fi
10298           ;;
10299         esac
10300       else
10301         ld_shlibs=no
10302       fi
10303       ;;
10304
10305     netbsd*)
10306       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10307         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10308         wlarc=
10309       else
10310         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10311         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10312       fi
10313       ;;
10314
10315     solaris*)
10316       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10317         ld_shlibs=no
10318         cat <<_LT_EOF 1>&2
10319
10320 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10321 *** create shared libraries on Solaris systems.  Therefore, libtool
10322 *** is disabling shared libraries support.  We urge you to upgrade GNU
10323 *** binutils to release 2.9.1 or newer.  Another option is to modify
10324 *** your PATH or compiler configuration so that the native linker is
10325 *** used, and then restart.
10326
10327 _LT_EOF
10328       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10329         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10330         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10331       else
10332         ld_shlibs=no
10333       fi
10334       ;;
10335
10336     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10337       case `$LD -v 2>&1` in
10338         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10339         ld_shlibs=no
10340         cat <<_LT_EOF 1>&2
10341
10342 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10343 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10344 *** is disabling shared libraries support.  We urge you to upgrade GNU
10345 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10346 *** your PATH or compiler configuration so that the native linker is
10347 *** used, and then restart.
10348
10349 _LT_EOF
10350         ;;
10351         *)
10352           # For security reasons, it is highly recommended that you always
10353           # use absolute paths for naming shared libraries, and exclude the
10354           # DT_RUNPATH tag from executables and libraries.  But doing so
10355           # requires that you compile everything twice, which is a pain.
10356           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10357             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10358             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10359             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10360           else
10361             ld_shlibs=no
10362           fi
10363         ;;
10364       esac
10365       ;;
10366
10367     sunos4*)
10368       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10369       wlarc=
10370       hardcode_direct=yes
10371       hardcode_shlibpath_var=no
10372       ;;
10373
10374     *)
10375       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10376         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10377         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10378       else
10379         ld_shlibs=no
10380       fi
10381       ;;
10382     esac
10383
10384     if test "$ld_shlibs" = no; then
10385       runpath_var=
10386       hardcode_libdir_flag_spec=
10387       export_dynamic_flag_spec=
10388       whole_archive_flag_spec=
10389     fi
10390   else
10391     # PORTME fill in a description of your system's linker (not GNU ld)
10392     case $host_os in
10393     aix3*)
10394       allow_undefined_flag=unsupported
10395       always_export_symbols=yes
10396       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'
10397       # Note: this linker hardcodes the directories in LIBPATH if there
10398       # are no directories specified by -L.
10399       hardcode_minus_L=yes
10400       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10401         # Neither direct hardcoding nor static linking is supported with a
10402         # broken collect2.
10403         hardcode_direct=unsupported
10404       fi
10405       ;;
10406
10407     aix[4-9]*)
10408       if test "$host_cpu" = ia64; then
10409         # On IA64, the linker does run time linking by default, so we don't
10410         # have to do anything special.
10411         aix_use_runtimelinking=no
10412         exp_sym_flag='-Bexport'
10413         no_entry_flag=""
10414       else
10415         # If we're using GNU nm, then we don't want the "-C" option.
10416         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10417         # Also, AIX nm treats weak defined symbols like other global
10418         # defined symbols, whereas GNU nm marks them as "W".
10419         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10420           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10421         else
10422           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'
10423         fi
10424         aix_use_runtimelinking=no
10425
10426         # Test if we are trying to use run time linking or normal
10427         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10428         # need to do runtime linking.
10429         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10430           for ld_flag in $LDFLAGS; do
10431           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10432             aix_use_runtimelinking=yes
10433             break
10434           fi
10435           done
10436           ;;
10437         esac
10438
10439         exp_sym_flag='-bexport'
10440         no_entry_flag='-bnoentry'
10441       fi
10442
10443       # When large executables or shared objects are built, AIX ld can
10444       # have problems creating the table of contents.  If linking a library
10445       # or program results in "error TOC overflow" add -mminimal-toc to
10446       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10447       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10448
10449       archive_cmds=''
10450       hardcode_direct=yes
10451       hardcode_direct_absolute=yes
10452       hardcode_libdir_separator=':'
10453       link_all_deplibs=yes
10454       file_list_spec='${wl}-f,'
10455
10456       if test "$GCC" = yes; then
10457         case $host_os in aix4.[012]|aix4.[012].*)
10458         # We only want to do this on AIX 4.2 and lower, the check
10459         # below for broken collect2 doesn't work under 4.3+
10460           collect2name=`${CC} -print-prog-name=collect2`
10461           if test -f "$collect2name" &&
10462            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10463           then
10464           # We have reworked collect2
10465           :
10466           else
10467           # We have old collect2
10468           hardcode_direct=unsupported
10469           # It fails to find uninstalled libraries when the uninstalled
10470           # path is not listed in the libpath.  Setting hardcode_minus_L
10471           # to unsupported forces relinking
10472           hardcode_minus_L=yes
10473           hardcode_libdir_flag_spec='-L$libdir'
10474           hardcode_libdir_separator=
10475           fi
10476           ;;
10477         esac
10478         shared_flag='-shared'
10479         if test "$aix_use_runtimelinking" = yes; then
10480           shared_flag="$shared_flag "'${wl}-G'
10481         fi
10482       else
10483         # not using gcc
10484         if test "$host_cpu" = ia64; then
10485         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10486         # chokes on -Wl,-G. The following line is correct:
10487           shared_flag='-G'
10488         else
10489           if test "$aix_use_runtimelinking" = yes; then
10490             shared_flag='${wl}-G'
10491           else
10492             shared_flag='${wl}-bM:SRE'
10493           fi
10494         fi
10495       fi
10496
10497       export_dynamic_flag_spec='${wl}-bexpall'
10498       # It seems that -bexpall does not export symbols beginning with
10499       # underscore (_), so it is better to generate a list of symbols to export.
10500       always_export_symbols=yes
10501       if test "$aix_use_runtimelinking" = yes; then
10502         # Warning - without using the other runtime loading flags (-brtl),
10503         # -berok will link without error, but may produce a broken library.
10504         allow_undefined_flag='-berok'
10505         # Determine the default libpath from the value encoded in an
10506         # empty executable.
10507         if test "${lt_cv_aix_libpath+set}" = set; then
10508   aix_libpath=$lt_cv_aix_libpath
10509 else
10510   if ${lt_cv_aix_libpath_+:} false; then :
10511   $as_echo_n "(cached) " >&6
10512 else
10513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h.  */
10515
10516 int
10517 main ()
10518 {
10519
10520   ;
10521   return 0;
10522 }
10523 _ACEOF
10524 if ac_fn_c_try_link "$LINENO"; then :
10525
10526   lt_aix_libpath_sed='
10527       /Import File Strings/,/^$/ {
10528           /^0/ {
10529               s/^0  *\([^ ]*\) *$/\1/
10530               p
10531           }
10532       }'
10533   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10534   # Check for a 64-bit object if we didn't find anything.
10535   if test -z "$lt_cv_aix_libpath_"; then
10536     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10537   fi
10538 fi
10539 rm -f core conftest.err conftest.$ac_objext \
10540     conftest$ac_exeext conftest.$ac_ext
10541   if test -z "$lt_cv_aix_libpath_"; then
10542     lt_cv_aix_libpath_="/usr/lib:/lib"
10543   fi
10544
10545 fi
10546
10547   aix_libpath=$lt_cv_aix_libpath_
10548 fi
10549
10550         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10551         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10552       else
10553         if test "$host_cpu" = ia64; then
10554           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10555           allow_undefined_flag="-z nodefs"
10556           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"
10557         else
10558          # Determine the default libpath from the value encoded in an
10559          # empty executable.
10560          if test "${lt_cv_aix_libpath+set}" = set; then
10561   aix_libpath=$lt_cv_aix_libpath
10562 else
10563   if ${lt_cv_aix_libpath_+:} false; then :
10564   $as_echo_n "(cached) " >&6
10565 else
10566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h.  */
10568
10569 int
10570 main ()
10571 {
10572
10573   ;
10574   return 0;
10575 }
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578
10579   lt_aix_libpath_sed='
10580       /Import File Strings/,/^$/ {
10581           /^0/ {
10582               s/^0  *\([^ ]*\) *$/\1/
10583               p
10584           }
10585       }'
10586   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10587   # Check for a 64-bit object if we didn't find anything.
10588   if test -z "$lt_cv_aix_libpath_"; then
10589     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10590   fi
10591 fi
10592 rm -f core conftest.err conftest.$ac_objext \
10593     conftest$ac_exeext conftest.$ac_ext
10594   if test -z "$lt_cv_aix_libpath_"; then
10595     lt_cv_aix_libpath_="/usr/lib:/lib"
10596   fi
10597
10598 fi
10599
10600   aix_libpath=$lt_cv_aix_libpath_
10601 fi
10602
10603          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10604           # Warning - without using the other run time loading flags,
10605           # -berok will link without error, but may produce a broken library.
10606           no_undefined_flag=' ${wl}-bernotok'
10607           allow_undefined_flag=' ${wl}-berok'
10608           if test "$with_gnu_ld" = yes; then
10609             # We only use this code for GNU lds that support --whole-archive.
10610             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10611           else
10612             # Exported symbols can be pulled into shared objects from archives
10613             whole_archive_flag_spec='$convenience'
10614           fi
10615           archive_cmds_need_lc=yes
10616           # This is similar to how AIX traditionally builds its shared libraries.
10617           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'
10618         fi
10619       fi
10620       ;;
10621
10622     amigaos*)
10623       case $host_cpu in
10624       powerpc)
10625             # see comment about AmigaOS4 .so support
10626             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10627             archive_expsym_cmds=''
10628         ;;
10629       m68k)
10630             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)'
10631             hardcode_libdir_flag_spec='-L$libdir'
10632             hardcode_minus_L=yes
10633         ;;
10634       esac
10635       ;;
10636
10637     bsdi[45]*)
10638       export_dynamic_flag_spec=-rdynamic
10639       ;;
10640
10641     cygwin* | mingw* | pw32* | cegcc*)
10642       # When not using gcc, we currently assume that we are using
10643       # Microsoft Visual C++.
10644       # hardcode_libdir_flag_spec is actually meaningless, as there is
10645       # no search path for DLLs.
10646       case $cc_basename in
10647       cl*)
10648         # Native MSVC
10649         hardcode_libdir_flag_spec=' '
10650         allow_undefined_flag=unsupported
10651         always_export_symbols=yes
10652         file_list_spec='@'
10653         # Tell ltmain to make .lib files, not .a files.
10654         libext=lib
10655         # Tell ltmain to make .dll files, not .so files.
10656         shrext_cmds=".dll"
10657         # FIXME: Setting linknames here is a bad hack.
10658         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10659         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10660             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10661           else
10662             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10663           fi~
10664           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10665           linknames='
10666         # The linker will not automatically build a static lib if we build a DLL.
10667         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10668         enable_shared_with_static_runtimes=yes
10669         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10670         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10671         # Don't use ranlib
10672         old_postinstall_cmds='chmod 644 $oldlib'
10673         postlink_cmds='lt_outputfile="@OUTPUT@"~
10674           lt_tool_outputfile="@TOOL_OUTPUT@"~
10675           case $lt_outputfile in
10676             *.exe|*.EXE) ;;
10677             *)
10678               lt_outputfile="$lt_outputfile.exe"
10679               lt_tool_outputfile="$lt_tool_outputfile.exe"
10680               ;;
10681           esac~
10682           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10683             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10684             $RM "$lt_outputfile.manifest";
10685           fi'
10686         ;;
10687       *)
10688         # Assume MSVC wrapper
10689         hardcode_libdir_flag_spec=' '
10690         allow_undefined_flag=unsupported
10691         # Tell ltmain to make .lib files, not .a files.
10692         libext=lib
10693         # Tell ltmain to make .dll files, not .so files.
10694         shrext_cmds=".dll"
10695         # FIXME: Setting linknames here is a bad hack.
10696         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10697         # The linker will automatically build a .lib file if we build a DLL.
10698         old_archive_from_new_cmds='true'
10699         # FIXME: Should let the user specify the lib program.
10700         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10701         enable_shared_with_static_runtimes=yes
10702         ;;
10703       esac
10704       ;;
10705
10706     darwin* | rhapsody*)
10707
10708
10709   archive_cmds_need_lc=no
10710   hardcode_direct=no
10711   hardcode_automatic=yes
10712   hardcode_shlibpath_var=unsupported
10713   if test "$lt_cv_ld_force_load" = "yes"; then
10714     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10715
10716   else
10717     whole_archive_flag_spec=''
10718   fi
10719   link_all_deplibs=yes
10720   allow_undefined_flag="$_lt_dar_allow_undefined"
10721   case $cc_basename in
10722      ifort*) _lt_dar_can_shared=yes ;;
10723      *) _lt_dar_can_shared=$GCC ;;
10724   esac
10725   if test "$_lt_dar_can_shared" = "yes"; then
10726     output_verbose_link_cmd=func_echo_all
10727     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10728     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10729     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}"
10730     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}"
10731
10732   else
10733   ld_shlibs=no
10734   fi
10735
10736       ;;
10737
10738     dgux*)
10739       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10740       hardcode_libdir_flag_spec='-L$libdir'
10741       hardcode_shlibpath_var=no
10742       ;;
10743
10744     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10745     # support.  Future versions do this automatically, but an explicit c++rt0.o
10746     # does not break anything, and helps significantly (at the cost of a little
10747     # extra space).
10748     freebsd2.2*)
10749       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10750       hardcode_libdir_flag_spec='-R$libdir'
10751       hardcode_direct=yes
10752       hardcode_shlibpath_var=no
10753       ;;
10754
10755     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10756     freebsd2.*)
10757       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10758       hardcode_direct=yes
10759       hardcode_minus_L=yes
10760       hardcode_shlibpath_var=no
10761       ;;
10762
10763     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10764     freebsd* | dragonfly*)
10765       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10766       hardcode_libdir_flag_spec='-R$libdir'
10767       hardcode_direct=yes
10768       hardcode_shlibpath_var=no
10769       ;;
10770
10771     hpux9*)
10772       if test "$GCC" = yes; then
10773         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10774       else
10775         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'
10776       fi
10777       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10778       hardcode_libdir_separator=:
10779       hardcode_direct=yes
10780
10781       # hardcode_minus_L: Not really in the search PATH,
10782       # but as the default location of the library.
10783       hardcode_minus_L=yes
10784       export_dynamic_flag_spec='${wl}-E'
10785       ;;
10786
10787     hpux10*)
10788       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10789         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10790       else
10791         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10792       fi
10793       if test "$with_gnu_ld" = no; then
10794         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10795         hardcode_libdir_separator=:
10796         hardcode_direct=yes
10797         hardcode_direct_absolute=yes
10798         export_dynamic_flag_spec='${wl}-E'
10799         # hardcode_minus_L: Not really in the search PATH,
10800         # but as the default location of the library.
10801         hardcode_minus_L=yes
10802       fi
10803       ;;
10804
10805     hpux11*)
10806       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10807         case $host_cpu in
10808         hppa*64*)
10809           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10810           ;;
10811         ia64*)
10812           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10813           ;;
10814         *)
10815           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10816           ;;
10817         esac
10818       else
10819         case $host_cpu in
10820         hppa*64*)
10821           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10822           ;;
10823         ia64*)
10824           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10825           ;;
10826         *)
10827
10828           # Older versions of the 11.00 compiler do not understand -b yet
10829           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10830           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10831 $as_echo_n "checking if $CC understands -b... " >&6; }
10832 if ${lt_cv_prog_compiler__b+:} false; then :
10833   $as_echo_n "(cached) " >&6
10834 else
10835   lt_cv_prog_compiler__b=no
10836    save_LDFLAGS="$LDFLAGS"
10837    LDFLAGS="$LDFLAGS -b"
10838    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10839    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10840      # The linker can only warn and ignore the option if not recognized
10841      # So say no if there are warnings
10842      if test -s conftest.err; then
10843        # Append any errors to the config.log.
10844        cat conftest.err 1>&5
10845        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10846        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10847        if diff conftest.exp conftest.er2 >/dev/null; then
10848          lt_cv_prog_compiler__b=yes
10849        fi
10850      else
10851        lt_cv_prog_compiler__b=yes
10852      fi
10853    fi
10854    $RM -r conftest*
10855    LDFLAGS="$save_LDFLAGS"
10856
10857 fi
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10859 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10860
10861 if test x"$lt_cv_prog_compiler__b" = xyes; then
10862     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10863 else
10864     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10865 fi
10866
10867           ;;
10868         esac
10869       fi
10870       if test "$with_gnu_ld" = no; then
10871         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10872         hardcode_libdir_separator=:
10873
10874         case $host_cpu in
10875         hppa*64*|ia64*)
10876           hardcode_direct=no
10877           hardcode_shlibpath_var=no
10878           ;;
10879         *)
10880           hardcode_direct=yes
10881           hardcode_direct_absolute=yes
10882           export_dynamic_flag_spec='${wl}-E'
10883
10884           # hardcode_minus_L: Not really in the search PATH,
10885           # but as the default location of the library.
10886           hardcode_minus_L=yes
10887           ;;
10888         esac
10889       fi
10890       ;;
10891
10892     irix5* | irix6* | nonstopux*)
10893       if test "$GCC" = yes; then
10894         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10895         # Try to use the -exported_symbol ld option, if it does not
10896         # work, assume that -exports_file does not work either and
10897         # implicitly export all symbols.
10898         # This should be the same for all languages, so no per-tag cache variable.
10899         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10900 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10901 if ${lt_cv_irix_exported_symbol+:} false; then :
10902   $as_echo_n "(cached) " >&6
10903 else
10904   save_LDFLAGS="$LDFLAGS"
10905            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10906            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h.  */
10908 int foo (void) { return 0; }
10909 _ACEOF
10910 if ac_fn_c_try_link "$LINENO"; then :
10911   lt_cv_irix_exported_symbol=yes
10912 else
10913   lt_cv_irix_exported_symbol=no
10914 fi
10915 rm -f core conftest.err conftest.$ac_objext \
10916     conftest$ac_exeext conftest.$ac_ext
10917            LDFLAGS="$save_LDFLAGS"
10918 fi
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10920 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10921         if test "$lt_cv_irix_exported_symbol" = yes; then
10922           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10923         fi
10924       else
10925         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10926         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10927       fi
10928       archive_cmds_need_lc='no'
10929       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10930       hardcode_libdir_separator=:
10931       inherit_rpath=yes
10932       link_all_deplibs=yes
10933       ;;
10934
10935     netbsd*)
10936       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10937         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10938       else
10939         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10940       fi
10941       hardcode_libdir_flag_spec='-R$libdir'
10942       hardcode_direct=yes
10943       hardcode_shlibpath_var=no
10944       ;;
10945
10946     newsos6)
10947       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10948       hardcode_direct=yes
10949       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10950       hardcode_libdir_separator=:
10951       hardcode_shlibpath_var=no
10952       ;;
10953
10954     *nto* | *qnx*)
10955       ;;
10956
10957     openbsd*)
10958       if test -f /usr/libexec/ld.so; then
10959         hardcode_direct=yes
10960         hardcode_shlibpath_var=no
10961         hardcode_direct_absolute=yes
10962         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10963           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10964           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10965           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10966           export_dynamic_flag_spec='${wl}-E'
10967         else
10968           case $host_os in
10969            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10970              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10971              hardcode_libdir_flag_spec='-R$libdir'
10972              ;;
10973            *)
10974              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10975              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10976              ;;
10977           esac
10978         fi
10979       else
10980         ld_shlibs=no
10981       fi
10982       ;;
10983
10984     os2*)
10985       hardcode_libdir_flag_spec='-L$libdir'
10986       hardcode_minus_L=yes
10987       allow_undefined_flag=unsupported
10988       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'
10989       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10990       ;;
10991
10992     osf3*)
10993       if test "$GCC" = yes; then
10994         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10995         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10996       else
10997         allow_undefined_flag=' -expect_unresolved \*'
10998         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10999       fi
11000       archive_cmds_need_lc='no'
11001       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11002       hardcode_libdir_separator=:
11003       ;;
11004
11005     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11006       if test "$GCC" = yes; then
11007         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11008         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11009         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11010       else
11011         allow_undefined_flag=' -expect_unresolved \*'
11012         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11013         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~
11014         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11015
11016         # Both c and cxx compiler support -rpath directly
11017         hardcode_libdir_flag_spec='-rpath $libdir'
11018       fi
11019       archive_cmds_need_lc='no'
11020       hardcode_libdir_separator=:
11021       ;;
11022
11023     solaris*)
11024       no_undefined_flag=' -z defs'
11025       if test "$GCC" = yes; then
11026         wlarc='${wl}'
11027         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11028         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11029           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11030       else
11031         case `$CC -V 2>&1` in
11032         *"Compilers 5.0"*)
11033           wlarc=''
11034           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11035           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11036           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11037           ;;
11038         *)
11039           wlarc='${wl}'
11040           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11041           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11042           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11043           ;;
11044         esac
11045       fi
11046       hardcode_libdir_flag_spec='-R$libdir'
11047       hardcode_shlibpath_var=no
11048       case $host_os in
11049       solaris2.[0-5] | solaris2.[0-5].*) ;;
11050       *)
11051         # The compiler driver will combine and reorder linker options,
11052         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11053         # but is careful enough not to reorder.
11054         # Supported since Solaris 2.6 (maybe 2.5.1?)
11055         if test "$GCC" = yes; then
11056           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11057         else
11058           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11059         fi
11060         ;;
11061       esac
11062       link_all_deplibs=yes
11063       ;;
11064
11065     sunos4*)
11066       if test "x$host_vendor" = xsequent; then
11067         # Use $CC to link under sequent, because it throws in some extra .o
11068         # files that make .init and .fini sections work.
11069         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11070       else
11071         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11072       fi
11073       hardcode_libdir_flag_spec='-L$libdir'
11074       hardcode_direct=yes
11075       hardcode_minus_L=yes
11076       hardcode_shlibpath_var=no
11077       ;;
11078
11079     sysv4)
11080       case $host_vendor in
11081         sni)
11082           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11083           hardcode_direct=yes # is this really true???
11084         ;;
11085         siemens)
11086           ## LD is ld it makes a PLAMLIB
11087           ## CC just makes a GrossModule.
11088           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11089           reload_cmds='$CC -r -o $output$reload_objs'
11090           hardcode_direct=no
11091         ;;
11092         motorola)
11093           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11094           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11095         ;;
11096       esac
11097       runpath_var='LD_RUN_PATH'
11098       hardcode_shlibpath_var=no
11099       ;;
11100
11101     sysv4.3*)
11102       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11103       hardcode_shlibpath_var=no
11104       export_dynamic_flag_spec='-Bexport'
11105       ;;
11106
11107     sysv4*MP*)
11108       if test -d /usr/nec; then
11109         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11110         hardcode_shlibpath_var=no
11111         runpath_var=LD_RUN_PATH
11112         hardcode_runpath_var=yes
11113         ld_shlibs=yes
11114       fi
11115       ;;
11116
11117     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11118       no_undefined_flag='${wl}-z,text'
11119       archive_cmds_need_lc=no
11120       hardcode_shlibpath_var=no
11121       runpath_var='LD_RUN_PATH'
11122
11123       if test "$GCC" = yes; then
11124         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11125         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11126       else
11127         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11128         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11129       fi
11130       ;;
11131
11132     sysv5* | sco3.2v5* | sco5v6*)
11133       # Note: We can NOT use -z defs as we might desire, because we do not
11134       # link with -lc, and that would cause any symbols used from libc to
11135       # always be unresolved, which means just about no library would
11136       # ever link correctly.  If we're not using GNU ld we use -z text
11137       # though, which does catch some bad symbols but isn't as heavy-handed
11138       # as -z defs.
11139       no_undefined_flag='${wl}-z,text'
11140       allow_undefined_flag='${wl}-z,nodefs'
11141       archive_cmds_need_lc=no
11142       hardcode_shlibpath_var=no
11143       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11144       hardcode_libdir_separator=':'
11145       link_all_deplibs=yes
11146       export_dynamic_flag_spec='${wl}-Bexport'
11147       runpath_var='LD_RUN_PATH'
11148
11149       if test "$GCC" = yes; then
11150         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11151         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11152       else
11153         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11154         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11155       fi
11156       ;;
11157
11158     uts4*)
11159       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11160       hardcode_libdir_flag_spec='-L$libdir'
11161       hardcode_shlibpath_var=no
11162       ;;
11163
11164     *)
11165       ld_shlibs=no
11166       ;;
11167     esac
11168
11169     if test x$host_vendor = xsni; then
11170       case $host in
11171       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11172         export_dynamic_flag_spec='${wl}-Blargedynsym'
11173         ;;
11174       esac
11175     fi
11176   fi
11177
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11179 $as_echo "$ld_shlibs" >&6; }
11180 test "$ld_shlibs" = no && can_build_shared=no
11181
11182 with_gnu_ld=$with_gnu_ld
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198 #
11199 # Do we need to explicitly link libc?
11200 #
11201 case "x$archive_cmds_need_lc" in
11202 x|xyes)
11203   # Assume -lc should be added
11204   archive_cmds_need_lc=yes
11205
11206   if test "$enable_shared" = yes && test "$GCC" = yes; then
11207     case $archive_cmds in
11208     *'~'*)
11209       # FIXME: we may have to deal with multi-command sequences.
11210       ;;
11211     '$CC '*)
11212       # Test whether the compiler implicitly links with -lc since on some
11213       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11214       # to ld, don't add -lc before -lgcc.
11215       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11216 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11217 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11218   $as_echo_n "(cached) " >&6
11219 else
11220   $RM conftest*
11221         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11222
11223         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11224   (eval $ac_compile) 2>&5
11225   ac_status=$?
11226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11227   test $ac_status = 0; } 2>conftest.err; then
11228           soname=conftest
11229           lib=conftest
11230           libobjs=conftest.$ac_objext
11231           deplibs=
11232           wl=$lt_prog_compiler_wl
11233           pic_flag=$lt_prog_compiler_pic
11234           compiler_flags=-v
11235           linker_flags=-v
11236           verstring=
11237           output_objdir=.
11238           libname=conftest
11239           lt_save_allow_undefined_flag=$allow_undefined_flag
11240           allow_undefined_flag=
11241           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11242   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11243   ac_status=$?
11244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11245   test $ac_status = 0; }
11246           then
11247             lt_cv_archive_cmds_need_lc=no
11248           else
11249             lt_cv_archive_cmds_need_lc=yes
11250           fi
11251           allow_undefined_flag=$lt_save_allow_undefined_flag
11252         else
11253           cat conftest.err 1>&5
11254         fi
11255         $RM conftest*
11256
11257 fi
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11259 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11260       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11261       ;;
11262     esac
11263   fi
11264   ;;
11265 esac
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11419 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11420
11421 if test "$GCC" = yes; then
11422   case $host_os in
11423     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11424     *) lt_awk_arg="/^libraries:/" ;;
11425   esac
11426   case $host_os in
11427     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11428     *) lt_sed_strip_eq="s,=/,/,g" ;;
11429   esac
11430   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11431   case $lt_search_path_spec in
11432   *\;*)
11433     # if the path contains ";" then we assume it to be the separator
11434     # otherwise default to the standard path separator (i.e. ":") - it is
11435     # assumed that no part of a normal pathname contains ";" but that should
11436     # okay in the real world where ";" in dirpaths is itself problematic.
11437     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11438     ;;
11439   *)
11440     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11441     ;;
11442   esac
11443   # Ok, now we have the path, separated by spaces, we can step through it
11444   # and add multilib dir if necessary.
11445   lt_tmp_lt_search_path_spec=
11446   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11447   for lt_sys_path in $lt_search_path_spec; do
11448     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11449       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11450     else
11451       test -d "$lt_sys_path" && \
11452         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11453     fi
11454   done
11455   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11456 BEGIN {RS=" "; FS="/|\n";} {
11457   lt_foo="";
11458   lt_count=0;
11459   for (lt_i = NF; lt_i > 0; lt_i--) {
11460     if ($lt_i != "" && $lt_i != ".") {
11461       if ($lt_i == "..") {
11462         lt_count++;
11463       } else {
11464         if (lt_count == 0) {
11465           lt_foo="/" $lt_i lt_foo;
11466         } else {
11467           lt_count--;
11468         }
11469       }
11470     }
11471   }
11472   if (lt_foo != "") { lt_freq[lt_foo]++; }
11473   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11474 }'`
11475   # AWK program above erroneously prepends '/' to C:/dos/paths
11476   # for these hosts.
11477   case $host_os in
11478     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11479       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11480   esac
11481   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11482 else
11483   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11484 fi
11485 library_names_spec=
11486 libname_spec='lib$name'
11487 soname_spec=
11488 shrext_cmds=".so"
11489 postinstall_cmds=
11490 postuninstall_cmds=
11491 finish_cmds=
11492 finish_eval=
11493 shlibpath_var=
11494 shlibpath_overrides_runpath=unknown
11495 version_type=none
11496 dynamic_linker="$host_os ld.so"
11497 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11498 need_lib_prefix=unknown
11499 hardcode_into_libs=no
11500
11501 # when you set need_version to no, make sure it does not cause -set_version
11502 # flags to be left without arguments
11503 need_version=unknown
11504
11505 case $host_os in
11506 aix3*)
11507   version_type=linux # correct to gnu/linux during the next big refactor
11508   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11509   shlibpath_var=LIBPATH
11510
11511   # AIX 3 has no versioning support, so we append a major version to the name.
11512   soname_spec='${libname}${release}${shared_ext}$major'
11513   ;;
11514
11515 aix[4-9]*)
11516   version_type=linux # correct to gnu/linux during the next big refactor
11517   need_lib_prefix=no
11518   need_version=no
11519   hardcode_into_libs=yes
11520   if test "$host_cpu" = ia64; then
11521     # AIX 5 supports IA64
11522     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11523     shlibpath_var=LD_LIBRARY_PATH
11524   else
11525     # With GCC up to 2.95.x, collect2 would create an import file
11526     # for dependence libraries.  The import file would start with
11527     # the line `#! .'.  This would cause the generated library to
11528     # depend on `.', always an invalid library.  This was fixed in
11529     # development snapshots of GCC prior to 3.0.
11530     case $host_os in
11531       aix4 | aix4.[01] | aix4.[01].*)
11532       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11533            echo ' yes '
11534            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11535         :
11536       else
11537         can_build_shared=no
11538       fi
11539       ;;
11540     esac
11541     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11542     # soname into executable. Probably we can add versioning support to
11543     # collect2, so additional links can be useful in future.
11544     if test "$aix_use_runtimelinking" = yes; then
11545       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11546       # instead of lib<name>.a to let people know that these are not
11547       # typical AIX shared libraries.
11548       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549     else
11550       # We preserve .a as extension for shared libraries through AIX4.2
11551       # and later when we are not doing run time linking.
11552       library_names_spec='${libname}${release}.a $libname.a'
11553       soname_spec='${libname}${release}${shared_ext}$major'
11554     fi
11555     shlibpath_var=LIBPATH
11556   fi
11557   ;;
11558
11559 amigaos*)
11560   case $host_cpu in
11561   powerpc)
11562     # Since July 2007 AmigaOS4 officially supports .so libraries.
11563     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11564     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11565     ;;
11566   m68k)
11567     library_names_spec='$libname.ixlibrary $libname.a'
11568     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11569     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11570     ;;
11571   esac
11572   ;;
11573
11574 beos*)
11575   library_names_spec='${libname}${shared_ext}'
11576   dynamic_linker="$host_os ld.so"
11577   shlibpath_var=LIBRARY_PATH
11578   ;;
11579
11580 bsdi[45]*)
11581   version_type=linux # correct to gnu/linux during the next big refactor
11582   need_version=no
11583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584   soname_spec='${libname}${release}${shared_ext}$major'
11585   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11586   shlibpath_var=LD_LIBRARY_PATH
11587   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11588   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11589   # the default ld.so.conf also contains /usr/contrib/lib and
11590   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11591   # libtool to hard-code these into programs
11592   ;;
11593
11594 cygwin* | mingw* | pw32* | cegcc*)
11595   version_type=windows
11596   shrext_cmds=".dll"
11597   need_version=no
11598   need_lib_prefix=no
11599
11600   case $GCC,$cc_basename in
11601   yes,*)
11602     # gcc
11603     library_names_spec='$libname.dll.a'
11604     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11605     postinstall_cmds='base_file=`basename \${file}`~
11606       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11607       dldir=$destdir/`dirname \$dlpath`~
11608       test -d \$dldir || mkdir -p \$dldir~
11609       $install_prog $dir/$dlname \$dldir/$dlname~
11610       chmod a+x \$dldir/$dlname~
11611       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11612         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11613       fi'
11614     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11615       dlpath=$dir/\$dldll~
11616        $RM \$dlpath'
11617     shlibpath_overrides_runpath=yes
11618
11619     case $host_os in
11620     cygwin*)
11621       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11622       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11623
11624       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11625       ;;
11626     mingw* | cegcc*)
11627       # MinGW DLLs use traditional 'lib' prefix
11628       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11629       ;;
11630     pw32*)
11631       # pw32 DLLs use 'pw' prefix rather than 'lib'
11632       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11633       ;;
11634     esac
11635     dynamic_linker='Win32 ld.exe'
11636     ;;
11637
11638   *,cl*)
11639     # Native MSVC
11640     libname_spec='$name'
11641     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11642     library_names_spec='${libname}.dll.lib'
11643
11644     case $build_os in
11645     mingw*)
11646       sys_lib_search_path_spec=
11647       lt_save_ifs=$IFS
11648       IFS=';'
11649       for lt_path in $LIB
11650       do
11651         IFS=$lt_save_ifs
11652         # Let DOS variable expansion print the short 8.3 style file name.
11653         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11654         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11655       done
11656       IFS=$lt_save_ifs
11657       # Convert to MSYS style.
11658       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11659       ;;
11660     cygwin*)
11661       # Convert to unix form, then to dos form, then back to unix form
11662       # but this time dos style (no spaces!) so that the unix form looks
11663       # like /cygdrive/c/PROGRA~1:/cygdr...
11664       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11665       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11666       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11667       ;;
11668     *)
11669       sys_lib_search_path_spec="$LIB"
11670       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11671         # It is most probably a Windows format PATH.
11672         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11673       else
11674         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11675       fi
11676       # FIXME: find the short name or the path components, as spaces are
11677       # common. (e.g. "Program Files" -> "PROGRA~1")
11678       ;;
11679     esac
11680
11681     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11682     postinstall_cmds='base_file=`basename \${file}`~
11683       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11684       dldir=$destdir/`dirname \$dlpath`~
11685       test -d \$dldir || mkdir -p \$dldir~
11686       $install_prog $dir/$dlname \$dldir/$dlname'
11687     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11688       dlpath=$dir/\$dldll~
11689        $RM \$dlpath'
11690     shlibpath_overrides_runpath=yes
11691     dynamic_linker='Win32 link.exe'
11692     ;;
11693
11694   *)
11695     # Assume MSVC wrapper
11696     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11697     dynamic_linker='Win32 ld.exe'
11698     ;;
11699   esac
11700   # FIXME: first we should search . and the directory the executable is in
11701   shlibpath_var=PATH
11702   ;;
11703
11704 darwin* | rhapsody*)
11705   dynamic_linker="$host_os dyld"
11706   version_type=darwin
11707   need_lib_prefix=no
11708   need_version=no
11709   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11710   soname_spec='${libname}${release}${major}$shared_ext'
11711   shlibpath_overrides_runpath=yes
11712   shlibpath_var=DYLD_LIBRARY_PATH
11713   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11714
11715   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11716   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11717   ;;
11718
11719 dgux*)
11720   version_type=linux # correct to gnu/linux during the next big refactor
11721   need_lib_prefix=no
11722   need_version=no
11723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11724   soname_spec='${libname}${release}${shared_ext}$major'
11725   shlibpath_var=LD_LIBRARY_PATH
11726   ;;
11727
11728 freebsd* | dragonfly*)
11729   # DragonFly does not have aout.  When/if they implement a new
11730   # versioning mechanism, adjust this.
11731   if test -x /usr/bin/objformat; then
11732     objformat=`/usr/bin/objformat`
11733   else
11734     case $host_os in
11735     freebsd[23].*) objformat=aout ;;
11736     *) objformat=elf ;;
11737     esac
11738   fi
11739   version_type=freebsd-$objformat
11740   case $version_type in
11741     freebsd-elf*)
11742       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11743       need_version=no
11744       need_lib_prefix=no
11745       ;;
11746     freebsd-*)
11747       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11748       need_version=yes
11749       ;;
11750   esac
11751   shlibpath_var=LD_LIBRARY_PATH
11752   case $host_os in
11753   freebsd2.*)
11754     shlibpath_overrides_runpath=yes
11755     ;;
11756   freebsd3.[01]* | freebsdelf3.[01]*)
11757     shlibpath_overrides_runpath=yes
11758     hardcode_into_libs=yes
11759     ;;
11760   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11761   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11762     shlibpath_overrides_runpath=no
11763     hardcode_into_libs=yes
11764     ;;
11765   *) # from 4.6 on, and DragonFly
11766     shlibpath_overrides_runpath=yes
11767     hardcode_into_libs=yes
11768     ;;
11769   esac
11770   ;;
11771
11772 gnu*)
11773   version_type=linux # correct to gnu/linux during the next big refactor
11774   need_lib_prefix=no
11775   need_version=no
11776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11777   soname_spec='${libname}${release}${shared_ext}$major'
11778   shlibpath_var=LD_LIBRARY_PATH
11779   shlibpath_overrides_runpath=no
11780   hardcode_into_libs=yes
11781   ;;
11782
11783 haiku*)
11784   version_type=linux # correct to gnu/linux during the next big refactor
11785   need_lib_prefix=no
11786   need_version=no
11787   dynamic_linker="$host_os runtime_loader"
11788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11789   soname_spec='${libname}${release}${shared_ext}$major'
11790   shlibpath_var=LIBRARY_PATH
11791   shlibpath_overrides_runpath=yes
11792   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11793   hardcode_into_libs=yes
11794   ;;
11795
11796 hpux9* | hpux10* | hpux11*)
11797   # Give a soname corresponding to the major version so that dld.sl refuses to
11798   # link against other versions.
11799   version_type=sunos
11800   need_lib_prefix=no
11801   need_version=no
11802   case $host_cpu in
11803   ia64*)
11804     shrext_cmds='.so'
11805     hardcode_into_libs=yes
11806     dynamic_linker="$host_os dld.so"
11807     shlibpath_var=LD_LIBRARY_PATH
11808     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11809     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11810     soname_spec='${libname}${release}${shared_ext}$major'
11811     if test "X$HPUX_IA64_MODE" = X32; then
11812       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11813     else
11814       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11815     fi
11816     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11817     ;;
11818   hppa*64*)
11819     shrext_cmds='.sl'
11820     hardcode_into_libs=yes
11821     dynamic_linker="$host_os dld.sl"
11822     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11823     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11824     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11825     soname_spec='${libname}${release}${shared_ext}$major'
11826     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11827     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11828     ;;
11829   *)
11830     shrext_cmds='.sl'
11831     dynamic_linker="$host_os dld.sl"
11832     shlibpath_var=SHLIB_PATH
11833     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11834     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11835     soname_spec='${libname}${release}${shared_ext}$major'
11836     ;;
11837   esac
11838   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11839   postinstall_cmds='chmod 555 $lib'
11840   # or fails outright, so override atomically:
11841   install_override_mode=555
11842   ;;
11843
11844 interix[3-9]*)
11845   version_type=linux # correct to gnu/linux during the next big refactor
11846   need_lib_prefix=no
11847   need_version=no
11848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11849   soname_spec='${libname}${release}${shared_ext}$major'
11850   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11851   shlibpath_var=LD_LIBRARY_PATH
11852   shlibpath_overrides_runpath=no
11853   hardcode_into_libs=yes
11854   ;;
11855
11856 irix5* | irix6* | nonstopux*)
11857   case $host_os in
11858     nonstopux*) version_type=nonstopux ;;
11859     *)
11860         if test "$lt_cv_prog_gnu_ld" = yes; then
11861                 version_type=linux # correct to gnu/linux during the next big refactor
11862         else
11863                 version_type=irix
11864         fi ;;
11865   esac
11866   need_lib_prefix=no
11867   need_version=no
11868   soname_spec='${libname}${release}${shared_ext}$major'
11869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11870   case $host_os in
11871   irix5* | nonstopux*)
11872     libsuff= shlibsuff=
11873     ;;
11874   *)
11875     case $LD in # libtool.m4 will add one of these switches to LD
11876     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11877       libsuff= shlibsuff= libmagic=32-bit;;
11878     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11879       libsuff=32 shlibsuff=N32 libmagic=N32;;
11880     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11881       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11882     *) libsuff= shlibsuff= libmagic=never-match;;
11883     esac
11884     ;;
11885   esac
11886   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11887   shlibpath_overrides_runpath=no
11888   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11889   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11890   hardcode_into_libs=yes
11891   ;;
11892
11893 # No shared lib support for Linux oldld, aout, or coff.
11894 linux*oldld* | linux*aout* | linux*coff*)
11895   dynamic_linker=no
11896   ;;
11897
11898 # This must be glibc/ELF.
11899 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11900   version_type=linux # correct to gnu/linux during the next big refactor
11901   need_lib_prefix=no
11902   need_version=no
11903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11904   soname_spec='${libname}${release}${shared_ext}$major'
11905   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11906   shlibpath_var=LD_LIBRARY_PATH
11907   shlibpath_overrides_runpath=no
11908
11909   # Some binutils ld are patched to set DT_RUNPATH
11910   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11911   $as_echo_n "(cached) " >&6
11912 else
11913   lt_cv_shlibpath_overrides_runpath=no
11914     save_LDFLAGS=$LDFLAGS
11915     save_libdir=$libdir
11916     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11917          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11918     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h.  */
11920
11921 int
11922 main ()
11923 {
11924
11925   ;
11926   return 0;
11927 }
11928 _ACEOF
11929 if ac_fn_c_try_link "$LINENO"; then :
11930   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11931   lt_cv_shlibpath_overrides_runpath=yes
11932 fi
11933 fi
11934 rm -f core conftest.err conftest.$ac_objext \
11935     conftest$ac_exeext conftest.$ac_ext
11936     LDFLAGS=$save_LDFLAGS
11937     libdir=$save_libdir
11938
11939 fi
11940
11941   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11942
11943   # This implies no fast_install, which is unacceptable.
11944   # Some rework will be needed to allow for fast_install
11945   # before this can be enabled.
11946   hardcode_into_libs=yes
11947
11948   # Add ABI-specific directories to the system library path.
11949   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11950
11951   # Append ld.so.conf contents to the search path
11952   if test -f /etc/ld.so.conf; then
11953     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11954     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11955
11956   fi
11957
11958   # We used to test for /lib/ld.so.1 and disable shared libraries on
11959   # powerpc, because MkLinux only supported shared libraries with the
11960   # GNU dynamic linker.  Since this was broken with cross compilers,
11961   # most powerpc-linux boxes support dynamic linking these days and
11962   # people can always --disable-shared, the test was removed, and we
11963   # assume the GNU/Linux dynamic linker is in use.
11964   dynamic_linker='GNU/Linux ld.so'
11965   ;;
11966
11967 netbsd*)
11968   version_type=sunos
11969   need_lib_prefix=no
11970   need_version=no
11971   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11972     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11973     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11974     dynamic_linker='NetBSD (a.out) ld.so'
11975   else
11976     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11977     soname_spec='${libname}${release}${shared_ext}$major'
11978     dynamic_linker='NetBSD ld.elf_so'
11979   fi
11980   shlibpath_var=LD_LIBRARY_PATH
11981   shlibpath_overrides_runpath=yes
11982   hardcode_into_libs=yes
11983   ;;
11984
11985 newsos6)
11986   version_type=linux # correct to gnu/linux during the next big refactor
11987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11988   shlibpath_var=LD_LIBRARY_PATH
11989   shlibpath_overrides_runpath=yes
11990   ;;
11991
11992 *nto* | *qnx*)
11993   version_type=qnx
11994   need_lib_prefix=no
11995   need_version=no
11996   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11997   soname_spec='${libname}${release}${shared_ext}$major'
11998   shlibpath_var=LD_LIBRARY_PATH
11999   shlibpath_overrides_runpath=no
12000   hardcode_into_libs=yes
12001   dynamic_linker='ldqnx.so'
12002   ;;
12003
12004 openbsd*)
12005   version_type=sunos
12006   sys_lib_dlsearch_path_spec="/usr/lib"
12007   need_lib_prefix=no
12008   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12009   case $host_os in
12010     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12011     *)                          need_version=no  ;;
12012   esac
12013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12014   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12015   shlibpath_var=LD_LIBRARY_PATH
12016   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12017     case $host_os in
12018       openbsd2.[89] | openbsd2.[89].*)
12019         shlibpath_overrides_runpath=no
12020         ;;
12021       *)
12022         shlibpath_overrides_runpath=yes
12023         ;;
12024       esac
12025   else
12026     shlibpath_overrides_runpath=yes
12027   fi
12028   ;;
12029
12030 os2*)
12031   libname_spec='$name'
12032   shrext_cmds=".dll"
12033   need_lib_prefix=no
12034   library_names_spec='$libname${shared_ext} $libname.a'
12035   dynamic_linker='OS/2 ld.exe'
12036   shlibpath_var=LIBPATH
12037   ;;
12038
12039 osf3* | osf4* | osf5*)
12040   version_type=osf
12041   need_lib_prefix=no
12042   need_version=no
12043   soname_spec='${libname}${release}${shared_ext}$major'
12044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12045   shlibpath_var=LD_LIBRARY_PATH
12046   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12047   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12048   ;;
12049
12050 rdos*)
12051   dynamic_linker=no
12052   ;;
12053
12054 solaris*)
12055   version_type=linux # correct to gnu/linux during the next big refactor
12056   need_lib_prefix=no
12057   need_version=no
12058   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12059   soname_spec='${libname}${release}${shared_ext}$major'
12060   shlibpath_var=LD_LIBRARY_PATH
12061   shlibpath_overrides_runpath=yes
12062   hardcode_into_libs=yes
12063   # ldd complains unless libraries are executable
12064   postinstall_cmds='chmod +x $lib'
12065   ;;
12066
12067 sunos4*)
12068   version_type=sunos
12069   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12070   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12071   shlibpath_var=LD_LIBRARY_PATH
12072   shlibpath_overrides_runpath=yes
12073   if test "$with_gnu_ld" = yes; then
12074     need_lib_prefix=no
12075   fi
12076   need_version=yes
12077   ;;
12078
12079 sysv4 | sysv4.3*)
12080   version_type=linux # correct to gnu/linux during the next big refactor
12081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12082   soname_spec='${libname}${release}${shared_ext}$major'
12083   shlibpath_var=LD_LIBRARY_PATH
12084   case $host_vendor in
12085     sni)
12086       shlibpath_overrides_runpath=no
12087       need_lib_prefix=no
12088       runpath_var=LD_RUN_PATH
12089       ;;
12090     siemens)
12091       need_lib_prefix=no
12092       ;;
12093     motorola)
12094       need_lib_prefix=no
12095       need_version=no
12096       shlibpath_overrides_runpath=no
12097       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12098       ;;
12099   esac
12100   ;;
12101
12102 sysv4*MP*)
12103   if test -d /usr/nec ;then
12104     version_type=linux # correct to gnu/linux during the next big refactor
12105     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12106     soname_spec='$libname${shared_ext}.$major'
12107     shlibpath_var=LD_LIBRARY_PATH
12108   fi
12109   ;;
12110
12111 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12112   version_type=freebsd-elf
12113   need_lib_prefix=no
12114   need_version=no
12115   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12116   soname_spec='${libname}${release}${shared_ext}$major'
12117   shlibpath_var=LD_LIBRARY_PATH
12118   shlibpath_overrides_runpath=yes
12119   hardcode_into_libs=yes
12120   if test "$with_gnu_ld" = yes; then
12121     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12122   else
12123     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12124     case $host_os in
12125       sco3.2v5*)
12126         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12127         ;;
12128     esac
12129   fi
12130   sys_lib_dlsearch_path_spec='/usr/lib'
12131   ;;
12132
12133 tpf*)
12134   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12135   version_type=linux # correct to gnu/linux during the next big refactor
12136   need_lib_prefix=no
12137   need_version=no
12138   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12139   shlibpath_var=LD_LIBRARY_PATH
12140   shlibpath_overrides_runpath=no
12141   hardcode_into_libs=yes
12142   ;;
12143
12144 uts4*)
12145   version_type=linux # correct to gnu/linux during the next big refactor
12146   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12147   soname_spec='${libname}${release}${shared_ext}$major'
12148   shlibpath_var=LD_LIBRARY_PATH
12149   ;;
12150
12151 *)
12152   dynamic_linker=no
12153   ;;
12154 esac
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12156 $as_echo "$dynamic_linker" >&6; }
12157 test "$dynamic_linker" = no && can_build_shared=no
12158
12159 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12160 if test "$GCC" = yes; then
12161   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12162 fi
12163
12164 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12165   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12166 fi
12167 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12168   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12169 fi
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12263 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12264 hardcode_action=
12265 if test -n "$hardcode_libdir_flag_spec" ||
12266    test -n "$runpath_var" ||
12267    test "X$hardcode_automatic" = "Xyes" ; then
12268
12269   # We can hardcode non-existent directories.
12270   if test "$hardcode_direct" != no &&
12271      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12272      # have to relink, otherwise we might link with an installed library
12273      # when we should be linking with a yet-to-be-installed one
12274      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12275      test "$hardcode_minus_L" != no; then
12276     # Linking always hardcodes the temporary library directory.
12277     hardcode_action=relink
12278   else
12279     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12280     hardcode_action=immediate
12281   fi
12282 else
12283   # We cannot hardcode anything, or else we can only hardcode existing
12284   # directories.
12285   hardcode_action=unsupported
12286 fi
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12288 $as_echo "$hardcode_action" >&6; }
12289
12290 if test "$hardcode_action" = relink ||
12291    test "$inherit_rpath" = yes; then
12292   # Fast installation is not supported
12293   enable_fast_install=no
12294 elif test "$shlibpath_overrides_runpath" = yes ||
12295      test "$enable_shared" = no; then
12296   # Fast installation is not necessary
12297   enable_fast_install=needless
12298 fi
12299
12300
12301
12302
12303
12304
12305   if test "x$enable_dlopen" != xyes; then
12306   enable_dlopen=unknown
12307   enable_dlopen_self=unknown
12308   enable_dlopen_self_static=unknown
12309 else
12310   lt_cv_dlopen=no
12311   lt_cv_dlopen_libs=
12312
12313   case $host_os in
12314   beos*)
12315     lt_cv_dlopen="load_add_on"
12316     lt_cv_dlopen_libs=
12317     lt_cv_dlopen_self=yes
12318     ;;
12319
12320   mingw* | pw32* | cegcc*)
12321     lt_cv_dlopen="LoadLibrary"
12322     lt_cv_dlopen_libs=
12323     ;;
12324
12325   cygwin*)
12326     lt_cv_dlopen="dlopen"
12327     lt_cv_dlopen_libs=
12328     ;;
12329
12330   darwin*)
12331   # if libdl is installed we need to link against it
12332     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12333 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12334 if ${ac_cv_lib_dl_dlopen+:} false; then :
12335   $as_echo_n "(cached) " >&6
12336 else
12337   ac_check_lib_save_LIBS=$LIBS
12338 LIBS="-ldl  $LIBS"
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h.  */
12341
12342 /* Override any GCC internal prototype to avoid an error.
12343    Use char because int might match the return type of a GCC
12344    builtin and then its argument prototype would still apply.  */
12345 #ifdef __cplusplus
12346 extern "C"
12347 #endif
12348 char dlopen ();
12349 int
12350 main ()
12351 {
12352 return dlopen ();
12353   ;
12354   return 0;
12355 }
12356 _ACEOF
12357 if ac_fn_c_try_link "$LINENO"; then :
12358   ac_cv_lib_dl_dlopen=yes
12359 else
12360   ac_cv_lib_dl_dlopen=no
12361 fi
12362 rm -f core conftest.err conftest.$ac_objext \
12363     conftest$ac_exeext conftest.$ac_ext
12364 LIBS=$ac_check_lib_save_LIBS
12365 fi
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12368 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12369   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12370 else
12371
12372     lt_cv_dlopen="dyld"
12373     lt_cv_dlopen_libs=
12374     lt_cv_dlopen_self=yes
12375
12376 fi
12377
12378     ;;
12379
12380   *)
12381     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12382 if test "x$ac_cv_func_shl_load" = xyes; then :
12383   lt_cv_dlopen="shl_load"
12384 else
12385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12386 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12387 if ${ac_cv_lib_dld_shl_load+:} false; then :
12388   $as_echo_n "(cached) " >&6
12389 else
12390   ac_check_lib_save_LIBS=$LIBS
12391 LIBS="-ldld  $LIBS"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h.  */
12394
12395 /* Override any GCC internal prototype to avoid an error.
12396    Use char because int might match the return type of a GCC
12397    builtin and then its argument prototype would still apply.  */
12398 #ifdef __cplusplus
12399 extern "C"
12400 #endif
12401 char shl_load ();
12402 int
12403 main ()
12404 {
12405 return shl_load ();
12406   ;
12407   return 0;
12408 }
12409 _ACEOF
12410 if ac_fn_c_try_link "$LINENO"; then :
12411   ac_cv_lib_dld_shl_load=yes
12412 else
12413   ac_cv_lib_dld_shl_load=no
12414 fi
12415 rm -f core conftest.err conftest.$ac_objext \
12416     conftest$ac_exeext conftest.$ac_ext
12417 LIBS=$ac_check_lib_save_LIBS
12418 fi
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12420 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12421 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12422   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12423 else
12424   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12425 if test "x$ac_cv_func_dlopen" = xyes; then :
12426   lt_cv_dlopen="dlopen"
12427 else
12428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12429 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12430 if ${ac_cv_lib_dl_dlopen+:} false; then :
12431   $as_echo_n "(cached) " >&6
12432 else
12433   ac_check_lib_save_LIBS=$LIBS
12434 LIBS="-ldl  $LIBS"
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h.  */
12437
12438 /* Override any GCC internal prototype to avoid an error.
12439    Use char because int might match the return type of a GCC
12440    builtin and then its argument prototype would still apply.  */
12441 #ifdef __cplusplus
12442 extern "C"
12443 #endif
12444 char dlopen ();
12445 int
12446 main ()
12447 {
12448 return dlopen ();
12449   ;
12450   return 0;
12451 }
12452 _ACEOF
12453 if ac_fn_c_try_link "$LINENO"; then :
12454   ac_cv_lib_dl_dlopen=yes
12455 else
12456   ac_cv_lib_dl_dlopen=no
12457 fi
12458 rm -f core conftest.err conftest.$ac_objext \
12459     conftest$ac_exeext conftest.$ac_ext
12460 LIBS=$ac_check_lib_save_LIBS
12461 fi
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12463 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12464 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12465   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12466 else
12467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12468 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12469 if ${ac_cv_lib_svld_dlopen+:} false; then :
12470   $as_echo_n "(cached) " >&6
12471 else
12472   ac_check_lib_save_LIBS=$LIBS
12473 LIBS="-lsvld  $LIBS"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h.  */
12476
12477 /* Override any GCC internal prototype to avoid an error.
12478    Use char because int might match the return type of a GCC
12479    builtin and then its argument prototype would still apply.  */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 char dlopen ();
12484 int
12485 main ()
12486 {
12487 return dlopen ();
12488   ;
12489   return 0;
12490 }
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493   ac_cv_lib_svld_dlopen=yes
12494 else
12495   ac_cv_lib_svld_dlopen=no
12496 fi
12497 rm -f core conftest.err conftest.$ac_objext \
12498     conftest$ac_exeext conftest.$ac_ext
12499 LIBS=$ac_check_lib_save_LIBS
12500 fi
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12502 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12503 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12504   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12505 else
12506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12507 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12508 if ${ac_cv_lib_dld_dld_link+:} false; then :
12509   $as_echo_n "(cached) " >&6
12510 else
12511   ac_check_lib_save_LIBS=$LIBS
12512 LIBS="-ldld  $LIBS"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h.  */
12515
12516 /* Override any GCC internal prototype to avoid an error.
12517    Use char because int might match the return type of a GCC
12518    builtin and then its argument prototype would still apply.  */
12519 #ifdef __cplusplus
12520 extern "C"
12521 #endif
12522 char dld_link ();
12523 int
12524 main ()
12525 {
12526 return dld_link ();
12527   ;
12528   return 0;
12529 }
12530 _ACEOF
12531 if ac_fn_c_try_link "$LINENO"; then :
12532   ac_cv_lib_dld_dld_link=yes
12533 else
12534   ac_cv_lib_dld_dld_link=no
12535 fi
12536 rm -f core conftest.err conftest.$ac_objext \
12537     conftest$ac_exeext conftest.$ac_ext
12538 LIBS=$ac_check_lib_save_LIBS
12539 fi
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12541 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12542 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12543   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12544 fi
12545
12546
12547 fi
12548
12549
12550 fi
12551
12552
12553 fi
12554
12555
12556 fi
12557
12558
12559 fi
12560
12561     ;;
12562   esac
12563
12564   if test "x$lt_cv_dlopen" != xno; then
12565     enable_dlopen=yes
12566   else
12567     enable_dlopen=no
12568   fi
12569
12570   case $lt_cv_dlopen in
12571   dlopen)
12572     save_CPPFLAGS="$CPPFLAGS"
12573     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12574
12575     save_LDFLAGS="$LDFLAGS"
12576     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12577
12578     save_LIBS="$LIBS"
12579     LIBS="$lt_cv_dlopen_libs $LIBS"
12580
12581     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12582 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12583 if ${lt_cv_dlopen_self+:} false; then :
12584   $as_echo_n "(cached) " >&6
12585 else
12586           if test "$cross_compiling" = yes; then :
12587   lt_cv_dlopen_self=cross
12588 else
12589   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12590   lt_status=$lt_dlunknown
12591   cat > conftest.$ac_ext <<_LT_EOF
12592 #line $LINENO "configure"
12593 #include "confdefs.h"
12594
12595 #if HAVE_DLFCN_H
12596 #include <dlfcn.h>
12597 #endif
12598
12599 #include <stdio.h>
12600
12601 #ifdef RTLD_GLOBAL
12602 #  define LT_DLGLOBAL           RTLD_GLOBAL
12603 #else
12604 #  ifdef DL_GLOBAL
12605 #    define LT_DLGLOBAL         DL_GLOBAL
12606 #  else
12607 #    define LT_DLGLOBAL         0
12608 #  endif
12609 #endif
12610
12611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12612    find out it does not work in some platform. */
12613 #ifndef LT_DLLAZY_OR_NOW
12614 #  ifdef RTLD_LAZY
12615 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12616 #  else
12617 #    ifdef DL_LAZY
12618 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12619 #    else
12620 #      ifdef RTLD_NOW
12621 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12622 #      else
12623 #        ifdef DL_NOW
12624 #          define LT_DLLAZY_OR_NOW      DL_NOW
12625 #        else
12626 #          define LT_DLLAZY_OR_NOW      0
12627 #        endif
12628 #      endif
12629 #    endif
12630 #  endif
12631 #endif
12632
12633 /* When -fvisbility=hidden is used, assume the code has been annotated
12634    correspondingly for the symbols needed.  */
12635 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12636 int fnord () __attribute__((visibility("default")));
12637 #endif
12638
12639 int fnord () { return 42; }
12640 int main ()
12641 {
12642   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12643   int status = $lt_dlunknown;
12644
12645   if (self)
12646     {
12647       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12648       else
12649         {
12650           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12651           else puts (dlerror ());
12652         }
12653       /* dlclose (self); */
12654     }
12655   else
12656     puts (dlerror ());
12657
12658   return status;
12659 }
12660 _LT_EOF
12661   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12662   (eval $ac_link) 2>&5
12663   ac_status=$?
12664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12665   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12666     (./conftest; exit; ) >&5 2>/dev/null
12667     lt_status=$?
12668     case x$lt_status in
12669       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12670       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12671       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12672     esac
12673   else :
12674     # compilation failed
12675     lt_cv_dlopen_self=no
12676   fi
12677 fi
12678 rm -fr conftest*
12679
12680
12681 fi
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12683 $as_echo "$lt_cv_dlopen_self" >&6; }
12684
12685     if test "x$lt_cv_dlopen_self" = xyes; then
12686       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12687       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12688 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12689 if ${lt_cv_dlopen_self_static+:} false; then :
12690   $as_echo_n "(cached) " >&6
12691 else
12692           if test "$cross_compiling" = yes; then :
12693   lt_cv_dlopen_self_static=cross
12694 else
12695   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12696   lt_status=$lt_dlunknown
12697   cat > conftest.$ac_ext <<_LT_EOF
12698 #line $LINENO "configure"
12699 #include "confdefs.h"
12700
12701 #if HAVE_DLFCN_H
12702 #include <dlfcn.h>
12703 #endif
12704
12705 #include <stdio.h>
12706
12707 #ifdef RTLD_GLOBAL
12708 #  define LT_DLGLOBAL           RTLD_GLOBAL
12709 #else
12710 #  ifdef DL_GLOBAL
12711 #    define LT_DLGLOBAL         DL_GLOBAL
12712 #  else
12713 #    define LT_DLGLOBAL         0
12714 #  endif
12715 #endif
12716
12717 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12718    find out it does not work in some platform. */
12719 #ifndef LT_DLLAZY_OR_NOW
12720 #  ifdef RTLD_LAZY
12721 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12722 #  else
12723 #    ifdef DL_LAZY
12724 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12725 #    else
12726 #      ifdef RTLD_NOW
12727 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12728 #      else
12729 #        ifdef DL_NOW
12730 #          define LT_DLLAZY_OR_NOW      DL_NOW
12731 #        else
12732 #          define LT_DLLAZY_OR_NOW      0
12733 #        endif
12734 #      endif
12735 #    endif
12736 #  endif
12737 #endif
12738
12739 /* When -fvisbility=hidden is used, assume the code has been annotated
12740    correspondingly for the symbols needed.  */
12741 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12742 int fnord () __attribute__((visibility("default")));
12743 #endif
12744
12745 int fnord () { return 42; }
12746 int main ()
12747 {
12748   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12749   int status = $lt_dlunknown;
12750
12751   if (self)
12752     {
12753       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12754       else
12755         {
12756           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12757           else puts (dlerror ());
12758         }
12759       /* dlclose (self); */
12760     }
12761   else
12762     puts (dlerror ());
12763
12764   return status;
12765 }
12766 _LT_EOF
12767   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12768   (eval $ac_link) 2>&5
12769   ac_status=$?
12770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12771   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12772     (./conftest; exit; ) >&5 2>/dev/null
12773     lt_status=$?
12774     case x$lt_status in
12775       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12776       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12777       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12778     esac
12779   else :
12780     # compilation failed
12781     lt_cv_dlopen_self_static=no
12782   fi
12783 fi
12784 rm -fr conftest*
12785
12786
12787 fi
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12789 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12790     fi
12791
12792     CPPFLAGS="$save_CPPFLAGS"
12793     LDFLAGS="$save_LDFLAGS"
12794     LIBS="$save_LIBS"
12795     ;;
12796   esac
12797
12798   case $lt_cv_dlopen_self in
12799   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12800   *) enable_dlopen_self=unknown ;;
12801   esac
12802
12803   case $lt_cv_dlopen_self_static in
12804   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12805   *) enable_dlopen_self_static=unknown ;;
12806   esac
12807 fi
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825 striplib=
12826 old_striplib=
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12828 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12829 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12830   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12831   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12833 $as_echo "yes" >&6; }
12834 else
12835 # FIXME - insert some real tests, host_os isn't really good enough
12836   case $host_os in
12837   darwin*)
12838     if test -n "$STRIP" ; then
12839       striplib="$STRIP -x"
12840       old_striplib="$STRIP -S"
12841       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12842 $as_echo "yes" >&6; }
12843     else
12844       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12845 $as_echo "no" >&6; }
12846     fi
12847     ;;
12848   *)
12849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850 $as_echo "no" >&6; }
12851     ;;
12852   esac
12853 fi
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866   # Report which library types will actually be built
12867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12868 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12870 $as_echo "$can_build_shared" >&6; }
12871
12872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12873 $as_echo_n "checking whether to build shared libraries... " >&6; }
12874   test "$can_build_shared" = "no" && enable_shared=no
12875
12876   # On AIX, shared libraries and static libraries use the same namespace, and
12877   # are all built from PIC.
12878   case $host_os in
12879   aix3*)
12880     test "$enable_shared" = yes && enable_static=no
12881     if test -n "$RANLIB"; then
12882       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12883       postinstall_cmds='$RANLIB $lib'
12884     fi
12885     ;;
12886
12887   aix[4-9]*)
12888     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12889       test "$enable_shared" = yes && enable_static=no
12890     fi
12891     ;;
12892   esac
12893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12894 $as_echo "$enable_shared" >&6; }
12895
12896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12897 $as_echo_n "checking whether to build static libraries... " >&6; }
12898   # Make sure either enable_shared or enable_static is yes.
12899   test "$enable_shared" = yes || enable_static=yes
12900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12901 $as_echo "$enable_static" >&6; }
12902
12903
12904
12905
12906 fi
12907 ac_ext=c
12908 ac_cpp='$CPP $CPPFLAGS'
12909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12912
12913 CC="$lt_save_CC"
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929         ac_config_commands="$ac_config_commands libtool"
12930
12931
12932
12933
12934 # Only expand once:
12935
12936
12937
12938 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12939 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12940
12941
12942
12943 cat >>confdefs.h <<_ACEOF
12944 #define VMAJ 1
12945 _ACEOF
12946
12947
12948 cat >>confdefs.h <<_ACEOF
12949 #define VMIN 7
12950 _ACEOF
12951
12952
12953 cat >>confdefs.h <<_ACEOF
12954 #define VMIC 7
12955 _ACEOF
12956
12957
12958 cat >>confdefs.h <<_ACEOF
12959 #define VREV 0
12960 _ACEOF
12961
12962 version_info="8:7:7"
12963 release_info=""
12964
12965
12966 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12967 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12968 VMAJ=1
12969
12970
12971 ### Needed information
12972
12973
12974
12975
12976 case "$host_os" in
12977    mingw32ce*)
12978       MODULE_ARCH="$host_os-$host_cpu"
12979       ;;
12980    *)
12981       MODULE_ARCH="$host_os-$host_cpu-1.7.7"
12982       ;;
12983 esac
12984
12985
12986 cat >>confdefs.h <<_ACEOF
12987 #define MODULE_ARCH "$MODULE_ARCH"
12988 _ACEOF
12989
12990
12991 want_fontconfig="auto"
12992 want_fribidi="auto"
12993 want_harfbuzz="auto"
12994 want_pixman="no"
12995 want_evas_cserve="yes"
12996 want_evas_cserve2="yes"
12997
12998 want_evas_engine_buffer="yes"
12999 want_evas_engine_software_xlib="no"
13000 want_evas_engine_software_xcb="no"
13001 want_evas_engine_software_gdi="no"
13002 want_evas_engine_software_ddraw="no"
13003 want_evas_engine_software_8_x11="no"
13004 want_evas_engine_software_16_x11="no"
13005 want_evas_engine_software_16_wince="no"
13006 want_evas_engine_software_16_sdl="no"
13007 want_evas_engine_gl_xlib="no"
13008 want_evas_engine_gl_xcb="no"
13009 want_evas_engine_gl_sdl="no"
13010 want_evas_engine_gl_cocoa="no"
13011 want_evas_engine_direct3d="no"
13012 want_evas_engine_fb="no"
13013 want_evas_engine_directfb="no"
13014 want_evas_engine_psl1ght="no"
13015 want_evas_engine_wayland_shm="no"
13016 want_evas_engine_wayland_egl="no"
13017
13018 want_evas_image_loader_edb="yes"
13019 want_evas_image_loader_eet="yes"
13020 want_evas_image_loader_gif="yes"
13021 want_evas_image_loader_jpeg="yes"
13022 want_evas_image_loader_pmaps="yes"
13023 want_evas_image_loader_png="yes"
13024 want_evas_image_loader_svg="yes"
13025 want_evas_image_loader_tiff="yes"
13026 want_evas_image_loader_xpm="yes"
13027 want_evas_image_loader_bmp="yes"
13028 want_evas_image_loader_tga="yes"
13029 want_evas_image_loader_wbmp="yes"
13030 want_evas_image_loader_ico="yes"
13031 want_evas_image_loader_psd="yes"
13032 want_evas_image_loader_generic="yes"
13033
13034 want_evas_font_loader_eet="yes"
13035
13036 case "$host_os" in
13037    mingw32ce*)
13038       want_fontconfig="no"
13039       want_evas_engine_software_16_wince="yes"
13040       want_evas_image_loader_edb="no"
13041       want_evas_image_loader_gif="no"
13042       want_evas_image_loader_svg="no"
13043       want_evas_image_loader_tiff="no"
13044       ;;
13045    mingw*)
13046       want_evas_engine_software_gdi="yes"
13047       want_evas_engine_software_ddraw="yes"
13048       want_evas_engine_direct3d="yes"
13049       want_evas_image_loader_edb="no"
13050       want_evas_image_loader_svg="no"
13051       ;;
13052    darwin*)
13053       want_evas_engine_software_xlib="auto"
13054       want_evas_engine_gl_cocoa="auto"
13055       ;;
13056    *)
13057       want_evas_engine_software_xlib="auto"
13058       want_evas_engine_gl_xlib="auto"
13059       want_evas_engine_software_xcb="no"
13060       want_evas_engine_gl_xcb="no"
13061       want_evas_engine_fb="auto"
13062       want_evas_engine_wayland_shm="auto"
13063       want_evas_engine_wayland_egl="auto"
13064 ### no - not ready/usable/complete
13065 #      want_evas_engine_software_8_x11="auto"
13066 #      want_evas_engine_software_16_x11="auto"
13067       ;;
13068 esac
13069
13070 case "$host_vendor" in
13071   ps3*)
13072       want_evas_engine_psl1ght="static"
13073       ;;
13074 esac
13075
13076 requirement_evas=""
13077
13078
13079 ### Additional options to configure
13080
13081 # when used, that option makes configure script fails when
13082 # a requirement is selected, but not met.
13083 use_strict="no"
13084 # Check whether --enable-strict was given.
13085 if test "${enable_strict+set}" = set; then :
13086   enableval=$enable_strict; use_strict="yes"
13087 else
13088   use_strict="no"
13089 fi
13090
13091
13092 # Simple X11 build/link
13093 # Check whether --enable-simple-x11 was given.
13094 if test "${enable_simple_x11+set}" = set; then :
13095   enableval=$enable_simple_x11;
13096     if test "x${enableval}" = "xyes" ; then
13097        want_evas_simple_x11="yes"
13098     else
13099        want_evas_simple_x11="no"
13100     fi
13101
13102 fi
13103
13104
13105
13106 ### Checks for programs
13107
13108
13109     ac_ext=m
13110 ac_cpp='$OBJCPP $CPPFLAGS'
13111 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13112 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13113 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13114 if test -n "$ac_tool_prefix"; then
13115   for ac_prog in gcc objcc objc cc CC
13116   do
13117     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13118 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13120 $as_echo_n "checking for $ac_word... " >&6; }
13121 if ${ac_cv_prog_OBJC+:} false; then :
13122   $as_echo_n "(cached) " >&6
13123 else
13124   if test -n "$OBJC"; then
13125   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
13126 else
13127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13128 for as_dir in $PATH
13129 do
13130   IFS=$as_save_IFS
13131   test -z "$as_dir" && as_dir=.
13132     for ac_exec_ext in '' $ac_executable_extensions; do
13133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13134     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
13135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13136     break 2
13137   fi
13138 done
13139   done
13140 IFS=$as_save_IFS
13141
13142 fi
13143 fi
13144 OBJC=$ac_cv_prog_OBJC
13145 if test -n "$OBJC"; then
13146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
13147 $as_echo "$OBJC" >&6; }
13148 else
13149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13150 $as_echo "no" >&6; }
13151 fi
13152
13153
13154     test -n "$OBJC" && break
13155   done
13156 fi
13157 if test -z "$OBJC"; then
13158   ac_ct_OBJC=$OBJC
13159   for ac_prog in gcc objcc objc cc CC
13160 do
13161   # Extract the first word of "$ac_prog", so it can be a program name with args.
13162 set dummy $ac_prog; ac_word=$2
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13164 $as_echo_n "checking for $ac_word... " >&6; }
13165 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
13166   $as_echo_n "(cached) " >&6
13167 else
13168   if test -n "$ac_ct_OBJC"; then
13169   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
13170 else
13171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13172 for as_dir in $PATH
13173 do
13174   IFS=$as_save_IFS
13175   test -z "$as_dir" && as_dir=.
13176     for ac_exec_ext in '' $ac_executable_extensions; do
13177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13178     ac_cv_prog_ac_ct_OBJC="$ac_prog"
13179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13180     break 2
13181   fi
13182 done
13183   done
13184 IFS=$as_save_IFS
13185
13186 fi
13187 fi
13188 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
13189 if test -n "$ac_ct_OBJC"; then
13190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
13191 $as_echo "$ac_ct_OBJC" >&6; }
13192 else
13193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194 $as_echo "no" >&6; }
13195 fi
13196
13197
13198   test -n "$ac_ct_OBJC" && break
13199 done
13200
13201   if test "x$ac_ct_OBJC" = x; then
13202     OBJC="gcc"
13203   else
13204     case $cross_compiling:$ac_tool_warned in
13205 yes:)
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13208 ac_tool_warned=yes ;;
13209 esac
13210     OBJC=$ac_ct_OBJC
13211   fi
13212 fi
13213
13214 # Provide some information about the compiler.
13215 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
13216 set X $ac_compile
13217 ac_compiler=$2
13218 for ac_option in --version -v -V -qversion; do
13219   { { ac_try="$ac_compiler $ac_option >&5"
13220 case "(($ac_try" in
13221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13222   *) ac_try_echo=$ac_try;;
13223 esac
13224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13225 $as_echo "$ac_try_echo"; } >&5
13226   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13227   ac_status=$?
13228   if test -s conftest.err; then
13229     sed '10a\
13230 ... rest of stderr output deleted ...
13231          10q' conftest.err >conftest.er1
13232     cat conftest.er1 >&5
13233   fi
13234   rm -f conftest.er1 conftest.err
13235   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13236   test $ac_status = 0; }
13237 done
13238
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
13240 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
13241 if ${ac_cv_objc_compiler_gnu+:} false; then :
13242   $as_echo_n "(cached) " >&6
13243 else
13244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13245 /* end confdefs.h.  */
13246
13247 int
13248 main ()
13249 {
13250 #ifndef __GNUC__
13251        choke me
13252 #endif
13253
13254   ;
13255   return 0;
13256 }
13257 _ACEOF
13258 if ac_fn_objc_try_compile "$LINENO"; then :
13259   ac_compiler_gnu=yes
13260 else
13261   ac_compiler_gnu=no
13262 fi
13263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13264 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
13265
13266 fi
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
13268 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
13269 if test $ac_compiler_gnu = yes; then
13270   GOBJC=yes
13271 else
13272   GOBJC=
13273 fi
13274 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
13275 ac_save_OBJCFLAGS=$OBJCFLAGS
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
13277 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
13278 if ${ac_cv_prog_objc_g+:} false; then :
13279   $as_echo_n "(cached) " >&6
13280 else
13281   ac_save_objc_werror_flag=$ac_objc_werror_flag
13282    ac_objc_werror_flag=yes
13283    ac_cv_prog_objc_g=no
13284    OBJCFLAGS="-g"
13285    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h.  */
13287
13288 int
13289 main ()
13290 {
13291
13292   ;
13293   return 0;
13294 }
13295 _ACEOF
13296 if ac_fn_objc_try_compile "$LINENO"; then :
13297   ac_cv_prog_objc_g=yes
13298 else
13299   OBJCFLAGS=""
13300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13301 /* end confdefs.h.  */
13302
13303 int
13304 main ()
13305 {
13306
13307   ;
13308   return 0;
13309 }
13310 _ACEOF
13311 if ac_fn_objc_try_compile "$LINENO"; then :
13312
13313 else
13314   ac_objc_werror_flag=$ac_save_objc_werror_flag
13315          OBJCFLAGS="-g"
13316          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13317 /* end confdefs.h.  */
13318
13319 int
13320 main ()
13321 {
13322
13323   ;
13324   return 0;
13325 }
13326 _ACEOF
13327 if ac_fn_objc_try_compile "$LINENO"; then :
13328   ac_cv_prog_objc_g=yes
13329 fi
13330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13331 fi
13332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13333 fi
13334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13335    ac_objc_werror_flag=$ac_save_objc_werror_flag
13336 fi
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
13338 $as_echo "$ac_cv_prog_objc_g" >&6; }
13339 if test "$ac_test_OBJCFLAGS" = set; then
13340   OBJCFLAGS=$ac_save_OBJCFLAGS
13341 elif test $ac_cv_prog_objc_g = yes; then
13342   if test "$GOBJC" = yes; then
13343     OBJCFLAGS="-g -O2"
13344   else
13345     OBJCFLAGS="-g"
13346   fi
13347 else
13348   if test "$GOBJC" = yes; then
13349     OBJCFLAGS="-O2"
13350   else
13351     OBJCFLAGS=
13352   fi
13353 fi
13354 ac_ext=c
13355 ac_cpp='$CPP $CPPFLAGS'
13356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13359
13360 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13361
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13363 $as_echo_n "checking dependency style of $depcc... " >&6; }
13364 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13365   $as_echo_n "(cached) " >&6
13366 else
13367   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13368   # We make a subdir and do the tests there.  Otherwise we can end up
13369   # making bogus files that we don't know about and never remove.  For
13370   # instance it was reported that on HP-UX the gcc test will end up
13371   # making a dummy file named `D' -- because `-MD' means `put the output
13372   # in D'.
13373   rm -rf conftest.dir
13374   mkdir conftest.dir
13375   # Copy depcomp to subdir because otherwise we won't find it if we're
13376   # using a relative directory.
13377   cp "$am_depcomp" conftest.dir
13378   cd conftest.dir
13379   # We will build objects and dependencies in a subdirectory because
13380   # it helps to detect inapplicable dependency modes.  For instance
13381   # both Tru64's cc and ICC support -MD to output dependencies as a
13382   # side effect of compilation, but ICC will put the dependencies in
13383   # the current directory while Tru64 will put them in the object
13384   # directory.
13385   mkdir sub
13386
13387   am_cv_OBJC_dependencies_compiler_type=none
13388   if test "$am_compiler_list" = ""; then
13389      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13390   fi
13391   am__universal=false
13392
13393
13394   for depmode in $am_compiler_list; do
13395     # Setup a source with many dependencies, because some compilers
13396     # like to wrap large dependency lists on column 80 (with \), and
13397     # we should not choose a depcomp mode which is confused by this.
13398     #
13399     # We need to recreate these files for each test, as the compiler may
13400     # overwrite some of them when testing with obscure command lines.
13401     # This happens at least with the AIX C compiler.
13402     : > sub/conftest.c
13403     for i in 1 2 3 4 5 6; do
13404       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13405       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13406       # Solaris 8's {/usr,}/bin/sh.
13407       touch sub/conftst$i.h
13408     done
13409     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13410
13411     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13412     # mode.  It turns out that the SunPro C++ compiler does not properly
13413     # handle `-M -o', and we need to detect this.  Also, some Intel
13414     # versions had trouble with output in subdirs
13415     am__obj=sub/conftest.${OBJEXT-o}
13416     am__minus_obj="-o $am__obj"
13417     case $depmode in
13418     gcc)
13419       # This depmode causes a compiler race in universal mode.
13420       test "$am__universal" = false || continue
13421       ;;
13422     nosideeffect)
13423       # after this tag, mechanisms are not by side-effect, so they'll
13424       # only be used when explicitly requested
13425       if test "x$enable_dependency_tracking" = xyes; then
13426         continue
13427       else
13428         break
13429       fi
13430       ;;
13431     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13432       # This compiler won't grok `-c -o', but also, the minuso test has
13433       # not run yet.  These depmodes are late enough in the game, and
13434       # so weak that their functioning should not be impacted.
13435       am__obj=conftest.${OBJEXT-o}
13436       am__minus_obj=
13437       ;;
13438     none) break ;;
13439     esac
13440     if depmode=$depmode \
13441        source=sub/conftest.c object=$am__obj \
13442        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13443        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13444          >/dev/null 2>conftest.err &&
13445        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13446        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13447        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13448        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13449       # icc doesn't choke on unknown options, it will just issue warnings
13450       # or remarks (even with -Werror).  So we grep stderr for any message
13451       # that says an option was ignored or not supported.
13452       # When given -MP, icc 7.0 and 7.1 complain thusly:
13453       #   icc: Command line warning: ignoring option '-M'; no argument required
13454       # The diagnosis changed in icc 8.0:
13455       #   icc: Command line remark: option '-MP' not supported
13456       if (grep 'ignoring option' conftest.err ||
13457           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13458         am_cv_OBJC_dependencies_compiler_type=$depmode
13459         break
13460       fi
13461     fi
13462   done
13463
13464   cd ..
13465   rm -rf conftest.dir
13466 else
13467   am_cv_OBJC_dependencies_compiler_type=none
13468 fi
13469
13470 fi
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13472 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13473 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13474
13475  if
13476   test "x$enable_dependency_tracking" != xno \
13477   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13478   am__fastdepOBJC_TRUE=
13479   am__fastdepOBJC_FALSE='#'
13480 else
13481   am__fastdepOBJC_TRUE='#'
13482   am__fastdepOBJC_FALSE=
13483 fi
13484
13485
13486
13487 depcc="$OBJC" am_compiler_list='gcc3 gcc'
13488
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13490 $as_echo_n "checking dependency style of $depcc... " >&6; }
13491 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
13492   $as_echo_n "(cached) " >&6
13493 else
13494   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13495   # We make a subdir and do the tests there.  Otherwise we can end up
13496   # making bogus files that we don't know about and never remove.  For
13497   # instance it was reported that on HP-UX the gcc test will end up
13498   # making a dummy file named `D' -- because `-MD' means `put the output
13499   # in D'.
13500   rm -rf conftest.dir
13501   mkdir conftest.dir
13502   # Copy depcomp to subdir because otherwise we won't find it if we're
13503   # using a relative directory.
13504   cp "$am_depcomp" conftest.dir
13505   cd conftest.dir
13506   # We will build objects and dependencies in a subdirectory because
13507   # it helps to detect inapplicable dependency modes.  For instance
13508   # both Tru64's cc and ICC support -MD to output dependencies as a
13509   # side effect of compilation, but ICC will put the dependencies in
13510   # the current directory while Tru64 will put them in the object
13511   # directory.
13512   mkdir sub
13513
13514   am_cv_OBJC_dependencies_compiler_type=none
13515   if test "$am_compiler_list" = ""; then
13516      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13517   fi
13518   am__universal=false
13519
13520
13521   for depmode in $am_compiler_list; do
13522     # Setup a source with many dependencies, because some compilers
13523     # like to wrap large dependency lists on column 80 (with \), and
13524     # we should not choose a depcomp mode which is confused by this.
13525     #
13526     # We need to recreate these files for each test, as the compiler may
13527     # overwrite some of them when testing with obscure command lines.
13528     # This happens at least with the AIX C compiler.
13529     : > sub/conftest.c
13530     for i in 1 2 3 4 5 6; do
13531       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13532       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13533       # Solaris 8's {/usr,}/bin/sh.
13534       touch sub/conftst$i.h
13535     done
13536     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13537
13538     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13539     # mode.  It turns out that the SunPro C++ compiler does not properly
13540     # handle `-M -o', and we need to detect this.  Also, some Intel
13541     # versions had trouble with output in subdirs
13542     am__obj=sub/conftest.${OBJEXT-o}
13543     am__minus_obj="-o $am__obj"
13544     case $depmode in
13545     gcc)
13546       # This depmode causes a compiler race in universal mode.
13547       test "$am__universal" = false || continue
13548       ;;
13549     nosideeffect)
13550       # after this tag, mechanisms are not by side-effect, so they'll
13551       # only be used when explicitly requested
13552       if test "x$enable_dependency_tracking" = xyes; then
13553         continue
13554       else
13555         break
13556       fi
13557       ;;
13558     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13559       # This compiler won't grok `-c -o', but also, the minuso test has
13560       # not run yet.  These depmodes are late enough in the game, and
13561       # so weak that their functioning should not be impacted.
13562       am__obj=conftest.${OBJEXT-o}
13563       am__minus_obj=
13564       ;;
13565     none) break ;;
13566     esac
13567     if depmode=$depmode \
13568        source=sub/conftest.c object=$am__obj \
13569        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13570        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13571          >/dev/null 2>conftest.err &&
13572        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13573        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13574        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13575        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13576       # icc doesn't choke on unknown options, it will just issue warnings
13577       # or remarks (even with -Werror).  So we grep stderr for any message
13578       # that says an option was ignored or not supported.
13579       # When given -MP, icc 7.0 and 7.1 complain thusly:
13580       #   icc: Command line warning: ignoring option '-M'; no argument required
13581       # The diagnosis changed in icc 8.0:
13582       #   icc: Command line remark: option '-MP' not supported
13583       if (grep 'ignoring option' conftest.err ||
13584           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13585         am_cv_OBJC_dependencies_compiler_type=$depmode
13586         break
13587       fi
13588     fi
13589   done
13590
13591   cd ..
13592   rm -rf conftest.dir
13593 else
13594   am_cv_OBJC_dependencies_compiler_type=none
13595 fi
13596
13597 fi
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
13599 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
13600 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
13601
13602  if
13603   test "x$enable_dependency_tracking" != xno \
13604   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
13605   am__fastdepOBJC_TRUE=
13606   am__fastdepOBJC_FALSE='#'
13607 else
13608   am__fastdepOBJC_TRUE='#'
13609   am__fastdepOBJC_FALSE=
13610 fi
13611
13612
13613
13614
13615
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
13617 $as_echo_n "checking whether the Objective C compiler works... " >&6; }
13618 if ${rw_cv_prog_objc_works+:} false; then :
13619   $as_echo_n "(cached) " >&6
13620 else
13621   ac_ext=m
13622 ac_cpp='$OBJCPP $CPPFLAGS'
13623 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13624 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13625 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
13626
13627                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h.  */
13629
13630 int
13631 main ()
13632 {
13633
13634   ;
13635   return 0;
13636 }
13637 _ACEOF
13638 if ac_fn_objc_try_link "$LINENO"; then :
13639   rw_cv_prog_objc_works=yes
13640 else
13641   rw_cv_prog_objc_works=no
13642 fi
13643 rm -f core conftest.err conftest.$ac_objext \
13644     conftest$ac_exeext conftest.$ac_ext
13645                 ac_ext=c
13646 ac_cpp='$CPP $CPPFLAGS'
13647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13650
13651 fi
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
13653 $as_echo "$rw_cv_prog_objc_works" >&6; }
13654
13655
13656 ac_ext=cpp
13657 ac_cpp='$CXXCPP $CPPFLAGS'
13658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13661 if test -z "$CXX"; then
13662   if test -n "$CCC"; then
13663     CXX=$CCC
13664   else
13665     if test -n "$ac_tool_prefix"; then
13666   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13667   do
13668     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13669 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13671 $as_echo_n "checking for $ac_word... " >&6; }
13672 if ${ac_cv_prog_CXX+:} false; then :
13673   $as_echo_n "(cached) " >&6
13674 else
13675   if test -n "$CXX"; then
13676   ac_cv_prog_CXX="$CXX" # Let the user override the test.
13677 else
13678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13679 for as_dir in $PATH
13680 do
13681   IFS=$as_save_IFS
13682   test -z "$as_dir" && as_dir=.
13683     for ac_exec_ext in '' $ac_executable_extensions; do
13684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13685     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13687     break 2
13688   fi
13689 done
13690   done
13691 IFS=$as_save_IFS
13692
13693 fi
13694 fi
13695 CXX=$ac_cv_prog_CXX
13696 if test -n "$CXX"; then
13697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13698 $as_echo "$CXX" >&6; }
13699 else
13700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701 $as_echo "no" >&6; }
13702 fi
13703
13704
13705     test -n "$CXX" && break
13706   done
13707 fi
13708 if test -z "$CXX"; then
13709   ac_ct_CXX=$CXX
13710   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13711 do
13712   # Extract the first word of "$ac_prog", so it can be a program name with args.
13713 set dummy $ac_prog; ac_word=$2
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13715 $as_echo_n "checking for $ac_word... " >&6; }
13716 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
13717   $as_echo_n "(cached) " >&6
13718 else
13719   if test -n "$ac_ct_CXX"; then
13720   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13721 else
13722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13723 for as_dir in $PATH
13724 do
13725   IFS=$as_save_IFS
13726   test -z "$as_dir" && as_dir=.
13727     for ac_exec_ext in '' $ac_executable_extensions; do
13728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13729     ac_cv_prog_ac_ct_CXX="$ac_prog"
13730     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13731     break 2
13732   fi
13733 done
13734   done
13735 IFS=$as_save_IFS
13736
13737 fi
13738 fi
13739 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13740 if test -n "$ac_ct_CXX"; then
13741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13742 $as_echo "$ac_ct_CXX" >&6; }
13743 else
13744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13745 $as_echo "no" >&6; }
13746 fi
13747
13748
13749   test -n "$ac_ct_CXX" && break
13750 done
13751
13752   if test "x$ac_ct_CXX" = x; then
13753     CXX="g++"
13754   else
13755     case $cross_compiling:$ac_tool_warned in
13756 yes:)
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13759 ac_tool_warned=yes ;;
13760 esac
13761     CXX=$ac_ct_CXX
13762   fi
13763 fi
13764
13765   fi
13766 fi
13767 # Provide some information about the compiler.
13768 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13769 set X $ac_compile
13770 ac_compiler=$2
13771 for ac_option in --version -v -V -qversion; do
13772   { { ac_try="$ac_compiler $ac_option >&5"
13773 case "(($ac_try" in
13774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13775   *) ac_try_echo=$ac_try;;
13776 esac
13777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13778 $as_echo "$ac_try_echo"; } >&5
13779   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13780   ac_status=$?
13781   if test -s conftest.err; then
13782     sed '10a\
13783 ... rest of stderr output deleted ...
13784          10q' conftest.err >conftest.er1
13785     cat conftest.er1 >&5
13786   fi
13787   rm -f conftest.er1 conftest.err
13788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13789   test $ac_status = 0; }
13790 done
13791
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13793 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13794 if ${ac_cv_cxx_compiler_gnu+:} false; then :
13795   $as_echo_n "(cached) " >&6
13796 else
13797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h.  */
13799
13800 int
13801 main ()
13802 {
13803 #ifndef __GNUC__
13804        choke me
13805 #endif
13806
13807   ;
13808   return 0;
13809 }
13810 _ACEOF
13811 if ac_fn_cxx_try_compile "$LINENO"; then :
13812   ac_compiler_gnu=yes
13813 else
13814   ac_compiler_gnu=no
13815 fi
13816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13817 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13818
13819 fi
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13821 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13822 if test $ac_compiler_gnu = yes; then
13823   GXX=yes
13824 else
13825   GXX=
13826 fi
13827 ac_test_CXXFLAGS=${CXXFLAGS+set}
13828 ac_save_CXXFLAGS=$CXXFLAGS
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13830 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
13831 if ${ac_cv_prog_cxx_g+:} false; then :
13832   $as_echo_n "(cached) " >&6
13833 else
13834   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13835    ac_cxx_werror_flag=yes
13836    ac_cv_prog_cxx_g=no
13837    CXXFLAGS="-g"
13838    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13839 /* end confdefs.h.  */
13840
13841 int
13842 main ()
13843 {
13844
13845   ;
13846   return 0;
13847 }
13848 _ACEOF
13849 if ac_fn_cxx_try_compile "$LINENO"; then :
13850   ac_cv_prog_cxx_g=yes
13851 else
13852   CXXFLAGS=""
13853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h.  */
13855
13856 int
13857 main ()
13858 {
13859
13860   ;
13861   return 0;
13862 }
13863 _ACEOF
13864 if ac_fn_cxx_try_compile "$LINENO"; then :
13865
13866 else
13867   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13868          CXXFLAGS="-g"
13869          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h.  */
13871
13872 int
13873 main ()
13874 {
13875
13876   ;
13877   return 0;
13878 }
13879 _ACEOF
13880 if ac_fn_cxx_try_compile "$LINENO"; then :
13881   ac_cv_prog_cxx_g=yes
13882 fi
13883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13884 fi
13885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13886 fi
13887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13888    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13889 fi
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13891 $as_echo "$ac_cv_prog_cxx_g" >&6; }
13892 if test "$ac_test_CXXFLAGS" = set; then
13893   CXXFLAGS=$ac_save_CXXFLAGS
13894 elif test $ac_cv_prog_cxx_g = yes; then
13895   if test "$GXX" = yes; then
13896     CXXFLAGS="-g -O2"
13897   else
13898     CXXFLAGS="-g"
13899   fi
13900 else
13901   if test "$GXX" = yes; then
13902     CXXFLAGS="-O2"
13903   else
13904     CXXFLAGS=
13905   fi
13906 fi
13907 ac_ext=c
13908 ac_cpp='$CPP $CPPFLAGS'
13909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13912
13913 depcc="$CXX"  am_compiler_list=
13914
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13916 $as_echo_n "checking dependency style of $depcc... " >&6; }
13917 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
13918   $as_echo_n "(cached) " >&6
13919 else
13920   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13921   # We make a subdir and do the tests there.  Otherwise we can end up
13922   # making bogus files that we don't know about and never remove.  For
13923   # instance it was reported that on HP-UX the gcc test will end up
13924   # making a dummy file named `D' -- because `-MD' means `put the output
13925   # in D'.
13926   rm -rf conftest.dir
13927   mkdir conftest.dir
13928   # Copy depcomp to subdir because otherwise we won't find it if we're
13929   # using a relative directory.
13930   cp "$am_depcomp" conftest.dir
13931   cd conftest.dir
13932   # We will build objects and dependencies in a subdirectory because
13933   # it helps to detect inapplicable dependency modes.  For instance
13934   # both Tru64's cc and ICC support -MD to output dependencies as a
13935   # side effect of compilation, but ICC will put the dependencies in
13936   # the current directory while Tru64 will put them in the object
13937   # directory.
13938   mkdir sub
13939
13940   am_cv_CXX_dependencies_compiler_type=none
13941   if test "$am_compiler_list" = ""; then
13942      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13943   fi
13944   am__universal=false
13945   case " $depcc " in #(
13946      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13947      esac
13948
13949   for depmode in $am_compiler_list; do
13950     # Setup a source with many dependencies, because some compilers
13951     # like to wrap large dependency lists on column 80 (with \), and
13952     # we should not choose a depcomp mode which is confused by this.
13953     #
13954     # We need to recreate these files for each test, as the compiler may
13955     # overwrite some of them when testing with obscure command lines.
13956     # This happens at least with the AIX C compiler.
13957     : > sub/conftest.c
13958     for i in 1 2 3 4 5 6; do
13959       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13960       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13961       # Solaris 8's {/usr,}/bin/sh.
13962       touch sub/conftst$i.h
13963     done
13964     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13965
13966     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13967     # mode.  It turns out that the SunPro C++ compiler does not properly
13968     # handle `-M -o', and we need to detect this.  Also, some Intel
13969     # versions had trouble with output in subdirs
13970     am__obj=sub/conftest.${OBJEXT-o}
13971     am__minus_obj="-o $am__obj"
13972     case $depmode in
13973     gcc)
13974       # This depmode causes a compiler race in universal mode.
13975       test "$am__universal" = false || continue
13976       ;;
13977     nosideeffect)
13978       # after this tag, mechanisms are not by side-effect, so they'll
13979       # only be used when explicitly requested
13980       if test "x$enable_dependency_tracking" = xyes; then
13981         continue
13982       else
13983         break
13984       fi
13985       ;;
13986     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13987       # This compiler won't grok `-c -o', but also, the minuso test has
13988       # not run yet.  These depmodes are late enough in the game, and
13989       # so weak that their functioning should not be impacted.
13990       am__obj=conftest.${OBJEXT-o}
13991       am__minus_obj=
13992       ;;
13993     none) break ;;
13994     esac
13995     if depmode=$depmode \
13996        source=sub/conftest.c object=$am__obj \
13997        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13998        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13999          >/dev/null 2>conftest.err &&
14000        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14001        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14002        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14003        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14004       # icc doesn't choke on unknown options, it will just issue warnings
14005       # or remarks (even with -Werror).  So we grep stderr for any message
14006       # that says an option was ignored or not supported.
14007       # When given -MP, icc 7.0 and 7.1 complain thusly:
14008       #   icc: Command line warning: ignoring option '-M'; no argument required
14009       # The diagnosis changed in icc 8.0:
14010       #   icc: Command line remark: option '-MP' not supported
14011       if (grep 'ignoring option' conftest.err ||
14012           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14013         am_cv_CXX_dependencies_compiler_type=$depmode
14014         break
14015       fi
14016     fi
14017   done
14018
14019   cd ..
14020   rm -rf conftest.dir
14021 else
14022   am_cv_CXX_dependencies_compiler_type=none
14023 fi
14024
14025 fi
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
14027 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
14028 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
14029
14030  if
14031   test "x$enable_dependency_tracking" != xno \
14032   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
14033   am__fastdepCXX_TRUE=
14034   am__fastdepCXX_FALSE='#'
14035 else
14036   am__fastdepCXX_TRUE='#'
14037   am__fastdepCXX_FALSE=
14038 fi
14039
14040
14041
14042
14043 func_stripname_cnf ()
14044 {
14045   case ${2} in
14046   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14047   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14048   esac
14049 } # func_stripname_cnf
14050
14051       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14052     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14053     (test "X$CXX" != "Xg++"))) ; then
14054   ac_ext=cpp
14055 ac_cpp='$CXXCPP $CPPFLAGS'
14056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14060 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14061 if test -z "$CXXCPP"; then
14062   if ${ac_cv_prog_CXXCPP+:} false; then :
14063   $as_echo_n "(cached) " >&6
14064 else
14065       # Double quotes because CXXCPP needs to be expanded
14066     for CXXCPP in "$CXX -E" "/lib/cpp"
14067     do
14068       ac_preproc_ok=false
14069 for ac_cxx_preproc_warn_flag in '' yes
14070 do
14071   # Use a header file that comes with gcc, so configuring glibc
14072   # with a fresh cross-compiler works.
14073   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14074   # <limits.h> exists even on freestanding compilers.
14075   # On the NeXT, cc -E runs the code through the compiler's parser,
14076   # not just through cpp. "Syntax error" is here to catch this case.
14077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h.  */
14079 #ifdef __STDC__
14080 # include <limits.h>
14081 #else
14082 # include <assert.h>
14083 #endif
14084                      Syntax error
14085 _ACEOF
14086 if ac_fn_cxx_try_cpp "$LINENO"; then :
14087
14088 else
14089   # Broken: fails on valid input.
14090 continue
14091 fi
14092 rm -f conftest.err conftest.i conftest.$ac_ext
14093
14094   # OK, works on sane cases.  Now check whether nonexistent headers
14095   # can be detected and how.
14096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h.  */
14098 #include <ac_nonexistent.h>
14099 _ACEOF
14100 if ac_fn_cxx_try_cpp "$LINENO"; then :
14101   # Broken: success on invalid input.
14102 continue
14103 else
14104   # Passes both tests.
14105 ac_preproc_ok=:
14106 break
14107 fi
14108 rm -f conftest.err conftest.i conftest.$ac_ext
14109
14110 done
14111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14112 rm -f conftest.i conftest.err conftest.$ac_ext
14113 if $ac_preproc_ok; then :
14114   break
14115 fi
14116
14117     done
14118     ac_cv_prog_CXXCPP=$CXXCPP
14119
14120 fi
14121   CXXCPP=$ac_cv_prog_CXXCPP
14122 else
14123   ac_cv_prog_CXXCPP=$CXXCPP
14124 fi
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14126 $as_echo "$CXXCPP" >&6; }
14127 ac_preproc_ok=false
14128 for ac_cxx_preproc_warn_flag in '' yes
14129 do
14130   # Use a header file that comes with gcc, so configuring glibc
14131   # with a fresh cross-compiler works.
14132   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14133   # <limits.h> exists even on freestanding compilers.
14134   # On the NeXT, cc -E runs the code through the compiler's parser,
14135   # not just through cpp. "Syntax error" is here to catch this case.
14136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h.  */
14138 #ifdef __STDC__
14139 # include <limits.h>
14140 #else
14141 # include <assert.h>
14142 #endif
14143                      Syntax error
14144 _ACEOF
14145 if ac_fn_cxx_try_cpp "$LINENO"; then :
14146
14147 else
14148   # Broken: fails on valid input.
14149 continue
14150 fi
14151 rm -f conftest.err conftest.i conftest.$ac_ext
14152
14153   # OK, works on sane cases.  Now check whether nonexistent headers
14154   # can be detected and how.
14155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h.  */
14157 #include <ac_nonexistent.h>
14158 _ACEOF
14159 if ac_fn_cxx_try_cpp "$LINENO"; then :
14160   # Broken: success on invalid input.
14161 continue
14162 else
14163   # Passes both tests.
14164 ac_preproc_ok=:
14165 break
14166 fi
14167 rm -f conftest.err conftest.i conftest.$ac_ext
14168
14169 done
14170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14171 rm -f conftest.i conftest.err conftest.$ac_ext
14172 if $ac_preproc_ok; then :
14173
14174 else
14175   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14177 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14178 See \`config.log' for more details" "$LINENO" 5; }
14179 fi
14180
14181 ac_ext=c
14182 ac_cpp='$CPP $CPPFLAGS'
14183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14186
14187 else
14188   _lt_caught_CXX_error=yes
14189 fi
14190
14191 ac_ext=cpp
14192 ac_cpp='$CXXCPP $CPPFLAGS'
14193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14196
14197 archive_cmds_need_lc_CXX=no
14198 allow_undefined_flag_CXX=
14199 always_export_symbols_CXX=no
14200 archive_expsym_cmds_CXX=
14201 compiler_needs_object_CXX=no
14202 export_dynamic_flag_spec_CXX=
14203 hardcode_direct_CXX=no
14204 hardcode_direct_absolute_CXX=no
14205 hardcode_libdir_flag_spec_CXX=
14206 hardcode_libdir_separator_CXX=
14207 hardcode_minus_L_CXX=no
14208 hardcode_shlibpath_var_CXX=unsupported
14209 hardcode_automatic_CXX=no
14210 inherit_rpath_CXX=no
14211 module_cmds_CXX=
14212 module_expsym_cmds_CXX=
14213 link_all_deplibs_CXX=unknown
14214 old_archive_cmds_CXX=$old_archive_cmds
14215 reload_flag_CXX=$reload_flag
14216 reload_cmds_CXX=$reload_cmds
14217 no_undefined_flag_CXX=
14218 whole_archive_flag_spec_CXX=
14219 enable_shared_with_static_runtimes_CXX=no
14220
14221 # Source file extension for C++ test sources.
14222 ac_ext=cpp
14223
14224 # Object file extension for compiled C++ test sources.
14225 objext=o
14226 objext_CXX=$objext
14227
14228 # No sense in running all these tests if we already determined that
14229 # the CXX compiler isn't working.  Some variables (like enable_shared)
14230 # are currently assumed to apply to all compilers on this platform,
14231 # and will be corrupted by setting them based on a non-working compiler.
14232 if test "$_lt_caught_CXX_error" != yes; then
14233   # Code to be used in simple compile tests
14234   lt_simple_compile_test_code="int some_variable = 0;"
14235
14236   # Code to be used in simple link tests
14237   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14238
14239   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14240
14241
14242
14243
14244
14245
14246 # If no C compiler was specified, use CC.
14247 LTCC=${LTCC-"$CC"}
14248
14249 # If no C compiler flags were specified, use CFLAGS.
14250 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14251
14252 # Allow CC to be a program name with arguments.
14253 compiler=$CC
14254
14255
14256   # save warnings/boilerplate of simple test code
14257   ac_outfile=conftest.$ac_objext
14258 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14259 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14260 _lt_compiler_boilerplate=`cat conftest.err`
14261 $RM conftest*
14262
14263   ac_outfile=conftest.$ac_objext
14264 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14265 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14266 _lt_linker_boilerplate=`cat conftest.err`
14267 $RM -r conftest*
14268
14269
14270   # Allow CC to be a program name with arguments.
14271   lt_save_CC=$CC
14272   lt_save_CFLAGS=$CFLAGS
14273   lt_save_LD=$LD
14274   lt_save_GCC=$GCC
14275   GCC=$GXX
14276   lt_save_with_gnu_ld=$with_gnu_ld
14277   lt_save_path_LD=$lt_cv_path_LD
14278   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14279     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14280   else
14281     $as_unset lt_cv_prog_gnu_ld
14282   fi
14283   if test -n "${lt_cv_path_LDCXX+set}"; then
14284     lt_cv_path_LD=$lt_cv_path_LDCXX
14285   else
14286     $as_unset lt_cv_path_LD
14287   fi
14288   test -z "${LDCXX+set}" || LD=$LDCXX
14289   CC=${CXX-"c++"}
14290   CFLAGS=$CXXFLAGS
14291   compiler=$CC
14292   compiler_CXX=$CC
14293   for cc_temp in $compiler""; do
14294   case $cc_temp in
14295     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14296     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14297     \-*) ;;
14298     *) break;;
14299   esac
14300 done
14301 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14302
14303
14304   if test -n "$compiler"; then
14305     # We don't want -fno-exception when compiling C++ code, so set the
14306     # no_builtin_flag separately
14307     if test "$GXX" = yes; then
14308       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14309     else
14310       lt_prog_compiler_no_builtin_flag_CXX=
14311     fi
14312
14313     if test "$GXX" = yes; then
14314       # Set up default GNU C++ configuration
14315
14316
14317
14318 # Check whether --with-gnu-ld was given.
14319 if test "${with_gnu_ld+set}" = set; then :
14320   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14321 else
14322   with_gnu_ld=no
14323 fi
14324
14325 ac_prog=ld
14326 if test "$GCC" = yes; then
14327   # Check if gcc -print-prog-name=ld gives a path.
14328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14329 $as_echo_n "checking for ld used by $CC... " >&6; }
14330   case $host in
14331   *-*-mingw*)
14332     # gcc leaves a trailing carriage return which upsets mingw
14333     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14334   *)
14335     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14336   esac
14337   case $ac_prog in
14338     # Accept absolute paths.
14339     [\\/]* | ?:[\\/]*)
14340       re_direlt='/[^/][^/]*/\.\./'
14341       # Canonicalize the pathname of ld
14342       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14343       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14344         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14345       done
14346       test -z "$LD" && LD="$ac_prog"
14347       ;;
14348   "")
14349     # If it fails, then pretend we aren't using GCC.
14350     ac_prog=ld
14351     ;;
14352   *)
14353     # If it is relative, then search for the first ld in PATH.
14354     with_gnu_ld=unknown
14355     ;;
14356   esac
14357 elif test "$with_gnu_ld" = yes; then
14358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14359 $as_echo_n "checking for GNU ld... " >&6; }
14360 else
14361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14362 $as_echo_n "checking for non-GNU ld... " >&6; }
14363 fi
14364 if ${lt_cv_path_LD+:} false; then :
14365   $as_echo_n "(cached) " >&6
14366 else
14367   if test -z "$LD"; then
14368   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14369   for ac_dir in $PATH; do
14370     IFS="$lt_save_ifs"
14371     test -z "$ac_dir" && ac_dir=.
14372     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14373       lt_cv_path_LD="$ac_dir/$ac_prog"
14374       # Check to see if the program is GNU ld.  I'd rather use --version,
14375       # but apparently some variants of GNU ld only accept -v.
14376       # Break only if it was the GNU/non-GNU ld that we prefer.
14377       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14378       *GNU* | *'with BFD'*)
14379         test "$with_gnu_ld" != no && break
14380         ;;
14381       *)
14382         test "$with_gnu_ld" != yes && break
14383         ;;
14384       esac
14385     fi
14386   done
14387   IFS="$lt_save_ifs"
14388 else
14389   lt_cv_path_LD="$LD" # Let the user override the test with a path.
14390 fi
14391 fi
14392
14393 LD="$lt_cv_path_LD"
14394 if test -n "$LD"; then
14395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14396 $as_echo "$LD" >&6; }
14397 else
14398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14399 $as_echo "no" >&6; }
14400 fi
14401 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14403 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14404 if ${lt_cv_prog_gnu_ld+:} false; then :
14405   $as_echo_n "(cached) " >&6
14406 else
14407   # I'd rather use --version here, but apparently some GNU lds only accept -v.
14408 case `$LD -v 2>&1 </dev/null` in
14409 *GNU* | *'with BFD'*)
14410   lt_cv_prog_gnu_ld=yes
14411   ;;
14412 *)
14413   lt_cv_prog_gnu_ld=no
14414   ;;
14415 esac
14416 fi
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14418 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14419 with_gnu_ld=$lt_cv_prog_gnu_ld
14420
14421
14422
14423
14424
14425
14426
14427       # Check if GNU C++ uses GNU ld as the underlying linker, since the
14428       # archiving commands below assume that GNU ld is being used.
14429       if test "$with_gnu_ld" = yes; then
14430         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14431         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14432
14433         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14434         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14435
14436         # If archive_cmds runs LD, not CC, wlarc should be empty
14437         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14438         #     investigate it a little bit more. (MM)
14439         wlarc='${wl}'
14440
14441         # ancient GNU ld didn't support --whole-archive et. al.
14442         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14443           $GREP 'no-whole-archive' > /dev/null; then
14444           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14445         else
14446           whole_archive_flag_spec_CXX=
14447         fi
14448       else
14449         with_gnu_ld=no
14450         wlarc=
14451
14452         # A generic and very simple default shared library creation
14453         # command for GNU C++ for the case where it uses the native
14454         # linker, instead of GNU ld.  If possible, this setting should
14455         # overridden to take advantage of the native linker features on
14456         # the platform it is being used on.
14457         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14458       fi
14459
14460       # Commands to make compiler produce verbose output that lists
14461       # what "hidden" libraries, object files and flags are used when
14462       # linking a shared library.
14463       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14464
14465     else
14466       GXX=no
14467       with_gnu_ld=no
14468       wlarc=
14469     fi
14470
14471     # PORTME: fill in a description of your system's C++ link characteristics
14472     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14473 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14474     ld_shlibs_CXX=yes
14475     case $host_os in
14476       aix3*)
14477         # FIXME: insert proper C++ library support
14478         ld_shlibs_CXX=no
14479         ;;
14480       aix[4-9]*)
14481         if test "$host_cpu" = ia64; then
14482           # On IA64, the linker does run time linking by default, so we don't
14483           # have to do anything special.
14484           aix_use_runtimelinking=no
14485           exp_sym_flag='-Bexport'
14486           no_entry_flag=""
14487         else
14488           aix_use_runtimelinking=no
14489
14490           # Test if we are trying to use run time linking or normal
14491           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14492           # need to do runtime linking.
14493           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14494             for ld_flag in $LDFLAGS; do
14495               case $ld_flag in
14496               *-brtl*)
14497                 aix_use_runtimelinking=yes
14498                 break
14499                 ;;
14500               esac
14501             done
14502             ;;
14503           esac
14504
14505           exp_sym_flag='-bexport'
14506           no_entry_flag='-bnoentry'
14507         fi
14508
14509         # When large executables or shared objects are built, AIX ld can
14510         # have problems creating the table of contents.  If linking a library
14511         # or program results in "error TOC overflow" add -mminimal-toc to
14512         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14513         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14514
14515         archive_cmds_CXX=''
14516         hardcode_direct_CXX=yes
14517         hardcode_direct_absolute_CXX=yes
14518         hardcode_libdir_separator_CXX=':'
14519         link_all_deplibs_CXX=yes
14520         file_list_spec_CXX='${wl}-f,'
14521
14522         if test "$GXX" = yes; then
14523           case $host_os in aix4.[012]|aix4.[012].*)
14524           # We only want to do this on AIX 4.2 and lower, the check
14525           # below for broken collect2 doesn't work under 4.3+
14526           collect2name=`${CC} -print-prog-name=collect2`
14527           if test -f "$collect2name" &&
14528              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14529           then
14530             # We have reworked collect2
14531             :
14532           else
14533             # We have old collect2
14534             hardcode_direct_CXX=unsupported
14535             # It fails to find uninstalled libraries when the uninstalled
14536             # path is not listed in the libpath.  Setting hardcode_minus_L
14537             # to unsupported forces relinking
14538             hardcode_minus_L_CXX=yes
14539             hardcode_libdir_flag_spec_CXX='-L$libdir'
14540             hardcode_libdir_separator_CXX=
14541           fi
14542           esac
14543           shared_flag='-shared'
14544           if test "$aix_use_runtimelinking" = yes; then
14545             shared_flag="$shared_flag "'${wl}-G'
14546           fi
14547         else
14548           # not using gcc
14549           if test "$host_cpu" = ia64; then
14550           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14551           # chokes on -Wl,-G. The following line is correct:
14552           shared_flag='-G'
14553           else
14554             if test "$aix_use_runtimelinking" = yes; then
14555               shared_flag='${wl}-G'
14556             else
14557               shared_flag='${wl}-bM:SRE'
14558             fi
14559           fi
14560         fi
14561
14562         export_dynamic_flag_spec_CXX='${wl}-bexpall'
14563         # It seems that -bexpall does not export symbols beginning with
14564         # underscore (_), so it is better to generate a list of symbols to
14565         # export.
14566         always_export_symbols_CXX=yes
14567         if test "$aix_use_runtimelinking" = yes; then
14568           # Warning - without using the other runtime loading flags (-brtl),
14569           # -berok will link without error, but may produce a broken library.
14570           allow_undefined_flag_CXX='-berok'
14571           # Determine the default libpath from the value encoded in an empty
14572           # executable.
14573           if test "${lt_cv_aix_libpath+set}" = set; then
14574   aix_libpath=$lt_cv_aix_libpath
14575 else
14576   if ${lt_cv_aix_libpath__CXX+:} false; then :
14577   $as_echo_n "(cached) " >&6
14578 else
14579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14580 /* end confdefs.h.  */
14581
14582 int
14583 main ()
14584 {
14585
14586   ;
14587   return 0;
14588 }
14589 _ACEOF
14590 if ac_fn_cxx_try_link "$LINENO"; then :
14591
14592   lt_aix_libpath_sed='
14593       /Import File Strings/,/^$/ {
14594           /^0/ {
14595               s/^0  *\([^ ]*\) *$/\1/
14596               p
14597           }
14598       }'
14599   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14600   # Check for a 64-bit object if we didn't find anything.
14601   if test -z "$lt_cv_aix_libpath__CXX"; then
14602     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14603   fi
14604 fi
14605 rm -f core conftest.err conftest.$ac_objext \
14606     conftest$ac_exeext conftest.$ac_ext
14607   if test -z "$lt_cv_aix_libpath__CXX"; then
14608     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14609   fi
14610
14611 fi
14612
14613   aix_libpath=$lt_cv_aix_libpath__CXX
14614 fi
14615
14616           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14617
14618           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14619         else
14620           if test "$host_cpu" = ia64; then
14621             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14622             allow_undefined_flag_CXX="-z nodefs"
14623             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"
14624           else
14625             # Determine the default libpath from the value encoded in an
14626             # empty executable.
14627             if test "${lt_cv_aix_libpath+set}" = set; then
14628   aix_libpath=$lt_cv_aix_libpath
14629 else
14630   if ${lt_cv_aix_libpath__CXX+:} false; then :
14631   $as_echo_n "(cached) " >&6
14632 else
14633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h.  */
14635
14636 int
14637 main ()
14638 {
14639
14640   ;
14641   return 0;
14642 }
14643 _ACEOF
14644 if ac_fn_cxx_try_link "$LINENO"; then :
14645
14646   lt_aix_libpath_sed='
14647       /Import File Strings/,/^$/ {
14648           /^0/ {
14649               s/^0  *\([^ ]*\) *$/\1/
14650               p
14651           }
14652       }'
14653   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14654   # Check for a 64-bit object if we didn't find anything.
14655   if test -z "$lt_cv_aix_libpath__CXX"; then
14656     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14657   fi
14658 fi
14659 rm -f core conftest.err conftest.$ac_objext \
14660     conftest$ac_exeext conftest.$ac_ext
14661   if test -z "$lt_cv_aix_libpath__CXX"; then
14662     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14663   fi
14664
14665 fi
14666
14667   aix_libpath=$lt_cv_aix_libpath__CXX
14668 fi
14669
14670             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14671             # Warning - without using the other run time loading flags,
14672             # -berok will link without error, but may produce a broken library.
14673             no_undefined_flag_CXX=' ${wl}-bernotok'
14674             allow_undefined_flag_CXX=' ${wl}-berok'
14675             if test "$with_gnu_ld" = yes; then
14676               # We only use this code for GNU lds that support --whole-archive.
14677               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14678             else
14679               # Exported symbols can be pulled into shared objects from archives
14680               whole_archive_flag_spec_CXX='$convenience'
14681             fi
14682             archive_cmds_need_lc_CXX=yes
14683             # This is similar to how AIX traditionally builds its shared
14684             # libraries.
14685             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'
14686           fi
14687         fi
14688         ;;
14689
14690       beos*)
14691         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14692           allow_undefined_flag_CXX=unsupported
14693           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14694           # support --undefined.  This deserves some investigation.  FIXME
14695           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14696         else
14697           ld_shlibs_CXX=no
14698         fi
14699         ;;
14700
14701       chorus*)
14702         case $cc_basename in
14703           *)
14704           # FIXME: insert proper C++ library support
14705           ld_shlibs_CXX=no
14706           ;;
14707         esac
14708         ;;
14709
14710       cygwin* | mingw* | pw32* | cegcc*)
14711         case $GXX,$cc_basename in
14712         ,cl* | no,cl*)
14713           # Native MSVC
14714           # hardcode_libdir_flag_spec is actually meaningless, as there is
14715           # no search path for DLLs.
14716           hardcode_libdir_flag_spec_CXX=' '
14717           allow_undefined_flag_CXX=unsupported
14718           always_export_symbols_CXX=yes
14719           file_list_spec_CXX='@'
14720           # Tell ltmain to make .lib files, not .a files.
14721           libext=lib
14722           # Tell ltmain to make .dll files, not .so files.
14723           shrext_cmds=".dll"
14724           # FIXME: Setting linknames here is a bad hack.
14725           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
14726           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14727               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
14728             else
14729               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
14730             fi~
14731             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14732             linknames='
14733           # The linker will not automatically build a static lib if we build a DLL.
14734           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14735           enable_shared_with_static_runtimes_CXX=yes
14736           # Don't use ranlib
14737           old_postinstall_cmds_CXX='chmod 644 $oldlib'
14738           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14739             lt_tool_outputfile="@TOOL_OUTPUT@"~
14740             case $lt_outputfile in
14741               *.exe|*.EXE) ;;
14742               *)
14743                 lt_outputfile="$lt_outputfile.exe"
14744                 lt_tool_outputfile="$lt_tool_outputfile.exe"
14745                 ;;
14746             esac~
14747             func_to_tool_file "$lt_outputfile"~
14748             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
14749               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14750               $RM "$lt_outputfile.manifest";
14751             fi'
14752           ;;
14753         *)
14754           # g++
14755           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14756           # as there is no search path for DLLs.
14757           hardcode_libdir_flag_spec_CXX='-L$libdir'
14758           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
14759           allow_undefined_flag_CXX=unsupported
14760           always_export_symbols_CXX=no
14761           enable_shared_with_static_runtimes_CXX=yes
14762
14763           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14764             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'
14765             # If the export-symbols file already is a .def file (1st line
14766             # is EXPORTS), use it as is; otherwise, prepend...
14767             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14768               cp $export_symbols $output_objdir/$soname.def;
14769             else
14770               echo EXPORTS > $output_objdir/$soname.def;
14771               cat $export_symbols >> $output_objdir/$soname.def;
14772             fi~
14773             $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'
14774           else
14775             ld_shlibs_CXX=no
14776           fi
14777           ;;
14778         esac
14779         ;;
14780       darwin* | rhapsody*)
14781
14782
14783   archive_cmds_need_lc_CXX=no
14784   hardcode_direct_CXX=no
14785   hardcode_automatic_CXX=yes
14786   hardcode_shlibpath_var_CXX=unsupported
14787   if test "$lt_cv_ld_force_load" = "yes"; then
14788     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14789
14790   else
14791     whole_archive_flag_spec_CXX=''
14792   fi
14793   link_all_deplibs_CXX=yes
14794   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14795   case $cc_basename in
14796      ifort*) _lt_dar_can_shared=yes ;;
14797      *) _lt_dar_can_shared=$GCC ;;
14798   esac
14799   if test "$_lt_dar_can_shared" = "yes"; then
14800     output_verbose_link_cmd=func_echo_all
14801     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}"
14802     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14803     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}"
14804     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}"
14805        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14806       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}"
14807       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}"
14808     fi
14809
14810   else
14811   ld_shlibs_CXX=no
14812   fi
14813
14814         ;;
14815
14816       dgux*)
14817         case $cc_basename in
14818           ec++*)
14819             # FIXME: insert proper C++ library support
14820             ld_shlibs_CXX=no
14821             ;;
14822           ghcx*)
14823             # Green Hills C++ Compiler
14824             # FIXME: insert proper C++ library support
14825             ld_shlibs_CXX=no
14826             ;;
14827           *)
14828             # FIXME: insert proper C++ library support
14829             ld_shlibs_CXX=no
14830             ;;
14831         esac
14832         ;;
14833
14834       freebsd2.*)
14835         # C++ shared libraries reported to be fairly broken before
14836         # switch to ELF
14837         ld_shlibs_CXX=no
14838         ;;
14839
14840       freebsd-elf*)
14841         archive_cmds_need_lc_CXX=no
14842         ;;
14843
14844       freebsd* | dragonfly*)
14845         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14846         # conventions
14847         ld_shlibs_CXX=yes
14848         ;;
14849
14850       gnu*)
14851         ;;
14852
14853       haiku*)
14854         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14855         link_all_deplibs_CXX=yes
14856         ;;
14857
14858       hpux9*)
14859         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14860         hardcode_libdir_separator_CXX=:
14861         export_dynamic_flag_spec_CXX='${wl}-E'
14862         hardcode_direct_CXX=yes
14863         hardcode_minus_L_CXX=yes # Not in the search PATH,
14864                                              # but as the default
14865                                              # location of the library.
14866
14867         case $cc_basename in
14868           CC*)
14869             # FIXME: insert proper C++ library support
14870             ld_shlibs_CXX=no
14871             ;;
14872           aCC*)
14873             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'
14874             # Commands to make compiler produce verbose output that lists
14875             # what "hidden" libraries, object files and flags are used when
14876             # linking a shared library.
14877             #
14878             # There doesn't appear to be a way to prevent this compiler from
14879             # explicitly linking system object files so we need to strip them
14880             # from the output so that they don't get included in the library
14881             # dependencies.
14882             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14883             ;;
14884           *)
14885             if test "$GXX" = yes; then
14886               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14887             else
14888               # FIXME: insert proper C++ library support
14889               ld_shlibs_CXX=no
14890             fi
14891             ;;
14892         esac
14893         ;;
14894
14895       hpux10*|hpux11*)
14896         if test $with_gnu_ld = no; then
14897           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14898           hardcode_libdir_separator_CXX=:
14899
14900           case $host_cpu in
14901             hppa*64*|ia64*)
14902               ;;
14903             *)
14904               export_dynamic_flag_spec_CXX='${wl}-E'
14905               ;;
14906           esac
14907         fi
14908         case $host_cpu in
14909           hppa*64*|ia64*)
14910             hardcode_direct_CXX=no
14911             hardcode_shlibpath_var_CXX=no
14912             ;;
14913           *)
14914             hardcode_direct_CXX=yes
14915             hardcode_direct_absolute_CXX=yes
14916             hardcode_minus_L_CXX=yes # Not in the search PATH,
14917                                                  # but as the default
14918                                                  # location of the library.
14919             ;;
14920         esac
14921
14922         case $cc_basename in
14923           CC*)
14924             # FIXME: insert proper C++ library support
14925             ld_shlibs_CXX=no
14926             ;;
14927           aCC*)
14928             case $host_cpu in
14929               hppa*64*)
14930                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14931                 ;;
14932               ia64*)
14933                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14934                 ;;
14935               *)
14936                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14937                 ;;
14938             esac
14939             # Commands to make compiler produce verbose output that lists
14940             # what "hidden" libraries, object files and flags are used when
14941             # linking a shared library.
14942             #
14943             # There doesn't appear to be a way to prevent this compiler from
14944             # explicitly linking system object files so we need to strip them
14945             # from the output so that they don't get included in the library
14946             # dependencies.
14947             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14948             ;;
14949           *)
14950             if test "$GXX" = yes; then
14951               if test $with_gnu_ld = no; then
14952                 case $host_cpu in
14953                   hppa*64*)
14954                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14955                     ;;
14956                   ia64*)
14957                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14958                     ;;
14959                   *)
14960                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14961                     ;;
14962                 esac
14963               fi
14964             else
14965               # FIXME: insert proper C++ library support
14966               ld_shlibs_CXX=no
14967             fi
14968             ;;
14969         esac
14970         ;;
14971
14972       interix[3-9]*)
14973         hardcode_direct_CXX=no
14974         hardcode_shlibpath_var_CXX=no
14975         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14976         export_dynamic_flag_spec_CXX='${wl}-E'
14977         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14978         # Instead, shared libraries are loaded at an image base (0x10000000 by
14979         # default) and relocated if they conflict, which is a slow very memory
14980         # consuming and fragmenting process.  To avoid this, we pick a random,
14981         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14982         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14983         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'
14984         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'
14985         ;;
14986       irix5* | irix6*)
14987         case $cc_basename in
14988           CC*)
14989             # SGI C++
14990             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14991
14992             # Archives containing C++ object files must be created using
14993             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14994             # necessary to make sure instantiated templates are included
14995             # in the archive.
14996             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14997             ;;
14998           *)
14999             if test "$GXX" = yes; then
15000               if test "$with_gnu_ld" = no; then
15001                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15002               else
15003                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
15004               fi
15005             fi
15006             link_all_deplibs_CXX=yes
15007             ;;
15008         esac
15009         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15010         hardcode_libdir_separator_CXX=:
15011         inherit_rpath_CXX=yes
15012         ;;
15013
15014       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15015         case $cc_basename in
15016           KCC*)
15017             # Kuck and Associates, Inc. (KAI) C++ Compiler
15018
15019             # KCC will only create a shared library if the output file
15020             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15021             # to its proper name (with version) after linking.
15022             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'
15023             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'
15024             # Commands to make compiler produce verbose output that lists
15025             # what "hidden" libraries, object files and flags are used when
15026             # linking a shared library.
15027             #
15028             # There doesn't appear to be a way to prevent this compiler from
15029             # explicitly linking system object files so we need to strip them
15030             # from the output so that they don't get included in the library
15031             # dependencies.
15032             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15033
15034             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15035             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15036
15037             # Archives containing C++ object files must be created using
15038             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15039             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15040             ;;
15041           icpc* | ecpc* )
15042             # Intel C++
15043             with_gnu_ld=yes
15044             # version 8.0 and above of icpc choke on multiply defined symbols
15045             # if we add $predep_objects and $postdep_objects, however 7.1 and
15046             # earlier do not add the objects themselves.
15047             case `$CC -V 2>&1` in
15048               *"Version 7."*)
15049                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15050                 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'
15051                 ;;
15052               *)  # Version 8.0 or newer
15053                 tmp_idyn=
15054                 case $host_cpu in
15055                   ia64*) tmp_idyn=' -i_dynamic';;
15056                 esac
15057                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15058                 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'
15059                 ;;
15060             esac
15061             archive_cmds_need_lc_CXX=no
15062             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15063             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15064             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15065             ;;
15066           pgCC* | pgcpp*)
15067             # Portland Group C++ compiler
15068             case `$CC -V` in
15069             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15070               prelink_cmds_CXX='tpldir=Template.dir~
15071                 rm -rf $tpldir~
15072                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15073                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15074               old_archive_cmds_CXX='tpldir=Template.dir~
15075                 rm -rf $tpldir~
15076                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15077                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15078                 $RANLIB $oldlib'
15079               archive_cmds_CXX='tpldir=Template.dir~
15080                 rm -rf $tpldir~
15081                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15082                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15083               archive_expsym_cmds_CXX='tpldir=Template.dir~
15084                 rm -rf $tpldir~
15085                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15086                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15087               ;;
15088             *) # Version 6 and above use weak symbols
15089               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15090               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'
15091               ;;
15092             esac
15093
15094             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15095             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15096             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15097             ;;
15098           cxx*)
15099             # Compaq C++
15100             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15101             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'
15102
15103             runpath_var=LD_RUN_PATH
15104             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15105             hardcode_libdir_separator_CXX=:
15106
15107             # Commands to make compiler produce verbose output that lists
15108             # what "hidden" libraries, object files and flags are used when
15109             # linking a shared library.
15110             #
15111             # There doesn't appear to be a way to prevent this compiler from
15112             # explicitly linking system object files so we need to strip them
15113             # from the output so that they don't get included in the library
15114             # dependencies.
15115             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
15116             ;;
15117           xl* | mpixl* | bgxl*)
15118             # IBM XL 8.0 on PPC, with GNU ld
15119             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15120             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15121             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15122             if test "x$supports_anon_versioning" = xyes; then
15123               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15124                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15125                 echo "local: *; };" >> $output_objdir/$libname.ver~
15126                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15127             fi
15128             ;;
15129           *)
15130             case `$CC -V 2>&1 | sed 5q` in
15131             *Sun\ C*)
15132               # Sun C++ 5.9
15133               no_undefined_flag_CXX=' -zdefs'
15134               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15135               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'
15136               hardcode_libdir_flag_spec_CXX='-R$libdir'
15137               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
15138               compiler_needs_object_CXX=yes
15139
15140               # Not sure whether something based on
15141               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15142               # would be better.
15143               output_verbose_link_cmd='func_echo_all'
15144
15145               # Archives containing C++ object files must be created using
15146               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15147               # necessary to make sure instantiated templates are included
15148               # in the archive.
15149               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15150               ;;
15151             esac
15152             ;;
15153         esac
15154         ;;
15155
15156       lynxos*)
15157         # FIXME: insert proper C++ library support
15158         ld_shlibs_CXX=no
15159         ;;
15160
15161       m88k*)
15162         # FIXME: insert proper C++ library support
15163         ld_shlibs_CXX=no
15164         ;;
15165
15166       mvs*)
15167         case $cc_basename in
15168           cxx*)
15169             # FIXME: insert proper C++ library support
15170             ld_shlibs_CXX=no
15171             ;;
15172           *)
15173             # FIXME: insert proper C++ library support
15174             ld_shlibs_CXX=no
15175             ;;
15176         esac
15177         ;;
15178
15179       netbsd*)
15180         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15181           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15182           wlarc=
15183           hardcode_libdir_flag_spec_CXX='-R$libdir'
15184           hardcode_direct_CXX=yes
15185           hardcode_shlibpath_var_CXX=no
15186         fi
15187         # Workaround some broken pre-1.5 toolchains
15188         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15189         ;;
15190
15191       *nto* | *qnx*)
15192         ld_shlibs_CXX=yes
15193         ;;
15194
15195       openbsd2*)
15196         # C++ shared libraries are fairly broken
15197         ld_shlibs_CXX=no
15198         ;;
15199
15200       openbsd*)
15201         if test -f /usr/libexec/ld.so; then
15202           hardcode_direct_CXX=yes
15203           hardcode_shlibpath_var_CXX=no
15204           hardcode_direct_absolute_CXX=yes
15205           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15206           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15207           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15208             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15209             export_dynamic_flag_spec_CXX='${wl}-E'
15210             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15211           fi
15212           output_verbose_link_cmd=func_echo_all
15213         else
15214           ld_shlibs_CXX=no
15215         fi
15216         ;;
15217
15218       osf3* | osf4* | osf5*)
15219         case $cc_basename in
15220           KCC*)
15221             # Kuck and Associates, Inc. (KAI) C++ Compiler
15222
15223             # KCC will only create a shared library if the output file
15224             # ends with ".so" (or ".sl" for HP-UX), so rename the library
15225             # to its proper name (with version) after linking.
15226             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'
15227
15228             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15229             hardcode_libdir_separator_CXX=:
15230
15231             # Archives containing C++ object files must be created using
15232             # the KAI C++ compiler.
15233             case $host in
15234               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15235               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15236             esac
15237             ;;
15238           RCC*)
15239             # Rational C++ 2.4.1
15240             # FIXME: insert proper C++ library support
15241             ld_shlibs_CXX=no
15242             ;;
15243           cxx*)
15244             case $host in
15245               osf3*)
15246                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15247                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15248                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15249                 ;;
15250               *)
15251                 allow_undefined_flag_CXX=' -expect_unresolved \*'
15252                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
15253                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15254                   echo "-hidden">> $lib.exp~
15255                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
15256                   $RM $lib.exp'
15257                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15258                 ;;
15259             esac
15260
15261             hardcode_libdir_separator_CXX=:
15262
15263             # Commands to make compiler produce verbose output that lists
15264             # what "hidden" libraries, object files and flags are used when
15265             # linking a shared library.
15266             #
15267             # There doesn't appear to be a way to prevent this compiler from
15268             # explicitly linking system object files so we need to strip them
15269             # from the output so that they don't get included in the library
15270             # dependencies.
15271             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
15272             ;;
15273           *)
15274             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15275               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15276               case $host in
15277                 osf3*)
15278                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15279                   ;;
15280                 *)
15281                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15282                   ;;
15283               esac
15284
15285               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15286               hardcode_libdir_separator_CXX=:
15287
15288               # Commands to make compiler produce verbose output that lists
15289               # what "hidden" libraries, object files and flags are used when
15290               # linking a shared library.
15291               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15292
15293             else
15294               # FIXME: insert proper C++ library support
15295               ld_shlibs_CXX=no
15296             fi
15297             ;;
15298         esac
15299         ;;
15300
15301       psos*)
15302         # FIXME: insert proper C++ library support
15303         ld_shlibs_CXX=no
15304         ;;
15305
15306       sunos4*)
15307         case $cc_basename in
15308           CC*)
15309             # Sun C++ 4.x
15310             # FIXME: insert proper C++ library support
15311             ld_shlibs_CXX=no
15312             ;;
15313           lcc*)
15314             # Lucid
15315             # FIXME: insert proper C++ library support
15316             ld_shlibs_CXX=no
15317             ;;
15318           *)
15319             # FIXME: insert proper C++ library support
15320             ld_shlibs_CXX=no
15321             ;;
15322         esac
15323         ;;
15324
15325       solaris*)
15326         case $cc_basename in
15327           CC* | sunCC*)
15328             # Sun C++ 4.2, 5.x and Centerline C++
15329             archive_cmds_need_lc_CXX=yes
15330             no_undefined_flag_CXX=' -zdefs'
15331             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15332             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15333               $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'
15334
15335             hardcode_libdir_flag_spec_CXX='-R$libdir'
15336             hardcode_shlibpath_var_CXX=no
15337             case $host_os in
15338               solaris2.[0-5] | solaris2.[0-5].*) ;;
15339               *)
15340                 # The compiler driver will combine and reorder linker options,
15341                 # but understands `-z linker_flag'.
15342                 # Supported since Solaris 2.6 (maybe 2.5.1?)
15343                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15344                 ;;
15345             esac
15346             link_all_deplibs_CXX=yes
15347
15348             output_verbose_link_cmd='func_echo_all'
15349
15350             # Archives containing C++ object files must be created using
15351             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15352             # necessary to make sure instantiated templates are included
15353             # in the archive.
15354             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15355             ;;
15356           gcx*)
15357             # Green Hills C++ Compiler
15358             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15359
15360             # The C++ compiler must be used to create the archive.
15361             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15362             ;;
15363           *)
15364             # GNU C++ compiler with Solaris linker
15365             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15366               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15367               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15368                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15369                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15370                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15371
15372                 # Commands to make compiler produce verbose output that lists
15373                 # what "hidden" libraries, object files and flags are used when
15374                 # linking a shared library.
15375                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15376               else
15377                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15378                 # platform.
15379                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15380                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15381                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15382
15383                 # Commands to make compiler produce verbose output that lists
15384                 # what "hidden" libraries, object files and flags are used when
15385                 # linking a shared library.
15386                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15387               fi
15388
15389               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15390               case $host_os in
15391                 solaris2.[0-5] | solaris2.[0-5].*) ;;
15392                 *)
15393                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15394                   ;;
15395               esac
15396             fi
15397             ;;
15398         esac
15399         ;;
15400
15401     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15402       no_undefined_flag_CXX='${wl}-z,text'
15403       archive_cmds_need_lc_CXX=no
15404       hardcode_shlibpath_var_CXX=no
15405       runpath_var='LD_RUN_PATH'
15406
15407       case $cc_basename in
15408         CC*)
15409           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15410           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15411           ;;
15412         *)
15413           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15414           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15415           ;;
15416       esac
15417       ;;
15418
15419       sysv5* | sco3.2v5* | sco5v6*)
15420         # Note: We can NOT use -z defs as we might desire, because we do not
15421         # link with -lc, and that would cause any symbols used from libc to
15422         # always be unresolved, which means just about no library would
15423         # ever link correctly.  If we're not using GNU ld we use -z text
15424         # though, which does catch some bad symbols but isn't as heavy-handed
15425         # as -z defs.
15426         no_undefined_flag_CXX='${wl}-z,text'
15427         allow_undefined_flag_CXX='${wl}-z,nodefs'
15428         archive_cmds_need_lc_CXX=no
15429         hardcode_shlibpath_var_CXX=no
15430         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15431         hardcode_libdir_separator_CXX=':'
15432         link_all_deplibs_CXX=yes
15433         export_dynamic_flag_spec_CXX='${wl}-Bexport'
15434         runpath_var='LD_RUN_PATH'
15435
15436         case $cc_basename in
15437           CC*)
15438             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15439             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15440             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15441               '"$old_archive_cmds_CXX"
15442             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15443               '"$reload_cmds_CXX"
15444             ;;
15445           *)
15446             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15447             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15448             ;;
15449         esac
15450       ;;
15451
15452       tandem*)
15453         case $cc_basename in
15454           NCC*)
15455             # NonStop-UX NCC 3.20
15456             # FIXME: insert proper C++ library support
15457             ld_shlibs_CXX=no
15458             ;;
15459           *)
15460             # FIXME: insert proper C++ library support
15461             ld_shlibs_CXX=no
15462             ;;
15463         esac
15464         ;;
15465
15466       vxworks*)
15467         # FIXME: insert proper C++ library support
15468         ld_shlibs_CXX=no
15469         ;;
15470
15471       *)
15472         # FIXME: insert proper C++ library support
15473         ld_shlibs_CXX=no
15474         ;;
15475     esac
15476
15477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15478 $as_echo "$ld_shlibs_CXX" >&6; }
15479     test "$ld_shlibs_CXX" = no && can_build_shared=no
15480
15481     GCC_CXX="$GXX"
15482     LD_CXX="$LD"
15483
15484     ## CAVEAT EMPTOR:
15485     ## There is no encapsulation within the following macros, do not change
15486     ## the running order or otherwise move them around unless you know exactly
15487     ## what you are doing...
15488     # Dependencies to place before and after the object being linked:
15489 predep_objects_CXX=
15490 postdep_objects_CXX=
15491 predeps_CXX=
15492 postdeps_CXX=
15493 compiler_lib_search_path_CXX=
15494
15495 cat > conftest.$ac_ext <<_LT_EOF
15496 class Foo
15497 {
15498 public:
15499   Foo (void) { a = 0; }
15500 private:
15501   int a;
15502 };
15503 _LT_EOF
15504
15505
15506 _lt_libdeps_save_CFLAGS=$CFLAGS
15507 case "$CC $CFLAGS " in #(
15508 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15509 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15510 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15511 esac
15512
15513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15514   (eval $ac_compile) 2>&5
15515   ac_status=$?
15516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15517   test $ac_status = 0; }; then
15518   # Parse the compiler output and extract the necessary
15519   # objects, libraries and library flags.
15520
15521   # Sentinel used to keep track of whether or not we are before
15522   # the conftest object file.
15523   pre_test_object_deps_done=no
15524
15525   for p in `eval "$output_verbose_link_cmd"`; do
15526     case ${prev}${p} in
15527
15528     -L* | -R* | -l*)
15529        # Some compilers place space between "-{L,R}" and the path.
15530        # Remove the space.
15531        if test $p = "-L" ||
15532           test $p = "-R"; then
15533          prev=$p
15534          continue
15535        fi
15536
15537        # Expand the sysroot to ease extracting the directories later.
15538        if test -z "$prev"; then
15539          case $p in
15540          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15541          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15542          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15543          esac
15544        fi
15545        case $p in
15546        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15547        esac
15548        if test "$pre_test_object_deps_done" = no; then
15549          case ${prev} in
15550          -L | -R)
15551            # Internal compiler library paths should come after those
15552            # provided the user.  The postdeps already come after the
15553            # user supplied libs so there is no need to process them.
15554            if test -z "$compiler_lib_search_path_CXX"; then
15555              compiler_lib_search_path_CXX="${prev}${p}"
15556            else
15557              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15558            fi
15559            ;;
15560          # The "-l" case would never come before the object being
15561          # linked, so don't bother handling this case.
15562          esac
15563        else
15564          if test -z "$postdeps_CXX"; then
15565            postdeps_CXX="${prev}${p}"
15566          else
15567            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15568          fi
15569        fi
15570        prev=
15571        ;;
15572
15573     *.lto.$objext) ;; # Ignore GCC LTO objects
15574     *.$objext)
15575        # This assumes that the test object file only shows up
15576        # once in the compiler output.
15577        if test "$p" = "conftest.$objext"; then
15578          pre_test_object_deps_done=yes
15579          continue
15580        fi
15581
15582        if test "$pre_test_object_deps_done" = no; then
15583          if test -z "$predep_objects_CXX"; then
15584            predep_objects_CXX="$p"
15585          else
15586            predep_objects_CXX="$predep_objects_CXX $p"
15587          fi
15588        else
15589          if test -z "$postdep_objects_CXX"; then
15590            postdep_objects_CXX="$p"
15591          else
15592            postdep_objects_CXX="$postdep_objects_CXX $p"
15593          fi
15594        fi
15595        ;;
15596
15597     *) ;; # Ignore the rest.
15598
15599     esac
15600   done
15601
15602   # Clean up.
15603   rm -f a.out a.exe
15604 else
15605   echo "libtool.m4: error: problem compiling CXX test program"
15606 fi
15607
15608 $RM -f confest.$objext
15609 CFLAGS=$_lt_libdeps_save_CFLAGS
15610
15611 # PORTME: override above test on systems where it is broken
15612 case $host_os in
15613 interix[3-9]*)
15614   # Interix 3.5 installs completely hosed .la files for C++, so rather than
15615   # hack all around it, let's just trust "g++" to DTRT.
15616   predep_objects_CXX=
15617   postdep_objects_CXX=
15618   postdeps_CXX=
15619   ;;
15620
15621 linux*)
15622   case `$CC -V 2>&1 | sed 5q` in
15623   *Sun\ C*)
15624     # Sun C++ 5.9
15625
15626     # The more standards-conforming stlport4 library is
15627     # incompatible with the Cstd library. Avoid specifying
15628     # it if it's in CXXFLAGS. Ignore libCrun as
15629     # -library=stlport4 depends on it.
15630     case " $CXX $CXXFLAGS " in
15631     *" -library=stlport4 "*)
15632       solaris_use_stlport4=yes
15633       ;;
15634     esac
15635
15636     if test "$solaris_use_stlport4" != yes; then
15637       postdeps_CXX='-library=Cstd -library=Crun'
15638     fi
15639     ;;
15640   esac
15641   ;;
15642
15643 solaris*)
15644   case $cc_basename in
15645   CC* | sunCC*)
15646     # The more standards-conforming stlport4 library is
15647     # incompatible with the Cstd library. Avoid specifying
15648     # it if it's in CXXFLAGS. Ignore libCrun as
15649     # -library=stlport4 depends on it.
15650     case " $CXX $CXXFLAGS " in
15651     *" -library=stlport4 "*)
15652       solaris_use_stlport4=yes
15653       ;;
15654     esac
15655
15656     # Adding this requires a known-good setup of shared libraries for
15657     # Sun compiler versions before 5.6, else PIC objects from an old
15658     # archive will be linked into the output, leading to subtle bugs.
15659     if test "$solaris_use_stlport4" != yes; then
15660       postdeps_CXX='-library=Cstd -library=Crun'
15661     fi
15662     ;;
15663   esac
15664   ;;
15665 esac
15666
15667
15668 case " $postdeps_CXX " in
15669 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
15670 esac
15671  compiler_lib_search_dirs_CXX=
15672 if test -n "${compiler_lib_search_path_CXX}"; then
15673  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15674 fi
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706     lt_prog_compiler_wl_CXX=
15707 lt_prog_compiler_pic_CXX=
15708 lt_prog_compiler_static_CXX=
15709
15710
15711   # C++ specific cases for pic, static, wl, etc.
15712   if test "$GXX" = yes; then
15713     lt_prog_compiler_wl_CXX='-Wl,'
15714     lt_prog_compiler_static_CXX='-static'
15715
15716     case $host_os in
15717     aix*)
15718       # All AIX code is PIC.
15719       if test "$host_cpu" = ia64; then
15720         # AIX 5 now supports IA64 processor
15721         lt_prog_compiler_static_CXX='-Bstatic'
15722       fi
15723       ;;
15724
15725     amigaos*)
15726       case $host_cpu in
15727       powerpc)
15728             # see comment about AmigaOS4 .so support
15729             lt_prog_compiler_pic_CXX='-fPIC'
15730         ;;
15731       m68k)
15732             # FIXME: we need at least 68020 code to build shared libraries, but
15733             # adding the `-m68020' flag to GCC prevents building anything better,
15734             # like `-m68040'.
15735             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15736         ;;
15737       esac
15738       ;;
15739
15740     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15741       # PIC is the default for these OSes.
15742       ;;
15743     mingw* | cygwin* | os2* | pw32* | cegcc*)
15744       # This hack is so that the source file can tell whether it is being
15745       # built for inclusion in a dll (and should export symbols for example).
15746       # Although the cygwin gcc ignores -fPIC, still need this for old-style
15747       # (--disable-auto-import) libraries
15748       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15749       ;;
15750     darwin* | rhapsody*)
15751       # PIC is the default on this platform
15752       # Common symbols not allowed in MH_DYLIB files
15753       lt_prog_compiler_pic_CXX='-fno-common'
15754       ;;
15755     *djgpp*)
15756       # DJGPP does not support shared libraries at all
15757       lt_prog_compiler_pic_CXX=
15758       ;;
15759     haiku*)
15760       # PIC is the default for Haiku.
15761       # The "-static" flag exists, but is broken.
15762       lt_prog_compiler_static_CXX=
15763       ;;
15764     interix[3-9]*)
15765       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15766       # Instead, we relocate shared libraries at runtime.
15767       ;;
15768     sysv4*MP*)
15769       if test -d /usr/nec; then
15770         lt_prog_compiler_pic_CXX=-Kconform_pic
15771       fi
15772       ;;
15773     hpux*)
15774       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15775       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15776       # sets the default TLS model and affects inlining.
15777       case $host_cpu in
15778       hppa*64*)
15779         ;;
15780       *)
15781         lt_prog_compiler_pic_CXX='-fPIC'
15782         ;;
15783       esac
15784       ;;
15785     *qnx* | *nto*)
15786       # QNX uses GNU C++, but need to define -shared option too, otherwise
15787       # it will coredump.
15788       lt_prog_compiler_pic_CXX='-fPIC -shared'
15789       ;;
15790     *)
15791       lt_prog_compiler_pic_CXX='-fPIC'
15792       ;;
15793     esac
15794   else
15795     case $host_os in
15796       aix[4-9]*)
15797         # All AIX code is PIC.
15798         if test "$host_cpu" = ia64; then
15799           # AIX 5 now supports IA64 processor
15800           lt_prog_compiler_static_CXX='-Bstatic'
15801         else
15802           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15803         fi
15804         ;;
15805       chorus*)
15806         case $cc_basename in
15807         cxch68*)
15808           # Green Hills C++ Compiler
15809           # _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"
15810           ;;
15811         esac
15812         ;;
15813       mingw* | cygwin* | os2* | pw32* | cegcc*)
15814         # This hack is so that the source file can tell whether it is being
15815         # built for inclusion in a dll (and should export symbols for example).
15816         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15817         ;;
15818       dgux*)
15819         case $cc_basename in
15820           ec++*)
15821             lt_prog_compiler_pic_CXX='-KPIC'
15822             ;;
15823           ghcx*)
15824             # Green Hills C++ Compiler
15825             lt_prog_compiler_pic_CXX='-pic'
15826             ;;
15827           *)
15828             ;;
15829         esac
15830         ;;
15831       freebsd* | dragonfly*)
15832         # FreeBSD uses GNU C++
15833         ;;
15834       hpux9* | hpux10* | hpux11*)
15835         case $cc_basename in
15836           CC*)
15837             lt_prog_compiler_wl_CXX='-Wl,'
15838             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15839             if test "$host_cpu" != ia64; then
15840               lt_prog_compiler_pic_CXX='+Z'
15841             fi
15842             ;;
15843           aCC*)
15844             lt_prog_compiler_wl_CXX='-Wl,'
15845             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15846             case $host_cpu in
15847             hppa*64*|ia64*)
15848               # +Z the default
15849               ;;
15850             *)
15851               lt_prog_compiler_pic_CXX='+Z'
15852               ;;
15853             esac
15854             ;;
15855           *)
15856             ;;
15857         esac
15858         ;;
15859       interix*)
15860         # This is c89, which is MS Visual C++ (no shared libs)
15861         # Anyone wants to do a port?
15862         ;;
15863       irix5* | irix6* | nonstopux*)
15864         case $cc_basename in
15865           CC*)
15866             lt_prog_compiler_wl_CXX='-Wl,'
15867             lt_prog_compiler_static_CXX='-non_shared'
15868             # CC pic flag -KPIC is the default.
15869             ;;
15870           *)
15871             ;;
15872         esac
15873         ;;
15874       linux* | k*bsd*-gnu | kopensolaris*-gnu)
15875         case $cc_basename in
15876           KCC*)
15877             # KAI C++ Compiler
15878             lt_prog_compiler_wl_CXX='--backend -Wl,'
15879             lt_prog_compiler_pic_CXX='-fPIC'
15880             ;;
15881           ecpc* )
15882             # old Intel C++ for x86_64 which still supported -KPIC.
15883             lt_prog_compiler_wl_CXX='-Wl,'
15884             lt_prog_compiler_pic_CXX='-KPIC'
15885             lt_prog_compiler_static_CXX='-static'
15886             ;;
15887           icpc* )
15888             # Intel C++, used to be incompatible with GCC.
15889             # ICC 10 doesn't accept -KPIC any more.
15890             lt_prog_compiler_wl_CXX='-Wl,'
15891             lt_prog_compiler_pic_CXX='-fPIC'
15892             lt_prog_compiler_static_CXX='-static'
15893             ;;
15894           pgCC* | pgcpp*)
15895             # Portland Group C++ compiler
15896             lt_prog_compiler_wl_CXX='-Wl,'
15897             lt_prog_compiler_pic_CXX='-fpic'
15898             lt_prog_compiler_static_CXX='-Bstatic'
15899             ;;
15900           cxx*)
15901             # Compaq C++
15902             # Make sure the PIC flag is empty.  It appears that all Alpha
15903             # Linux and Compaq Tru64 Unix objects are PIC.
15904             lt_prog_compiler_pic_CXX=
15905             lt_prog_compiler_static_CXX='-non_shared'
15906             ;;
15907           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15908             # IBM XL 8.0, 9.0 on PPC and BlueGene
15909             lt_prog_compiler_wl_CXX='-Wl,'
15910             lt_prog_compiler_pic_CXX='-qpic'
15911             lt_prog_compiler_static_CXX='-qstaticlink'
15912             ;;
15913           *)
15914             case `$CC -V 2>&1 | sed 5q` in
15915             *Sun\ C*)
15916               # Sun C++ 5.9
15917               lt_prog_compiler_pic_CXX='-KPIC'
15918               lt_prog_compiler_static_CXX='-Bstatic'
15919               lt_prog_compiler_wl_CXX='-Qoption ld '
15920               ;;
15921             esac
15922             ;;
15923         esac
15924         ;;
15925       lynxos*)
15926         ;;
15927       m88k*)
15928         ;;
15929       mvs*)
15930         case $cc_basename in
15931           cxx*)
15932             lt_prog_compiler_pic_CXX='-W c,exportall'
15933             ;;
15934           *)
15935             ;;
15936         esac
15937         ;;
15938       netbsd*)
15939         ;;
15940       *qnx* | *nto*)
15941         # QNX uses GNU C++, but need to define -shared option too, otherwise
15942         # it will coredump.
15943         lt_prog_compiler_pic_CXX='-fPIC -shared'
15944         ;;
15945       osf3* | osf4* | osf5*)
15946         case $cc_basename in
15947           KCC*)
15948             lt_prog_compiler_wl_CXX='--backend -Wl,'
15949             ;;
15950           RCC*)
15951             # Rational C++ 2.4.1
15952             lt_prog_compiler_pic_CXX='-pic'
15953             ;;
15954           cxx*)
15955             # Digital/Compaq C++
15956             lt_prog_compiler_wl_CXX='-Wl,'
15957             # Make sure the PIC flag is empty.  It appears that all Alpha
15958             # Linux and Compaq Tru64 Unix objects are PIC.
15959             lt_prog_compiler_pic_CXX=
15960             lt_prog_compiler_static_CXX='-non_shared'
15961             ;;
15962           *)
15963             ;;
15964         esac
15965         ;;
15966       psos*)
15967         ;;
15968       solaris*)
15969         case $cc_basename in
15970           CC* | sunCC*)
15971             # Sun C++ 4.2, 5.x and Centerline C++
15972             lt_prog_compiler_pic_CXX='-KPIC'
15973             lt_prog_compiler_static_CXX='-Bstatic'
15974             lt_prog_compiler_wl_CXX='-Qoption ld '
15975             ;;
15976           gcx*)
15977             # Green Hills C++ Compiler
15978             lt_prog_compiler_pic_CXX='-PIC'
15979             ;;
15980           *)
15981             ;;
15982         esac
15983         ;;
15984       sunos4*)
15985         case $cc_basename in
15986           CC*)
15987             # Sun C++ 4.x
15988             lt_prog_compiler_pic_CXX='-pic'
15989             lt_prog_compiler_static_CXX='-Bstatic'
15990             ;;
15991           lcc*)
15992             # Lucid
15993             lt_prog_compiler_pic_CXX='-pic'
15994             ;;
15995           *)
15996             ;;
15997         esac
15998         ;;
15999       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16000         case $cc_basename in
16001           CC*)
16002             lt_prog_compiler_wl_CXX='-Wl,'
16003             lt_prog_compiler_pic_CXX='-KPIC'
16004             lt_prog_compiler_static_CXX='-Bstatic'
16005             ;;
16006         esac
16007         ;;
16008       tandem*)
16009         case $cc_basename in
16010           NCC*)
16011             # NonStop-UX NCC 3.20
16012             lt_prog_compiler_pic_CXX='-KPIC'
16013             ;;
16014           *)
16015             ;;
16016         esac
16017         ;;
16018       vxworks*)
16019         ;;
16020       *)
16021         lt_prog_compiler_can_build_shared_CXX=no
16022         ;;
16023     esac
16024   fi
16025
16026 case $host_os in
16027   # For platforms which do not support PIC, -DPIC is meaningless:
16028   *djgpp*)
16029     lt_prog_compiler_pic_CXX=
16030     ;;
16031   *)
16032     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16033     ;;
16034 esac
16035
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16037 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16038 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16039   $as_echo_n "(cached) " >&6
16040 else
16041   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16042 fi
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16044 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16045 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16046
16047 #
16048 # Check to make sure the PIC flag actually works.
16049 #
16050 if test -n "$lt_prog_compiler_pic_CXX"; then
16051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16052 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16053 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16054   $as_echo_n "(cached) " >&6
16055 else
16056   lt_cv_prog_compiler_pic_works_CXX=no
16057    ac_outfile=conftest.$ac_objext
16058    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16059    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16060    # Insert the option either (1) after the last *FLAGS variable, or
16061    # (2) before a word containing "conftest.", or (3) at the end.
16062    # Note that $ac_compile itself does not contain backslashes and begins
16063    # with a dollar sign (not a hyphen), so the echo should work correctly.
16064    # The option is referenced via a variable to avoid confusing sed.
16065    lt_compile=`echo "$ac_compile" | $SED \
16066    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16067    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16068    -e 's:$: $lt_compiler_flag:'`
16069    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16070    (eval "$lt_compile" 2>conftest.err)
16071    ac_status=$?
16072    cat conftest.err >&5
16073    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074    if (exit $ac_status) && test -s "$ac_outfile"; then
16075      # The compiler can only warn and ignore the option if not recognized
16076      # So say no if there are warnings other than the usual output.
16077      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16078      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16079      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16080        lt_cv_prog_compiler_pic_works_CXX=yes
16081      fi
16082    fi
16083    $RM conftest*
16084
16085 fi
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16087 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16088
16089 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16090     case $lt_prog_compiler_pic_CXX in
16091      "" | " "*) ;;
16092      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16093      esac
16094 else
16095     lt_prog_compiler_pic_CXX=
16096      lt_prog_compiler_can_build_shared_CXX=no
16097 fi
16098
16099 fi
16100
16101
16102
16103
16104
16105 #
16106 # Check to make sure the static flag actually works.
16107 #
16108 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16110 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16111 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16112   $as_echo_n "(cached) " >&6
16113 else
16114   lt_cv_prog_compiler_static_works_CXX=no
16115    save_LDFLAGS="$LDFLAGS"
16116    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16117    echo "$lt_simple_link_test_code" > conftest.$ac_ext
16118    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16119      # The linker can only warn and ignore the option if not recognized
16120      # So say no if there are warnings
16121      if test -s conftest.err; then
16122        # Append any errors to the config.log.
16123        cat conftest.err 1>&5
16124        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16125        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16126        if diff conftest.exp conftest.er2 >/dev/null; then
16127          lt_cv_prog_compiler_static_works_CXX=yes
16128        fi
16129      else
16130        lt_cv_prog_compiler_static_works_CXX=yes
16131      fi
16132    fi
16133    $RM -r conftest*
16134    LDFLAGS="$save_LDFLAGS"
16135
16136 fi
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16138 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16139
16140 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16141     :
16142 else
16143     lt_prog_compiler_static_CXX=
16144 fi
16145
16146
16147
16148
16149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16150 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16151 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16152   $as_echo_n "(cached) " >&6
16153 else
16154   lt_cv_prog_compiler_c_o_CXX=no
16155    $RM -r conftest 2>/dev/null
16156    mkdir conftest
16157    cd conftest
16158    mkdir out
16159    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16160
16161    lt_compiler_flag="-o out/conftest2.$ac_objext"
16162    # Insert the option either (1) after the last *FLAGS variable, or
16163    # (2) before a word containing "conftest.", or (3) at the end.
16164    # Note that $ac_compile itself does not contain backslashes and begins
16165    # with a dollar sign (not a hyphen), so the echo should work correctly.
16166    lt_compile=`echo "$ac_compile" | $SED \
16167    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16168    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16169    -e 's:$: $lt_compiler_flag:'`
16170    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16171    (eval "$lt_compile" 2>out/conftest.err)
16172    ac_status=$?
16173    cat out/conftest.err >&5
16174    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16176    then
16177      # The compiler can only warn and ignore the option if not recognized
16178      # So say no if there are warnings
16179      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16180      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16181      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16182        lt_cv_prog_compiler_c_o_CXX=yes
16183      fi
16184    fi
16185    chmod u+w . 2>&5
16186    $RM conftest*
16187    # SGI C++ compiler will create directory out/ii_files/ for
16188    # template instantiation
16189    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16190    $RM out/* && rmdir out
16191    cd ..
16192    $RM -r conftest
16193    $RM conftest*
16194
16195 fi
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16197 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16198
16199
16200
16201     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16202 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16203 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16204   $as_echo_n "(cached) " >&6
16205 else
16206   lt_cv_prog_compiler_c_o_CXX=no
16207    $RM -r conftest 2>/dev/null
16208    mkdir conftest
16209    cd conftest
16210    mkdir out
16211    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16212
16213    lt_compiler_flag="-o out/conftest2.$ac_objext"
16214    # Insert the option either (1) after the last *FLAGS variable, or
16215    # (2) before a word containing "conftest.", or (3) at the end.
16216    # Note that $ac_compile itself does not contain backslashes and begins
16217    # with a dollar sign (not a hyphen), so the echo should work correctly.
16218    lt_compile=`echo "$ac_compile" | $SED \
16219    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16220    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16221    -e 's:$: $lt_compiler_flag:'`
16222    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16223    (eval "$lt_compile" 2>out/conftest.err)
16224    ac_status=$?
16225    cat out/conftest.err >&5
16226    echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16228    then
16229      # The compiler can only warn and ignore the option if not recognized
16230      # So say no if there are warnings
16231      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16232      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16233      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16234        lt_cv_prog_compiler_c_o_CXX=yes
16235      fi
16236    fi
16237    chmod u+w . 2>&5
16238    $RM conftest*
16239    # SGI C++ compiler will create directory out/ii_files/ for
16240    # template instantiation
16241    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16242    $RM out/* && rmdir out
16243    cd ..
16244    $RM -r conftest
16245    $RM conftest*
16246
16247 fi
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16249 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16250
16251
16252
16253
16254 hard_links="nottested"
16255 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16256   # do not overwrite the value of need_locks provided by the user
16257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16258 $as_echo_n "checking if we can lock with hard links... " >&6; }
16259   hard_links=yes
16260   $RM conftest*
16261   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16262   touch conftest.a
16263   ln conftest.a conftest.b 2>&5 || hard_links=no
16264   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16266 $as_echo "$hard_links" >&6; }
16267   if test "$hard_links" = no; then
16268     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16269 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16270     need_locks=warn
16271   fi
16272 else
16273   need_locks=no
16274 fi
16275
16276
16277
16278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16279 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16280
16281   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16282   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16283   case $host_os in
16284   aix[4-9]*)
16285     # If we're using GNU nm, then we don't want the "-C" option.
16286     # -C means demangle to AIX nm, but means don't demangle with GNU nm
16287     # Also, AIX nm treats weak defined symbols like other global defined
16288     # symbols, whereas GNU nm marks them as "W".
16289     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16290       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16291     else
16292       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'
16293     fi
16294     ;;
16295   pw32*)
16296     export_symbols_cmds_CXX="$ltdll_cmds"
16297     ;;
16298   cygwin* | mingw* | cegcc*)
16299     case $cc_basename in
16300     cl*)
16301       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16302       ;;
16303     *)
16304       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16305       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16306       ;;
16307     esac
16308     ;;
16309   *)
16310     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16311     ;;
16312   esac
16313
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16315 $as_echo "$ld_shlibs_CXX" >&6; }
16316 test "$ld_shlibs_CXX" = no && can_build_shared=no
16317
16318 with_gnu_ld_CXX=$with_gnu_ld
16319
16320
16321
16322
16323
16324
16325 #
16326 # Do we need to explicitly link libc?
16327 #
16328 case "x$archive_cmds_need_lc_CXX" in
16329 x|xyes)
16330   # Assume -lc should be added
16331   archive_cmds_need_lc_CXX=yes
16332
16333   if test "$enable_shared" = yes && test "$GCC" = yes; then
16334     case $archive_cmds_CXX in
16335     *'~'*)
16336       # FIXME: we may have to deal with multi-command sequences.
16337       ;;
16338     '$CC '*)
16339       # Test whether the compiler implicitly links with -lc since on some
16340       # systems, -lgcc has to come before -lc. If gcc already passes -lc
16341       # to ld, don't add -lc before -lgcc.
16342       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16343 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16344 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16345   $as_echo_n "(cached) " >&6
16346 else
16347   $RM conftest*
16348         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16349
16350         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16351   (eval $ac_compile) 2>&5
16352   ac_status=$?
16353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16354   test $ac_status = 0; } 2>conftest.err; then
16355           soname=conftest
16356           lib=conftest
16357           libobjs=conftest.$ac_objext
16358           deplibs=
16359           wl=$lt_prog_compiler_wl_CXX
16360           pic_flag=$lt_prog_compiler_pic_CXX
16361           compiler_flags=-v
16362           linker_flags=-v
16363           verstring=
16364           output_objdir=.
16365           libname=conftest
16366           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16367           allow_undefined_flag_CXX=
16368           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16369   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16370   ac_status=$?
16371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16372   test $ac_status = 0; }
16373           then
16374             lt_cv_archive_cmds_need_lc_CXX=no
16375           else
16376             lt_cv_archive_cmds_need_lc_CXX=yes
16377           fi
16378           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16379         else
16380           cat conftest.err 1>&5
16381         fi
16382         $RM conftest*
16383
16384 fi
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16386 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16387       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16388       ;;
16389     esac
16390   fi
16391   ;;
16392 esac
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16456 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16457
16458 library_names_spec=
16459 libname_spec='lib$name'
16460 soname_spec=
16461 shrext_cmds=".so"
16462 postinstall_cmds=
16463 postuninstall_cmds=
16464 finish_cmds=
16465 finish_eval=
16466 shlibpath_var=
16467 shlibpath_overrides_runpath=unknown
16468 version_type=none
16469 dynamic_linker="$host_os ld.so"
16470 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16471 need_lib_prefix=unknown
16472 hardcode_into_libs=no
16473
16474 # when you set need_version to no, make sure it does not cause -set_version
16475 # flags to be left without arguments
16476 need_version=unknown
16477
16478 case $host_os in
16479 aix3*)
16480   version_type=linux # correct to gnu/linux during the next big refactor
16481   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16482   shlibpath_var=LIBPATH
16483
16484   # AIX 3 has no versioning support, so we append a major version to the name.
16485   soname_spec='${libname}${release}${shared_ext}$major'
16486   ;;
16487
16488 aix[4-9]*)
16489   version_type=linux # correct to gnu/linux during the next big refactor
16490   need_lib_prefix=no
16491   need_version=no
16492   hardcode_into_libs=yes
16493   if test "$host_cpu" = ia64; then
16494     # AIX 5 supports IA64
16495     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16496     shlibpath_var=LD_LIBRARY_PATH
16497   else
16498     # With GCC up to 2.95.x, collect2 would create an import file
16499     # for dependence libraries.  The import file would start with
16500     # the line `#! .'.  This would cause the generated library to
16501     # depend on `.', always an invalid library.  This was fixed in
16502     # development snapshots of GCC prior to 3.0.
16503     case $host_os in
16504       aix4 | aix4.[01] | aix4.[01].*)
16505       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16506            echo ' yes '
16507            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16508         :
16509       else
16510         can_build_shared=no
16511       fi
16512       ;;
16513     esac
16514     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16515     # soname into executable. Probably we can add versioning support to
16516     # collect2, so additional links can be useful in future.
16517     if test "$aix_use_runtimelinking" = yes; then
16518       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16519       # instead of lib<name>.a to let people know that these are not
16520       # typical AIX shared libraries.
16521       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16522     else
16523       # We preserve .a as extension for shared libraries through AIX4.2
16524       # and later when we are not doing run time linking.
16525       library_names_spec='${libname}${release}.a $libname.a'
16526       soname_spec='${libname}${release}${shared_ext}$major'
16527     fi
16528     shlibpath_var=LIBPATH
16529   fi
16530   ;;
16531
16532 amigaos*)
16533   case $host_cpu in
16534   powerpc)
16535     # Since July 2007 AmigaOS4 officially supports .so libraries.
16536     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16537     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16538     ;;
16539   m68k)
16540     library_names_spec='$libname.ixlibrary $libname.a'
16541     # Create ${libname}_ixlibrary.a entries in /sys/libs.
16542     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16543     ;;
16544   esac
16545   ;;
16546
16547 beos*)
16548   library_names_spec='${libname}${shared_ext}'
16549   dynamic_linker="$host_os ld.so"
16550   shlibpath_var=LIBRARY_PATH
16551   ;;
16552
16553 bsdi[45]*)
16554   version_type=linux # correct to gnu/linux during the next big refactor
16555   need_version=no
16556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16557   soname_spec='${libname}${release}${shared_ext}$major'
16558   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16559   shlibpath_var=LD_LIBRARY_PATH
16560   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16561   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16562   # the default ld.so.conf also contains /usr/contrib/lib and
16563   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16564   # libtool to hard-code these into programs
16565   ;;
16566
16567 cygwin* | mingw* | pw32* | cegcc*)
16568   version_type=windows
16569   shrext_cmds=".dll"
16570   need_version=no
16571   need_lib_prefix=no
16572
16573   case $GCC,$cc_basename in
16574   yes,*)
16575     # gcc
16576     library_names_spec='$libname.dll.a'
16577     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16578     postinstall_cmds='base_file=`basename \${file}`~
16579       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16580       dldir=$destdir/`dirname \$dlpath`~
16581       test -d \$dldir || mkdir -p \$dldir~
16582       $install_prog $dir/$dlname \$dldir/$dlname~
16583       chmod a+x \$dldir/$dlname~
16584       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16585         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16586       fi'
16587     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16588       dlpath=$dir/\$dldll~
16589        $RM \$dlpath'
16590     shlibpath_overrides_runpath=yes
16591
16592     case $host_os in
16593     cygwin*)
16594       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16595       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16596
16597       ;;
16598     mingw* | cegcc*)
16599       # MinGW DLLs use traditional 'lib' prefix
16600       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16601       ;;
16602     pw32*)
16603       # pw32 DLLs use 'pw' prefix rather than 'lib'
16604       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16605       ;;
16606     esac
16607     dynamic_linker='Win32 ld.exe'
16608     ;;
16609
16610   *,cl*)
16611     # Native MSVC
16612     libname_spec='$name'
16613     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16614     library_names_spec='${libname}.dll.lib'
16615
16616     case $build_os in
16617     mingw*)
16618       sys_lib_search_path_spec=
16619       lt_save_ifs=$IFS
16620       IFS=';'
16621       for lt_path in $LIB
16622       do
16623         IFS=$lt_save_ifs
16624         # Let DOS variable expansion print the short 8.3 style file name.
16625         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16626         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16627       done
16628       IFS=$lt_save_ifs
16629       # Convert to MSYS style.
16630       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16631       ;;
16632     cygwin*)
16633       # Convert to unix form, then to dos form, then back to unix form
16634       # but this time dos style (no spaces!) so that the unix form looks
16635       # like /cygdrive/c/PROGRA~1:/cygdr...
16636       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16637       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16638       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16639       ;;
16640     *)
16641       sys_lib_search_path_spec="$LIB"
16642       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16643         # It is most probably a Windows format PATH.
16644         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16645       else
16646         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16647       fi
16648       # FIXME: find the short name or the path components, as spaces are
16649       # common. (e.g. "Program Files" -> "PROGRA~1")
16650       ;;
16651     esac
16652
16653     # DLL is installed to $(libdir)/../bin by postinstall_cmds
16654     postinstall_cmds='base_file=`basename \${file}`~
16655       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16656       dldir=$destdir/`dirname \$dlpath`~
16657       test -d \$dldir || mkdir -p \$dldir~
16658       $install_prog $dir/$dlname \$dldir/$dlname'
16659     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16660       dlpath=$dir/\$dldll~
16661        $RM \$dlpath'
16662     shlibpath_overrides_runpath=yes
16663     dynamic_linker='Win32 link.exe'
16664     ;;
16665
16666   *)
16667     # Assume MSVC wrapper
16668     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16669     dynamic_linker='Win32 ld.exe'
16670     ;;
16671   esac
16672   # FIXME: first we should search . and the directory the executable is in
16673   shlibpath_var=PATH
16674   ;;
16675
16676 darwin* | rhapsody*)
16677   dynamic_linker="$host_os dyld"
16678   version_type=darwin
16679   need_lib_prefix=no
16680   need_version=no
16681   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16682   soname_spec='${libname}${release}${major}$shared_ext'
16683   shlibpath_overrides_runpath=yes
16684   shlibpath_var=DYLD_LIBRARY_PATH
16685   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16686
16687   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16688   ;;
16689
16690 dgux*)
16691   version_type=linux # correct to gnu/linux during the next big refactor
16692   need_lib_prefix=no
16693   need_version=no
16694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16695   soname_spec='${libname}${release}${shared_ext}$major'
16696   shlibpath_var=LD_LIBRARY_PATH
16697   ;;
16698
16699 freebsd* | dragonfly*)
16700   # DragonFly does not have aout.  When/if they implement a new
16701   # versioning mechanism, adjust this.
16702   if test -x /usr/bin/objformat; then
16703     objformat=`/usr/bin/objformat`
16704   else
16705     case $host_os in
16706     freebsd[23].*) objformat=aout ;;
16707     *) objformat=elf ;;
16708     esac
16709   fi
16710   version_type=freebsd-$objformat
16711   case $version_type in
16712     freebsd-elf*)
16713       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16714       need_version=no
16715       need_lib_prefix=no
16716       ;;
16717     freebsd-*)
16718       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16719       need_version=yes
16720       ;;
16721   esac
16722   shlibpath_var=LD_LIBRARY_PATH
16723   case $host_os in
16724   freebsd2.*)
16725     shlibpath_overrides_runpath=yes
16726     ;;
16727   freebsd3.[01]* | freebsdelf3.[01]*)
16728     shlibpath_overrides_runpath=yes
16729     hardcode_into_libs=yes
16730     ;;
16731   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16732   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16733     shlibpath_overrides_runpath=no
16734     hardcode_into_libs=yes
16735     ;;
16736   *) # from 4.6 on, and DragonFly
16737     shlibpath_overrides_runpath=yes
16738     hardcode_into_libs=yes
16739     ;;
16740   esac
16741   ;;
16742
16743 gnu*)
16744   version_type=linux # correct to gnu/linux during the next big refactor
16745   need_lib_prefix=no
16746   need_version=no
16747   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16748   soname_spec='${libname}${release}${shared_ext}$major'
16749   shlibpath_var=LD_LIBRARY_PATH
16750   shlibpath_overrides_runpath=no
16751   hardcode_into_libs=yes
16752   ;;
16753
16754 haiku*)
16755   version_type=linux # correct to gnu/linux during the next big refactor
16756   need_lib_prefix=no
16757   need_version=no
16758   dynamic_linker="$host_os runtime_loader"
16759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16760   soname_spec='${libname}${release}${shared_ext}$major'
16761   shlibpath_var=LIBRARY_PATH
16762   shlibpath_overrides_runpath=yes
16763   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16764   hardcode_into_libs=yes
16765   ;;
16766
16767 hpux9* | hpux10* | hpux11*)
16768   # Give a soname corresponding to the major version so that dld.sl refuses to
16769   # link against other versions.
16770   version_type=sunos
16771   need_lib_prefix=no
16772   need_version=no
16773   case $host_cpu in
16774   ia64*)
16775     shrext_cmds='.so'
16776     hardcode_into_libs=yes
16777     dynamic_linker="$host_os dld.so"
16778     shlibpath_var=LD_LIBRARY_PATH
16779     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16780     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16781     soname_spec='${libname}${release}${shared_ext}$major'
16782     if test "X$HPUX_IA64_MODE" = X32; then
16783       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16784     else
16785       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16786     fi
16787     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16788     ;;
16789   hppa*64*)
16790     shrext_cmds='.sl'
16791     hardcode_into_libs=yes
16792     dynamic_linker="$host_os dld.sl"
16793     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16794     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16795     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16796     soname_spec='${libname}${release}${shared_ext}$major'
16797     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16798     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16799     ;;
16800   *)
16801     shrext_cmds='.sl'
16802     dynamic_linker="$host_os dld.sl"
16803     shlibpath_var=SHLIB_PATH
16804     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16805     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806     soname_spec='${libname}${release}${shared_ext}$major'
16807     ;;
16808   esac
16809   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16810   postinstall_cmds='chmod 555 $lib'
16811   # or fails outright, so override atomically:
16812   install_override_mode=555
16813   ;;
16814
16815 interix[3-9]*)
16816   version_type=linux # correct to gnu/linux during the next big refactor
16817   need_lib_prefix=no
16818   need_version=no
16819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16820   soname_spec='${libname}${release}${shared_ext}$major'
16821   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16822   shlibpath_var=LD_LIBRARY_PATH
16823   shlibpath_overrides_runpath=no
16824   hardcode_into_libs=yes
16825   ;;
16826
16827 irix5* | irix6* | nonstopux*)
16828   case $host_os in
16829     nonstopux*) version_type=nonstopux ;;
16830     *)
16831         if test "$lt_cv_prog_gnu_ld" = yes; then
16832                 version_type=linux # correct to gnu/linux during the next big refactor
16833         else
16834                 version_type=irix
16835         fi ;;
16836   esac
16837   need_lib_prefix=no
16838   need_version=no
16839   soname_spec='${libname}${release}${shared_ext}$major'
16840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16841   case $host_os in
16842   irix5* | nonstopux*)
16843     libsuff= shlibsuff=
16844     ;;
16845   *)
16846     case $LD in # libtool.m4 will add one of these switches to LD
16847     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16848       libsuff= shlibsuff= libmagic=32-bit;;
16849     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16850       libsuff=32 shlibsuff=N32 libmagic=N32;;
16851     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16852       libsuff=64 shlibsuff=64 libmagic=64-bit;;
16853     *) libsuff= shlibsuff= libmagic=never-match;;
16854     esac
16855     ;;
16856   esac
16857   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16858   shlibpath_overrides_runpath=no
16859   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16860   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16861   hardcode_into_libs=yes
16862   ;;
16863
16864 # No shared lib support for Linux oldld, aout, or coff.
16865 linux*oldld* | linux*aout* | linux*coff*)
16866   dynamic_linker=no
16867   ;;
16868
16869 # This must be glibc/ELF.
16870 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16871   version_type=linux # correct to gnu/linux during the next big refactor
16872   need_lib_prefix=no
16873   need_version=no
16874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16875   soname_spec='${libname}${release}${shared_ext}$major'
16876   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16877   shlibpath_var=LD_LIBRARY_PATH
16878   shlibpath_overrides_runpath=no
16879
16880   # Some binutils ld are patched to set DT_RUNPATH
16881   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16882   $as_echo_n "(cached) " >&6
16883 else
16884   lt_cv_shlibpath_overrides_runpath=no
16885     save_LDFLAGS=$LDFLAGS
16886     save_libdir=$libdir
16887     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16888          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16889     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h.  */
16891
16892 int
16893 main ()
16894 {
16895
16896   ;
16897   return 0;
16898 }
16899 _ACEOF
16900 if ac_fn_cxx_try_link "$LINENO"; then :
16901   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16902   lt_cv_shlibpath_overrides_runpath=yes
16903 fi
16904 fi
16905 rm -f core conftest.err conftest.$ac_objext \
16906     conftest$ac_exeext conftest.$ac_ext
16907     LDFLAGS=$save_LDFLAGS
16908     libdir=$save_libdir
16909
16910 fi
16911
16912   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16913
16914   # This implies no fast_install, which is unacceptable.
16915   # Some rework will be needed to allow for fast_install
16916   # before this can be enabled.
16917   hardcode_into_libs=yes
16918
16919   # Add ABI-specific directories to the system library path.
16920   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16921
16922   # Append ld.so.conf contents to the search path
16923   if test -f /etc/ld.so.conf; then
16924     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16925     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16926
16927   fi
16928
16929   # We used to test for /lib/ld.so.1 and disable shared libraries on
16930   # powerpc, because MkLinux only supported shared libraries with the
16931   # GNU dynamic linker.  Since this was broken with cross compilers,
16932   # most powerpc-linux boxes support dynamic linking these days and
16933   # people can always --disable-shared, the test was removed, and we
16934   # assume the GNU/Linux dynamic linker is in use.
16935   dynamic_linker='GNU/Linux ld.so'
16936   ;;
16937
16938 netbsd*)
16939   version_type=sunos
16940   need_lib_prefix=no
16941   need_version=no
16942   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16943     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16944     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16945     dynamic_linker='NetBSD (a.out) ld.so'
16946   else
16947     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16948     soname_spec='${libname}${release}${shared_ext}$major'
16949     dynamic_linker='NetBSD ld.elf_so'
16950   fi
16951   shlibpath_var=LD_LIBRARY_PATH
16952   shlibpath_overrides_runpath=yes
16953   hardcode_into_libs=yes
16954   ;;
16955
16956 newsos6)
16957   version_type=linux # correct to gnu/linux during the next big refactor
16958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16959   shlibpath_var=LD_LIBRARY_PATH
16960   shlibpath_overrides_runpath=yes
16961   ;;
16962
16963 *nto* | *qnx*)
16964   version_type=qnx
16965   need_lib_prefix=no
16966   need_version=no
16967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16968   soname_spec='${libname}${release}${shared_ext}$major'
16969   shlibpath_var=LD_LIBRARY_PATH
16970   shlibpath_overrides_runpath=no
16971   hardcode_into_libs=yes
16972   dynamic_linker='ldqnx.so'
16973   ;;
16974
16975 openbsd*)
16976   version_type=sunos
16977   sys_lib_dlsearch_path_spec="/usr/lib"
16978   need_lib_prefix=no
16979   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16980   case $host_os in
16981     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
16982     *)                          need_version=no  ;;
16983   esac
16984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16985   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16986   shlibpath_var=LD_LIBRARY_PATH
16987   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16988     case $host_os in
16989       openbsd2.[89] | openbsd2.[89].*)
16990         shlibpath_overrides_runpath=no
16991         ;;
16992       *)
16993         shlibpath_overrides_runpath=yes
16994         ;;
16995       esac
16996   else
16997     shlibpath_overrides_runpath=yes
16998   fi
16999   ;;
17000
17001 os2*)
17002   libname_spec='$name'
17003   shrext_cmds=".dll"
17004   need_lib_prefix=no
17005   library_names_spec='$libname${shared_ext} $libname.a'
17006   dynamic_linker='OS/2 ld.exe'
17007   shlibpath_var=LIBPATH
17008   ;;
17009
17010 osf3* | osf4* | osf5*)
17011   version_type=osf
17012   need_lib_prefix=no
17013   need_version=no
17014   soname_spec='${libname}${release}${shared_ext}$major'
17015   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17016   shlibpath_var=LD_LIBRARY_PATH
17017   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17018   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17019   ;;
17020
17021 rdos*)
17022   dynamic_linker=no
17023   ;;
17024
17025 solaris*)
17026   version_type=linux # correct to gnu/linux during the next big refactor
17027   need_lib_prefix=no
17028   need_version=no
17029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17030   soname_spec='${libname}${release}${shared_ext}$major'
17031   shlibpath_var=LD_LIBRARY_PATH
17032   shlibpath_overrides_runpath=yes
17033   hardcode_into_libs=yes
17034   # ldd complains unless libraries are executable
17035   postinstall_cmds='chmod +x $lib'
17036   ;;
17037
17038 sunos4*)
17039   version_type=sunos
17040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17041   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17042   shlibpath_var=LD_LIBRARY_PATH
17043   shlibpath_overrides_runpath=yes
17044   if test "$with_gnu_ld" = yes; then
17045     need_lib_prefix=no
17046   fi
17047   need_version=yes
17048   ;;
17049
17050 sysv4 | sysv4.3*)
17051   version_type=linux # correct to gnu/linux during the next big refactor
17052   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17053   soname_spec='${libname}${release}${shared_ext}$major'
17054   shlibpath_var=LD_LIBRARY_PATH
17055   case $host_vendor in
17056     sni)
17057       shlibpath_overrides_runpath=no
17058       need_lib_prefix=no
17059       runpath_var=LD_RUN_PATH
17060       ;;
17061     siemens)
17062       need_lib_prefix=no
17063       ;;
17064     motorola)
17065       need_lib_prefix=no
17066       need_version=no
17067       shlibpath_overrides_runpath=no
17068       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17069       ;;
17070   esac
17071   ;;
17072
17073 sysv4*MP*)
17074   if test -d /usr/nec ;then
17075     version_type=linux # correct to gnu/linux during the next big refactor
17076     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17077     soname_spec='$libname${shared_ext}.$major'
17078     shlibpath_var=LD_LIBRARY_PATH
17079   fi
17080   ;;
17081
17082 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17083   version_type=freebsd-elf
17084   need_lib_prefix=no
17085   need_version=no
17086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17087   soname_spec='${libname}${release}${shared_ext}$major'
17088   shlibpath_var=LD_LIBRARY_PATH
17089   shlibpath_overrides_runpath=yes
17090   hardcode_into_libs=yes
17091   if test "$with_gnu_ld" = yes; then
17092     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17093   else
17094     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17095     case $host_os in
17096       sco3.2v5*)
17097         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17098         ;;
17099     esac
17100   fi
17101   sys_lib_dlsearch_path_spec='/usr/lib'
17102   ;;
17103
17104 tpf*)
17105   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17106   version_type=linux # correct to gnu/linux during the next big refactor
17107   need_lib_prefix=no
17108   need_version=no
17109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17110   shlibpath_var=LD_LIBRARY_PATH
17111   shlibpath_overrides_runpath=no
17112   hardcode_into_libs=yes
17113   ;;
17114
17115 uts4*)
17116   version_type=linux # correct to gnu/linux during the next big refactor
17117   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17118   soname_spec='${libname}${release}${shared_ext}$major'
17119   shlibpath_var=LD_LIBRARY_PATH
17120   ;;
17121
17122 *)
17123   dynamic_linker=no
17124   ;;
17125 esac
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17127 $as_echo "$dynamic_linker" >&6; }
17128 test "$dynamic_linker" = no && can_build_shared=no
17129
17130 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17131 if test "$GCC" = yes; then
17132   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17133 fi
17134
17135 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17136   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17137 fi
17138 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17139   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17140 fi
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17180 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17181 hardcode_action_CXX=
17182 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17183    test -n "$runpath_var_CXX" ||
17184    test "X$hardcode_automatic_CXX" = "Xyes" ; then
17185
17186   # We can hardcode non-existent directories.
17187   if test "$hardcode_direct_CXX" != no &&
17188      # If the only mechanism to avoid hardcoding is shlibpath_var, we
17189      # have to relink, otherwise we might link with an installed library
17190      # when we should be linking with a yet-to-be-installed one
17191      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17192      test "$hardcode_minus_L_CXX" != no; then
17193     # Linking always hardcodes the temporary library directory.
17194     hardcode_action_CXX=relink
17195   else
17196     # We can link without hardcoding, and we can hardcode nonexisting dirs.
17197     hardcode_action_CXX=immediate
17198   fi
17199 else
17200   # We cannot hardcode anything, or else we can only hardcode existing
17201   # directories.
17202   hardcode_action_CXX=unsupported
17203 fi
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17205 $as_echo "$hardcode_action_CXX" >&6; }
17206
17207 if test "$hardcode_action_CXX" = relink ||
17208    test "$inherit_rpath_CXX" = yes; then
17209   # Fast installation is not supported
17210   enable_fast_install=no
17211 elif test "$shlibpath_overrides_runpath" = yes ||
17212      test "$enable_shared" = no; then
17213   # Fast installation is not necessary
17214   enable_fast_install=needless
17215 fi
17216
17217
17218
17219
17220
17221
17222
17223   fi # test -n "$compiler"
17224
17225   CC=$lt_save_CC
17226   CFLAGS=$lt_save_CFLAGS
17227   LDCXX=$LD
17228   LD=$lt_save_LD
17229   GCC=$lt_save_GCC
17230   with_gnu_ld=$lt_save_with_gnu_ld
17231   lt_cv_path_LDCXX=$lt_cv_path_LD
17232   lt_cv_path_LD=$lt_save_path_LD
17233   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17234   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17235 fi # test "$_lt_caught_CXX_error" != yes
17236
17237 ac_ext=c
17238 ac_cpp='$CPP $CPPFLAGS'
17239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242
17243
17244 ac_ext=c
17245 ac_cpp='$CPP $CPPFLAGS'
17246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17249 if test -n "$ac_tool_prefix"; then
17250   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17251 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17253 $as_echo_n "checking for $ac_word... " >&6; }
17254 if ${ac_cv_prog_CC+:} false; then :
17255   $as_echo_n "(cached) " >&6
17256 else
17257   if test -n "$CC"; then
17258   ac_cv_prog_CC="$CC" # Let the user override the test.
17259 else
17260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17261 for as_dir in $PATH
17262 do
17263   IFS=$as_save_IFS
17264   test -z "$as_dir" && as_dir=.
17265     for ac_exec_ext in '' $ac_executable_extensions; do
17266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17267     ac_cv_prog_CC="${ac_tool_prefix}gcc"
17268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17269     break 2
17270   fi
17271 done
17272   done
17273 IFS=$as_save_IFS
17274
17275 fi
17276 fi
17277 CC=$ac_cv_prog_CC
17278 if test -n "$CC"; then
17279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17280 $as_echo "$CC" >&6; }
17281 else
17282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17283 $as_echo "no" >&6; }
17284 fi
17285
17286
17287 fi
17288 if test -z "$ac_cv_prog_CC"; then
17289   ac_ct_CC=$CC
17290   # Extract the first word of "gcc", so it can be a program name with args.
17291 set dummy gcc; ac_word=$2
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17293 $as_echo_n "checking for $ac_word... " >&6; }
17294 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17295   $as_echo_n "(cached) " >&6
17296 else
17297   if test -n "$ac_ct_CC"; then
17298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17299 else
17300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17301 for as_dir in $PATH
17302 do
17303   IFS=$as_save_IFS
17304   test -z "$as_dir" && as_dir=.
17305     for ac_exec_ext in '' $ac_executable_extensions; do
17306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17307     ac_cv_prog_ac_ct_CC="gcc"
17308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17309     break 2
17310   fi
17311 done
17312   done
17313 IFS=$as_save_IFS
17314
17315 fi
17316 fi
17317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17318 if test -n "$ac_ct_CC"; then
17319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17320 $as_echo "$ac_ct_CC" >&6; }
17321 else
17322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17323 $as_echo "no" >&6; }
17324 fi
17325
17326   if test "x$ac_ct_CC" = x; then
17327     CC=""
17328   else
17329     case $cross_compiling:$ac_tool_warned in
17330 yes:)
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17333 ac_tool_warned=yes ;;
17334 esac
17335     CC=$ac_ct_CC
17336   fi
17337 else
17338   CC="$ac_cv_prog_CC"
17339 fi
17340
17341 if test -z "$CC"; then
17342           if test -n "$ac_tool_prefix"; then
17343     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17344 set dummy ${ac_tool_prefix}cc; ac_word=$2
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17346 $as_echo_n "checking for $ac_word... " >&6; }
17347 if ${ac_cv_prog_CC+:} false; then :
17348   $as_echo_n "(cached) " >&6
17349 else
17350   if test -n "$CC"; then
17351   ac_cv_prog_CC="$CC" # Let the user override the test.
17352 else
17353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17354 for as_dir in $PATH
17355 do
17356   IFS=$as_save_IFS
17357   test -z "$as_dir" && as_dir=.
17358     for ac_exec_ext in '' $ac_executable_extensions; do
17359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17360     ac_cv_prog_CC="${ac_tool_prefix}cc"
17361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17362     break 2
17363   fi
17364 done
17365   done
17366 IFS=$as_save_IFS
17367
17368 fi
17369 fi
17370 CC=$ac_cv_prog_CC
17371 if test -n "$CC"; then
17372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17373 $as_echo "$CC" >&6; }
17374 else
17375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17376 $as_echo "no" >&6; }
17377 fi
17378
17379
17380   fi
17381 fi
17382 if test -z "$CC"; then
17383   # Extract the first word of "cc", so it can be a program name with args.
17384 set dummy cc; ac_word=$2
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17386 $as_echo_n "checking for $ac_word... " >&6; }
17387 if ${ac_cv_prog_CC+:} false; then :
17388   $as_echo_n "(cached) " >&6
17389 else
17390   if test -n "$CC"; then
17391   ac_cv_prog_CC="$CC" # Let the user override the test.
17392 else
17393   ac_prog_rejected=no
17394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17395 for as_dir in $PATH
17396 do
17397   IFS=$as_save_IFS
17398   test -z "$as_dir" && as_dir=.
17399     for ac_exec_ext in '' $ac_executable_extensions; do
17400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17401     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17402        ac_prog_rejected=yes
17403        continue
17404      fi
17405     ac_cv_prog_CC="cc"
17406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17407     break 2
17408   fi
17409 done
17410   done
17411 IFS=$as_save_IFS
17412
17413 if test $ac_prog_rejected = yes; then
17414   # We found a bogon in the path, so make sure we never use it.
17415   set dummy $ac_cv_prog_CC
17416   shift
17417   if test $# != 0; then
17418     # We chose a different compiler from the bogus one.
17419     # However, it has the same basename, so the bogon will be chosen
17420     # first if we set CC to just the basename; use the full file name.
17421     shift
17422     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17423   fi
17424 fi
17425 fi
17426 fi
17427 CC=$ac_cv_prog_CC
17428 if test -n "$CC"; then
17429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17430 $as_echo "$CC" >&6; }
17431 else
17432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17433 $as_echo "no" >&6; }
17434 fi
17435
17436
17437 fi
17438 if test -z "$CC"; then
17439   if test -n "$ac_tool_prefix"; then
17440   for ac_prog in cl.exe
17441   do
17442     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17445 $as_echo_n "checking for $ac_word... " >&6; }
17446 if ${ac_cv_prog_CC+:} false; then :
17447   $as_echo_n "(cached) " >&6
17448 else
17449   if test -n "$CC"; then
17450   ac_cv_prog_CC="$CC" # Let the user override the test.
17451 else
17452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17453 for as_dir in $PATH
17454 do
17455   IFS=$as_save_IFS
17456   test -z "$as_dir" && as_dir=.
17457     for ac_exec_ext in '' $ac_executable_extensions; do
17458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17459     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17461     break 2
17462   fi
17463 done
17464   done
17465 IFS=$as_save_IFS
17466
17467 fi
17468 fi
17469 CC=$ac_cv_prog_CC
17470 if test -n "$CC"; then
17471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17472 $as_echo "$CC" >&6; }
17473 else
17474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17475 $as_echo "no" >&6; }
17476 fi
17477
17478
17479     test -n "$CC" && break
17480   done
17481 fi
17482 if test -z "$CC"; then
17483   ac_ct_CC=$CC
17484   for ac_prog in cl.exe
17485 do
17486   # Extract the first word of "$ac_prog", so it can be a program name with args.
17487 set dummy $ac_prog; ac_word=$2
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17489 $as_echo_n "checking for $ac_word... " >&6; }
17490 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17491   $as_echo_n "(cached) " >&6
17492 else
17493   if test -n "$ac_ct_CC"; then
17494   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17495 else
17496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17497 for as_dir in $PATH
17498 do
17499   IFS=$as_save_IFS
17500   test -z "$as_dir" && as_dir=.
17501     for ac_exec_ext in '' $ac_executable_extensions; do
17502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17503     ac_cv_prog_ac_ct_CC="$ac_prog"
17504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17505     break 2
17506   fi
17507 done
17508   done
17509 IFS=$as_save_IFS
17510
17511 fi
17512 fi
17513 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17514 if test -n "$ac_ct_CC"; then
17515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17516 $as_echo "$ac_ct_CC" >&6; }
17517 else
17518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17519 $as_echo "no" >&6; }
17520 fi
17521
17522
17523   test -n "$ac_ct_CC" && break
17524 done
17525
17526   if test "x$ac_ct_CC" = x; then
17527     CC=""
17528   else
17529     case $cross_compiling:$ac_tool_warned in
17530 yes:)
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17533 ac_tool_warned=yes ;;
17534 esac
17535     CC=$ac_ct_CC
17536   fi
17537 fi
17538
17539 fi
17540
17541
17542 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17544 as_fn_error $? "no acceptable C compiler found in \$PATH
17545 See \`config.log' for more details" "$LINENO" 5; }
17546
17547 # Provide some information about the compiler.
17548 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17549 set X $ac_compile
17550 ac_compiler=$2
17551 for ac_option in --version -v -V -qversion; do
17552   { { ac_try="$ac_compiler $ac_option >&5"
17553 case "(($ac_try" in
17554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555   *) ac_try_echo=$ac_try;;
17556 esac
17557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17558 $as_echo "$ac_try_echo"; } >&5
17559   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17560   ac_status=$?
17561   if test -s conftest.err; then
17562     sed '10a\
17563 ... rest of stderr output deleted ...
17564          10q' conftest.err >conftest.er1
17565     cat conftest.er1 >&5
17566   fi
17567   rm -f conftest.er1 conftest.err
17568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17569   test $ac_status = 0; }
17570 done
17571
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17573 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17574 if ${ac_cv_c_compiler_gnu+:} false; then :
17575   $as_echo_n "(cached) " >&6
17576 else
17577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h.  */
17579
17580 int
17581 main ()
17582 {
17583 #ifndef __GNUC__
17584        choke me
17585 #endif
17586
17587   ;
17588   return 0;
17589 }
17590 _ACEOF
17591 if ac_fn_c_try_compile "$LINENO"; then :
17592   ac_compiler_gnu=yes
17593 else
17594   ac_compiler_gnu=no
17595 fi
17596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17597 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17601 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17602 if test $ac_compiler_gnu = yes; then
17603   GCC=yes
17604 else
17605   GCC=
17606 fi
17607 ac_test_CFLAGS=${CFLAGS+set}
17608 ac_save_CFLAGS=$CFLAGS
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17610 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17611 if ${ac_cv_prog_cc_g+:} false; then :
17612   $as_echo_n "(cached) " >&6
17613 else
17614   ac_save_c_werror_flag=$ac_c_werror_flag
17615    ac_c_werror_flag=yes
17616    ac_cv_prog_cc_g=no
17617    CFLAGS="-g"
17618    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h.  */
17620
17621 int
17622 main ()
17623 {
17624
17625   ;
17626   return 0;
17627 }
17628 _ACEOF
17629 if ac_fn_c_try_compile "$LINENO"; then :
17630   ac_cv_prog_cc_g=yes
17631 else
17632   CFLAGS=""
17633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17634 /* end confdefs.h.  */
17635
17636 int
17637 main ()
17638 {
17639
17640   ;
17641   return 0;
17642 }
17643 _ACEOF
17644 if ac_fn_c_try_compile "$LINENO"; then :
17645
17646 else
17647   ac_c_werror_flag=$ac_save_c_werror_flag
17648          CFLAGS="-g"
17649          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h.  */
17651
17652 int
17653 main ()
17654 {
17655
17656   ;
17657   return 0;
17658 }
17659 _ACEOF
17660 if ac_fn_c_try_compile "$LINENO"; then :
17661   ac_cv_prog_cc_g=yes
17662 fi
17663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17664 fi
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666 fi
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668    ac_c_werror_flag=$ac_save_c_werror_flag
17669 fi
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17671 $as_echo "$ac_cv_prog_cc_g" >&6; }
17672 if test "$ac_test_CFLAGS" = set; then
17673   CFLAGS=$ac_save_CFLAGS
17674 elif test $ac_cv_prog_cc_g = yes; then
17675   if test "$GCC" = yes; then
17676     CFLAGS="-g -O2"
17677   else
17678     CFLAGS="-g"
17679   fi
17680 else
17681   if test "$GCC" = yes; then
17682     CFLAGS="-O2"
17683   else
17684     CFLAGS=
17685   fi
17686 fi
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17688 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17689 if ${ac_cv_prog_cc_c89+:} false; then :
17690   $as_echo_n "(cached) " >&6
17691 else
17692   ac_cv_prog_cc_c89=no
17693 ac_save_CC=$CC
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h.  */
17696 #include <stdarg.h>
17697 #include <stdio.h>
17698 #include <sys/types.h>
17699 #include <sys/stat.h>
17700 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
17701 struct buf { int x; };
17702 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17703 static char *e (p, i)
17704      char **p;
17705      int i;
17706 {
17707   return p[i];
17708 }
17709 static char *f (char * (*g) (char **, int), char **p, ...)
17710 {
17711   char *s;
17712   va_list v;
17713   va_start (v,p);
17714   s = g (p, va_arg (v,int));
17715   va_end (v);
17716   return s;
17717 }
17718
17719 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
17720    function prototypes and stuff, but not '\xHH' hex character constants.
17721    These don't provoke an error unfortunately, instead are silently treated
17722    as 'x'.  The following induces an error, until -std is added to get
17723    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
17724    array size at least.  It's necessary to write '\x00'==0 to get something
17725    that's true only with -std.  */
17726 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17727
17728 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17729    inside strings and character constants.  */
17730 #define FOO(x) 'x'
17731 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17732
17733 int test (int i, double x);
17734 struct s1 {int (*f) (int a);};
17735 struct s2 {int (*f) (double a);};
17736 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17737 int argc;
17738 char **argv;
17739 int
17740 main ()
17741 {
17742 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
17743   ;
17744   return 0;
17745 }
17746 _ACEOF
17747 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17748         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17749 do
17750   CC="$ac_save_CC $ac_arg"
17751   if ac_fn_c_try_compile "$LINENO"; then :
17752   ac_cv_prog_cc_c89=$ac_arg
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext
17755   test "x$ac_cv_prog_cc_c89" != "xno" && break
17756 done
17757 rm -f conftest.$ac_ext
17758 CC=$ac_save_CC
17759
17760 fi
17761 # AC_CACHE_VAL
17762 case "x$ac_cv_prog_cc_c89" in
17763   x)
17764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17765 $as_echo "none needed" >&6; } ;;
17766   xno)
17767     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17768 $as_echo "unsupported" >&6; } ;;
17769   *)
17770     CC="$CC $ac_cv_prog_cc_c89"
17771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17772 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17773 esac
17774 if test "x$ac_cv_prog_cc_c89" != xno; then :
17775
17776 fi
17777
17778 ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783
17784 depcc="$CC"   am_compiler_list=
17785
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17787 $as_echo_n "checking dependency style of $depcc... " >&6; }
17788 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17789   $as_echo_n "(cached) " >&6
17790 else
17791   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17792   # We make a subdir and do the tests there.  Otherwise we can end up
17793   # making bogus files that we don't know about and never remove.  For
17794   # instance it was reported that on HP-UX the gcc test will end up
17795   # making a dummy file named `D' -- because `-MD' means `put the output
17796   # in D'.
17797   rm -rf conftest.dir
17798   mkdir conftest.dir
17799   # Copy depcomp to subdir because otherwise we won't find it if we're
17800   # using a relative directory.
17801   cp "$am_depcomp" conftest.dir
17802   cd conftest.dir
17803   # We will build objects and dependencies in a subdirectory because
17804   # it helps to detect inapplicable dependency modes.  For instance
17805   # both Tru64's cc and ICC support -MD to output dependencies as a
17806   # side effect of compilation, but ICC will put the dependencies in
17807   # the current directory while Tru64 will put them in the object
17808   # directory.
17809   mkdir sub
17810
17811   am_cv_CC_dependencies_compiler_type=none
17812   if test "$am_compiler_list" = ""; then
17813      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17814   fi
17815   am__universal=false
17816   case " $depcc " in #(
17817      *\ -arch\ *\ -arch\ *) am__universal=true ;;
17818      esac
17819
17820   for depmode in $am_compiler_list; do
17821     # Setup a source with many dependencies, because some compilers
17822     # like to wrap large dependency lists on column 80 (with \), and
17823     # we should not choose a depcomp mode which is confused by this.
17824     #
17825     # We need to recreate these files for each test, as the compiler may
17826     # overwrite some of them when testing with obscure command lines.
17827     # This happens at least with the AIX C compiler.
17828     : > sub/conftest.c
17829     for i in 1 2 3 4 5 6; do
17830       echo '#include "conftst'$i'.h"' >> sub/conftest.c
17831       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17832       # Solaris 8's {/usr,}/bin/sh.
17833       touch sub/conftst$i.h
17834     done
17835     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17836
17837     # We check with `-c' and `-o' for the sake of the "dashmstdout"
17838     # mode.  It turns out that the SunPro C++ compiler does not properly
17839     # handle `-M -o', and we need to detect this.  Also, some Intel
17840     # versions had trouble with output in subdirs
17841     am__obj=sub/conftest.${OBJEXT-o}
17842     am__minus_obj="-o $am__obj"
17843     case $depmode in
17844     gcc)
17845       # This depmode causes a compiler race in universal mode.
17846       test "$am__universal" = false || continue
17847       ;;
17848     nosideeffect)
17849       # after this tag, mechanisms are not by side-effect, so they'll
17850       # only be used when explicitly requested
17851       if test "x$enable_dependency_tracking" = xyes; then
17852         continue
17853       else
17854         break
17855       fi
17856       ;;
17857     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17858       # This compiler won't grok `-c -o', but also, the minuso test has
17859       # not run yet.  These depmodes are late enough in the game, and
17860       # so weak that their functioning should not be impacted.
17861       am__obj=conftest.${OBJEXT-o}
17862       am__minus_obj=
17863       ;;
17864     none) break ;;
17865     esac
17866     if depmode=$depmode \
17867        source=sub/conftest.c object=$am__obj \
17868        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17869        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17870          >/dev/null 2>conftest.err &&
17871        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17872        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17873        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17874        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17875       # icc doesn't choke on unknown options, it will just issue warnings
17876       # or remarks (even with -Werror).  So we grep stderr for any message
17877       # that says an option was ignored or not supported.
17878       # When given -MP, icc 7.0 and 7.1 complain thusly:
17879       #   icc: Command line warning: ignoring option '-M'; no argument required
17880       # The diagnosis changed in icc 8.0:
17881       #   icc: Command line remark: option '-MP' not supported
17882       if (grep 'ignoring option' conftest.err ||
17883           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17884         am_cv_CC_dependencies_compiler_type=$depmode
17885         break
17886       fi
17887     fi
17888   done
17889
17890   cd ..
17891   rm -rf conftest.dir
17892 else
17893   am_cv_CC_dependencies_compiler_type=none
17894 fi
17895
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17898 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17899 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17900
17901  if
17902   test "x$enable_dependency_tracking" != xno \
17903   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17904   am__fastdepCC_TRUE=
17905   am__fastdepCC_FALSE='#'
17906 else
17907   am__fastdepCC_TRUE='#'
17908   am__fastdepCC_FALSE=
17909 fi
17910
17911
17912
17913 # pkg-config
17914
17915
17916
17917
17918
17919
17920 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17921         if test -n "$ac_tool_prefix"; then
17922   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17923 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17925 $as_echo_n "checking for $ac_word... " >&6; }
17926 if ${ac_cv_path_PKG_CONFIG+:} false; then :
17927   $as_echo_n "(cached) " >&6
17928 else
17929   case $PKG_CONFIG in
17930   [\\/]* | ?:[\\/]*)
17931   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17932   ;;
17933   *)
17934   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17935 for as_dir in $PATH
17936 do
17937   IFS=$as_save_IFS
17938   test -z "$as_dir" && as_dir=.
17939     for ac_exec_ext in '' $ac_executable_extensions; do
17940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17941     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17943     break 2
17944   fi
17945 done
17946   done
17947 IFS=$as_save_IFS
17948
17949   ;;
17950 esac
17951 fi
17952 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17953 if test -n "$PKG_CONFIG"; then
17954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17955 $as_echo "$PKG_CONFIG" >&6; }
17956 else
17957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17958 $as_echo "no" >&6; }
17959 fi
17960
17961
17962 fi
17963 if test -z "$ac_cv_path_PKG_CONFIG"; then
17964   ac_pt_PKG_CONFIG=$PKG_CONFIG
17965   # Extract the first word of "pkg-config", so it can be a program name with args.
17966 set dummy pkg-config; ac_word=$2
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17968 $as_echo_n "checking for $ac_word... " >&6; }
17969 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17970   $as_echo_n "(cached) " >&6
17971 else
17972   case $ac_pt_PKG_CONFIG in
17973   [\\/]* | ?:[\\/]*)
17974   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17975   ;;
17976   *)
17977   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17978 for as_dir in $PATH
17979 do
17980   IFS=$as_save_IFS
17981   test -z "$as_dir" && as_dir=.
17982     for ac_exec_ext in '' $ac_executable_extensions; do
17983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17984     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17986     break 2
17987   fi
17988 done
17989   done
17990 IFS=$as_save_IFS
17991
17992   ;;
17993 esac
17994 fi
17995 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17996 if test -n "$ac_pt_PKG_CONFIG"; then
17997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17998 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
17999 else
18000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18001 $as_echo "no" >&6; }
18002 fi
18003
18004   if test "x$ac_pt_PKG_CONFIG" = x; then
18005     PKG_CONFIG=""
18006   else
18007     case $cross_compiling:$ac_tool_warned in
18008 yes:)
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18011 ac_tool_warned=yes ;;
18012 esac
18013     PKG_CONFIG=$ac_pt_PKG_CONFIG
18014   fi
18015 else
18016   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18017 fi
18018
18019 fi
18020 if test -n "$PKG_CONFIG"; then
18021         _pkg_min_version=0.9.0
18022         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18023 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18024         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18025                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18026 $as_echo "yes" >&6; }
18027         else
18028                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18029 $as_echo "no" >&6; }
18030                 PKG_CONFIG=""
18031         fi
18032 fi
18033
18034 # Check whether pkg-config supports Requires.private
18035 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
18036    pkgconfig_requires_private="Requires.private"
18037 else
18038    pkgconfig_requires_private="Requires"
18039 fi
18040
18041
18042 # doxygen program for documentation building
18043
18044
18045 # Check whether --enable-doc was given.
18046 if test "${enable_doc+set}" = set; then :
18047   enableval=$enable_doc;
18048     if test "x${enableval}" = "xyes" ; then
18049        efl_enable_doc="yes"
18050     else
18051        efl_enable_doc="no"
18052     fi
18053
18054 else
18055   efl_enable_doc="yes"
18056 fi
18057
18058
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
18060 $as_echo_n "checking whether to build documentation... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
18062 $as_echo "${efl_enable_doc}" >&6; }
18063
18064 if test "x${efl_enable_doc}" = "xyes" ; then
18065
18066
18067    efl_doxygen="doxygen"
18068
18069
18070 # Check whether --with-doxygen was given.
18071 if test "${with_doxygen+set}" = set; then :
18072   withval=$with_doxygen;
18073       efl_doxygen=${withval}
18074        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18075 set dummy ${efl_doxygen}; ac_word=$2
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18077 $as_echo_n "checking for $ac_word... " >&6; }
18078 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18079   $as_echo_n "(cached) " >&6
18080 else
18081   if test -n "$efl_have_doxygen"; then
18082   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18083 else
18084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18085 for as_dir in $PATH
18086 do
18087   IFS=$as_save_IFS
18088   test -z "$as_dir" && as_dir=.
18089     for ac_exec_ext in '' $ac_executable_extensions; do
18090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18091     ac_cv_prog_efl_have_doxygen="yes"
18092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18093     break 2
18094   fi
18095 done
18096   done
18097 IFS=$as_save_IFS
18098
18099   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18100 fi
18101 fi
18102 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18103 if test -n "$efl_have_doxygen"; then
18104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18105 $as_echo "$efl_have_doxygen" >&6; }
18106 else
18107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18108 $as_echo "no" >&6; }
18109 fi
18110
18111
18112        if test "x${efl_have_doxygen}" = "xno" ; then
18113           echo "WARNING:"
18114           echo "The doxygen program you specified:"
18115           echo "${efl_doxygen}"
18116           echo "was not found.  Please check the path and make sure "
18117           echo "the program exists and is executable."
18118           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18119 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18120        fi
18121
18122 else
18123   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
18124 set dummy ${efl_doxygen}; ac_word=$2
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18126 $as_echo_n "checking for $ac_word... " >&6; }
18127 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
18128   $as_echo_n "(cached) " >&6
18129 else
18130   if test -n "$efl_have_doxygen"; then
18131   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
18132 else
18133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18134 for as_dir in $PATH
18135 do
18136   IFS=$as_save_IFS
18137   test -z "$as_dir" && as_dir=.
18138     for ac_exec_ext in '' $ac_executable_extensions; do
18139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18140     ac_cv_prog_efl_have_doxygen="yes"
18141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18142     break 2
18143   fi
18144 done
18145   done
18146 IFS=$as_save_IFS
18147
18148   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
18149 fi
18150 fi
18151 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
18152 if test -n "$efl_have_doxygen"; then
18153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
18154 $as_echo "$efl_have_doxygen" >&6; }
18155 else
18156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18157 $as_echo "no" >&6; }
18158 fi
18159
18160
18161        if test "x${efl_have_doxygen}" = "xno" ; then
18162           echo "WARNING:"
18163           echo "The doxygen program was not found in your execute path."
18164           echo "You may have doxygen installed somewhere not covered by your path."
18165           echo ""
18166           echo "If this is the case make sure you have the packages installed, AND"
18167           echo "that the doxygen program is in your execute path (see your"
18168           echo "shell manual page on setting the \$PATH environment variable), OR"
18169           echo "alternatively, specify the program to use with --with-doxygen."
18170           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
18171 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
18172        fi
18173
18174 fi
18175
18176 fi
18177
18178
18179
18180 if ! test "x${efl_have_doxygen}" = "xyes" ; then
18181    efl_enable_doc="no"
18182 fi
18183
18184  if test "x${efl_enable_doc}" = "xyes"; then
18185   EFL_BUILD_DOC_TRUE=
18186   EFL_BUILD_DOC_FALSE='#'
18187 else
18188   EFL_BUILD_DOC_TRUE='#'
18189   EFL_BUILD_DOC_FALSE=
18190 fi
18191
18192
18193 if test "x${efl_enable_doc}" = "xyes" ; then
18194   build_doc="yes"
18195 else
18196   build_doc="no"
18197 fi
18198
18199
18200
18201
18202 ### Checks for libraries
18203
18204 # Evil library for compilation on Windows CE
18205
18206 case "$host_os" in
18207    mingw*)
18208
18209 pkg_failed=no
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
18211 $as_echo_n "checking for EVIL... " >&6; }
18212
18213 if test -n "$EVIL_CFLAGS"; then
18214     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
18215  elif test -n "$PKG_CONFIG"; then
18216     if test -n "$PKG_CONFIG" && \
18217     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18218   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18219   ac_status=$?
18220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18221   test $ac_status = 0; }; then
18222   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
18223 else
18224   pkg_failed=yes
18225 fi
18226  else
18227     pkg_failed=untried
18228 fi
18229 if test -n "$EVIL_LIBS"; then
18230     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
18231  elif test -n "$PKG_CONFIG"; then
18232     if test -n "$PKG_CONFIG" && \
18233     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
18234   ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
18235   ac_status=$?
18236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18237   test $ac_status = 0; }; then
18238   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
18239 else
18240   pkg_failed=yes
18241 fi
18242  else
18243     pkg_failed=untried
18244 fi
18245
18246
18247
18248 if test $pkg_failed = yes; then
18249         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18250 $as_echo "no" >&6; }
18251
18252 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18253         _pkg_short_errors_supported=yes
18254 else
18255         _pkg_short_errors_supported=no
18256 fi
18257         if test $_pkg_short_errors_supported = yes; then
18258                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
18259         else
18260                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
18261         fi
18262         # Put the nasty error message in config.log where it belongs
18263         echo "$EVIL_PKG_ERRORS" >&5
18264
18265         as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
18266
18267 $EVIL_PKG_ERRORS
18268
18269 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18270 installed software in a non-standard prefix.
18271
18272 Alternatively, you may set the environment variables EVIL_CFLAGS
18273 and EVIL_LIBS to avoid the need to call pkg-config.
18274 See the pkg-config man page for more details." "$LINENO" 5
18275
18276 elif test $pkg_failed = untried; then
18277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18278 $as_echo "no" >&6; }
18279         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18281 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18282 is in your PATH or set the PKG_CONFIG environment variable to the full
18283 path to pkg-config.
18284
18285 Alternatively, you may set the environment variables EVIL_CFLAGS
18286 and EVIL_LIBS to avoid the need to call pkg-config.
18287 See the pkg-config man page for more details.
18288
18289 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18290 See \`config.log' for more details" "$LINENO" 5; }
18291
18292 else
18293         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
18294         EVIL_LIBS=$pkg_cv_EVIL_LIBS
18295         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18296 $as_echo "yes" >&6; }
18297
18298 fi
18299
18300 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
18301
18302       requirement_evas="evil ${requirement_evas}"
18303    ;;
18304 esac
18305
18306 ### Checks for portability layer
18307
18308
18309 pkg_failed=no
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
18311 $as_echo_n "checking for EXOTIC... " >&6; }
18312
18313 if test -n "$EXOTIC_CFLAGS"; then
18314     pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
18315  elif test -n "$PKG_CONFIG"; then
18316     if test -n "$PKG_CONFIG" && \
18317     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18318   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18319   ac_status=$?
18320   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18321   test $ac_status = 0; }; then
18322   pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
18323 else
18324   pkg_failed=yes
18325 fi
18326  else
18327     pkg_failed=untried
18328 fi
18329 if test -n "$EXOTIC_LIBS"; then
18330     pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
18331  elif test -n "$PKG_CONFIG"; then
18332     if test -n "$PKG_CONFIG" && \
18333     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
18334   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
18335   ac_status=$?
18336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18337   test $ac_status = 0; }; then
18338   pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
18339 else
18340   pkg_failed=yes
18341 fi
18342  else
18343     pkg_failed=untried
18344 fi
18345
18346
18347
18348 if test $pkg_failed = yes; then
18349         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18350 $as_echo "no" >&6; }
18351
18352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18353         _pkg_short_errors_supported=yes
18354 else
18355         _pkg_short_errors_supported=no
18356 fi
18357         if test $_pkg_short_errors_supported = yes; then
18358                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
18359         else
18360                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
18361         fi
18362         # Put the nasty error message in config.log where it belongs
18363         echo "$EXOTIC_PKG_ERRORS" >&5
18364
18365         enable_exotic="no"
18366 elif test $pkg_failed = untried; then
18367         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18368 $as_echo "no" >&6; }
18369         enable_exotic="no"
18370 else
18371         EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
18372         EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
18373         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18374 $as_echo "yes" >&6; }
18375         enable_exotic="yes"
18376 fi
18377
18378 if test "x${enable_exotic}" = "xyes"; then
18379     requirement_evas="exotic ${requirement_evas}"
18380
18381
18382 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
18383
18384 fi
18385  if test "x${enable_exotic}" = "xyes"; then
18386   EVAS_HAVE_EXOTIC_TRUE=
18387   EVAS_HAVE_EXOTIC_FALSE='#'
18388 else
18389   EVAS_HAVE_EXOTIC_TRUE='#'
18390   EVAS_HAVE_EXOTIC_FALSE=
18391 fi
18392
18393
18394 ## strong dependencies
18395
18396 # Eina
18397
18398 pkg_failed=no
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
18400 $as_echo_n "checking for EINA... " >&6; }
18401
18402 if test -n "$EINA_CFLAGS"; then
18403     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
18404  elif test -n "$PKG_CONFIG"; then
18405     if test -n "$PKG_CONFIG" && \
18406     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
18407   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
18408   ac_status=$?
18409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18410   test $ac_status = 0; }; then
18411   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.0" 2>/dev/null`
18412 else
18413   pkg_failed=yes
18414 fi
18415  else
18416     pkg_failed=untried
18417 fi
18418 if test -n "$EINA_LIBS"; then
18419     pkg_cv_EINA_LIBS="$EINA_LIBS"
18420  elif test -n "$PKG_CONFIG"; then
18421     if test -n "$PKG_CONFIG" && \
18422     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.0\""; } >&5
18423   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.0") 2>&5
18424   ac_status=$?
18425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18426   test $ac_status = 0; }; then
18427   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.0" 2>/dev/null`
18428 else
18429   pkg_failed=yes
18430 fi
18431  else
18432     pkg_failed=untried
18433 fi
18434
18435
18436
18437 if test $pkg_failed = yes; then
18438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18439 $as_echo "no" >&6; }
18440
18441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18442         _pkg_short_errors_supported=yes
18443 else
18444         _pkg_short_errors_supported=no
18445 fi
18446         if test $_pkg_short_errors_supported = yes; then
18447                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.6.0" 2>&1`
18448         else
18449                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.6.0" 2>&1`
18450         fi
18451         # Put the nasty error message in config.log where it belongs
18452         echo "$EINA_PKG_ERRORS" >&5
18453
18454         as_fn_error $? "Package requirements (eina >= 1.6.0) were not met:
18455
18456 $EINA_PKG_ERRORS
18457
18458 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18459 installed software in a non-standard prefix.
18460
18461 Alternatively, you may set the environment variables EINA_CFLAGS
18462 and EINA_LIBS to avoid the need to call pkg-config.
18463 See the pkg-config man page for more details." "$LINENO" 5
18464
18465 elif test $pkg_failed = untried; then
18466         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18467 $as_echo "no" >&6; }
18468         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18470 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18471 is in your PATH or set the PKG_CONFIG environment variable to the full
18472 path to pkg-config.
18473
18474 Alternatively, you may set the environment variables EINA_CFLAGS
18475 and EINA_LIBS to avoid the need to call pkg-config.
18476 See the pkg-config man page for more details.
18477
18478 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18479 See \`config.log' for more details" "$LINENO" 5; }
18480
18481 else
18482         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
18483         EINA_LIBS=$pkg_cv_EINA_LIBS
18484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18485 $as_echo "yes" >&6; }
18486
18487 fi
18488 CPPFLAGS_SAVE="$CPPFLAGS"
18489 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
18490 # The cast to long int works around a bug in the HP C Compiler
18491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18493 # This bug is HP SR number 8606223364.
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
18495 $as_echo_n "checking size of Eina_Unicode... " >&6; }
18496 if ${ac_cv_sizeof_Eina_Unicode+:} false; then :
18497   $as_echo_n "(cached) " >&6
18498 else
18499   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode"        "#include <Eina.h>
18500 "; then :
18501
18502 else
18503   if test "$ac_cv_type_Eina_Unicode" = yes; then
18504      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18506 as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
18507 See \`config.log' for more details" "$LINENO" 5; }
18508    else
18509      ac_cv_sizeof_Eina_Unicode=0
18510    fi
18511 fi
18512
18513 fi
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
18515 $as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
18516
18517
18518
18519 cat >>confdefs.h <<_ACEOF
18520 #define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
18521 _ACEOF
18522
18523
18524 CPPFLAGS="$CPPFLAGS_SAVE"
18525
18526 # Freetype
18527
18528 pkg_failed=no
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
18530 $as_echo_n "checking for FREETYPE... " >&6; }
18531
18532 if test -n "$FREETYPE_CFLAGS"; then
18533     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
18534  elif test -n "$PKG_CONFIG"; then
18535     if test -n "$PKG_CONFIG" && \
18536     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18537   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18538   ac_status=$?
18539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18540   test $ac_status = 0; }; then
18541   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
18542 else
18543   pkg_failed=yes
18544 fi
18545  else
18546     pkg_failed=untried
18547 fi
18548 if test -n "$FREETYPE_LIBS"; then
18549     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
18550  elif test -n "$PKG_CONFIG"; then
18551     if test -n "$PKG_CONFIG" && \
18552     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
18553   ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
18554   ac_status=$?
18555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18556   test $ac_status = 0; }; then
18557   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
18558 else
18559   pkg_failed=yes
18560 fi
18561  else
18562     pkg_failed=untried
18563 fi
18564
18565
18566
18567 if test $pkg_failed = yes; then
18568         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18569 $as_echo "no" >&6; }
18570
18571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18572         _pkg_short_errors_supported=yes
18573 else
18574         _pkg_short_errors_supported=no
18575 fi
18576         if test $_pkg_short_errors_supported = yes; then
18577                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= 9.3.0" 2>&1`
18578         else
18579                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= 9.3.0" 2>&1`
18580         fi
18581         # Put the nasty error message in config.log where it belongs
18582         echo "$FREETYPE_PKG_ERRORS" >&5
18583
18584         as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
18585
18586 $FREETYPE_PKG_ERRORS
18587
18588 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18589 installed software in a non-standard prefix.
18590
18591 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18592 and FREETYPE_LIBS to avoid the need to call pkg-config.
18593 See the pkg-config man page for more details." "$LINENO" 5
18594
18595 elif test $pkg_failed = untried; then
18596         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18597 $as_echo "no" >&6; }
18598         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18600 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
18601 is in your PATH or set the PKG_CONFIG environment variable to the full
18602 path to pkg-config.
18603
18604 Alternatively, you may set the environment variables FREETYPE_CFLAGS
18605 and FREETYPE_LIBS to avoid the need to call pkg-config.
18606 See the pkg-config man page for more details.
18607
18608 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18609 See \`config.log' for more details" "$LINENO" 5; }
18610
18611 else
18612         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
18613         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
18614         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18615 $as_echo "yes" >&6; }
18616
18617 fi
18618
18619 requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}"
18620
18621 ## optional dependencies
18622
18623 # FontConfig
18624 have_fontconfig="no"
18625 # Check whether --enable-fontconfig was given.
18626 if test "${enable_fontconfig+set}" = set; then :
18627   enableval=$enable_fontconfig;
18628     if test "x${enableval}" = "xyes" ; then
18629        want_fontconfig="yes"
18630     else
18631        want_fontconfig="no"
18632     fi
18633
18634 fi
18635
18636
18637
18638 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
18639
18640 pkg_failed=no
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
18642 $as_echo_n "checking for FONTCONFIG... " >&6; }
18643
18644 if test -n "$FONTCONFIG_CFLAGS"; then
18645     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
18646  elif test -n "$PKG_CONFIG"; then
18647     if test -n "$PKG_CONFIG" && \
18648     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18649   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18650   ac_status=$?
18651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18652   test $ac_status = 0; }; then
18653   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
18654 else
18655   pkg_failed=yes
18656 fi
18657  else
18658     pkg_failed=untried
18659 fi
18660 if test -n "$FONTCONFIG_LIBS"; then
18661     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
18662  elif test -n "$PKG_CONFIG"; then
18663     if test -n "$PKG_CONFIG" && \
18664     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
18665   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
18666   ac_status=$?
18667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18668   test $ac_status = 0; }; then
18669   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
18670 else
18671   pkg_failed=yes
18672 fi
18673  else
18674     pkg_failed=untried
18675 fi
18676
18677
18678
18679 if test $pkg_failed = yes; then
18680         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18681 $as_echo "no" >&6; }
18682
18683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18684         _pkg_short_errors_supported=yes
18685 else
18686         _pkg_short_errors_supported=no
18687 fi
18688         if test $_pkg_short_errors_supported = yes; then
18689                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1`
18690         else
18691                 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1`
18692         fi
18693         # Put the nasty error message in config.log where it belongs
18694         echo "$FONTCONFIG_PKG_ERRORS" >&5
18695
18696
18697        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18698           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18699        fi
18700
18701 elif test $pkg_failed = untried; then
18702         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18703 $as_echo "no" >&6; }
18704
18705        if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18706           as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18707        fi
18708
18709 else
18710         FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18711         FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18712         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18713 $as_echo "yes" >&6; }
18714
18715        have_fontconfig="yes"
18716
18717 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18718
18719        requirement_evas="fontconfig ${requirement_evas}"
18720
18721 fi
18722 fi
18723
18724 # linebreak
18725 have_linebreak="no"
18726 want_linebreak="yes"
18727 # Check whether --enable-liblinebreak was given.
18728 if test "${enable_liblinebreak+set}" = set; then :
18729   enableval=$enable_liblinebreak;
18730     if test "x${enableval}" = "xyes" ; then
18731        want_linebreak="yes"
18732     else
18733        want_linebreak="no"
18734     fi
18735
18736 fi
18737
18738
18739
18740  if test "x${want_linebreak}" = "xyes"; then
18741   EVAS_USE_LINEBREAK_TRUE=
18742   EVAS_USE_LINEBREAK_FALSE='#'
18743 else
18744   EVAS_USE_LINEBREAK_TRUE='#'
18745   EVAS_USE_LINEBREAK_FALSE=
18746 fi
18747
18748 if test "x${want_linebreak}" = "xyes" ; then
18749    have_linebreak="yes"
18750    LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18751    LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18752
18753
18754
18755 $as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18756
18757 else
18758    have_linebreak="no"
18759 fi
18760
18761 # fribidi support
18762 have_fribidi="no"
18763 # Check whether --enable-fribidi was given.
18764 if test "${enable_fribidi+set}" = set; then :
18765   enableval=$enable_fribidi;
18766     if test "x${enableval}" = "xyes" ; then
18767        want_fribidi="yes"
18768     else
18769        want_fribidi="no"
18770     fi
18771
18772 fi
18773
18774
18775 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18776
18777 pkg_failed=no
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18779 $as_echo_n "checking for FRIBIDI... " >&6; }
18780
18781 if test -n "$FRIBIDI_CFLAGS"; then
18782     pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18783  elif test -n "$PKG_CONFIG"; then
18784     if test -n "$PKG_CONFIG" && \
18785     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18786   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18787   ac_status=$?
18788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18789   test $ac_status = 0; }; then
18790   pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18791 else
18792   pkg_failed=yes
18793 fi
18794  else
18795     pkg_failed=untried
18796 fi
18797 if test -n "$FRIBIDI_LIBS"; then
18798     pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18799  elif test -n "$PKG_CONFIG"; then
18800     if test -n "$PKG_CONFIG" && \
18801     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18802   ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18803   ac_status=$?
18804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18805   test $ac_status = 0; }; then
18806   pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18807 else
18808   pkg_failed=yes
18809 fi
18810  else
18811     pkg_failed=untried
18812 fi
18813
18814
18815
18816 if test $pkg_failed = yes; then
18817         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18818 $as_echo "no" >&6; }
18819
18820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18821         _pkg_short_errors_supported=yes
18822 else
18823         _pkg_short_errors_supported=no
18824 fi
18825         if test $_pkg_short_errors_supported = yes; then
18826                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi >= 0.19.2" 2>&1`
18827         else
18828                 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi >= 0.19.2" 2>&1`
18829         fi
18830         # Put the nasty error message in config.log where it belongs
18831         echo "$FRIBIDI_PKG_ERRORS" >&5
18832
18833
18834        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18835           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18836        fi
18837
18838 elif test $pkg_failed = untried; then
18839         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18840 $as_echo "no" >&6; }
18841
18842        if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18843           as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18844        fi
18845
18846 else
18847         FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18848         FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18849         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18850 $as_echo "yes" >&6; }
18851
18852        have_fribidi="yes"
18853
18854 $as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18855
18856        requirement_evas="fribidi ${requirement_evas}"
18857        CPPFLAGS_SAVE="$CPPFLAGS"
18858        CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18859        # The cast to long int works around a bug in the HP C Compiler
18860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18862 # This bug is HP SR number 8606223364.
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18864 $as_echo_n "checking size of FriBidiChar... " >&6; }
18865 if ${ac_cv_sizeof_FriBidiChar+:} false; then :
18866   $as_echo_n "(cached) " >&6
18867 else
18868   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar"        "#include <fribidi.h>
18869 "; then :
18870
18871 else
18872   if test "$ac_cv_type_FriBidiChar" = yes; then
18873      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18875 as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18876 See \`config.log' for more details" "$LINENO" 5; }
18877    else
18878      ac_cv_sizeof_FriBidiChar=0
18879    fi
18880 fi
18881
18882 fi
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18884 $as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18885
18886
18887
18888 cat >>confdefs.h <<_ACEOF
18889 #define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18890 _ACEOF
18891
18892
18893        CPPFLAGS="$CPPFLAGS_SAVE"
18894
18895 fi
18896 fi
18897
18898 if test "x${have_fribidi}" = "xno"; then
18899   HAS_BIDI=0
18900 fi
18901
18902 # harfbuzz support
18903 have_harfbuzz="no"
18904 have_harfbuzz_ft="no"
18905 # Check whether --enable-harfbuzz was given.
18906 if test "${enable_harfbuzz+set}" = set; then :
18907   enableval=$enable_harfbuzz;
18908     if test "x${enableval}" = "xyes" ; then
18909        want_harfbuzz="yes"
18910     else
18911        want_harfbuzz="no"
18912     fi
18913
18914 fi
18915
18916
18917 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
18918
18919 pkg_failed=no
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
18921 $as_echo_n "checking for HARFBUZZ... " >&6; }
18922
18923 if test -n "$HARFBUZZ_CFLAGS"; then
18924     pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
18925  elif test -n "$PKG_CONFIG"; then
18926     if test -n "$PKG_CONFIG" && \
18927     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18928   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18929   ac_status=$?
18930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18931   test $ac_status = 0; }; then
18932   pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.9.0" 2>/dev/null`
18933 else
18934   pkg_failed=yes
18935 fi
18936  else
18937     pkg_failed=untried
18938 fi
18939 if test -n "$HARFBUZZ_LIBS"; then
18940     pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
18941  elif test -n "$PKG_CONFIG"; then
18942     if test -n "$PKG_CONFIG" && \
18943     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.9.0\""; } >&5
18944   ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.9.0") 2>&5
18945   ac_status=$?
18946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18947   test $ac_status = 0; }; then
18948   pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.9.0" 2>/dev/null`
18949 else
18950   pkg_failed=yes
18951 fi
18952  else
18953     pkg_failed=untried
18954 fi
18955
18956
18957
18958 if test $pkg_failed = yes; then
18959         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18960 $as_echo "no" >&6; }
18961
18962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18963         _pkg_short_errors_supported=yes
18964 else
18965         _pkg_short_errors_supported=no
18966 fi
18967         if test $_pkg_short_errors_supported = yes; then
18968                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "harfbuzz >= 0.9.0" 2>&1`
18969         else
18970                 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors "harfbuzz >= 0.9.0" 2>&1`
18971         fi
18972         # Put the nasty error message in config.log where it belongs
18973         echo "$HARFBUZZ_PKG_ERRORS" >&5
18974
18975
18976        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18977           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18978        fi
18979
18980 elif test $pkg_failed = untried; then
18981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18982 $as_echo "no" >&6; }
18983
18984        if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18985           as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18986        fi
18987
18988 else
18989         HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
18990         HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
18991         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18992 $as_echo "yes" >&6; }
18993
18994        have_harfbuzz="yes"
18995        requirement_evas="harfbuzz ${requirement_evas}"
18996
18997 fi
18998    if test "x$have_harfbuzz" = "xyes" ; then
18999
19000       CPPFLAGS_SAVE="$CPPFLAGS"
19001       CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
19002 # must have for usage with harfbuzz although harfbuzz may not have it.
19003
19004       ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
19005 if test "x$ac_cv_header_hb_ft_h" = xyes; then :
19006
19007            have_harfbuzz_ft="yes"
19008            #Depend on harfbuzz ft for harfbuzz support
19009
19010 $as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
19011
19012
19013 else
19014
19015            if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
19016               as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
19017            fi
19018            have_harfbuzz="no"
19019
19020 fi
19021
19022
19023       CPPFLAGS="$CPPFLAGS_SAVE"
19024    fi
19025 fi
19026
19027 if test "x${have_harfbuzz}" = "xno"; then
19028   HAS_HARFBUZZ=0
19029 fi
19030
19031 # Pixman
19032 have_pixman="no"
19033 # Check whether --enable-pixman was given.
19034 if test "${enable_pixman+set}" = set; then :
19035   enableval=$enable_pixman;
19036     if test "x${enableval}" = "xyes" ; then
19037        want_pixman="yes"
19038     else
19039        want_pixman="no"
19040     fi
19041
19042 fi
19043
19044
19045
19046 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
19047
19048 pkg_failed=no
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
19050 $as_echo_n "checking for PIXMAN... " >&6; }
19051
19052 if test -n "$PIXMAN_CFLAGS"; then
19053     pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
19054  elif test -n "$PKG_CONFIG"; then
19055     if test -n "$PKG_CONFIG" && \
19056     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19057   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19058   ac_status=$?
19059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19060   test $ac_status = 0; }; then
19061   pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
19062 else
19063   pkg_failed=yes
19064 fi
19065  else
19066     pkg_failed=untried
19067 fi
19068 if test -n "$PIXMAN_LIBS"; then
19069     pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
19070  elif test -n "$PKG_CONFIG"; then
19071     if test -n "$PKG_CONFIG" && \
19072     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
19073   ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
19074   ac_status=$?
19075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19076   test $ac_status = 0; }; then
19077   pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
19078 else
19079   pkg_failed=yes
19080 fi
19081  else
19082     pkg_failed=untried
19083 fi
19084
19085
19086
19087 if test $pkg_failed = yes; then
19088         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19089 $as_echo "no" >&6; }
19090
19091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19092         _pkg_short_errors_supported=yes
19093 else
19094         _pkg_short_errors_supported=no
19095 fi
19096         if test $_pkg_short_errors_supported = yes; then
19097                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
19098         else
19099                 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
19100         fi
19101         # Put the nasty error message in config.log where it belongs
19102         echo "$PIXMAN_PKG_ERRORS" >&5
19103
19104
19105        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19106           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19107        fi
19108
19109 elif test $pkg_failed = untried; then
19110         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19111 $as_echo "no" >&6; }
19112
19113        if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
19114           as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
19115        fi
19116
19117 else
19118         PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
19119         PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
19120         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19121 $as_echo "yes" >&6; }
19122
19123        have_pixman="yes"
19124
19125 $as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
19126
19127        requirement_evas="pixman-1 ${requirement_evas}"
19128
19129 fi
19130 fi
19131
19132 have_pixman_font="no"
19133 # Check whether --enable-pixman-font was given.
19134 if test "${enable_pixman_font+set}" = set; then :
19135   enableval=$enable_pixman_font;
19136     have_pixman_font="yes"
19137
19138 $as_echo "#define PIXMAN_FONT 1" >>confdefs.h
19139
19140
19141
19142 fi
19143
19144
19145 have_pixman_rect="no"
19146 # Check whether --enable-pixman-rect was given.
19147 if test "${enable_pixman_rect+set}" = set; then :
19148   enableval=$enable_pixman_rect;
19149     have_pixman_rect="yes"
19150
19151 $as_echo "#define PIXMAN_RECT 1" >>confdefs.h
19152
19153
19154
19155 fi
19156
19157
19158 have_pixman_line="no"
19159 # Check whether --enable-pixman-line was given.
19160 if test "${enable_pixman_line+set}" = set; then :
19161   enableval=$enable_pixman_line;
19162     have_pixman_line="yes"
19163
19164 $as_echo "#define PIXMAN_LINE 1" >>confdefs.h
19165
19166
19167
19168 fi
19169
19170
19171 have_pixman_poly="no"
19172 # Check whether --enable-pixman-poly was given.
19173 if test "${enable_pixman_poly+set}" = set; then :
19174   enableval=$enable_pixman_poly;
19175     have_pixman_poly="yes"
19176
19177 $as_echo "#define PIXMAN_POLY 1" >>confdefs.h
19178
19179
19180
19181 fi
19182
19183
19184 have_pixman_image="no"
19185 # Check whether --enable-pixman-image was given.
19186 if test "${enable_pixman_image+set}" = set; then :
19187   enableval=$enable_pixman_image;
19188     have_pixman_image="yes"
19189
19190 $as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
19191
19192
19193
19194 fi
19195
19196
19197 have_pixman_image_scale_sample="no"
19198 # Check whether --enable-pixman-image-scale-sample was given.
19199 if test "${enable_pixman_image_scale_sample+set}" = set; then :
19200   enableval=$enable_pixman_image_scale_sample;
19201     have_pixman_image_scale_sample="yes"
19202
19203 $as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
19204
19205
19206
19207 fi
19208
19209
19210 have_tile_rotate="no"
19211 # Check whether --enable-tile-rotate was given.
19212 if test "${enable_tile_rotate+set}" = set; then :
19213   enableval=$enable_tile_rotate;
19214     have_tile_rotate="yes"
19215
19216 $as_echo "#define TILE_ROTATE 1" >>confdefs.h
19217
19218
19219
19220 fi
19221
19222
19223 ### Checks for header files
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19225 $as_echo_n "checking for ANSI C header files... " >&6; }
19226 if ${ac_cv_header_stdc+:} false; then :
19227   $as_echo_n "(cached) " >&6
19228 else
19229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h.  */
19231 #include <stdlib.h>
19232 #include <stdarg.h>
19233 #include <string.h>
19234 #include <float.h>
19235
19236 int
19237 main ()
19238 {
19239
19240   ;
19241   return 0;
19242 }
19243 _ACEOF
19244 if ac_fn_c_try_compile "$LINENO"; then :
19245   ac_cv_header_stdc=yes
19246 else
19247   ac_cv_header_stdc=no
19248 fi
19249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19250
19251 if test $ac_cv_header_stdc = yes; then
19252   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h.  */
19255 #include <string.h>
19256
19257 _ACEOF
19258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19259   $EGREP "memchr" >/dev/null 2>&1; then :
19260
19261 else
19262   ac_cv_header_stdc=no
19263 fi
19264 rm -f conftest*
19265
19266 fi
19267
19268 if test $ac_cv_header_stdc = yes; then
19269   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h.  */
19272 #include <stdlib.h>
19273
19274 _ACEOF
19275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19276   $EGREP "free" >/dev/null 2>&1; then :
19277
19278 else
19279   ac_cv_header_stdc=no
19280 fi
19281 rm -f conftest*
19282
19283 fi
19284
19285 if test $ac_cv_header_stdc = yes; then
19286   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19287   if test "$cross_compiling" = yes; then :
19288   :
19289 else
19290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h.  */
19292 #include <ctype.h>
19293 #include <stdlib.h>
19294 #if ((' ' & 0x0FF) == 0x020)
19295 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19296 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19297 #else
19298 # define ISLOWER(c) \
19299                    (('a' <= (c) && (c) <= 'i') \
19300                      || ('j' <= (c) && (c) <= 'r') \
19301                      || ('s' <= (c) && (c) <= 'z'))
19302 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19303 #endif
19304
19305 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19306 int
19307 main ()
19308 {
19309   int i;
19310   for (i = 0; i < 256; i++)
19311     if (XOR (islower (i), ISLOWER (i))
19312         || toupper (i) != TOUPPER (i))
19313       return 2;
19314   return 0;
19315 }
19316 _ACEOF
19317 if ac_fn_c_try_run "$LINENO"; then :
19318
19319 else
19320   ac_cv_header_stdc=no
19321 fi
19322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19323   conftest.$ac_objext conftest.beam conftest.$ac_ext
19324 fi
19325
19326 fi
19327 fi
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19329 $as_echo "$ac_cv_header_stdc" >&6; }
19330 if test $ac_cv_header_stdc = yes; then
19331
19332 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19333
19334 fi
19335
19336 for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
19337 do :
19338   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19339 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19340 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19341   cat >>confdefs.h <<_ACEOF
19342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19343 _ACEOF
19344
19345 fi
19346
19347 done
19348
19349
19350
19351 default_max="4096"
19352 ac_ext=c
19353 ac_cpp='$CPP $CPPFLAGS'
19354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19357
19358
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
19360 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h.  */
19363
19364 #include <limits.h>
19365
19366 int
19367 main ()
19368 {
19369
19370 int i = PATH_MAX;
19371
19372   ;
19373   return 0;
19374 }
19375 _ACEOF
19376 if ac_fn_c_try_compile "$LINENO"; then :
19377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19378 $as_echo "yes" >&6; }
19379 else
19380
19381
19382 cat >>confdefs.h <<_ACEOF
19383 #define PATH_MAX ${default_max}
19384 _ACEOF
19385
19386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
19387 $as_echo "no: using ${default_max}" >&6; }
19388
19389 fi
19390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19391
19392 ac_ext=c
19393 ac_cpp='$CPP $CPPFLAGS'
19394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19397
19398
19399
19400
19401 ### Checks for types
19402 ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
19403 "
19404 if test "x$ac_cv_type_struct_sigaction" = xyes; then :
19405
19406 cat >>confdefs.h <<_ACEOF
19407 #define HAVE_STRUCT_SIGACTION 1
19408 _ACEOF
19409
19410
19411 fi
19412
19413
19414
19415 ### Checks for structures
19416
19417
19418 ### Checks for compiler characteristics
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19420 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19421 if ${ac_cv_c_const+:} false; then :
19422   $as_echo_n "(cached) " >&6
19423 else
19424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h.  */
19426
19427 int
19428 main ()
19429 {
19430 /* FIXME: Include the comments suggested by Paul. */
19431 #ifndef __cplusplus
19432   /* Ultrix mips cc rejects this.  */
19433   typedef int charset[2];
19434   const charset cs;
19435   /* SunOS 4.1.1 cc rejects this.  */
19436   char const *const *pcpcc;
19437   char **ppc;
19438   /* NEC SVR4.0.2 mips cc rejects this.  */
19439   struct point {int x, y;};
19440   static struct point const zero = {0,0};
19441   /* AIX XL C 1.02.0.0 rejects this.
19442      It does not let you subtract one const X* pointer from another in
19443      an arm of an if-expression whose if-part is not a constant
19444      expression */
19445   const char *g = "string";
19446   pcpcc = &g + (g ? g-g : 0);
19447   /* HPUX 7.0 cc rejects these. */
19448   ++pcpcc;
19449   ppc = (char**) pcpcc;
19450   pcpcc = (char const *const *) ppc;
19451   { /* SCO 3.2v4 cc rejects this.  */
19452     char *t;
19453     char const *s = 0 ? (char *) 0 : (char const *) 0;
19454
19455     *t++ = 0;
19456     if (s) return 0;
19457   }
19458   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
19459     int x[] = {25, 17};
19460     const int *foo = &x[0];
19461     ++foo;
19462   }
19463   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19464     typedef const int *iptr;
19465     iptr p = 0;
19466     ++p;
19467   }
19468   { /* AIX XL C 1.02.0.0 rejects this saying
19469        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19470     struct s { int j; const int *ap[3]; };
19471     struct s *b; b->j = 5;
19472   }
19473   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19474     const int foo = 10;
19475     if (!foo) return 0;
19476   }
19477   return !cs[0] && !zero.x;
19478 #endif
19479
19480   ;
19481   return 0;
19482 }
19483 _ACEOF
19484 if ac_fn_c_try_compile "$LINENO"; then :
19485   ac_cv_c_const=yes
19486 else
19487   ac_cv_c_const=no
19488 fi
19489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19490 fi
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19492 $as_echo "$ac_cv_c_const" >&6; }
19493 if test $ac_cv_c_const = no; then
19494
19495 $as_echo "#define const /**/" >>confdefs.h
19496
19497 fi
19498
19499  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
19500 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
19501 if ${ac_cv_c_bigendian+:} false; then :
19502   $as_echo_n "(cached) " >&6
19503 else
19504   ac_cv_c_bigendian=unknown
19505     # See if we're dealing with a universal compiler.
19506     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h.  */
19508 #ifndef __APPLE_CC__
19509                not a universal capable compiler
19510              #endif
19511              typedef int dummy;
19512
19513 _ACEOF
19514 if ac_fn_c_try_compile "$LINENO"; then :
19515
19516         # Check for potential -arch flags.  It is not universal unless
19517         # there are at least two -arch flags with different values.
19518         ac_arch=
19519         ac_prev=
19520         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
19521          if test -n "$ac_prev"; then
19522            case $ac_word in
19523              i?86 | x86_64 | ppc | ppc64)
19524                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
19525                  ac_arch=$ac_word
19526                else
19527                  ac_cv_c_bigendian=universal
19528                  break
19529                fi
19530                ;;
19531            esac
19532            ac_prev=
19533          elif test "x$ac_word" = "x-arch"; then
19534            ac_prev=arch
19535          fi
19536        done
19537 fi
19538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19539     if test $ac_cv_c_bigendian = unknown; then
19540       # See if sys/param.h defines the BYTE_ORDER macro.
19541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h.  */
19543 #include <sys/types.h>
19544              #include <sys/param.h>
19545
19546 int
19547 main ()
19548 {
19549 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
19550                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
19551                      && LITTLE_ENDIAN)
19552               bogus endian macros
19553              #endif
19554
19555   ;
19556   return 0;
19557 }
19558 _ACEOF
19559 if ac_fn_c_try_compile "$LINENO"; then :
19560   # It does; now see whether it defined to BIG_ENDIAN or not.
19561          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h.  */
19563 #include <sys/types.h>
19564                 #include <sys/param.h>
19565
19566 int
19567 main ()
19568 {
19569 #if BYTE_ORDER != BIG_ENDIAN
19570                  not big endian
19571                 #endif
19572
19573   ;
19574   return 0;
19575 }
19576 _ACEOF
19577 if ac_fn_c_try_compile "$LINENO"; then :
19578   ac_cv_c_bigendian=yes
19579 else
19580   ac_cv_c_bigendian=no
19581 fi
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19583 fi
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585     fi
19586     if test $ac_cv_c_bigendian = unknown; then
19587       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
19588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h.  */
19590 #include <limits.h>
19591
19592 int
19593 main ()
19594 {
19595 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
19596               bogus endian macros
19597              #endif
19598
19599   ;
19600   return 0;
19601 }
19602 _ACEOF
19603 if ac_fn_c_try_compile "$LINENO"; then :
19604   # It does; now see whether it defined to _BIG_ENDIAN or not.
19605          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h.  */
19607 #include <limits.h>
19608
19609 int
19610 main ()
19611 {
19612 #ifndef _BIG_ENDIAN
19613                  not big endian
19614                 #endif
19615
19616   ;
19617   return 0;
19618 }
19619 _ACEOF
19620 if ac_fn_c_try_compile "$LINENO"; then :
19621   ac_cv_c_bigendian=yes
19622 else
19623   ac_cv_c_bigendian=no
19624 fi
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19626 fi
19627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628     fi
19629     if test $ac_cv_c_bigendian = unknown; then
19630       # Compile a test program.
19631       if test "$cross_compiling" = yes; then :
19632   # Try to guess by grepping values from an object file.
19633          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19634 /* end confdefs.h.  */
19635 short int ascii_mm[] =
19636                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
19637                 short int ascii_ii[] =
19638                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
19639                 int use_ascii (int i) {
19640                   return ascii_mm[i] + ascii_ii[i];
19641                 }
19642                 short int ebcdic_ii[] =
19643                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
19644                 short int ebcdic_mm[] =
19645                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
19646                 int use_ebcdic (int i) {
19647                   return ebcdic_mm[i] + ebcdic_ii[i];
19648                 }
19649                 extern int foo;
19650
19651 int
19652 main ()
19653 {
19654 return use_ascii (foo) == use_ebcdic (foo);
19655   ;
19656   return 0;
19657 }
19658 _ACEOF
19659 if ac_fn_c_try_compile "$LINENO"; then :
19660   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
19661               ac_cv_c_bigendian=yes
19662             fi
19663             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
19664               if test "$ac_cv_c_bigendian" = unknown; then
19665                 ac_cv_c_bigendian=no
19666               else
19667                 # finding both strings is unlikely to happen, but who knows?
19668                 ac_cv_c_bigendian=unknown
19669               fi
19670             fi
19671 fi
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19673 else
19674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h.  */
19676 $ac_includes_default
19677 int
19678 main ()
19679 {
19680
19681              /* Are we little or big endian?  From Harbison&Steele.  */
19682              union
19683              {
19684                long int l;
19685                char c[sizeof (long int)];
19686              } u;
19687              u.l = 1;
19688              return u.c[sizeof (long int) - 1] == 1;
19689
19690   ;
19691   return 0;
19692 }
19693 _ACEOF
19694 if ac_fn_c_try_run "$LINENO"; then :
19695   ac_cv_c_bigendian=no
19696 else
19697   ac_cv_c_bigendian=yes
19698 fi
19699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19700   conftest.$ac_objext conftest.beam conftest.$ac_ext
19701 fi
19702
19703     fi
19704 fi
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19706 $as_echo "$ac_cv_c_bigendian" >&6; }
19707  case $ac_cv_c_bigendian in #(
19708    yes)
19709      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19710 ;; #(
19711    no)
19712       ;; #(
19713    universal)
19714
19715 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19716
19717      ;; #(
19718    *)
19719      as_fn_error $? "unknown endianness
19720  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19721  esac
19722
19723    case $ac_cv_prog_cc_stdc in #(
19724   no) :
19725     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19726   *) :
19727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19728 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19729 if ${ac_cv_prog_cc_c99+:} false; then :
19730   $as_echo_n "(cached) " >&6
19731 else
19732   ac_cv_prog_cc_c99=no
19733 ac_save_CC=$CC
19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h.  */
19736 #include <stdarg.h>
19737 #include <stdbool.h>
19738 #include <stdlib.h>
19739 #include <wchar.h>
19740 #include <stdio.h>
19741
19742 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
19743 #define debug(...) fprintf (stderr, __VA_ARGS__)
19744 #define showlist(...) puts (#__VA_ARGS__)
19745 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19746 static void
19747 test_varargs_macros (void)
19748 {
19749   int x = 1234;
19750   int y = 5678;
19751   debug ("Flag");
19752   debug ("X = %d\n", x);
19753   showlist (The first, second, and third items.);
19754   report (x>y, "x is %d but y is %d", x, y);
19755 }
19756
19757 // Check long long types.
19758 #define BIG64 18446744073709551615ull
19759 #define BIG32 4294967295ul
19760 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19761 #if !BIG_OK
19762   your preprocessor is broken;
19763 #endif
19764 #if BIG_OK
19765 #else
19766   your preprocessor is broken;
19767 #endif
19768 static long long int bignum = -9223372036854775807LL;
19769 static unsigned long long int ubignum = BIG64;
19770
19771 struct incomplete_array
19772 {
19773   int datasize;
19774   double data[];
19775 };
19776
19777 struct named_init {
19778   int number;
19779   const wchar_t *name;
19780   double average;
19781 };
19782
19783 typedef const char *ccp;
19784
19785 static inline int
19786 test_restrict (ccp restrict text)
19787 {
19788   // See if C++-style comments work.
19789   // Iterate through items via the restricted pointer.
19790   // Also check for declarations in for loops.
19791   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19792     continue;
19793   return 0;
19794 }
19795
19796 // Check varargs and va_copy.
19797 static void
19798 test_varargs (const char *format, ...)
19799 {
19800   va_list args;
19801   va_start (args, format);
19802   va_list args_copy;
19803   va_copy (args_copy, args);
19804
19805   const char *str;
19806   int number;
19807   float fnumber;
19808
19809   while (*format)
19810     {
19811       switch (*format++)
19812         {
19813         case 's': // string
19814           str = va_arg (args_copy, const char *);
19815           break;
19816         case 'd': // int
19817           number = va_arg (args_copy, int);
19818           break;
19819         case 'f': // float
19820           fnumber = va_arg (args_copy, double);
19821           break;
19822         default:
19823           break;
19824         }
19825     }
19826   va_end (args_copy);
19827   va_end (args);
19828 }
19829
19830 int
19831 main ()
19832 {
19833
19834   // Check bool.
19835   _Bool success = false;
19836
19837   // Check restrict.
19838   if (test_restrict ("String literal") == 0)
19839     success = true;
19840   char *restrict newvar = "Another string";
19841
19842   // Check varargs.
19843   test_varargs ("s, d' f .", "string", 65, 34.234);
19844   test_varargs_macros ();
19845
19846   // Check flexible array members.
19847   struct incomplete_array *ia =
19848     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19849   ia->datasize = 10;
19850   for (int i = 0; i < ia->datasize; ++i)
19851     ia->data[i] = i * 1.234;
19852
19853   // Check named initializers.
19854   struct named_init ni = {
19855     .number = 34,
19856     .name = L"Test wide string",
19857     .average = 543.34343,
19858   };
19859
19860   ni.number = 58;
19861
19862   int dynamic_array[ni.number];
19863   dynamic_array[ni.number - 1] = 543;
19864
19865   // work around unused variable warnings
19866   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19867           || dynamic_array[ni.number - 1] != 543);
19868
19869   ;
19870   return 0;
19871 }
19872 _ACEOF
19873 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
19874 do
19875   CC="$ac_save_CC $ac_arg"
19876   if ac_fn_c_try_compile "$LINENO"; then :
19877   ac_cv_prog_cc_c99=$ac_arg
19878 fi
19879 rm -f core conftest.err conftest.$ac_objext
19880   test "x$ac_cv_prog_cc_c99" != "xno" && break
19881 done
19882 rm -f conftest.$ac_ext
19883 CC=$ac_save_CC
19884
19885 fi
19886 # AC_CACHE_VAL
19887 case "x$ac_cv_prog_cc_c99" in
19888   x)
19889     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19890 $as_echo "none needed" >&6; } ;;
19891   xno)
19892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19893 $as_echo "unsupported" >&6; } ;;
19894   *)
19895     CC="$CC $ac_cv_prog_cc_c99"
19896     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19897 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19898 esac
19899 if test "x$ac_cv_prog_cc_c99" != xno; then :
19900   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19901 else
19902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19903 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19904 if ${ac_cv_prog_cc_c89+:} false; then :
19905   $as_echo_n "(cached) " >&6
19906 else
19907   ac_cv_prog_cc_c89=no
19908 ac_save_CC=$CC
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h.  */
19911 #include <stdarg.h>
19912 #include <stdio.h>
19913 #include <sys/types.h>
19914 #include <sys/stat.h>
19915 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
19916 struct buf { int x; };
19917 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19918 static char *e (p, i)
19919      char **p;
19920      int i;
19921 {
19922   return p[i];
19923 }
19924 static char *f (char * (*g) (char **, int), char **p, ...)
19925 {
19926   char *s;
19927   va_list v;
19928   va_start (v,p);
19929   s = g (p, va_arg (v,int));
19930   va_end (v);
19931   return s;
19932 }
19933
19934 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
19935    function prototypes and stuff, but not '\xHH' hex character constants.
19936    These don't provoke an error unfortunately, instead are silently treated
19937    as 'x'.  The following induces an error, until -std is added to get
19938    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
19939    array size at least.  It's necessary to write '\x00'==0 to get something
19940    that's true only with -std.  */
19941 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19942
19943 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19944    inside strings and character constants.  */
19945 #define FOO(x) 'x'
19946 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19947
19948 int test (int i, double x);
19949 struct s1 {int (*f) (int a);};
19950 struct s2 {int (*f) (double a);};
19951 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19952 int argc;
19953 char **argv;
19954 int
19955 main ()
19956 {
19957 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
19958   ;
19959   return 0;
19960 }
19961 _ACEOF
19962 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19963         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19964 do
19965   CC="$ac_save_CC $ac_arg"
19966   if ac_fn_c_try_compile "$LINENO"; then :
19967   ac_cv_prog_cc_c89=$ac_arg
19968 fi
19969 rm -f core conftest.err conftest.$ac_objext
19970   test "x$ac_cv_prog_cc_c89" != "xno" && break
19971 done
19972 rm -f conftest.$ac_ext
19973 CC=$ac_save_CC
19974
19975 fi
19976 # AC_CACHE_VAL
19977 case "x$ac_cv_prog_cc_c89" in
19978   x)
19979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19980 $as_echo "none needed" >&6; } ;;
19981   xno)
19982     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19983 $as_echo "unsupported" >&6; } ;;
19984   *)
19985     CC="$CC $ac_cv_prog_cc_c89"
19986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19987 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19988 esac
19989 if test "x$ac_cv_prog_cc_c89" != xno; then :
19990   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
19991 else
19992   ac_cv_prog_cc_stdc=no
19993 fi
19994
19995 fi
19996  ;;
19997 esac
19998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
19999 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
20000   if ${ac_cv_prog_cc_stdc+:} false; then :
20001   $as_echo_n "(cached) " >&6
20002 fi
20003
20004   case $ac_cv_prog_cc_stdc in #(
20005   no) :
20006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
20007 $as_echo "unsupported" >&6; } ;; #(
20008   '') :
20009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
20010 $as_echo "none needed" >&6; } ;; #(
20011   *) :
20012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
20013 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
20014 esac
20015
20016
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
20018 $as_echo_n "checking for __attribute__ ((unused))... " >&6; }
20019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20020 /* end confdefs.h.  */
20021
20022 void foo(int x __attribute__ ((unused))) {}
20023
20024 int
20025 main ()
20026 {
20027
20028
20029   ;
20030   return 0;
20031 }
20032 _ACEOF
20033 if ac_fn_c_try_compile "$LINENO"; then :
20034   have_attribute_unused="yes"
20035 else
20036   have_attribute_unused="no"
20037 fi
20038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
20040 $as_echo "${have_attribute_unused}" >&6; }
20041
20042 if test "x${have_attribute_unused}" = "xyes" ; then
20043
20044 $as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
20045
20046 else
20047
20048 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
20049
20050 fi
20051
20052
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
20054 $as_echo_n "checking for __attribute__ ((vector))... " >&6; }
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h.  */
20057
20058 typedef int v4si __attribute__ ((vector_size (16)));
20059
20060 int
20061 main ()
20062 {
20063
20064 if (sizeof(v4si) == 16)
20065   return 0;
20066 else
20067   return -1;
20068
20069   ;
20070   return 0;
20071 }
20072 _ACEOF
20073 if ac_fn_c_try_compile "$LINENO"; then :
20074   have_attribute_vector="yes"
20075 else
20076   have_attribute_vector="no"
20077 fi
20078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
20080 $as_echo "${have_attribute_vector}" >&6; }
20081
20082 if test "x${have_attribute_vector}" = "xyes" ; then
20083
20084 $as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
20085
20086 fi
20087
20088
20089
20090 have_attribute_forceinline="no"
20091
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
20093 $as_echo_n "checking for __forceinline... " >&6; }
20094
20095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h.  */
20097
20098 #include <windows.h>
20099 static __forceinline void foo(void) {}
20100
20101 int
20102 main ()
20103 {
20104
20105
20106   ;
20107   return 0;
20108 }
20109 _ACEOF
20110 if ac_fn_c_try_compile "$LINENO"; then :
20111
20112     have_attribute_always_inline="yes"
20113     have_attribute_forceinline="yes"
20114
20115 else
20116   have_attribute_always_inline="no"
20117 fi
20118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20119
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20121 $as_echo "${have_attribute_always_inline}" >&6; }
20122
20123 if test "x${have_attribute_always_inline}" = "xno" ; then
20124    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
20125 $as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
20126    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h.  */
20128
20129 static __attribute__((__always_inline__)) inline void foo(void) {}
20130
20131 int
20132 main ()
20133 {
20134
20135
20136   ;
20137   return 0;
20138 }
20139 _ACEOF
20140 if ac_fn_c_try_compile "$LINENO"; then :
20141   have_attribute_always_inline="yes"
20142 else
20143   have_attribute_always_inline="no"
20144 fi
20145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
20147 $as_echo "${have_attribute_always_inline}" >&6; }
20148 fi
20149
20150 if test "x${have_attribute_always_inline}" = "xyes" ; then
20151    if test "x${have_attribute_forceinline}" = "xyes" ; then
20152
20153 $as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
20154
20155    else
20156
20157 $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
20158
20159    fi
20160 else
20161
20162 $as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
20163
20164 fi
20165
20166
20167
20168 ### Checks for linker characteristics
20169 lt_enable_auto_import=""
20170 case "${host_os}" in
20171    mingw*)
20172
20173 $as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
20174
20175       lt_enable_auto_import="-Wl,--enable-auto-import"
20176    ;;
20177 esac
20178
20179
20180
20181 ### Checks for library functions
20182
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
20184 $as_echo_n "checking for library containing strerror... " >&6; }
20185 if ${ac_cv_search_strerror+:} false; then :
20186   $as_echo_n "(cached) " >&6
20187 else
20188   ac_func_search_save_LIBS=$LIBS
20189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h.  */
20191
20192 /* Override any GCC internal prototype to avoid an error.
20193    Use char because int might match the return type of a GCC
20194    builtin and then its argument prototype would still apply.  */
20195 #ifdef __cplusplus
20196 extern "C"
20197 #endif
20198 char strerror ();
20199 int
20200 main ()
20201 {
20202 return strerror ();
20203   ;
20204   return 0;
20205 }
20206 _ACEOF
20207 for ac_lib in '' cposix; do
20208   if test -z "$ac_lib"; then
20209     ac_res="none required"
20210   else
20211     ac_res=-l$ac_lib
20212     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20213   fi
20214   if ac_fn_c_try_link "$LINENO"; then :
20215   ac_cv_search_strerror=$ac_res
20216 fi
20217 rm -f core conftest.err conftest.$ac_objext \
20218     conftest$ac_exeext
20219   if ${ac_cv_search_strerror+:} false; then :
20220   break
20221 fi
20222 done
20223 if ${ac_cv_search_strerror+:} false; then :
20224
20225 else
20226   ac_cv_search_strerror=no
20227 fi
20228 rm conftest.$ac_ext
20229 LIBS=$ac_func_search_save_LIBS
20230 fi
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
20232 $as_echo "$ac_cv_search_strerror" >&6; }
20233 ac_res=$ac_cv_search_strerror
20234 if test "$ac_res" != no; then :
20235   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20236
20237 fi
20238
20239 for ac_func in siglongjmp fcntl
20240 do :
20241   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20244   cat >>confdefs.h <<_ACEOF
20245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20246 _ACEOF
20247
20248 fi
20249 done
20250
20251
20252 # alloca
20253 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20254 if test "x$ac_cv_type_size_t" = xyes; then :
20255
20256 else
20257
20258 cat >>confdefs.h <<_ACEOF
20259 #define size_t unsigned int
20260 _ACEOF
20261
20262 fi
20263
20264 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
20265 # for constant arguments.  Useless!
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
20267 $as_echo_n "checking for working alloca.h... " >&6; }
20268 if ${ac_cv_working_alloca_h+:} false; then :
20269   $as_echo_n "(cached) " >&6
20270 else
20271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20272 /* end confdefs.h.  */
20273 #include <alloca.h>
20274 int
20275 main ()
20276 {
20277 char *p = (char *) alloca (2 * sizeof (int));
20278                           if (p) return 0;
20279   ;
20280   return 0;
20281 }
20282 _ACEOF
20283 if ac_fn_c_try_link "$LINENO"; then :
20284   ac_cv_working_alloca_h=yes
20285 else
20286   ac_cv_working_alloca_h=no
20287 fi
20288 rm -f core conftest.err conftest.$ac_objext \
20289     conftest$ac_exeext conftest.$ac_ext
20290 fi
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
20292 $as_echo "$ac_cv_working_alloca_h" >&6; }
20293 if test $ac_cv_working_alloca_h = yes; then
20294
20295 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
20296
20297 fi
20298
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
20300 $as_echo_n "checking for alloca... " >&6; }
20301 if ${ac_cv_func_alloca_works+:} false; then :
20302   $as_echo_n "(cached) " >&6
20303 else
20304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20305 /* end confdefs.h.  */
20306 #ifdef __GNUC__
20307 # define alloca __builtin_alloca
20308 #else
20309 # ifdef _MSC_VER
20310 #  include <malloc.h>
20311 #  define alloca _alloca
20312 # else
20313 #  ifdef HAVE_ALLOCA_H
20314 #   include <alloca.h>
20315 #  else
20316 #   ifdef _AIX
20317  #pragma alloca
20318 #   else
20319 #    ifndef alloca /* predefined by HP cc +Olibcalls */
20320 void *alloca (size_t);
20321 #    endif
20322 #   endif
20323 #  endif
20324 # endif
20325 #endif
20326
20327 int
20328 main ()
20329 {
20330 char *p = (char *) alloca (1);
20331                                     if (p) return 0;
20332   ;
20333   return 0;
20334 }
20335 _ACEOF
20336 if ac_fn_c_try_link "$LINENO"; then :
20337   ac_cv_func_alloca_works=yes
20338 else
20339   ac_cv_func_alloca_works=no
20340 fi
20341 rm -f core conftest.err conftest.$ac_objext \
20342     conftest$ac_exeext conftest.$ac_ext
20343 fi
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
20345 $as_echo "$ac_cv_func_alloca_works" >&6; }
20346
20347 if test $ac_cv_func_alloca_works = yes; then
20348
20349 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
20350
20351 else
20352   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
20353 # that cause trouble.  Some versions do not even contain alloca or
20354 # contain a buggy version.  If you still want to use their alloca,
20355 # use ar to extract alloca.o from them instead of compiling alloca.c.
20356
20357 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
20358
20359 $as_echo "#define C_ALLOCA 1" >>confdefs.h
20360
20361
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20363 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20364 if ${ac_cv_os_cray+:} false; then :
20365   $as_echo_n "(cached) " >&6
20366 else
20367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h.  */
20369 #if defined CRAY && ! defined CRAY2
20370 webecray
20371 #else
20372 wenotbecray
20373 #endif
20374
20375 _ACEOF
20376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20377   $EGREP "webecray" >/dev/null 2>&1; then :
20378   ac_cv_os_cray=yes
20379 else
20380   ac_cv_os_cray=no
20381 fi
20382 rm -f conftest*
20383
20384 fi
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
20386 $as_echo "$ac_cv_os_cray" >&6; }
20387 if test $ac_cv_os_cray = yes; then
20388   for ac_func in _getb67 GETB67 getb67; do
20389     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20391 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20392
20393 cat >>confdefs.h <<_ACEOF
20394 #define CRAY_STACKSEG_END $ac_func
20395 _ACEOF
20396
20397     break
20398 fi
20399
20400   done
20401 fi
20402
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20404 $as_echo_n "checking stack direction for C alloca... " >&6; }
20405 if ${ac_cv_c_stack_direction+:} false; then :
20406   $as_echo_n "(cached) " >&6
20407 else
20408   if test "$cross_compiling" = yes; then :
20409   ac_cv_c_stack_direction=0
20410 else
20411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h.  */
20413 $ac_includes_default
20414 int
20415 find_stack_direction ()
20416 {
20417   static char *addr = 0;
20418   auto char dummy;
20419   if (addr == 0)
20420     {
20421       addr = &dummy;
20422       return find_stack_direction ();
20423     }
20424   else
20425     return (&dummy > addr) ? 1 : -1;
20426 }
20427
20428 int
20429 main ()
20430 {
20431   return find_stack_direction () < 0;
20432 }
20433 _ACEOF
20434 if ac_fn_c_try_run "$LINENO"; then :
20435   ac_cv_c_stack_direction=1
20436 else
20437   ac_cv_c_stack_direction=-1
20438 fi
20439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20440   conftest.$ac_objext conftest.beam conftest.$ac_ext
20441 fi
20442
20443 fi
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
20445 $as_echo "$ac_cv_c_stack_direction" >&6; }
20446 cat >>confdefs.h <<_ACEOF
20447 #define STACK_DIRECTION $ac_cv_c_stack_direction
20448 _ACEOF
20449
20450
20451 fi
20452
20453
20454 # fnmatch
20455
20456
20457 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
20458 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
20459   _efl_have_fnmatch="yes"
20460 else
20461   _efl_have_fnmatch="no"
20462 fi
20463
20464
20465
20466 if test "x${_efl_have_fnmatch}" = "xyes" ; then
20467    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
20468 $as_echo_n "checking for library containing fnmatch... " >&6; }
20469 if ${ac_cv_search_fnmatch+:} false; then :
20470   $as_echo_n "(cached) " >&6
20471 else
20472   ac_func_search_save_LIBS=$LIBS
20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h.  */
20475
20476 /* Override any GCC internal prototype to avoid an error.
20477    Use char because int might match the return type of a GCC
20478    builtin and then its argument prototype would still apply.  */
20479 #ifdef __cplusplus
20480 extern "C"
20481 #endif
20482 char fnmatch ();
20483 int
20484 main ()
20485 {
20486 return fnmatch ();
20487   ;
20488   return 0;
20489 }
20490 _ACEOF
20491 for ac_lib in '' fnmatch evil exotic iberty; do
20492   if test -z "$ac_lib"; then
20493     ac_res="none required"
20494   else
20495     ac_res=-l$ac_lib
20496     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
20497   fi
20498   if ac_fn_c_try_link "$LINENO"; then :
20499   ac_cv_search_fnmatch=$ac_res
20500 fi
20501 rm -f core conftest.err conftest.$ac_objext \
20502     conftest$ac_exeext
20503   if ${ac_cv_search_fnmatch+:} false; then :
20504   break
20505 fi
20506 done
20507 if ${ac_cv_search_fnmatch+:} false; then :
20508
20509 else
20510   ac_cv_search_fnmatch=no
20511 fi
20512 rm conftest.$ac_ext
20513 LIBS=$ac_func_search_save_LIBS
20514 fi
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
20516 $as_echo "$ac_cv_search_fnmatch" >&6; }
20517 ac_res=$ac_cv_search_fnmatch
20518 if test "$ac_res" != no; then :
20519   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20520   _efl_have_fnmatch="yes"
20521 else
20522   _efl_have_fnmatch="no"
20523 fi
20524
20525 fi
20526
20527 EFL_FNMATCH_LIBS=""
20528
20529 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
20530    EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
20531 fi
20532
20533
20534
20535 if test "x$_efl_have_fnmatch" = "xyes"; then :
20536
20537 else
20538   as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
20539 fi
20540
20541
20542
20543 # dlopen
20544 dlopen_libs=""
20545 case "$host_os" in
20546   mingw32ce*)
20547 # managed by evil
20548     $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20549
20550   ;;
20551   mingw*)
20552 # nothing on mingw platform
20553   ;;
20554   *)
20555     for ac_func in dlsym
20556 do :
20557   ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
20558 if test "x$ac_cv_func_dlsym" = xyes; then :
20559   cat >>confdefs.h <<_ACEOF
20560 #define HAVE_DLSYM 1
20561 _ACEOF
20562  res=yes
20563 else
20564   res=no
20565 fi
20566 done
20567
20568     if test "x$res" = "xyes"; then
20569       $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20570
20571     else
20572       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
20573 $as_echo_n "checking for dlsym in -ldl... " >&6; }
20574 if ${ac_cv_lib_dl_dlsym+:} false; then :
20575   $as_echo_n "(cached) " >&6
20576 else
20577   ac_check_lib_save_LIBS=$LIBS
20578 LIBS="-ldl  $LIBS"
20579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20580 /* end confdefs.h.  */
20581
20582 /* Override any GCC internal prototype to avoid an error.
20583    Use char because int might match the return type of a GCC
20584    builtin and then its argument prototype would still apply.  */
20585 #ifdef __cplusplus
20586 extern "C"
20587 #endif
20588 char dlsym ();
20589 int
20590 main ()
20591 {
20592 return dlsym ();
20593   ;
20594   return 0;
20595 }
20596 _ACEOF
20597 if ac_fn_c_try_link "$LINENO"; then :
20598   ac_cv_lib_dl_dlsym=yes
20599 else
20600   ac_cv_lib_dl_dlsym=no
20601 fi
20602 rm -f core conftest.err conftest.$ac_objext \
20603     conftest$ac_exeext conftest.$ac_ext
20604 LIBS=$ac_check_lib_save_LIBS
20605 fi
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
20607 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
20608 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
20609   res=yes
20610 else
20611   res=no
20612 fi
20613
20614       if test "x$res" = "xyes"; then
20615         dlopen_libs=-ldl
20616         $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
20617
20618       else
20619         want_evas_engine_gl_xlib="no"
20620         want_evas_engine_gl_xcb="no"
20621         want_evas_engine_gl_sdl="no"
20622       fi
20623     fi
20624 esac
20625
20626
20627 res=no
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20629 $as_echo_n "checking for lround in -lm... " >&6; }
20630 if ${ac_cv_lib_m_lround+:} false; then :
20631   $as_echo_n "(cached) " >&6
20632 else
20633   ac_check_lib_save_LIBS=$LIBS
20634 LIBS="-lm  $LIBS"
20635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20636 /* end confdefs.h.  */
20637
20638 /* Override any GCC internal prototype to avoid an error.
20639    Use char because int might match the return type of a GCC
20640    builtin and then its argument prototype would still apply.  */
20641 #ifdef __cplusplus
20642 extern "C"
20643 #endif
20644 char lround ();
20645 int
20646 main ()
20647 {
20648 return lround ();
20649   ;
20650   return 0;
20651 }
20652 _ACEOF
20653 if ac_fn_c_try_link "$LINENO"; then :
20654   ac_cv_lib_m_lround=yes
20655 else
20656   ac_cv_lib_m_lround=no
20657 fi
20658 rm -f core conftest.err conftest.$ac_objext \
20659     conftest$ac_exeext conftest.$ac_ext
20660 LIBS=$ac_check_lib_save_LIBS
20661 fi
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20663 $as_echo "$ac_cv_lib_m_lround" >&6; }
20664 if test "x$ac_cv_lib_m_lround" = xyes; then :
20665   res=yes
20666 else
20667   res=no
20668 fi
20669
20670 if test "x$res" = "xyes"; then
20671
20672 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20673
20674 fi
20675
20676 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
20677
20678 _efl_have_shm_open="no"
20679
20680
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20682 $as_echo_n "checking for shm_open in libc... " >&6; }
20683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20684 /* end confdefs.h.  */
20685
20686 #include <sys/mman.h>
20687 #include <sys/stat.h>        /* For mode constants */
20688 #include <fcntl.h>           /* For O_* constants */
20689
20690 int
20691 main ()
20692 {
20693
20694 int fd;
20695
20696 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20697
20698   ;
20699   return 0;
20700 }
20701 _ACEOF
20702 if ac_fn_c_try_link "$LINENO"; then :
20703   _efl_have_shm_open="yes"
20704 else
20705   _efl_have_shm_open="no"
20706 fi
20707 rm -f core conftest.err conftest.$ac_objext \
20708     conftest$ac_exeext conftest.$ac_ext
20709
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20711 $as_echo "${_efl_have_shm_open}" >&6; }
20712
20713 if test "x${_efl_have_shm_open}" = "xno" ; then
20714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20715 $as_echo_n "checking for shm_open in librt... " >&6; }
20716
20717    LIBS_save="${LIBS}"
20718    LIBS="${LIBS} -lrt"
20719    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h.  */
20721
20722 #include <sys/mman.h>
20723 #include <sys/stat.h>        /* For mode constants */
20724 #include <fcntl.h>           /* For O_* constants */
20725
20726 int
20727 main ()
20728 {
20729
20730 int fd;
20731
20732 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20733
20734   ;
20735   return 0;
20736 }
20737 _ACEOF
20738 if ac_fn_c_try_link "$LINENO"; then :
20739
20740        EFL_SHM_OPEN_LIBS="-lrt"
20741        _efl_have_shm_open="yes"
20742
20743 else
20744   _efl_have_shm_open="no"
20745 fi
20746 rm -f core conftest.err conftest.$ac_objext \
20747     conftest$ac_exeext conftest.$ac_ext
20748
20749    LIBS="${LIBS_save}"
20750
20751    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20752 $as_echo "${_efl_have_shm_open}" >&6; }
20753 fi
20754
20755
20756
20757 if test "x${_efl_have_shm_open}" = "xyes" ; then
20758
20759 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20760
20761 fi
20762
20763 if test "x${_efl_have_shm_open}" = "xyes"; then :
20764
20765 fi
20766
20767
20768 fi
20769
20770 # (shm_open (for cache server)
20771 # Check whether --enable-evas-cserve was given.
20772 if test "${enable_evas_cserve+set}" = set; then :
20773   enableval=$enable_evas_cserve;
20774     if test "x${enableval}" = "xyes" ; then
20775        want_evas_cserve="yes"
20776     else
20777        want_evas_cserve="no"
20778     fi
20779
20780 fi
20781
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20783 $as_echo_n "checking whether to build shared cache server and support... " >&6; }
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20785 $as_echo "${want_evas_cserve}" >&6; }
20786
20787 # (shm_open (for cache server)
20788 # Check whether --enable-evas-cserve2 was given.
20789 if test "${enable_evas_cserve2+set}" = set; then :
20790   enableval=$enable_evas_cserve2;
20791     if test "x${enableval}" = "xyes" ; then
20792        want_evas_cserve2="yes"
20793     else
20794        want_evas_cserve2="no"
20795     fi
20796
20797 fi
20798
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server 2 and support" >&5
20800 $as_echo_n "checking whether to build shared cache server 2 and support... " >&6; }
20801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve2}" >&5
20802 $as_echo "${want_evas_cserve2}" >&6; }
20803
20804 # cserve2 only works on Linux so far.
20805 if test "x${want_evas_cserve2}" = "xyes" ; then
20806    for ac_header in sys/epoll.h sys/inotify.h sys/signalfd.h
20807 do :
20808   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20809 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20811   cat >>confdefs.h <<_ACEOF
20812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20813 _ACEOF
20814
20815 else
20816
20817        want_evas_cserve2="no"
20818
20819
20820 fi
20821
20822 done
20823
20824 fi
20825
20826 if test "x${want_evas_cserve2}" = "xyes"; then
20827    want_evas_cserve="no"
20828 fi
20829
20830 shm_open_libs=""
20831 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
20832
20833 _efl_have_shm_open="no"
20834
20835
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
20837 $as_echo_n "checking for shm_open in libc... " >&6; }
20838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h.  */
20840
20841 #include <sys/mman.h>
20842 #include <sys/stat.h>        /* For mode constants */
20843 #include <fcntl.h>           /* For O_* constants */
20844
20845 int
20846 main ()
20847 {
20848
20849 int fd;
20850
20851 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20852
20853   ;
20854   return 0;
20855 }
20856 _ACEOF
20857 if ac_fn_c_try_link "$LINENO"; then :
20858   _efl_have_shm_open="yes"
20859 else
20860   _efl_have_shm_open="no"
20861 fi
20862 rm -f core conftest.err conftest.$ac_objext \
20863     conftest$ac_exeext conftest.$ac_ext
20864
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20866 $as_echo "${_efl_have_shm_open}" >&6; }
20867
20868 if test "x${_efl_have_shm_open}" = "xno" ; then
20869    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
20870 $as_echo_n "checking for shm_open in librt... " >&6; }
20871
20872    LIBS_save="${LIBS}"
20873    LIBS="${LIBS} -lrt"
20874    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h.  */
20876
20877 #include <sys/mman.h>
20878 #include <sys/stat.h>        /* For mode constants */
20879 #include <fcntl.h>           /* For O_* constants */
20880
20881 int
20882 main ()
20883 {
20884
20885 int fd;
20886
20887 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
20888
20889   ;
20890   return 0;
20891 }
20892 _ACEOF
20893 if ac_fn_c_try_link "$LINENO"; then :
20894
20895        EFL_SHM_OPEN_LIBS="-lrt"
20896        _efl_have_shm_open="yes"
20897
20898 else
20899   _efl_have_shm_open="no"
20900 fi
20901 rm -f core conftest.err conftest.$ac_objext \
20902     conftest$ac_exeext conftest.$ac_ext
20903
20904    LIBS="${LIBS_save}"
20905
20906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
20907 $as_echo "${_efl_have_shm_open}" >&6; }
20908 fi
20909
20910
20911
20912 if test "x${_efl_have_shm_open}" = "xyes" ; then
20913
20914 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20915
20916 fi
20917
20918 if test "x${_efl_have_shm_open}" = "xyes"; then :
20919
20920        shm_open_libs=${EFL_SHM_OPEN_LIBS}
20921
20922 else
20923
20924        want_evas_cserve="no"
20925        want_evas_cserve2="no"
20926
20927 fi
20928
20929
20930 fi
20931
20932
20933 if test "x${want_evas_cserve}" = "xyes" ; then
20934
20935 $as_echo "#define EVAS_CSERVE 1" >>confdefs.h
20936
20937 fi
20938
20939  if test "x${want_evas_cserve}" = "xyes"; then
20940   EVAS_CSERVE_TRUE=
20941   EVAS_CSERVE_FALSE='#'
20942 else
20943   EVAS_CSERVE_TRUE='#'
20944   EVAS_CSERVE_FALSE=
20945 fi
20946
20947
20948 if test "x${want_evas_cserve2}" = "xyes" ; then
20949
20950 $as_echo "#define EVAS_CSERVE2 1" >>confdefs.h
20951
20952 fi
20953
20954  if test "x${want_evas_cserve2}" = "xyes"; then
20955   EVAS_CSERVE2_TRUE=
20956   EVAS_CSERVE2_FALSE='#'
20957 else
20958   EVAS_CSERVE2_TRUE='#'
20959   EVAS_CSERVE2_FALSE=
20960 fi
20961
20962
20963
20964
20965 #######################################
20966 ## GL force flavor gles
20967 gl_flavor_gles="no"
20968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
20969 $as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
20970 # Check whether --enable-gl-flavor-gles was given.
20971 if test "${enable_gl_flavor_gles+set}" = set; then :
20972   enableval=$enable_gl_flavor_gles;
20973       if test "x$enableval" = "xyes" ; then
20974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20975 $as_echo "yes" >&6; }
20976         gl_flavor_gles="yes"
20977       else
20978         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20979 $as_echo "no" >&6; }
20980         gl_flavor_gles="no"
20981       fi
20982
20983 else
20984
20985       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20986 $as_echo "no" >&6; }
20987       gl_flavor_gles="no"
20988
20989
20990 fi
20991
20992
20993 #######################################
20994 ## GLES variety sgx
20995 gles_variety_sgx="no"
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
20997 $as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
20998 # Check whether --enable-gles-variety-sgx was given.
20999 if test "${enable_gles_variety_sgx+set}" = set; then :
21000   enableval=$enable_gles_variety_sgx;
21001       if test "x$enableval" = "xyes" ; then
21002         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21003 $as_echo "yes" >&6; }
21004
21005 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21006
21007         gles_variety_sgx="yes"
21008       else
21009         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21010 $as_echo "no" >&6; }
21011         gles_variety_sgx="no"
21012       fi
21013
21014 else
21015
21016       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21017 $as_echo "no" >&6; }
21018       gles_variety_sgx="no"
21019
21020
21021 fi
21022
21023
21024 #######################################
21025 ## GLES variety s3c6410
21026 gles_variety_s3c6410="no"
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
21028 $as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
21029 # Check whether --enable-gles-variety-s3c6410 was given.
21030 if test "${enable_gles_variety_s3c6410+set}" = set; then :
21031   enableval=$enable_gles_variety_s3c6410;
21032       if test "x$enableval" = "xyes" ; then
21033         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21034 $as_echo "yes" >&6; }
21035
21036 $as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
21037
21038         gles_variety_s3c6410="yes"
21039       else
21040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21041 $as_echo "no" >&6; }
21042         gles_variety_s3c6410="no"
21043       fi
21044
21045 else
21046
21047       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21048 $as_echo "no" >&6; }
21049       gles_variety_s3c6410="no"
21050
21051
21052 fi
21053
21054
21055 if test "x$gl_flavor_gles" = "xyes"; then
21056   eng=""
21057   if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
21058   if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
21059   if test "x$eng" = "xx"; then
21060     eng=""
21061   else
21062      as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
21063           --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
21064           --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
21065         You will also need to enable the OpenGL engine for X11 with:
21066           --enable-gl-xlib or --enable-gl-xcb
21067        " "$LINENO" 5
21068   fi
21069 fi
21070
21071 #####################################################################
21072 ## Engines
21073
21074
21075
21076
21077 want_engine="${want_evas_engine_buffer}"
21078 want_static_engine="no"
21079 have_engine="no"
21080 have_evas_engine_buffer="no"
21081
21082 # Check whether --enable-buffer was given.
21083 if test "${enable_buffer+set}" = set; then :
21084   enableval=$enable_buffer;
21085     if test "x${enableval}" = "xyes" ; then
21086        want_engine="yes"
21087     else
21088        if test "x${enableval}" = "xstatic" ; then
21089           want_engine="static"
21090        else
21091           want_engine="no"
21092        fi
21093     fi
21094
21095 fi
21096
21097
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
21099 $as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21101 $as_echo "${want_engine}" >&6; }
21102
21103 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21104
21105
21106 have_dep="yes"
21107 evas_engine_buffer_cflags=""
21108 evas_engine_buffer_libs=""
21109
21110
21111
21112
21113 if test "x${have_dep}" = "xyes" ; then
21114   have_engine="yes"
21115 else
21116   have_engine="no"
21117 fi
21118
21119
21120 fi
21121
21122 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21123    as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21124 fi
21125
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
21127 $as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21129 $as_echo "${have_engine}" >&6; }
21130
21131 if test "x${have_engine}" = "xyes" ; then
21132    if test "x${want_engine}" = "xstatic" ; then
21133       have_evas_engine_buffer="static"
21134       want_static_engine="yes"
21135    else
21136       have_evas_engine_buffer="yes"
21137    fi
21138 fi
21139
21140 if test "x${have_engine}" = "xyes" ; then
21141
21142 $as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
21143
21144 fi
21145
21146  if test "x${have_engine}" = "xyes"; then
21147   BUILD_ENGINE_BUFFER_TRUE=
21148   BUILD_ENGINE_BUFFER_FALSE='#'
21149 else
21150   BUILD_ENGINE_BUFFER_TRUE='#'
21151   BUILD_ENGINE_BUFFER_FALSE=
21152 fi
21153
21154
21155 if test "x${want_static_engine}" = "xyes" ; then
21156
21157 $as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
21158
21159    have_static_module="yes"
21160 fi
21161
21162  if test "x${want_static_engine}" = "xyes"; then
21163   EVAS_STATIC_BUILD_BUFFER_TRUE=
21164   EVAS_STATIC_BUILD_BUFFER_FALSE='#'
21165 else
21166   EVAS_STATIC_BUILD_BUFFER_TRUE='#'
21167   EVAS_STATIC_BUILD_BUFFER_FALSE=
21168 fi
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179 want_engine="${want_evas_engine_software_gdi}"
21180 want_static_engine="no"
21181 have_engine="no"
21182 have_evas_engine_software_gdi="no"
21183
21184 # Check whether --enable-software-gdi was given.
21185 if test "${enable_software_gdi+set}" = set; then :
21186   enableval=$enable_software_gdi;
21187     if test "x${enableval}" = "xyes" ; then
21188        want_engine="yes"
21189     else
21190        if test "x${enableval}" = "xstatic" ; then
21191           want_engine="static"
21192        else
21193           want_engine="no"
21194        fi
21195     fi
21196
21197 fi
21198
21199
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
21201 $as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21203 $as_echo "${want_engine}" >&6; }
21204
21205 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21206
21207
21208 have_dep="no"
21209 evas_engine_software_gdi_cflags=""
21210 evas_engine_software_gdi_libs=""
21211
21212 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
21213 if test "x$ac_cv_header_windows_h" = xyes; then :
21214
21215     have_dep="yes"
21216     evas_engine_software_gdi_libs="-lgdi32"
21217
21218
21219 fi
21220
21221
21222
21223
21224
21225
21226 if test "x${have_dep}" = "xyes" ; then
21227   have_engine="yes"
21228 else
21229   have_engine="no"
21230 fi
21231
21232
21233 fi
21234
21235 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21236    as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
21237 fi
21238
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
21240 $as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
21241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21242 $as_echo "${have_engine}" >&6; }
21243
21244 if test "x${have_engine}" = "xyes" ; then
21245    if test "x${want_engine}" = "xstatic" ; then
21246       have_evas_engine_software_gdi="static"
21247       want_static_engine="yes"
21248    else
21249       have_evas_engine_software_gdi="yes"
21250    fi
21251 fi
21252
21253 if test "x${have_engine}" = "xyes" ; then
21254
21255 $as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
21256
21257 fi
21258
21259  if test "x${have_engine}" = "xyes"; then
21260   BUILD_ENGINE_SOFTWARE_GDI_TRUE=
21261   BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
21262 else
21263   BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
21264   BUILD_ENGINE_SOFTWARE_GDI_FALSE=
21265 fi
21266
21267
21268 if test "x${want_static_engine}" = "xyes" ; then
21269
21270 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
21271
21272    have_static_module="yes"
21273 fi
21274
21275  if test "x${want_static_engine}" = "xyes"; then
21276   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
21277   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
21278 else
21279   EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
21280   EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
21281 fi
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292 want_engine="${want_evas_engine_software_ddraw}"
21293 want_static_engine="no"
21294 have_engine="no"
21295 have_evas_engine_software_ddraw="no"
21296
21297 # Check whether --enable-software-ddraw was given.
21298 if test "${enable_software_ddraw+set}" = set; then :
21299   enableval=$enable_software_ddraw;
21300     if test "x${enableval}" = "xyes" ; then
21301        want_engine="yes"
21302     else
21303        if test "x${enableval}" = "xstatic" ; then
21304           want_engine="static"
21305        else
21306           want_engine="no"
21307        fi
21308     fi
21309
21310 fi
21311
21312
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
21314 $as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21316 $as_echo "${want_engine}" >&6; }
21317
21318 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21319
21320
21321 have_dep="no"
21322 evas_engine_software_ddraw_cflags=""
21323 evas_engine_software_ddraw_libs=""
21324
21325 ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
21326 if test "x$ac_cv_header_ddraw_h" = xyes; then :
21327
21328     have_dep="yes"
21329     evas_engine_software_ddraw_libs="-lddraw"
21330
21331
21332 fi
21333
21334
21335
21336
21337
21338
21339 if test "x${have_dep}" = "xyes" ; then
21340   have_engine="yes"
21341 else
21342   have_engine="no"
21343 fi
21344
21345
21346 fi
21347
21348 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21349    as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
21350 fi
21351
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
21353 $as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21355 $as_echo "${have_engine}" >&6; }
21356
21357 if test "x${have_engine}" = "xyes" ; then
21358    if test "x${want_engine}" = "xstatic" ; then
21359       have_evas_engine_software_ddraw="static"
21360       want_static_engine="yes"
21361    else
21362       have_evas_engine_software_ddraw="yes"
21363    fi
21364 fi
21365
21366 if test "x${have_engine}" = "xyes" ; then
21367
21368 $as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
21369
21370 fi
21371
21372  if test "x${have_engine}" = "xyes"; then
21373   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
21374   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
21375 else
21376   BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
21377   BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
21378 fi
21379
21380
21381 if test "x${want_static_engine}" = "xyes" ; then
21382
21383 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
21384
21385    have_static_module="yes"
21386 fi
21387
21388  if test "x${want_static_engine}" = "xyes"; then
21389   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
21390   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
21391 else
21392   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
21393   EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
21394 fi
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405 want_engine="${want_evas_engine_direct3d}"
21406 want_static_engine="no"
21407 have_engine="no"
21408 have_evas_engine_direct3d="no"
21409
21410 # Check whether --enable-direct3d was given.
21411 if test "${enable_direct3d+set}" = set; then :
21412   enableval=$enable_direct3d;
21413     if test "x${enableval}" = "xyes" ; then
21414        want_engine="yes"
21415     else
21416        if test "x${enableval}" = "xstatic" ; then
21417           want_engine="static"
21418        else
21419           want_engine="no"
21420        fi
21421     fi
21422
21423 fi
21424
21425
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
21427 $as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21429 $as_echo "${want_engine}" >&6; }
21430
21431 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21432
21433
21434 evas_engine_direct3d_cflags=""
21435 evas_engine_direct3d_libs=""
21436
21437 for ac_header in d3d9.h d3dx9.h
21438 do :
21439   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21440 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21441 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21442   cat >>confdefs.h <<_ACEOF
21443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21444 _ACEOF
21445
21446     have_dep="yes"
21447     evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
21448
21449 else
21450   have_dep="no"; break
21451
21452 fi
21453
21454 done
21455
21456
21457
21458
21459
21460 if test "x${have_dep}" = "xyes" ; then
21461   have_engine="yes"
21462 else
21463   have_engine="no"
21464 fi
21465
21466
21467 fi
21468
21469 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21470    as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
21471 fi
21472
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
21474 $as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21476 $as_echo "${have_engine}" >&6; }
21477
21478 if test "x${have_engine}" = "xyes" ; then
21479    if test "x${want_engine}" = "xstatic" ; then
21480       have_evas_engine_direct3d="static"
21481       want_static_engine="yes"
21482    else
21483       have_evas_engine_direct3d="yes"
21484    fi
21485 fi
21486
21487 if test "x${have_engine}" = "xyes" ; then
21488
21489 $as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
21490
21491 fi
21492
21493  if test "x${have_engine}" = "xyes"; then
21494   BUILD_ENGINE_DIRECT3D_TRUE=
21495   BUILD_ENGINE_DIRECT3D_FALSE='#'
21496 else
21497   BUILD_ENGINE_DIRECT3D_TRUE='#'
21498   BUILD_ENGINE_DIRECT3D_FALSE=
21499 fi
21500
21501
21502 if test "x${want_static_engine}" = "xyes" ; then
21503
21504 $as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
21505
21506    have_static_module="yes"
21507 fi
21508
21509  if test "x${want_static_engine}" = "xyes"; then
21510   EVAS_STATIC_BUILD_DIRECT3D_TRUE=
21511   EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
21512 else
21513   EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
21514   EVAS_STATIC_BUILD_DIRECT3D_FALSE=
21515 fi
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526 want_engine="${want_evas_engine_psl1ght}"
21527 want_static_engine="no"
21528 have_engine="no"
21529 have_evas_engine_psl1ght="no"
21530
21531 # Check whether --enable-psl1ght was given.
21532 if test "${enable_psl1ght+set}" = set; then :
21533   enableval=$enable_psl1ght;
21534     if test "x${enableval}" = "xyes" ; then
21535        want_engine="yes"
21536     else
21537        if test "x${enableval}" = "xstatic" ; then
21538           want_engine="static"
21539        else
21540           want_engine="no"
21541        fi
21542     fi
21543
21544 fi
21545
21546
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
21548 $as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21550 $as_echo "${want_engine}" >&6; }
21551
21552 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21553
21554
21555 have_dep="no"
21556 evas_engine_psl1ght_cflags=""
21557 evas_engine_psl1ght_libs=""
21558
21559 ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
21560 if test "x$ac_cv_header_rsx_rsx_h" = xyes; then :
21561   have_dep="yes"
21562 fi
21563
21564
21565
21566
21567
21568
21569 if test "x${have_dep}" = "xyes" ; then
21570   have_engine="yes"
21571 else
21572   have_engine="no"
21573 fi
21574
21575
21576 fi
21577
21578 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21579    as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
21580 fi
21581
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
21583 $as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21585 $as_echo "${have_engine}" >&6; }
21586
21587 if test "x${have_engine}" = "xyes" ; then
21588    if test "x${want_engine}" = "xstatic" ; then
21589       have_evas_engine_psl1ght="static"
21590       want_static_engine="yes"
21591    else
21592       have_evas_engine_psl1ght="yes"
21593    fi
21594 fi
21595
21596 if test "x${have_engine}" = "xyes" ; then
21597
21598 $as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
21599
21600 fi
21601
21602  if test "x${have_engine}" = "xyes"; then
21603   BUILD_ENGINE_PSL1GHT_TRUE=
21604   BUILD_ENGINE_PSL1GHT_FALSE='#'
21605 else
21606   BUILD_ENGINE_PSL1GHT_TRUE='#'
21607   BUILD_ENGINE_PSL1GHT_FALSE=
21608 fi
21609
21610
21611 if test "x${want_static_engine}" = "xyes" ; then
21612
21613 $as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
21614
21615    have_static_module="yes"
21616 fi
21617
21618  if test "x${want_static_engine}" = "xyes"; then
21619   EVAS_STATIC_BUILD_PSL1GHT_TRUE=
21620   EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
21621 else
21622   EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
21623   EVAS_STATIC_BUILD_PSL1GHT_FALSE=
21624 fi
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635 want_engine="${want_evas_engine_gl_sdl}"
21636 want_static_engine="no"
21637 have_engine="no"
21638 have_evas_engine_gl_sdl="no"
21639
21640 # Check whether --enable-gl-sdl was given.
21641 if test "${enable_gl_sdl+set}" = set; then :
21642   enableval=$enable_gl_sdl;
21643     if test "x${enableval}" = "xyes" ; then
21644        want_engine="yes"
21645     else
21646        if test "x${enableval}" = "xstatic" ; then
21647           want_engine="static"
21648        else
21649           want_engine="no"
21650        fi
21651     fi
21652
21653 fi
21654
21655
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
21657 $as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21659 $as_echo "${want_engine}" >&6; }
21660
21661 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21662
21663
21664 requirement=""
21665 have_dep="no"
21666 evas_engine_gl_sdl_cflags=""
21667 evas_engine_gl_sdl_libs=""
21668
21669
21670 pkg_failed=no
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
21672 $as_echo_n "checking for SDL... " >&6; }
21673
21674 if test -n "$SDL_CFLAGS"; then
21675     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
21676  elif test -n "$PKG_CONFIG"; then
21677     if test -n "$PKG_CONFIG" && \
21678     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21679   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21680   ac_status=$?
21681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21682   test $ac_status = 0; }; then
21683   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
21684 else
21685   pkg_failed=yes
21686 fi
21687  else
21688     pkg_failed=untried
21689 fi
21690 if test -n "$SDL_LIBS"; then
21691     pkg_cv_SDL_LIBS="$SDL_LIBS"
21692  elif test -n "$PKG_CONFIG"; then
21693     if test -n "$PKG_CONFIG" && \
21694     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
21695   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
21696   ac_status=$?
21697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21698   test $ac_status = 0; }; then
21699   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
21700 else
21701   pkg_failed=yes
21702 fi
21703  else
21704     pkg_failed=untried
21705 fi
21706
21707
21708
21709 if test $pkg_failed = yes; then
21710         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21711 $as_echo "no" >&6; }
21712
21713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21714         _pkg_short_errors_supported=yes
21715 else
21716         _pkg_short_errors_supported=no
21717 fi
21718         if test $_pkg_short_errors_supported = yes; then
21719                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
21720         else
21721                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
21722         fi
21723         # Put the nasty error message in config.log where it belongs
21724         echo "$SDL_PKG_ERRORS" >&5
21725
21726         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
21727
21728 $SDL_PKG_ERRORS
21729
21730 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21731 installed software in a non-standard prefix.
21732
21733 Alternatively, you may set the environment variables SDL_CFLAGS
21734 and SDL_LIBS to avoid the need to call pkg-config.
21735 See the pkg-config man page for more details." "$LINENO" 5
21736
21737 elif test $pkg_failed = untried; then
21738         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21739 $as_echo "no" >&6; }
21740         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21742 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
21743 is in your PATH or set the PKG_CONFIG environment variable to the full
21744 path to pkg-config.
21745
21746 Alternatively, you may set the environment variables SDL_CFLAGS
21747 and SDL_LIBS to avoid the need to call pkg-config.
21748 See the pkg-config man page for more details.
21749
21750 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21751 See \`config.log' for more details" "$LINENO" 5; }
21752
21753 else
21754         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
21755         SDL_LIBS=$pkg_cv_SDL_LIBS
21756         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21757 $as_echo "yes" >&6; }
21758
21759     have_dep="yes"
21760     requirement="sdl"
21761     evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21762     evas_engine_gl_sdl_libs="${SDL_LIBS}"
21763
21764
21765 fi
21766
21767 gl_pt_lib="";
21768 have_gl_pt="no"
21769
21770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
21771 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
21772 CFLAGS_save="${CFLAGS}"
21773 CFLAGS="${CFLAGS} -pthread"
21774 LIBS_save="${LIBS}"
21775 LIBS="${LIBS} -pthread"
21776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21777 /* end confdefs.h.  */
21778
21779 #include <pthread.h>
21780
21781 int
21782 main ()
21783 {
21784
21785 pthread_create(NULL, NULL, NULL, NULL);
21786
21787   ;
21788   return 0;
21789 }
21790 _ACEOF
21791 if ac_fn_c_try_link "$LINENO"; then :
21792   have_gl_pt="yes"
21793 else
21794   have_gl_pt="no"
21795 fi
21796 rm -f core conftest.err conftest.$ac_objext \
21797     conftest$ac_exeext conftest.$ac_ext
21798 CFLAGS=${CFLAGS_save}
21799 LIBS=${LIBS_save}
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
21801 $as_echo "${have_gl_pt}" >&6; }
21802
21803 if test "x$have_gl_pt" = "xyes" ; then
21804    gl_pt_lib=" -pthread"
21805 fi
21806
21807 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
21808 #include <GL/gl.h>
21809 #include <GL/glext.h>
21810
21811 "
21812 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
21813   have_dep="yes"
21814 else
21815   have_dep="no"
21816 fi
21817
21818
21819
21820 if test "x$gl_flavor_gles" = "xyes" ; then
21821   have_dep=no
21822 fi
21823
21824 if test "x${have_dep}" = "xyes" ; then
21825    evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21826    evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
21827    evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
21828 else
21829    ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
21830 #include <SDL/SDL_opengles.h>
21831 #include <EGL/egl.h>
21832
21833 "
21834 if test "x$ac_cv_header_SDL_SDL_opengles_h" = xyes; then :
21835   have_egl="yes"
21836 else
21837   have_egl="no"
21838 fi
21839
21840
21841    if test "x${have_egl}" = "xyes" ; then
21842       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
21843 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
21844 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
21845   $as_echo_n "(cached) " >&6
21846 else
21847   ac_check_lib_save_LIBS=$LIBS
21848 LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
21849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21850 /* end confdefs.h.  */
21851
21852 /* Override any GCC internal prototype to avoid an error.
21853    Use char because int might match the return type of a GCC
21854    builtin and then its argument prototype would still apply.  */
21855 #ifdef __cplusplus
21856 extern "C"
21857 #endif
21858 char glTexImage2D ();
21859 int
21860 main ()
21861 {
21862 return glTexImage2D ();
21863   ;
21864   return 0;
21865 }
21866 _ACEOF
21867 if ac_fn_c_try_link "$LINENO"; then :
21868   ac_cv_lib_GLESv2_glTexImage2D=yes
21869 else
21870   ac_cv_lib_GLESv2_glTexImage2D=no
21871 fi
21872 rm -f core conftest.err conftest.$ac_objext \
21873     conftest$ac_exeext conftest.$ac_ext
21874 LIBS=$ac_check_lib_save_LIBS
21875 fi
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21877 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21878 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
21879   have_glesv2="yes"
21880 fi
21881
21882       if test "x${have_glesv2}" = "xyes" ; then
21883          evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21884          evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21885          evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21886          have_dep="yes"
21887
21888 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21889
21890          gles_variety_sgx="yes"
21891       fi
21892    fi
21893 fi
21894
21895
21896
21897
21898 if test "x${want_engine}" = "xstatic" ; then
21899    requirement_evas="${requirement} ${requirement_evas}"
21900 fi
21901
21902 if test "x${have_dep}" = "xyes" ; then
21903   have_engine="yes"
21904 else
21905   have_engine="no"
21906 fi
21907
21908
21909 fi
21910
21911 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21912    as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21913 fi
21914
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
21916 $as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21918 $as_echo "${have_engine}" >&6; }
21919
21920 if test "x${have_engine}" = "xyes" ; then
21921    if test "x${want_engine}" = "xstatic" ; then
21922       have_evas_engine_gl_sdl="static"
21923       want_static_engine="yes"
21924    else
21925       have_evas_engine_gl_sdl="yes"
21926    fi
21927 fi
21928
21929 if test "x${have_engine}" = "xyes" ; then
21930
21931 $as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
21932
21933 fi
21934
21935  if test "x${have_engine}" = "xyes"; then
21936   BUILD_ENGINE_GL_SDL_TRUE=
21937   BUILD_ENGINE_GL_SDL_FALSE='#'
21938 else
21939   BUILD_ENGINE_GL_SDL_TRUE='#'
21940   BUILD_ENGINE_GL_SDL_FALSE=
21941 fi
21942
21943
21944 if test "x${want_static_engine}" = "xyes" ; then
21945
21946 $as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
21947
21948    have_static_module="yes"
21949 fi
21950
21951  if test "x${want_static_engine}" = "xyes"; then
21952   EVAS_STATIC_BUILD_GL_SDL_TRUE=
21953   EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
21954 else
21955   EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
21956   EVAS_STATIC_BUILD_GL_SDL_FALSE=
21957 fi
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968 want_engine="${want_evas_engine_gl_cocoa}"
21969 want_static_engine="no"
21970 have_engine="no"
21971 have_evas_engine_gl_cocoa="no"
21972
21973 # Check whether --enable-gl-cocoa was given.
21974 if test "${enable_gl_cocoa+set}" = set; then :
21975   enableval=$enable_gl_cocoa;
21976     if test "x${enableval}" = "xyes" ; then
21977        want_engine="yes"
21978     else
21979        if test "x${enableval}" = "xstatic" ; then
21980           want_engine="static"
21981        else
21982           want_engine="no"
21983        fi
21984     fi
21985
21986 fi
21987
21988
21989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
21990 $as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21992 $as_echo "${want_engine}" >&6; }
21993
21994 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21995
21996
21997 evas_engine_gl_cocoa_cflags=""
21998 evas_engine_gl_cocoa_libs=""
21999
22000 ac_ext=m
22001 ac_cpp='$OBJCPP $CPPFLAGS'
22002 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
22005
22006
22007 LIBS_save="$LIBS"
22008 LIBS="$LIBS -framework Cocoa"
22009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22010 /* end confdefs.h.  */
22011
22012 #include <Cocoa/Cocoa.h>
22013
22014 int
22015 main ()
22016 {
22017
22018 NSWindow *window;
22019 window = [[NSWindow alloc]
22020            initWithContentRect:NSMakeRect(0, 0, 1, 1)
22021            styleMask:(NSTitledWindowMask)
22022            backing:NSBackingStoreBuffered
22023            defer:NO
22024            screen:nil
22025          ];
22026
22027   ;
22028   return 0;
22029 }
22030 _ACEOF
22031 if ac_fn_objc_try_link "$LINENO"; then :
22032
22033     have_dep="yes"
22034     evas_engine_gl_cocoa_libs="-framework Cocoa"
22035
22036 else
22037   have_dep="no"
22038 fi
22039 rm -f core conftest.err conftest.$ac_objext \
22040     conftest$ac_exeext conftest.$ac_ext
22041 LIBS="$LIBS_save"
22042
22043 ac_ext=c
22044 ac_cpp='$CPP $CPPFLAGS'
22045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22048
22049
22050 if test "x${have_dep}" = "xyes" ; then
22051
22052 pkg_failed=no
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
22054 $as_echo_n "checking for GL_EET... " >&6; }
22055
22056 if test -n "$GL_EET_CFLAGS"; then
22057     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
22058  elif test -n "$PKG_CONFIG"; then
22059     if test -n "$PKG_CONFIG" && \
22060     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22061   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22062   ac_status=$?
22063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22064   test $ac_status = 0; }; then
22065   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
22066 else
22067   pkg_failed=yes
22068 fi
22069  else
22070     pkg_failed=untried
22071 fi
22072 if test -n "$GL_EET_LIBS"; then
22073     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
22074  elif test -n "$PKG_CONFIG"; then
22075     if test -n "$PKG_CONFIG" && \
22076     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
22077   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
22078   ac_status=$?
22079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22080   test $ac_status = 0; }; then
22081   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
22082 else
22083   pkg_failed=yes
22084 fi
22085  else
22086     pkg_failed=untried
22087 fi
22088
22089
22090
22091 if test $pkg_failed = yes; then
22092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22093 $as_echo "no" >&6; }
22094
22095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22096         _pkg_short_errors_supported=yes
22097 else
22098         _pkg_short_errors_supported=no
22099 fi
22100         if test $_pkg_short_errors_supported = yes; then
22101                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
22102         else
22103                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
22104         fi
22105         # Put the nasty error message in config.log where it belongs
22106         echo "$GL_EET_PKG_ERRORS" >&5
22107
22108         have_dep="no"
22109 elif test $pkg_failed = untried; then
22110         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22111 $as_echo "no" >&6; }
22112         have_dep="no"
22113 else
22114         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
22115         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
22116         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22117 $as_echo "yes" >&6; }
22118         have_dep="yes"
22119 fi
22120 fi
22121
22122
22123
22124
22125 if test "x${have_dep}" = "xyes" ; then
22126   have_engine="yes"
22127 else
22128   have_engine="no"
22129 fi
22130
22131
22132 fi
22133
22134 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22135    as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
22136 fi
22137
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
22139 $as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22141 $as_echo "${have_engine}" >&6; }
22142
22143 if test "x${have_engine}" = "xyes" ; then
22144    if test "x${want_engine}" = "xstatic" ; then
22145       have_evas_engine_gl_cocoa="static"
22146       want_static_engine="yes"
22147    else
22148       have_evas_engine_gl_cocoa="yes"
22149    fi
22150 fi
22151
22152 if test "x${have_engine}" = "xyes" ; then
22153
22154 $as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
22155
22156 fi
22157
22158  if test "x${have_engine}" = "xyes"; then
22159   BUILD_ENGINE_GL_COCOA_TRUE=
22160   BUILD_ENGINE_GL_COCOA_FALSE='#'
22161 else
22162   BUILD_ENGINE_GL_COCOA_TRUE='#'
22163   BUILD_ENGINE_GL_COCOA_FALSE=
22164 fi
22165
22166
22167 if test "x${want_static_engine}" = "xyes" ; then
22168
22169 $as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
22170
22171    have_static_module="yes"
22172 fi
22173
22174  if test "x${want_static_engine}" = "xyes"; then
22175   EVAS_STATIC_BUILD_GL_COCOA_TRUE=
22176   EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
22177 else
22178   EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
22179   EVAS_STATIC_BUILD_GL_COCOA_FALSE=
22180 fi
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191 want_engine="${want_evas_engine_fb}"
22192 want_static_engine="no"
22193 have_engine="no"
22194 have_evas_engine_fb="no"
22195
22196 # Check whether --enable-fb was given.
22197 if test "${enable_fb+set}" = set; then :
22198   enableval=$enable_fb;
22199     if test "x${enableval}" = "xyes" ; then
22200        want_engine="yes"
22201     else
22202        if test "x${enableval}" = "xstatic" ; then
22203           want_engine="static"
22204        else
22205           want_engine="no"
22206        fi
22207     fi
22208
22209 fi
22210
22211
22212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
22213 $as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
22214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22215 $as_echo "${want_engine}" >&6; }
22216
22217 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22218
22219
22220 have_dep="no"
22221 evas_engine_fb_cflags=""
22222 evas_engine_fb_libs=""
22223
22224 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
22225 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
22226   have_dep="yes"
22227 fi
22228
22229
22230
22231
22232
22233
22234 if test "x${have_dep}" = "xyes" ; then
22235   have_engine="yes"
22236 else
22237   have_engine="no"
22238 fi
22239
22240
22241 fi
22242
22243 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22244    as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
22245 fi
22246
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
22248 $as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22250 $as_echo "${have_engine}" >&6; }
22251
22252 if test "x${have_engine}" = "xyes" ; then
22253    if test "x${want_engine}" = "xstatic" ; then
22254       have_evas_engine_fb="static"
22255       want_static_engine="yes"
22256    else
22257       have_evas_engine_fb="yes"
22258    fi
22259 fi
22260
22261 if test "x${have_engine}" = "xyes" ; then
22262
22263 $as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
22264
22265 fi
22266
22267  if test "x${have_engine}" = "xyes"; then
22268   BUILD_ENGINE_FB_TRUE=
22269   BUILD_ENGINE_FB_FALSE='#'
22270 else
22271   BUILD_ENGINE_FB_TRUE='#'
22272   BUILD_ENGINE_FB_FALSE=
22273 fi
22274
22275
22276 if test "x${want_static_engine}" = "xyes" ; then
22277
22278 $as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
22279
22280    have_static_module="yes"
22281 fi
22282
22283  if test "x${want_static_engine}" = "xyes"; then
22284   EVAS_STATIC_BUILD_FB_TRUE=
22285   EVAS_STATIC_BUILD_FB_FALSE='#'
22286 else
22287   EVAS_STATIC_BUILD_FB_TRUE='#'
22288   EVAS_STATIC_BUILD_FB_FALSE=
22289 fi
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300 want_engine="${want_evas_engine_directfb}"
22301 want_static_engine="no"
22302 have_engine="no"
22303 have_evas_engine_directfb="no"
22304
22305 # Check whether --enable-directfb was given.
22306 if test "${enable_directfb+set}" = set; then :
22307   enableval=$enable_directfb;
22308     if test "x${enableval}" = "xyes" ; then
22309        want_engine="yes"
22310     else
22311        if test "x${enableval}" = "xstatic" ; then
22312           want_engine="static"
22313        else
22314           want_engine="no"
22315        fi
22316     fi
22317
22318 fi
22319
22320
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
22322 $as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22324 $as_echo "${want_engine}" >&6; }
22325
22326 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22327
22328
22329 requirement=""
22330 have_dep="no"
22331 evas_engine_directfb_cflags=""
22332 evas_engine_directfb_libs=""
22333
22334
22335 pkg_failed=no
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
22337 $as_echo_n "checking for DIRECTFB... " >&6; }
22338
22339 if test -n "$DIRECTFB_CFLAGS"; then
22340     pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
22341  elif test -n "$PKG_CONFIG"; then
22342     if test -n "$PKG_CONFIG" && \
22343     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22344   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22345   ac_status=$?
22346   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22347   test $ac_status = 0; }; then
22348   pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
22349 else
22350   pkg_failed=yes
22351 fi
22352  else
22353     pkg_failed=untried
22354 fi
22355 if test -n "$DIRECTFB_LIBS"; then
22356     pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
22357  elif test -n "$PKG_CONFIG"; then
22358     if test -n "$PKG_CONFIG" && \
22359     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
22360   ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
22361   ac_status=$?
22362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22363   test $ac_status = 0; }; then
22364   pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
22365 else
22366   pkg_failed=yes
22367 fi
22368  else
22369     pkg_failed=untried
22370 fi
22371
22372
22373
22374 if test $pkg_failed = yes; then
22375         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22376 $as_echo "no" >&6; }
22377
22378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22379         _pkg_short_errors_supported=yes
22380 else
22381         _pkg_short_errors_supported=no
22382 fi
22383         if test $_pkg_short_errors_supported = yes; then
22384                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
22385         else
22386                 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
22387         fi
22388         # Put the nasty error message in config.log where it belongs
22389         echo "$DIRECTFB_PKG_ERRORS" >&5
22390
22391         as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
22392
22393 $DIRECTFB_PKG_ERRORS
22394
22395 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22396 installed software in a non-standard prefix.
22397
22398 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22399 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22400 See the pkg-config man page for more details." "$LINENO" 5
22401
22402 elif test $pkg_failed = untried; then
22403         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22404 $as_echo "no" >&6; }
22405         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22407 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
22408 is in your PATH or set the PKG_CONFIG environment variable to the full
22409 path to pkg-config.
22410
22411 Alternatively, you may set the environment variables DIRECTFB_CFLAGS
22412 and DIRECTFB_LIBS to avoid the need to call pkg-config.
22413 See the pkg-config man page for more details.
22414
22415 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22416 See \`config.log' for more details" "$LINENO" 5; }
22417
22418 else
22419         DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
22420         DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
22421         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22422 $as_echo "yes" >&6; }
22423
22424     have_dep="yes"
22425     requirement="directfb"
22426     evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
22427     evas_engine_directfb_libs="${DIRECTFB_LIBS}"
22428
22429
22430 fi
22431
22432
22433
22434
22435 if test "x${want_engine}" = "xstatic" ; then
22436    requirement_evas="${requirement} ${requirement_evas}"
22437 fi
22438
22439 if test "x${have_dep}" = "xyes" ; then
22440   have_engine="yes"
22441 else
22442   have_engine="no"
22443 fi
22444
22445
22446 fi
22447
22448 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22449    as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
22450 fi
22451
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
22453 $as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22455 $as_echo "${have_engine}" >&6; }
22456
22457 if test "x${have_engine}" = "xyes" ; then
22458    if test "x${want_engine}" = "xstatic" ; then
22459       have_evas_engine_directfb="static"
22460       want_static_engine="yes"
22461    else
22462       have_evas_engine_directfb="yes"
22463    fi
22464 fi
22465
22466 if test "x${have_engine}" = "xyes" ; then
22467
22468 $as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
22469
22470 fi
22471
22472  if test "x${have_engine}" = "xyes"; then
22473   BUILD_ENGINE_DIRECTFB_TRUE=
22474   BUILD_ENGINE_DIRECTFB_FALSE='#'
22475 else
22476   BUILD_ENGINE_DIRECTFB_TRUE='#'
22477   BUILD_ENGINE_DIRECTFB_FALSE=
22478 fi
22479
22480
22481 if test "x${want_static_engine}" = "xyes" ; then
22482
22483 $as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
22484
22485    have_static_module="yes"
22486 fi
22487
22488  if test "x${want_static_engine}" = "xyes"; then
22489   EVAS_STATIC_BUILD_DIRECTFB_TRUE=
22490   EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
22491 else
22492   EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
22493   EVAS_STATIC_BUILD_DIRECTFB_FALSE=
22494 fi
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505 want_engine="${want_evas_engine_software_8_x11}"
22506 want_static_engine="no"
22507 have_engine="no"
22508 have_evas_engine_software_8_x11="no"
22509
22510 # Check whether --enable-software-8-x11 was given.
22511 if test "${enable_software_8_x11+set}" = set; then :
22512   enableval=$enable_software_8_x11;
22513     if test "x${enableval}" = "xyes" ; then
22514        want_engine="yes"
22515     else
22516        if test "x${enableval}" = "xstatic" ; then
22517           want_engine="static"
22518        else
22519           want_engine="no"
22520        fi
22521     fi
22522
22523 fi
22524
22525
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
22527 $as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22529 $as_echo "${want_engine}" >&6; }
22530
22531 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22532
22533
22534 have_dep="no"
22535 evas_engine_software_8_x11_cflags=""
22536 evas_engine_software_8_x11_libs=""
22537
22538
22539 pkg_failed=no
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
22541 $as_echo_n "checking for XCB... " >&6; }
22542
22543 if test -n "$XCB_CFLAGS"; then
22544     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
22545  elif test -n "$PKG_CONFIG"; then
22546     if test -n "$PKG_CONFIG" && \
22547     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22548   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22549   ac_status=$?
22550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22551   test $ac_status = 0; }; then
22552   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22553 else
22554   pkg_failed=yes
22555 fi
22556  else
22557     pkg_failed=untried
22558 fi
22559 if test -n "$XCB_LIBS"; then
22560     pkg_cv_XCB_LIBS="$XCB_LIBS"
22561  elif test -n "$PKG_CONFIG"; then
22562     if test -n "$PKG_CONFIG" && \
22563     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
22564   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
22565   ac_status=$?
22566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22567   test $ac_status = 0; }; then
22568   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
22569 else
22570   pkg_failed=yes
22571 fi
22572  else
22573     pkg_failed=untried
22574 fi
22575
22576
22577
22578 if test $pkg_failed = yes; then
22579         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22580 $as_echo "no" >&6; }
22581
22582 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22583         _pkg_short_errors_supported=yes
22584 else
22585         _pkg_short_errors_supported=no
22586 fi
22587         if test $_pkg_short_errors_supported = yes; then
22588                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22589         else
22590                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
22591         fi
22592         # Put the nasty error message in config.log where it belongs
22593         echo "$XCB_PKG_ERRORS" >&5
22594
22595
22596     have_dep="no"
22597
22598
22599 elif test $pkg_failed = untried; then
22600         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22601 $as_echo "no" >&6; }
22602
22603     have_dep="no"
22604
22605
22606 else
22607         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
22608         XCB_LIBS=$pkg_cv_XCB_LIBS
22609         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22610 $as_echo "yes" >&6; }
22611
22612     have_dep="yes"
22613     requirement="xcb xcb-shm xcb-image pixman-1"
22614     evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
22615     evas_engine_software_8_x11_libs="${XCB_LIBS}"
22616
22617 fi
22618
22619
22620
22621
22622 if test "x${want_engine}" = "xstatic" ; then
22623    requirement_evas="${requirement} ${requirement_evas}"
22624 fi
22625
22626 if test "x${have_dep}" = "xyes" ; then
22627   have_engine="yes"
22628 else
22629   have_engine="no"
22630 fi
22631
22632
22633 fi
22634
22635 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22636    as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
22637 fi
22638
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
22640 $as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
22641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22642 $as_echo "${have_engine}" >&6; }
22643
22644 if test "x${have_engine}" = "xyes" ; then
22645    if test "x${want_engine}" = "xstatic" ; then
22646       have_evas_engine_software_8_x11="static"
22647       want_static_engine="yes"
22648    else
22649       have_evas_engine_software_8_x11="yes"
22650    fi
22651 fi
22652
22653 if test "x${have_engine}" = "xyes" ; then
22654
22655 $as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
22656
22657 fi
22658
22659  if test "x${have_engine}" = "xyes"; then
22660   BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
22661   BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
22662 else
22663   BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
22664   BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
22665 fi
22666
22667
22668 if test "x${want_static_engine}" = "xyes" ; then
22669
22670 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
22671
22672    have_static_module="yes"
22673 fi
22674
22675  if test "x${want_static_engine}" = "xyes"; then
22676   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
22677   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
22678 else
22679   EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
22680   EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
22681 fi
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692 want_engine="${want_evas_engine_software_16_x11}"
22693 want_static_engine="no"
22694 have_engine="no"
22695 have_evas_engine_software_16_x11="no"
22696
22697 # Check whether --enable-software-16-x11 was given.
22698 if test "${enable_software_16_x11+set}" = set; then :
22699   enableval=$enable_software_16_x11;
22700     if test "x${enableval}" = "xyes" ; then
22701        want_engine="yes"
22702     else
22703        if test "x${enableval}" = "xstatic" ; then
22704           want_engine="static"
22705        else
22706           want_engine="no"
22707        fi
22708     fi
22709
22710 fi
22711
22712
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
22714 $as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22716 $as_echo "${want_engine}" >&6; }
22717
22718 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22719
22720
22721 have_dep="no"
22722 evas_engine_software_16_x11_cflags=""
22723 evas_engine_software_16_x11_libs=""
22724
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22726 $as_echo_n "checking for X... " >&6; }
22727
22728
22729 # Check whether --with-x was given.
22730 if test "${with_x+set}" = set; then :
22731   withval=$with_x;
22732 fi
22733
22734 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22735 if test "x$with_x" = xno; then
22736   # The user explicitly disabled X.
22737   have_x=disabled
22738 else
22739   case $x_includes,$x_libraries in #(
22740     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
22741     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
22742   $as_echo_n "(cached) " >&6
22743 else
22744   # One or both of the vars are not set, and there is no cached value.
22745 ac_x_includes=no ac_x_libraries=no
22746 rm -f -r conftest.dir
22747 if mkdir conftest.dir; then
22748   cd conftest.dir
22749   cat >Imakefile <<'_ACEOF'
22750 incroot:
22751         @echo incroot='${INCROOT}'
22752 usrlibdir:
22753         @echo usrlibdir='${USRLIBDIR}'
22754 libdir:
22755         @echo libdir='${LIBDIR}'
22756 _ACEOF
22757   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22758     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22759     for ac_var in incroot usrlibdir libdir; do
22760       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22761     done
22762     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22763     for ac_extension in a so sl dylib la dll; do
22764       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22765          test -f "$ac_im_libdir/libX11.$ac_extension"; then
22766         ac_im_usrlibdir=$ac_im_libdir; break
22767       fi
22768     done
22769     # Screen out bogus values from the imake configuration.  They are
22770     # bogus both because they are the default anyway, and because
22771     # using them would break gcc on systems where it needs fixed includes.
22772     case $ac_im_incroot in
22773         /usr/include) ac_x_includes= ;;
22774         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22775     esac
22776     case $ac_im_usrlibdir in
22777         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22778         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22779     esac
22780   fi
22781   cd ..
22782   rm -f -r conftest.dir
22783 fi
22784
22785 # Standard set of common directories for X headers.
22786 # Check X11 before X11Rn because it is often a symlink to the current release.
22787 ac_x_header_dirs='
22788 /usr/X11/include
22789 /usr/X11R7/include
22790 /usr/X11R6/include
22791 /usr/X11R5/include
22792 /usr/X11R4/include
22793
22794 /usr/include/X11
22795 /usr/include/X11R7
22796 /usr/include/X11R6
22797 /usr/include/X11R5
22798 /usr/include/X11R4
22799
22800 /usr/local/X11/include
22801 /usr/local/X11R7/include
22802 /usr/local/X11R6/include
22803 /usr/local/X11R5/include
22804 /usr/local/X11R4/include
22805
22806 /usr/local/include/X11
22807 /usr/local/include/X11R7
22808 /usr/local/include/X11R6
22809 /usr/local/include/X11R5
22810 /usr/local/include/X11R4
22811
22812 /usr/X386/include
22813 /usr/x386/include
22814 /usr/XFree86/include/X11
22815
22816 /usr/include
22817 /usr/local/include
22818 /usr/unsupported/include
22819 /usr/athena/include
22820 /usr/local/x11r5/include
22821 /usr/lpp/Xamples/include
22822
22823 /usr/openwin/include
22824 /usr/openwin/share/include'
22825
22826 if test "$ac_x_includes" = no; then
22827   # Guess where to find include files, by looking for Xlib.h.
22828   # First, try using that file with no special directory specified.
22829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22830 /* end confdefs.h.  */
22831 #include <X11/Xlib.h>
22832 _ACEOF
22833 if ac_fn_c_try_cpp "$LINENO"; then :
22834   # We can compile using X headers with no special include directory.
22835 ac_x_includes=
22836 else
22837   for ac_dir in $ac_x_header_dirs; do
22838   if test -r "$ac_dir/X11/Xlib.h"; then
22839     ac_x_includes=$ac_dir
22840     break
22841   fi
22842 done
22843 fi
22844 rm -f conftest.err conftest.i conftest.$ac_ext
22845 fi # $ac_x_includes = no
22846
22847 if test "$ac_x_libraries" = no; then
22848   # Check for the libraries.
22849   # See if we find them without any special options.
22850   # Don't add to $LIBS permanently.
22851   ac_save_LIBS=$LIBS
22852   LIBS="-lX11 $LIBS"
22853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h.  */
22855 #include <X11/Xlib.h>
22856 int
22857 main ()
22858 {
22859 XrmInitialize ()
22860   ;
22861   return 0;
22862 }
22863 _ACEOF
22864 if ac_fn_c_try_link "$LINENO"; then :
22865   LIBS=$ac_save_LIBS
22866 # We can link X programs with no special library path.
22867 ac_x_libraries=
22868 else
22869   LIBS=$ac_save_LIBS
22870 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22871 do
22872   # Don't even attempt the hair of trying to link an X program!
22873   for ac_extension in a so sl dylib la dll; do
22874     if test -r "$ac_dir/libX11.$ac_extension"; then
22875       ac_x_libraries=$ac_dir
22876       break 2
22877     fi
22878   done
22879 done
22880 fi
22881 rm -f core conftest.err conftest.$ac_objext \
22882     conftest$ac_exeext conftest.$ac_ext
22883 fi # $ac_x_libraries = no
22884
22885 case $ac_x_includes,$ac_x_libraries in #(
22886   no,* | *,no | *\'*)
22887     # Didn't find X, or a directory has "'" in its name.
22888     ac_cv_have_x="have_x=no";; #(
22889   *)
22890     # Record where we found X for the cache.
22891     ac_cv_have_x="have_x=yes\
22892         ac_x_includes='$ac_x_includes'\
22893         ac_x_libraries='$ac_x_libraries'"
22894 esac
22895 fi
22896 ;; #(
22897     *) have_x=yes;;
22898   esac
22899   eval "$ac_cv_have_x"
22900 fi # $with_x != no
22901
22902 if test "$have_x" != yes; then
22903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22904 $as_echo "$have_x" >&6; }
22905   no_x=yes
22906 else
22907   # If each of the values was on the command line, it overrides each guess.
22908   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22909   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22910   # Update the cache value to reflect the command line values.
22911   ac_cv_have_x="have_x=yes\
22912         ac_x_includes='$x_includes'\
22913         ac_x_libraries='$x_libraries'"
22914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22915 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22916 fi
22917
22918 if test "$no_x" = yes; then
22919   # Not all programs may use this symbol, but it does not hurt to define it.
22920
22921 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22922
22923   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22924 else
22925   if test -n "$x_includes"; then
22926     X_CFLAGS="$X_CFLAGS -I$x_includes"
22927   fi
22928
22929   # It would also be nice to do this for all -L options, not just this one.
22930   if test -n "$x_libraries"; then
22931     X_LIBS="$X_LIBS -L$x_libraries"
22932     # For Solaris; some versions of Sun CC require a space after -R and
22933     # others require no space.  Words are not sufficient . . . .
22934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22935 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
22936     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22937     ac_xsave_c_werror_flag=$ac_c_werror_flag
22938     ac_c_werror_flag=yes
22939     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22940 /* end confdefs.h.  */
22941
22942 int
22943 main ()
22944 {
22945
22946   ;
22947   return 0;
22948 }
22949 _ACEOF
22950 if ac_fn_c_try_link "$LINENO"; then :
22951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22952 $as_echo "no" >&6; }
22953        X_LIBS="$X_LIBS -R$x_libraries"
22954 else
22955   LIBS="$ac_xsave_LIBS -R $x_libraries"
22956        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h.  */
22958
22959 int
22960 main ()
22961 {
22962
22963   ;
22964   return 0;
22965 }
22966 _ACEOF
22967 if ac_fn_c_try_link "$LINENO"; then :
22968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22969 $as_echo "yes" >&6; }
22970           X_LIBS="$X_LIBS -R $x_libraries"
22971 else
22972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22973 $as_echo "neither works" >&6; }
22974 fi
22975 rm -f core conftest.err conftest.$ac_objext \
22976     conftest$ac_exeext conftest.$ac_ext
22977 fi
22978 rm -f core conftest.err conftest.$ac_objext \
22979     conftest$ac_exeext conftest.$ac_ext
22980     ac_c_werror_flag=$ac_xsave_c_werror_flag
22981     LIBS=$ac_xsave_LIBS
22982   fi
22983
22984   # Check for system-dependent libraries X programs must link with.
22985   # Do this before checking for the system-independent R6 libraries
22986   # (-lICE), since we may need -lsocket or whatever for X linking.
22987
22988   if test "$ISC" = yes; then
22989     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22990   else
22991     # Martyn Johnson says this is needed for Ultrix, if the X
22992     # libraries were built with DECnet support.  And Karl Berry says
22993     # the Alpha needs dnet_stub (dnet does not exist).
22994     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22995     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22996 /* end confdefs.h.  */
22997
22998 /* Override any GCC internal prototype to avoid an error.
22999    Use char because int might match the return type of a GCC
23000    builtin and then its argument prototype would still apply.  */
23001 #ifdef __cplusplus
23002 extern "C"
23003 #endif
23004 char XOpenDisplay ();
23005 int
23006 main ()
23007 {
23008 return XOpenDisplay ();
23009   ;
23010   return 0;
23011 }
23012 _ACEOF
23013 if ac_fn_c_try_link "$LINENO"; then :
23014
23015 else
23016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
23017 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
23018 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
23019   $as_echo_n "(cached) " >&6
23020 else
23021   ac_check_lib_save_LIBS=$LIBS
23022 LIBS="-ldnet  $LIBS"
23023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23024 /* end confdefs.h.  */
23025
23026 /* Override any GCC internal prototype to avoid an error.
23027    Use char because int might match the return type of a GCC
23028    builtin and then its argument prototype would still apply.  */
23029 #ifdef __cplusplus
23030 extern "C"
23031 #endif
23032 char dnet_ntoa ();
23033 int
23034 main ()
23035 {
23036 return dnet_ntoa ();
23037   ;
23038   return 0;
23039 }
23040 _ACEOF
23041 if ac_fn_c_try_link "$LINENO"; then :
23042   ac_cv_lib_dnet_dnet_ntoa=yes
23043 else
23044   ac_cv_lib_dnet_dnet_ntoa=no
23045 fi
23046 rm -f core conftest.err conftest.$ac_objext \
23047     conftest$ac_exeext conftest.$ac_ext
23048 LIBS=$ac_check_lib_save_LIBS
23049 fi
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23051 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23052 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
23053   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23054 fi
23055
23056     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23057       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
23058 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
23059 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
23060   $as_echo_n "(cached) " >&6
23061 else
23062   ac_check_lib_save_LIBS=$LIBS
23063 LIBS="-ldnet_stub  $LIBS"
23064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23065 /* end confdefs.h.  */
23066
23067 /* Override any GCC internal prototype to avoid an error.
23068    Use char because int might match the return type of a GCC
23069    builtin and then its argument prototype would still apply.  */
23070 #ifdef __cplusplus
23071 extern "C"
23072 #endif
23073 char dnet_ntoa ();
23074 int
23075 main ()
23076 {
23077 return dnet_ntoa ();
23078   ;
23079   return 0;
23080 }
23081 _ACEOF
23082 if ac_fn_c_try_link "$LINENO"; then :
23083   ac_cv_lib_dnet_stub_dnet_ntoa=yes
23084 else
23085   ac_cv_lib_dnet_stub_dnet_ntoa=no
23086 fi
23087 rm -f core conftest.err conftest.$ac_objext \
23088     conftest$ac_exeext conftest.$ac_ext
23089 LIBS=$ac_check_lib_save_LIBS
23090 fi
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23092 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23093 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
23094   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23095 fi
23096
23097     fi
23098 fi
23099 rm -f core conftest.err conftest.$ac_objext \
23100     conftest$ac_exeext conftest.$ac_ext
23101     LIBS="$ac_xsave_LIBS"
23102
23103     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23104     # to get the SysV transport functions.
23105     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23106     # needs -lnsl.
23107     # The nsl library prevents programs from opening the X display
23108     # on Irix 5.2, according to T.E. Dickey.
23109     # The functions gethostbyname, getservbyname, and inet_addr are
23110     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23111     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23112 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23113
23114 fi
23115
23116     if test $ac_cv_func_gethostbyname = no; then
23117       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23118 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23119 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23120   $as_echo_n "(cached) " >&6
23121 else
23122   ac_check_lib_save_LIBS=$LIBS
23123 LIBS="-lnsl  $LIBS"
23124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23125 /* end confdefs.h.  */
23126
23127 /* Override any GCC internal prototype to avoid an error.
23128    Use char because int might match the return type of a GCC
23129    builtin and then its argument prototype would still apply.  */
23130 #ifdef __cplusplus
23131 extern "C"
23132 #endif
23133 char gethostbyname ();
23134 int
23135 main ()
23136 {
23137 return gethostbyname ();
23138   ;
23139   return 0;
23140 }
23141 _ACEOF
23142 if ac_fn_c_try_link "$LINENO"; then :
23143   ac_cv_lib_nsl_gethostbyname=yes
23144 else
23145   ac_cv_lib_nsl_gethostbyname=no
23146 fi
23147 rm -f core conftest.err conftest.$ac_objext \
23148     conftest$ac_exeext conftest.$ac_ext
23149 LIBS=$ac_check_lib_save_LIBS
23150 fi
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23152 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23153 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23154   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23155 fi
23156
23157       if test $ac_cv_lib_nsl_gethostbyname = no; then
23158         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23159 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23160 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
23161   $as_echo_n "(cached) " >&6
23162 else
23163   ac_check_lib_save_LIBS=$LIBS
23164 LIBS="-lbsd  $LIBS"
23165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23166 /* end confdefs.h.  */
23167
23168 /* Override any GCC internal prototype to avoid an error.
23169    Use char because int might match the return type of a GCC
23170    builtin and then its argument prototype would still apply.  */
23171 #ifdef __cplusplus
23172 extern "C"
23173 #endif
23174 char gethostbyname ();
23175 int
23176 main ()
23177 {
23178 return gethostbyname ();
23179   ;
23180   return 0;
23181 }
23182 _ACEOF
23183 if ac_fn_c_try_link "$LINENO"; then :
23184   ac_cv_lib_bsd_gethostbyname=yes
23185 else
23186   ac_cv_lib_bsd_gethostbyname=no
23187 fi
23188 rm -f core conftest.err conftest.$ac_objext \
23189     conftest$ac_exeext conftest.$ac_ext
23190 LIBS=$ac_check_lib_save_LIBS
23191 fi
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23193 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23194 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
23195   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23196 fi
23197
23198       fi
23199     fi
23200
23201     # lieder@skyler.mavd.honeywell.com says without -lsocket,
23202     # socket/setsockopt and other routines are undefined under SCO ODT
23203     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
23204     # on later versions), says Simon Leinen: it contains gethostby*
23205     # variants that don't use the name server (or something).  -lsocket
23206     # must be given before -lnsl if both are needed.  We assume that
23207     # if connect needs -lnsl, so does gethostbyname.
23208     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23209 if test "x$ac_cv_func_connect" = xyes; then :
23210
23211 fi
23212
23213     if test $ac_cv_func_connect = no; then
23214       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23215 $as_echo_n "checking for connect in -lsocket... " >&6; }
23216 if ${ac_cv_lib_socket_connect+:} false; then :
23217   $as_echo_n "(cached) " >&6
23218 else
23219   ac_check_lib_save_LIBS=$LIBS
23220 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h.  */
23223
23224 /* Override any GCC internal prototype to avoid an error.
23225    Use char because int might match the return type of a GCC
23226    builtin and then its argument prototype would still apply.  */
23227 #ifdef __cplusplus
23228 extern "C"
23229 #endif
23230 char connect ();
23231 int
23232 main ()
23233 {
23234 return connect ();
23235   ;
23236   return 0;
23237 }
23238 _ACEOF
23239 if ac_fn_c_try_link "$LINENO"; then :
23240   ac_cv_lib_socket_connect=yes
23241 else
23242   ac_cv_lib_socket_connect=no
23243 fi
23244 rm -f core conftest.err conftest.$ac_objext \
23245     conftest$ac_exeext conftest.$ac_ext
23246 LIBS=$ac_check_lib_save_LIBS
23247 fi
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23249 $as_echo "$ac_cv_lib_socket_connect" >&6; }
23250 if test "x$ac_cv_lib_socket_connect" = xyes; then :
23251   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23252 fi
23253
23254     fi
23255
23256     # Guillermo Gomez says -lposix is necessary on A/UX.
23257     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23258 if test "x$ac_cv_func_remove" = xyes; then :
23259
23260 fi
23261
23262     if test $ac_cv_func_remove = no; then
23263       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23264 $as_echo_n "checking for remove in -lposix... " >&6; }
23265 if ${ac_cv_lib_posix_remove+:} false; then :
23266   $as_echo_n "(cached) " >&6
23267 else
23268   ac_check_lib_save_LIBS=$LIBS
23269 LIBS="-lposix  $LIBS"
23270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23271 /* end confdefs.h.  */
23272
23273 /* Override any GCC internal prototype to avoid an error.
23274    Use char because int might match the return type of a GCC
23275    builtin and then its argument prototype would still apply.  */
23276 #ifdef __cplusplus
23277 extern "C"
23278 #endif
23279 char remove ();
23280 int
23281 main ()
23282 {
23283 return remove ();
23284   ;
23285   return 0;
23286 }
23287 _ACEOF
23288 if ac_fn_c_try_link "$LINENO"; then :
23289   ac_cv_lib_posix_remove=yes
23290 else
23291   ac_cv_lib_posix_remove=no
23292 fi
23293 rm -f core conftest.err conftest.$ac_objext \
23294     conftest$ac_exeext conftest.$ac_ext
23295 LIBS=$ac_check_lib_save_LIBS
23296 fi
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23298 $as_echo "$ac_cv_lib_posix_remove" >&6; }
23299 if test "x$ac_cv_lib_posix_remove" = xyes; then :
23300   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23301 fi
23302
23303     fi
23304
23305     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23306     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23307 if test "x$ac_cv_func_shmat" = xyes; then :
23308
23309 fi
23310
23311     if test $ac_cv_func_shmat = no; then
23312       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23313 $as_echo_n "checking for shmat in -lipc... " >&6; }
23314 if ${ac_cv_lib_ipc_shmat+:} false; then :
23315   $as_echo_n "(cached) " >&6
23316 else
23317   ac_check_lib_save_LIBS=$LIBS
23318 LIBS="-lipc  $LIBS"
23319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h.  */
23321
23322 /* Override any GCC internal prototype to avoid an error.
23323    Use char because int might match the return type of a GCC
23324    builtin and then its argument prototype would still apply.  */
23325 #ifdef __cplusplus
23326 extern "C"
23327 #endif
23328 char shmat ();
23329 int
23330 main ()
23331 {
23332 return shmat ();
23333   ;
23334   return 0;
23335 }
23336 _ACEOF
23337 if ac_fn_c_try_link "$LINENO"; then :
23338   ac_cv_lib_ipc_shmat=yes
23339 else
23340   ac_cv_lib_ipc_shmat=no
23341 fi
23342 rm -f core conftest.err conftest.$ac_objext \
23343     conftest$ac_exeext conftest.$ac_ext
23344 LIBS=$ac_check_lib_save_LIBS
23345 fi
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23347 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23348 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
23349   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23350 fi
23351
23352     fi
23353   fi
23354
23355   # Check for libraries that X11R6 Xt/Xaw programs need.
23356   ac_save_LDFLAGS=$LDFLAGS
23357   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23358   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23359   # check for ICE first), but we must link in the order -lSM -lICE or
23360   # we get undefined symbols.  So assume we have SM if we have ICE.
23361   # These have to be linked with before -lX11, unlike the other
23362   # libraries we check for below, so use a different variable.
23363   # John Interrante, Karl Berry
23364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23365 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23366 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
23367   $as_echo_n "(cached) " >&6
23368 else
23369   ac_check_lib_save_LIBS=$LIBS
23370 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23372 /* end confdefs.h.  */
23373
23374 /* Override any GCC internal prototype to avoid an error.
23375    Use char because int might match the return type of a GCC
23376    builtin and then its argument prototype would still apply.  */
23377 #ifdef __cplusplus
23378 extern "C"
23379 #endif
23380 char IceConnectionNumber ();
23381 int
23382 main ()
23383 {
23384 return IceConnectionNumber ();
23385   ;
23386   return 0;
23387 }
23388 _ACEOF
23389 if ac_fn_c_try_link "$LINENO"; then :
23390   ac_cv_lib_ICE_IceConnectionNumber=yes
23391 else
23392   ac_cv_lib_ICE_IceConnectionNumber=no
23393 fi
23394 rm -f core conftest.err conftest.$ac_objext \
23395     conftest$ac_exeext conftest.$ac_ext
23396 LIBS=$ac_check_lib_save_LIBS
23397 fi
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23399 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23400 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
23401   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23402 fi
23403
23404   LDFLAGS=$ac_save_LDFLAGS
23405
23406 fi
23407
23408
23409 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23410 if test "x$ac_cv_header_X11_X_h" = xyes; then :
23411   have_dep="yes"
23412 fi
23413
23414
23415
23416 if test "x${have_dep}" = "xyes" ; then
23417    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
23418 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
23419 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
23420   $as_echo_n "(cached) " >&6
23421 else
23422   ac_check_lib_save_LIBS=$LIBS
23423 LIBS="-lX11  $LIBS"
23424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23425 /* end confdefs.h.  */
23426
23427 /* Override any GCC internal prototype to avoid an error.
23428    Use char because int might match the return type of a GCC
23429    builtin and then its argument prototype would still apply.  */
23430 #ifdef __cplusplus
23431 extern "C"
23432 #endif
23433 char XCreateImage ();
23434 int
23435 main ()
23436 {
23437 return XCreateImage ();
23438   ;
23439   return 0;
23440 }
23441 _ACEOF
23442 if ac_fn_c_try_link "$LINENO"; then :
23443   ac_cv_lib_X11_XCreateImage=yes
23444 else
23445   ac_cv_lib_X11_XCreateImage=no
23446 fi
23447 rm -f core conftest.err conftest.$ac_objext \
23448     conftest$ac_exeext conftest.$ac_ext
23449 LIBS=$ac_check_lib_save_LIBS
23450 fi
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
23452 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
23453 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
23454   have_dep="yes"
23455 else
23456   have_dep="no"
23457 fi
23458
23459 fi
23460
23461 if test "x${have_dep}" = "xyes" ; then
23462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
23463 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
23464 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
23465   $as_echo_n "(cached) " >&6
23466 else
23467   ac_check_lib_save_LIBS=$LIBS
23468 LIBS="-lXext  $LIBS"
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h.  */
23471
23472 /* Override any GCC internal prototype to avoid an error.
23473    Use char because int might match the return type of a GCC
23474    builtin and then its argument prototype would still apply.  */
23475 #ifdef __cplusplus
23476 extern "C"
23477 #endif
23478 char XShmCreateImage ();
23479 int
23480 main ()
23481 {
23482 return XShmCreateImage ();
23483   ;
23484   return 0;
23485 }
23486 _ACEOF
23487 if ac_fn_c_try_link "$LINENO"; then :
23488   ac_cv_lib_Xext_XShmCreateImage=yes
23489 else
23490   ac_cv_lib_Xext_XShmCreateImage=no
23491 fi
23492 rm -f core conftest.err conftest.$ac_objext \
23493     conftest$ac_exeext conftest.$ac_ext
23494 LIBS=$ac_check_lib_save_LIBS
23495 fi
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
23497 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
23498 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
23499   have_dep="yes"
23500 else
23501   have_dep="no"
23502 fi
23503
23504 fi
23505
23506 if test "x${have_dep}" = "xyes" ; then
23507    if test "xno" = "xyes" ; then
23508       x_libs="${x_libs} -lX11 -lXext"
23509    else
23510       x_dir=${x_dir:-/usr/X11R6}
23511       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23512       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23513    fi
23514    evas_engine_software_16_x11_cflags="${x_cflags}"
23515    evas_engine_software_16_x11_libs="${x_libs}"
23516 fi
23517
23518
23519
23520
23521 if test "x${have_dep}" = "xyes" ; then
23522   have_engine="yes"
23523 else
23524   have_engine="no"
23525 fi
23526
23527
23528 fi
23529
23530 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23531    as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23532 fi
23533
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
23535 $as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
23536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23537 $as_echo "${have_engine}" >&6; }
23538
23539 if test "x${have_engine}" = "xyes" ; then
23540    if test "x${want_engine}" = "xstatic" ; then
23541       have_evas_engine_software_16_x11="static"
23542       want_static_engine="yes"
23543    else
23544       have_evas_engine_software_16_x11="yes"
23545    fi
23546 fi
23547
23548 if test "x${have_engine}" = "xyes" ; then
23549
23550 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
23551
23552 fi
23553
23554  if test "x${have_engine}" = "xyes"; then
23555   BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
23556   BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
23557 else
23558   BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
23559   BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
23560 fi
23561
23562
23563 if test "x${want_static_engine}" = "xyes" ; then
23564
23565 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
23566
23567    have_static_module="yes"
23568 fi
23569
23570  if test "x${want_static_engine}" = "xyes"; then
23571   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
23572   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
23573 else
23574   EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
23575   EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
23576 fi
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587 want_engine="${want_evas_engine_software_16_wince}"
23588 want_static_engine="no"
23589 have_engine="no"
23590 have_evas_engine_software_16_wince="no"
23591
23592 # Check whether --enable-software-16-wince was given.
23593 if test "${enable_software_16_wince+set}" = set; then :
23594   enableval=$enable_software_16_wince;
23595     if test "x${enableval}" = "xyes" ; then
23596        want_engine="yes"
23597     else
23598        if test "x${enableval}" = "xstatic" ; then
23599           want_engine="static"
23600        else
23601           want_engine="no"
23602        fi
23603     fi
23604
23605 fi
23606
23607
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
23609 $as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23611 $as_echo "${want_engine}" >&6; }
23612
23613 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23614
23615
23616 have_dep="yes"
23617 evas_engine_software_16_wince_cflags=""
23618 evas_engine_software_16_wince_libs=""
23619
23620
23621
23622
23623 if test "x${have_dep}" = "xyes" ; then
23624   have_engine="yes"
23625 else
23626   have_engine="no"
23627 fi
23628
23629
23630 fi
23631
23632 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23633    as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23634 fi
23635
23636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
23637 $as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23639 $as_echo "${have_engine}" >&6; }
23640
23641 if test "x${have_engine}" = "xyes" ; then
23642    if test "x${want_engine}" = "xstatic" ; then
23643       have_evas_engine_software_16_wince="static"
23644       want_static_engine="yes"
23645    else
23646       have_evas_engine_software_16_wince="yes"
23647    fi
23648 fi
23649
23650 if test "x${have_engine}" = "xyes" ; then
23651
23652 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
23653
23654 fi
23655
23656  if test "x${have_engine}" = "xyes"; then
23657   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
23658   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
23659 else
23660   BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
23661   BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
23662 fi
23663
23664
23665 if test "x${want_static_engine}" = "xyes" ; then
23666
23667 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
23668
23669    have_static_module="yes"
23670 fi
23671
23672  if test "x${want_static_engine}" = "xyes"; then
23673   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
23674   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
23675 else
23676   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
23677   EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
23678 fi
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689 want_engine="${want_evas_engine_software_16_sdl}"
23690 want_static_engine="no"
23691 have_engine="no"
23692 have_evas_engine_software_16_sdl="no"
23693
23694 # Check whether --enable-software-16-sdl was given.
23695 if test "${enable_software_16_sdl+set}" = set; then :
23696   enableval=$enable_software_16_sdl;
23697     if test "x${enableval}" = "xyes" ; then
23698        want_engine="yes"
23699     else
23700        if test "x${enableval}" = "xstatic" ; then
23701           want_engine="static"
23702        else
23703           want_engine="no"
23704        fi
23705     fi
23706
23707 fi
23708
23709
23710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
23711 $as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23713 $as_echo "${want_engine}" >&6; }
23714
23715 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23716
23717
23718 requirement=""
23719 have_dep="no"
23720 evas_engine_software_16_sdl_cflags=""
23721 evas_engine_software_16_sdl_libs=""
23722
23723
23724 pkg_failed=no
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
23726 $as_echo_n "checking for SDL... " >&6; }
23727
23728 if test -n "$SDL_CFLAGS"; then
23729     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
23730  elif test -n "$PKG_CONFIG"; then
23731     if test -n "$PKG_CONFIG" && \
23732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23733   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23734   ac_status=$?
23735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23736   test $ac_status = 0; }; then
23737   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
23738 else
23739   pkg_failed=yes
23740 fi
23741  else
23742     pkg_failed=untried
23743 fi
23744 if test -n "$SDL_LIBS"; then
23745     pkg_cv_SDL_LIBS="$SDL_LIBS"
23746  elif test -n "$PKG_CONFIG"; then
23747     if test -n "$PKG_CONFIG" && \
23748     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
23749   ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
23750   ac_status=$?
23751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23752   test $ac_status = 0; }; then
23753   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
23754 else
23755   pkg_failed=yes
23756 fi
23757  else
23758     pkg_failed=untried
23759 fi
23760
23761
23762
23763 if test $pkg_failed = yes; then
23764         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23765 $as_echo "no" >&6; }
23766
23767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23768         _pkg_short_errors_supported=yes
23769 else
23770         _pkg_short_errors_supported=no
23771 fi
23772         if test $_pkg_short_errors_supported = yes; then
23773                 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
23774         else
23775                 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
23776         fi
23777         # Put the nasty error message in config.log where it belongs
23778         echo "$SDL_PKG_ERRORS" >&5
23779
23780         as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23781
23782 $SDL_PKG_ERRORS
23783
23784 Consider adjusting the PKG_CONFIG_PATH environment variable if you
23785 installed software in a non-standard prefix.
23786
23787 Alternatively, you may set the environment variables SDL_CFLAGS
23788 and SDL_LIBS to avoid the need to call pkg-config.
23789 See the pkg-config man page for more details." "$LINENO" 5
23790
23791 elif test $pkg_failed = untried; then
23792         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23793 $as_echo "no" >&6; }
23794         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23796 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
23797 is in your PATH or set the PKG_CONFIG environment variable to the full
23798 path to pkg-config.
23799
23800 Alternatively, you may set the environment variables SDL_CFLAGS
23801 and SDL_LIBS to avoid the need to call pkg-config.
23802 See the pkg-config man page for more details.
23803
23804 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23805 See \`config.log' for more details" "$LINENO" 5; }
23806
23807 else
23808         SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23809         SDL_LIBS=$pkg_cv_SDL_LIBS
23810         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23811 $as_echo "yes" >&6; }
23812
23813     have_dep="yes"
23814     requirement="sdl"
23815     evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23816     evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23817
23818
23819 fi
23820
23821
23822
23823
23824 if test "x${want_engine}" = "xstatic" ; then
23825    requirement_evas="${requirement} ${requirement_evas}"
23826 fi
23827
23828 if test "x${have_dep}" = "xyes" ; then
23829   have_engine="yes"
23830 else
23831   have_engine="no"
23832 fi
23833
23834
23835 fi
23836
23837 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23838    as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23839 fi
23840
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23842 $as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23844 $as_echo "${have_engine}" >&6; }
23845
23846 if test "x${have_engine}" = "xyes" ; then
23847    if test "x${want_engine}" = "xstatic" ; then
23848       have_evas_engine_software_16_sdl="static"
23849       want_static_engine="yes"
23850    else
23851       have_evas_engine_software_16_sdl="yes"
23852    fi
23853 fi
23854
23855 if test "x${have_engine}" = "xyes" ; then
23856
23857 $as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23858
23859 fi
23860
23861  if test "x${have_engine}" = "xyes"; then
23862   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23863   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23864 else
23865   BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23866   BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23867 fi
23868
23869
23870 if test "x${want_static_engine}" = "xyes" ; then
23871
23872 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23873
23874    have_static_module="yes"
23875 fi
23876
23877  if test "x${want_static_engine}" = "xyes"; then
23878   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23879   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23880 else
23881   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23882   EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23883 fi
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894 want_engine="${want_evas_engine_wayland_shm}"
23895 want_static_engine="no"
23896 have_engine="no"
23897 have_evas_engine_wayland_shm="no"
23898
23899 # Check whether --enable-wayland-shm was given.
23900 if test "${enable_wayland_shm+set}" = set; then :
23901   enableval=$enable_wayland_shm;
23902     if test "x${enableval}" = "xyes" ; then
23903        want_engine="yes"
23904     else
23905        if test "x${enableval}" = "xstatic" ; then
23906           want_engine="static"
23907        else
23908           want_engine="no"
23909        fi
23910     fi
23911
23912 fi
23913
23914
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
23916 $as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23918 $as_echo "${want_engine}" >&6; }
23919
23920 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23921
23922
23923 have_dep="yes"
23924 evas_engine_wayland_shm_cflags=""
23925 evas_engine_wayland_shm_libs=""
23926
23927
23928
23929
23930 if test "x${have_dep}" = "xyes" ; then
23931   have_engine="yes"
23932 else
23933   have_engine="no"
23934 fi
23935
23936
23937 fi
23938
23939 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23940    as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
23941 fi
23942
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
23944 $as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23946 $as_echo "${have_engine}" >&6; }
23947
23948 if test "x${have_engine}" = "xyes" ; then
23949    if test "x${want_engine}" = "xstatic" ; then
23950       have_evas_engine_wayland_shm="static"
23951       want_static_engine="yes"
23952    else
23953       have_evas_engine_wayland_shm="yes"
23954    fi
23955 fi
23956
23957 if test "x${have_engine}" = "xyes" ; then
23958
23959 $as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
23960
23961 fi
23962
23963  if test "x${have_engine}" = "xyes"; then
23964   BUILD_ENGINE_WAYLAND_SHM_TRUE=
23965   BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
23966 else
23967   BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
23968   BUILD_ENGINE_WAYLAND_SHM_FALSE=
23969 fi
23970
23971
23972 if test "x${want_static_engine}" = "xyes" ; then
23973
23974 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
23975
23976    have_static_module="yes"
23977 fi
23978
23979  if test "x${want_static_engine}" = "xyes"; then
23980   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
23981   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
23982 else
23983   EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
23984   EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
23985 fi
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996 want_engine="${want_evas_engine_wayland_egl}"
23997 want_static_engine="no"
23998 have_engine="no"
23999 have_evas_engine_wayland_egl="no"
24000
24001 # Check whether --enable-wayland-egl was given.
24002 if test "${enable_wayland_egl+set}" = set; then :
24003   enableval=$enable_wayland_egl;
24004     if test "x${enableval}" = "xyes" ; then
24005        want_engine="yes"
24006     else
24007        if test "x${enableval}" = "xstatic" ; then
24008           want_engine="static"
24009        else
24010           want_engine="no"
24011        fi
24012     fi
24013
24014 fi
24015
24016
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
24018 $as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24020 $as_echo "${want_engine}" >&6; }
24021
24022 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24023
24024
24025 requirement=""
24026 have_dep="no"
24027 evas_engine_wayland_egl_cflags=""
24028 evas_engine_wayland_egl_libs=""
24029
24030
24031 pkg_failed=no
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
24033 $as_echo_n "checking for WAYLAND_EGL... " >&6; }
24034
24035 if test -n "$WAYLAND_EGL_CFLAGS"; then
24036     pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
24037  elif test -n "$PKG_CONFIG"; then
24038     if test -n "$PKG_CONFIG" && \
24039     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24040   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24041   ac_status=$?
24042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24043   test $ac_status = 0; }; then
24044   pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24045 else
24046   pkg_failed=yes
24047 fi
24048  else
24049     pkg_failed=untried
24050 fi
24051 if test -n "$WAYLAND_EGL_LIBS"; then
24052     pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
24053  elif test -n "$PKG_CONFIG"; then
24054     if test -n "$PKG_CONFIG" && \
24055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
24056   ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
24057   ac_status=$?
24058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24059   test $ac_status = 0; }; then
24060   pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
24061 else
24062   pkg_failed=yes
24063 fi
24064  else
24065     pkg_failed=untried
24066 fi
24067
24068
24069
24070 if test $pkg_failed = yes; then
24071         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24072 $as_echo "no" >&6; }
24073
24074 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24075         _pkg_short_errors_supported=yes
24076 else
24077         _pkg_short_errors_supported=no
24078 fi
24079         if test $_pkg_short_errors_supported = yes; then
24080                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24081         else
24082                 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
24083         fi
24084         # Put the nasty error message in config.log where it belongs
24085         echo "$WAYLAND_EGL_PKG_ERRORS" >&5
24086
24087
24088     have_dep="no"
24089
24090
24091 elif test $pkg_failed = untried; then
24092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24093 $as_echo "no" >&6; }
24094
24095     have_dep="no"
24096
24097
24098 else
24099         WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
24100         WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
24101         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24102 $as_echo "yes" >&6; }
24103
24104     have_dep="yes"
24105     requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
24106     evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24107     evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
24108
24109 fi
24110
24111 if test "x${have_dep}" = "xyes" ; then
24112
24113 pkg_failed=no
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
24115 $as_echo_n "checking for GL_EET... " >&6; }
24116
24117 if test -n "$GL_EET_CFLAGS"; then
24118     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
24119  elif test -n "$PKG_CONFIG"; then
24120     if test -n "$PKG_CONFIG" && \
24121     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24122   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24123   ac_status=$?
24124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24125   test $ac_status = 0; }; then
24126   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
24127 else
24128   pkg_failed=yes
24129 fi
24130  else
24131     pkg_failed=untried
24132 fi
24133 if test -n "$GL_EET_LIBS"; then
24134     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
24135  elif test -n "$PKG_CONFIG"; then
24136     if test -n "$PKG_CONFIG" && \
24137     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
24138   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
24139   ac_status=$?
24140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24141   test $ac_status = 0; }; then
24142   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
24143 else
24144   pkg_failed=yes
24145 fi
24146  else
24147     pkg_failed=untried
24148 fi
24149
24150
24151
24152 if test $pkg_failed = yes; then
24153         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24154 $as_echo "no" >&6; }
24155
24156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24157         _pkg_short_errors_supported=yes
24158 else
24159         _pkg_short_errors_supported=no
24160 fi
24161         if test $_pkg_short_errors_supported = yes; then
24162                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
24163         else
24164                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
24165         fi
24166         # Put the nasty error message in config.log where it belongs
24167         echo "$GL_EET_PKG_ERRORS" >&5
24168
24169         have_dep="no"
24170 elif test $pkg_failed = untried; then
24171         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24172 $as_echo "no" >&6; }
24173         have_dep="no"
24174 else
24175         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
24176         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
24177         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24178 $as_echo "yes" >&6; }
24179         have_dep="yes"
24180 fi
24181       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
24182 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
24183 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
24184   $as_echo_n "(cached) " >&6
24185 else
24186   ac_check_lib_save_LIBS=$LIBS
24187 LIBS="-lGLESv2 -lEGL -lm $LIBS"
24188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24189 /* end confdefs.h.  */
24190
24191 /* Override any GCC internal prototype to avoid an error.
24192    Use char because int might match the return type of a GCC
24193    builtin and then its argument prototype would still apply.  */
24194 #ifdef __cplusplus
24195 extern "C"
24196 #endif
24197 char glTexImage2D ();
24198 int
24199 main ()
24200 {
24201 return glTexImage2D ();
24202   ;
24203   return 0;
24204 }
24205 _ACEOF
24206 if ac_fn_c_try_link "$LINENO"; then :
24207   ac_cv_lib_GLESv2_glTexImage2D=yes
24208 else
24209   ac_cv_lib_GLESv2_glTexImage2D=no
24210 fi
24211 rm -f core conftest.err conftest.$ac_objext \
24212     conftest$ac_exeext conftest.$ac_ext
24213 LIBS=$ac_check_lib_save_LIBS
24214 fi
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
24216 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
24217 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
24218   have_glesv2="yes"
24219 fi
24220
24221       if test "x${have_glesv2}" = "xyes" ; then
24222          evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
24223          evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
24224       fi
24225 fi
24226
24227
24228
24229
24230 if test "x${want_engine}" = "xstatic" ; then
24231    requirement_evas="${requirement} ${requirement_evas}"
24232 fi
24233
24234 if test "x${have_dep}" = "xyes" ; then
24235   have_engine="yes"
24236 else
24237   have_engine="no"
24238 fi
24239
24240
24241 fi
24242
24243 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24244    as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
24245 fi
24246
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
24248 $as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24250 $as_echo "${have_engine}" >&6; }
24251
24252 if test "x${have_engine}" = "xyes" ; then
24253    if test "x${want_engine}" = "xstatic" ; then
24254       have_evas_engine_wayland_egl="static"
24255       want_static_engine="yes"
24256    else
24257       have_evas_engine_wayland_egl="yes"
24258    fi
24259 fi
24260
24261 if test "x${have_engine}" = "xyes" ; then
24262
24263 $as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
24264
24265 fi
24266
24267  if test "x${have_engine}" = "xyes"; then
24268   BUILD_ENGINE_WAYLAND_EGL_TRUE=
24269   BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
24270 else
24271   BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
24272   BUILD_ENGINE_WAYLAND_EGL_FALSE=
24273 fi
24274
24275
24276 if test "x${want_static_engine}" = "xyes" ; then
24277
24278 $as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
24279
24280    have_static_module="yes"
24281 fi
24282
24283  if test "x${want_static_engine}" = "xyes"; then
24284   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
24285   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
24286 else
24287   EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
24288   EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
24289 fi
24290
24291
24292
24293
24294
24295
24296
24297 # SDL primitive
24298 sdl_primitive="no"
24299
24300 # Check whether --enable-sdl-primitive was given.
24301 if test "${enable_sdl_primitive+set}" = set; then :
24302   enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
24303
24304 fi
24305
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
24307 $as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
24309 $as_echo "${sdl_primitive}" >&6; }
24310
24311 if test "x${sdl_primitive}" = "xyes" ; then
24312
24313 $as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
24314
24315 fi
24316
24317 # if software generic need to be build as part of libevas.so
24318 have_static_software_generic="no"
24319 # Check whether --enable-static-software-generic was given.
24320 if test "${enable_static_software_generic+set}" = set; then :
24321   enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
24322
24323 fi
24324
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
24326 $as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
24328 $as_echo "${have_static_software_generic}" >&6; }
24329
24330 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
24331    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
24332 $as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
24333    have_static_software_generic="yes"
24334 fi
24335
24336  if test "x${have_static_software_generic}" = "xyes"; then
24337   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
24338   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
24339 else
24340   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
24341   EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
24342 fi
24343
24344 if test "x${have_static_software_generic}" = "xyes"; then
24345
24346 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
24347
24348 fi
24349
24350
24351 ######## Software Engine ########
24352 have_evas_engine_software_x11="no"
24353 have_evas_engine_software_xcb="no"
24354 have_evas_engine_software_xlib="no"
24355 build_software_xcb=
24356
24357 ## XCB Checks ##
24358 want_xcb="no"
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
24360 $as_echo_n "checking whether to build Software XCB Engine... " >&6; }
24361 # Check whether --enable-software-xcb was given.
24362 if test "${enable_software_xcb+set}" = set; then :
24363   enableval=$enable_software_xcb; want_xcb=$enableval
24364
24365 fi
24366
24367 if test "x$want_xcb" != "xno" ; then
24368
24369
24370
24371 want_engine="${want_evas_engine_software_xcb}"
24372 want_static_engine="no"
24373 have_engine="no"
24374 have_evas_engine_software_xcb="no"
24375
24376 # Check whether --enable-software-xcb was given.
24377 if test "${enable_software_xcb+set}" = set; then :
24378   enableval=$enable_software_xcb;
24379     if test "x${enableval}" = "xyes" ; then
24380        want_engine="yes"
24381     else
24382        if test "x${enableval}" = "xstatic" ; then
24383           want_engine="static"
24384        else
24385           want_engine="no"
24386        fi
24387     fi
24388
24389 fi
24390
24391
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
24393 $as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24395 $as_echo "${want_engine}" >&6; }
24396
24397 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24398
24399
24400 requirement=""
24401 have_dep="no"
24402 evas_engine_software_xcb_cflags=""
24403 evas_engine_software_xcb_libs=""
24404
24405
24406 pkg_failed=no
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
24408 $as_echo_n "checking for XCB... " >&6; }
24409
24410 if test -n "$XCB_CFLAGS"; then
24411     pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
24412  elif test -n "$PKG_CONFIG"; then
24413     if test -n "$PKG_CONFIG" && \
24414     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24415   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24416   ac_status=$?
24417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24418   test $ac_status = 0; }; then
24419   pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24420 else
24421   pkg_failed=yes
24422 fi
24423  else
24424     pkg_failed=untried
24425 fi
24426 if test -n "$XCB_LIBS"; then
24427     pkg_cv_XCB_LIBS="$XCB_LIBS"
24428  elif test -n "$PKG_CONFIG"; then
24429     if test -n "$PKG_CONFIG" && \
24430     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
24431   ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
24432   ac_status=$?
24433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24434   test $ac_status = 0; }; then
24435   pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
24436 else
24437   pkg_failed=yes
24438 fi
24439  else
24440     pkg_failed=untried
24441 fi
24442
24443
24444
24445 if test $pkg_failed = yes; then
24446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24447 $as_echo "no" >&6; }
24448
24449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24450         _pkg_short_errors_supported=yes
24451 else
24452         _pkg_short_errors_supported=no
24453 fi
24454         if test $_pkg_short_errors_supported = yes; then
24455                 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24456         else
24457                 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
24458         fi
24459         # Put the nasty error message in config.log where it belongs
24460         echo "$XCB_PKG_ERRORS" >&5
24461
24462
24463     have_dep="no"
24464
24465
24466 elif test $pkg_failed = untried; then
24467         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24468 $as_echo "no" >&6; }
24469
24470     have_dep="no"
24471
24472
24473 else
24474         XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
24475         XCB_LIBS=$pkg_cv_XCB_LIBS
24476         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24477 $as_echo "yes" >&6; }
24478
24479     have_dep="yes"
24480     requirement="xcb xcb-shm xcb-image pixman-1"
24481     evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
24482     evas_engine_software_xcb_libs="${XCB_LIBS}"
24483
24484 fi
24485
24486
24487
24488
24489 if test "x${want_engine}" = "xstatic" ; then
24490    requirement_evas="${requirement} ${requirement_evas}"
24491 fi
24492
24493 if test "x${have_dep}" = "xyes" ; then
24494   have_engine="yes"
24495 else
24496   have_engine="no"
24497 fi
24498
24499
24500 fi
24501
24502 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24503    as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
24504 fi
24505
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
24507 $as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24509 $as_echo "${have_engine}" >&6; }
24510
24511 if test "x${have_engine}" = "xyes" ; then
24512    if test "x${want_engine}" = "xstatic" ; then
24513       have_evas_engine_software_xcb="static"
24514       want_static_engine="yes"
24515    else
24516       have_evas_engine_software_xcb="yes"
24517    fi
24518 fi
24519
24520 if test "x${have_engine}" = "xyes" ; then
24521
24522 $as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
24523
24524 fi
24525
24526  if test "x${have_engine}" = "xyes"; then
24527   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24528   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24529 else
24530   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24531   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24532 fi
24533
24534
24535 if test "x${want_static_engine}" = "xyes" ; then
24536
24537 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
24538
24539    have_static_module="yes"
24540 fi
24541
24542  if test "x${want_static_engine}" = "xyes"; then
24543   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24544   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24545 else
24546   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24547   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24548 fi
24549
24550
24551
24552
24553
24554
24555   if test "x$have_evas_engine_software_xcb" != "xno" ; then
24556     build_software_xcb="yes"
24557     have_evas_engine_software_x11="yes"
24558
24559 cat >>confdefs.h <<_ACEOF
24560 #define BUILD_ENGINE_SOFTWARE_X11 1
24561 _ACEOF
24562
24563
24564 cat >>confdefs.h <<_ACEOF
24565 #define BUILD_ENGINE_SOFTWARE_XCB 1
24566 _ACEOF
24567
24568   fi
24569 else
24570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24571 $as_echo "no" >&6; }
24572   build_software_xcb="no"
24573 fi
24574
24575 ## If we are not building XCB, then we can build XLib ##
24576
24577 if test "x$build_software_xcb" = "xno" ; then
24578
24579
24580
24581 want_engine="${want_evas_engine_software_xlib}"
24582 want_static_engine="no"
24583 have_engine="no"
24584 have_evas_engine_software_xlib="no"
24585
24586 # Check whether --enable-software-xlib was given.
24587 if test "${enable_software_xlib+set}" = set; then :
24588   enableval=$enable_software_xlib;
24589     if test "x${enableval}" = "xyes" ; then
24590        want_engine="yes"
24591     else
24592        if test "x${enableval}" = "xstatic" ; then
24593           want_engine="static"
24594        else
24595           want_engine="no"
24596        fi
24597     fi
24598
24599 fi
24600
24601
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
24603 $as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24605 $as_echo "${want_engine}" >&6; }
24606
24607 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24608
24609
24610 have_dep="no"
24611 evas_engine_software_xlib_cflags=""
24612 evas_engine_software_xlib_libs=""
24613
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24615 $as_echo_n "checking for X... " >&6; }
24616
24617
24618 # Check whether --with-x was given.
24619 if test "${with_x+set}" = set; then :
24620   withval=$with_x;
24621 fi
24622
24623 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24624 if test "x$with_x" = xno; then
24625   # The user explicitly disabled X.
24626   have_x=disabled
24627 else
24628   case $x_includes,$x_libraries in #(
24629     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24630     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24631   $as_echo_n "(cached) " >&6
24632 else
24633   # One or both of the vars are not set, and there is no cached value.
24634 ac_x_includes=no ac_x_libraries=no
24635 rm -f -r conftest.dir
24636 if mkdir conftest.dir; then
24637   cd conftest.dir
24638   cat >Imakefile <<'_ACEOF'
24639 incroot:
24640         @echo incroot='${INCROOT}'
24641 usrlibdir:
24642         @echo usrlibdir='${USRLIBDIR}'
24643 libdir:
24644         @echo libdir='${LIBDIR}'
24645 _ACEOF
24646   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24647     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24648     for ac_var in incroot usrlibdir libdir; do
24649       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24650     done
24651     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24652     for ac_extension in a so sl dylib la dll; do
24653       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24654          test -f "$ac_im_libdir/libX11.$ac_extension"; then
24655         ac_im_usrlibdir=$ac_im_libdir; break
24656       fi
24657     done
24658     # Screen out bogus values from the imake configuration.  They are
24659     # bogus both because they are the default anyway, and because
24660     # using them would break gcc on systems where it needs fixed includes.
24661     case $ac_im_incroot in
24662         /usr/include) ac_x_includes= ;;
24663         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24664     esac
24665     case $ac_im_usrlibdir in
24666         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24667         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24668     esac
24669   fi
24670   cd ..
24671   rm -f -r conftest.dir
24672 fi
24673
24674 # Standard set of common directories for X headers.
24675 # Check X11 before X11Rn because it is often a symlink to the current release.
24676 ac_x_header_dirs='
24677 /usr/X11/include
24678 /usr/X11R7/include
24679 /usr/X11R6/include
24680 /usr/X11R5/include
24681 /usr/X11R4/include
24682
24683 /usr/include/X11
24684 /usr/include/X11R7
24685 /usr/include/X11R6
24686 /usr/include/X11R5
24687 /usr/include/X11R4
24688
24689 /usr/local/X11/include
24690 /usr/local/X11R7/include
24691 /usr/local/X11R6/include
24692 /usr/local/X11R5/include
24693 /usr/local/X11R4/include
24694
24695 /usr/local/include/X11
24696 /usr/local/include/X11R7
24697 /usr/local/include/X11R6
24698 /usr/local/include/X11R5
24699 /usr/local/include/X11R4
24700
24701 /usr/X386/include
24702 /usr/x386/include
24703 /usr/XFree86/include/X11
24704
24705 /usr/include
24706 /usr/local/include
24707 /usr/unsupported/include
24708 /usr/athena/include
24709 /usr/local/x11r5/include
24710 /usr/lpp/Xamples/include
24711
24712 /usr/openwin/include
24713 /usr/openwin/share/include'
24714
24715 if test "$ac_x_includes" = no; then
24716   # Guess where to find include files, by looking for Xlib.h.
24717   # First, try using that file with no special directory specified.
24718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24719 /* end confdefs.h.  */
24720 #include <X11/Xlib.h>
24721 _ACEOF
24722 if ac_fn_c_try_cpp "$LINENO"; then :
24723   # We can compile using X headers with no special include directory.
24724 ac_x_includes=
24725 else
24726   for ac_dir in $ac_x_header_dirs; do
24727   if test -r "$ac_dir/X11/Xlib.h"; then
24728     ac_x_includes=$ac_dir
24729     break
24730   fi
24731 done
24732 fi
24733 rm -f conftest.err conftest.i conftest.$ac_ext
24734 fi # $ac_x_includes = no
24735
24736 if test "$ac_x_libraries" = no; then
24737   # Check for the libraries.
24738   # See if we find them without any special options.
24739   # Don't add to $LIBS permanently.
24740   ac_save_LIBS=$LIBS
24741   LIBS="-lX11 $LIBS"
24742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24743 /* end confdefs.h.  */
24744 #include <X11/Xlib.h>
24745 int
24746 main ()
24747 {
24748 XrmInitialize ()
24749   ;
24750   return 0;
24751 }
24752 _ACEOF
24753 if ac_fn_c_try_link "$LINENO"; then :
24754   LIBS=$ac_save_LIBS
24755 # We can link X programs with no special library path.
24756 ac_x_libraries=
24757 else
24758   LIBS=$ac_save_LIBS
24759 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24760 do
24761   # Don't even attempt the hair of trying to link an X program!
24762   for ac_extension in a so sl dylib la dll; do
24763     if test -r "$ac_dir/libX11.$ac_extension"; then
24764       ac_x_libraries=$ac_dir
24765       break 2
24766     fi
24767   done
24768 done
24769 fi
24770 rm -f core conftest.err conftest.$ac_objext \
24771     conftest$ac_exeext conftest.$ac_ext
24772 fi # $ac_x_libraries = no
24773
24774 case $ac_x_includes,$ac_x_libraries in #(
24775   no,* | *,no | *\'*)
24776     # Didn't find X, or a directory has "'" in its name.
24777     ac_cv_have_x="have_x=no";; #(
24778   *)
24779     # Record where we found X for the cache.
24780     ac_cv_have_x="have_x=yes\
24781         ac_x_includes='$ac_x_includes'\
24782         ac_x_libraries='$ac_x_libraries'"
24783 esac
24784 fi
24785 ;; #(
24786     *) have_x=yes;;
24787   esac
24788   eval "$ac_cv_have_x"
24789 fi # $with_x != no
24790
24791 if test "$have_x" != yes; then
24792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24793 $as_echo "$have_x" >&6; }
24794   no_x=yes
24795 else
24796   # If each of the values was on the command line, it overrides each guess.
24797   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24798   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24799   # Update the cache value to reflect the command line values.
24800   ac_cv_have_x="have_x=yes\
24801         ac_x_includes='$x_includes'\
24802         ac_x_libraries='$x_libraries'"
24803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24804 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24805 fi
24806
24807 if test "$no_x" = yes; then
24808   # Not all programs may use this symbol, but it does not hurt to define it.
24809
24810 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24811
24812   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24813 else
24814   if test -n "$x_includes"; then
24815     X_CFLAGS="$X_CFLAGS -I$x_includes"
24816   fi
24817
24818   # It would also be nice to do this for all -L options, not just this one.
24819   if test -n "$x_libraries"; then
24820     X_LIBS="$X_LIBS -L$x_libraries"
24821     # For Solaris; some versions of Sun CC require a space after -R and
24822     # others require no space.  Words are not sufficient . . . .
24823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24824 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24825     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24826     ac_xsave_c_werror_flag=$ac_c_werror_flag
24827     ac_c_werror_flag=yes
24828     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h.  */
24830
24831 int
24832 main ()
24833 {
24834
24835   ;
24836   return 0;
24837 }
24838 _ACEOF
24839 if ac_fn_c_try_link "$LINENO"; then :
24840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24841 $as_echo "no" >&6; }
24842        X_LIBS="$X_LIBS -R$x_libraries"
24843 else
24844   LIBS="$ac_xsave_LIBS -R $x_libraries"
24845        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24846 /* end confdefs.h.  */
24847
24848 int
24849 main ()
24850 {
24851
24852   ;
24853   return 0;
24854 }
24855 _ACEOF
24856 if ac_fn_c_try_link "$LINENO"; then :
24857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24858 $as_echo "yes" >&6; }
24859           X_LIBS="$X_LIBS -R $x_libraries"
24860 else
24861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24862 $as_echo "neither works" >&6; }
24863 fi
24864 rm -f core conftest.err conftest.$ac_objext \
24865     conftest$ac_exeext conftest.$ac_ext
24866 fi
24867 rm -f core conftest.err conftest.$ac_objext \
24868     conftest$ac_exeext conftest.$ac_ext
24869     ac_c_werror_flag=$ac_xsave_c_werror_flag
24870     LIBS=$ac_xsave_LIBS
24871   fi
24872
24873   # Check for system-dependent libraries X programs must link with.
24874   # Do this before checking for the system-independent R6 libraries
24875   # (-lICE), since we may need -lsocket or whatever for X linking.
24876
24877   if test "$ISC" = yes; then
24878     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24879   else
24880     # Martyn Johnson says this is needed for Ultrix, if the X
24881     # libraries were built with DECnet support.  And Karl Berry says
24882     # the Alpha needs dnet_stub (dnet does not exist).
24883     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24884     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24885 /* end confdefs.h.  */
24886
24887 /* Override any GCC internal prototype to avoid an error.
24888    Use char because int might match the return type of a GCC
24889    builtin and then its argument prototype would still apply.  */
24890 #ifdef __cplusplus
24891 extern "C"
24892 #endif
24893 char XOpenDisplay ();
24894 int
24895 main ()
24896 {
24897 return XOpenDisplay ();
24898   ;
24899   return 0;
24900 }
24901 _ACEOF
24902 if ac_fn_c_try_link "$LINENO"; then :
24903
24904 else
24905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24906 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24907 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
24908   $as_echo_n "(cached) " >&6
24909 else
24910   ac_check_lib_save_LIBS=$LIBS
24911 LIBS="-ldnet  $LIBS"
24912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24913 /* end confdefs.h.  */
24914
24915 /* Override any GCC internal prototype to avoid an error.
24916    Use char because int might match the return type of a GCC
24917    builtin and then its argument prototype would still apply.  */
24918 #ifdef __cplusplus
24919 extern "C"
24920 #endif
24921 char dnet_ntoa ();
24922 int
24923 main ()
24924 {
24925 return dnet_ntoa ();
24926   ;
24927   return 0;
24928 }
24929 _ACEOF
24930 if ac_fn_c_try_link "$LINENO"; then :
24931   ac_cv_lib_dnet_dnet_ntoa=yes
24932 else
24933   ac_cv_lib_dnet_dnet_ntoa=no
24934 fi
24935 rm -f core conftest.err conftest.$ac_objext \
24936     conftest$ac_exeext conftest.$ac_ext
24937 LIBS=$ac_check_lib_save_LIBS
24938 fi
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24940 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24941 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
24942   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24943 fi
24944
24945     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24946       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24947 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24948 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
24949   $as_echo_n "(cached) " >&6
24950 else
24951   ac_check_lib_save_LIBS=$LIBS
24952 LIBS="-ldnet_stub  $LIBS"
24953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24954 /* end confdefs.h.  */
24955
24956 /* Override any GCC internal prototype to avoid an error.
24957    Use char because int might match the return type of a GCC
24958    builtin and then its argument prototype would still apply.  */
24959 #ifdef __cplusplus
24960 extern "C"
24961 #endif
24962 char dnet_ntoa ();
24963 int
24964 main ()
24965 {
24966 return dnet_ntoa ();
24967   ;
24968   return 0;
24969 }
24970 _ACEOF
24971 if ac_fn_c_try_link "$LINENO"; then :
24972   ac_cv_lib_dnet_stub_dnet_ntoa=yes
24973 else
24974   ac_cv_lib_dnet_stub_dnet_ntoa=no
24975 fi
24976 rm -f core conftest.err conftest.$ac_objext \
24977     conftest$ac_exeext conftest.$ac_ext
24978 LIBS=$ac_check_lib_save_LIBS
24979 fi
24980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24981 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24982 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
24983   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24984 fi
24985
24986     fi
24987 fi
24988 rm -f core conftest.err conftest.$ac_objext \
24989     conftest$ac_exeext conftest.$ac_ext
24990     LIBS="$ac_xsave_LIBS"
24991
24992     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24993     # to get the SysV transport functions.
24994     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24995     # needs -lnsl.
24996     # The nsl library prevents programs from opening the X display
24997     # on Irix 5.2, according to T.E. Dickey.
24998     # The functions gethostbyname, getservbyname, and inet_addr are
24999     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25000     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25001 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25002
25003 fi
25004
25005     if test $ac_cv_func_gethostbyname = no; then
25006       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25007 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25008 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25009   $as_echo_n "(cached) " >&6
25010 else
25011   ac_check_lib_save_LIBS=$LIBS
25012 LIBS="-lnsl  $LIBS"
25013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25014 /* end confdefs.h.  */
25015
25016 /* Override any GCC internal prototype to avoid an error.
25017    Use char because int might match the return type of a GCC
25018    builtin and then its argument prototype would still apply.  */
25019 #ifdef __cplusplus
25020 extern "C"
25021 #endif
25022 char gethostbyname ();
25023 int
25024 main ()
25025 {
25026 return gethostbyname ();
25027   ;
25028   return 0;
25029 }
25030 _ACEOF
25031 if ac_fn_c_try_link "$LINENO"; then :
25032   ac_cv_lib_nsl_gethostbyname=yes
25033 else
25034   ac_cv_lib_nsl_gethostbyname=no
25035 fi
25036 rm -f core conftest.err conftest.$ac_objext \
25037     conftest$ac_exeext conftest.$ac_ext
25038 LIBS=$ac_check_lib_save_LIBS
25039 fi
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25041 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25042 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25043   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25044 fi
25045
25046       if test $ac_cv_lib_nsl_gethostbyname = no; then
25047         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25048 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25049 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25050   $as_echo_n "(cached) " >&6
25051 else
25052   ac_check_lib_save_LIBS=$LIBS
25053 LIBS="-lbsd  $LIBS"
25054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25055 /* end confdefs.h.  */
25056
25057 /* Override any GCC internal prototype to avoid an error.
25058    Use char because int might match the return type of a GCC
25059    builtin and then its argument prototype would still apply.  */
25060 #ifdef __cplusplus
25061 extern "C"
25062 #endif
25063 char gethostbyname ();
25064 int
25065 main ()
25066 {
25067 return gethostbyname ();
25068   ;
25069   return 0;
25070 }
25071 _ACEOF
25072 if ac_fn_c_try_link "$LINENO"; then :
25073   ac_cv_lib_bsd_gethostbyname=yes
25074 else
25075   ac_cv_lib_bsd_gethostbyname=no
25076 fi
25077 rm -f core conftest.err conftest.$ac_objext \
25078     conftest$ac_exeext conftest.$ac_ext
25079 LIBS=$ac_check_lib_save_LIBS
25080 fi
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25082 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25083 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25084   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25085 fi
25086
25087       fi
25088     fi
25089
25090     # lieder@skyler.mavd.honeywell.com says without -lsocket,
25091     # socket/setsockopt and other routines are undefined under SCO ODT
25092     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
25093     # on later versions), says Simon Leinen: it contains gethostby*
25094     # variants that don't use the name server (or something).  -lsocket
25095     # must be given before -lnsl if both are needed.  We assume that
25096     # if connect needs -lnsl, so does gethostbyname.
25097     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25098 if test "x$ac_cv_func_connect" = xyes; then :
25099
25100 fi
25101
25102     if test $ac_cv_func_connect = no; then
25103       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25104 $as_echo_n "checking for connect in -lsocket... " >&6; }
25105 if ${ac_cv_lib_socket_connect+:} false; then :
25106   $as_echo_n "(cached) " >&6
25107 else
25108   ac_check_lib_save_LIBS=$LIBS
25109 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h.  */
25112
25113 /* Override any GCC internal prototype to avoid an error.
25114    Use char because int might match the return type of a GCC
25115    builtin and then its argument prototype would still apply.  */
25116 #ifdef __cplusplus
25117 extern "C"
25118 #endif
25119 char connect ();
25120 int
25121 main ()
25122 {
25123 return connect ();
25124   ;
25125   return 0;
25126 }
25127 _ACEOF
25128 if ac_fn_c_try_link "$LINENO"; then :
25129   ac_cv_lib_socket_connect=yes
25130 else
25131   ac_cv_lib_socket_connect=no
25132 fi
25133 rm -f core conftest.err conftest.$ac_objext \
25134     conftest$ac_exeext conftest.$ac_ext
25135 LIBS=$ac_check_lib_save_LIBS
25136 fi
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25138 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25139 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25140   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25141 fi
25142
25143     fi
25144
25145     # Guillermo Gomez says -lposix is necessary on A/UX.
25146     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25147 if test "x$ac_cv_func_remove" = xyes; then :
25148
25149 fi
25150
25151     if test $ac_cv_func_remove = no; then
25152       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25153 $as_echo_n "checking for remove in -lposix... " >&6; }
25154 if ${ac_cv_lib_posix_remove+:} false; then :
25155   $as_echo_n "(cached) " >&6
25156 else
25157   ac_check_lib_save_LIBS=$LIBS
25158 LIBS="-lposix  $LIBS"
25159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25160 /* end confdefs.h.  */
25161
25162 /* Override any GCC internal prototype to avoid an error.
25163    Use char because int might match the return type of a GCC
25164    builtin and then its argument prototype would still apply.  */
25165 #ifdef __cplusplus
25166 extern "C"
25167 #endif
25168 char remove ();
25169 int
25170 main ()
25171 {
25172 return remove ();
25173   ;
25174   return 0;
25175 }
25176 _ACEOF
25177 if ac_fn_c_try_link "$LINENO"; then :
25178   ac_cv_lib_posix_remove=yes
25179 else
25180   ac_cv_lib_posix_remove=no
25181 fi
25182 rm -f core conftest.err conftest.$ac_objext \
25183     conftest$ac_exeext conftest.$ac_ext
25184 LIBS=$ac_check_lib_save_LIBS
25185 fi
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25187 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25188 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25189   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25190 fi
25191
25192     fi
25193
25194     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25195     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25196 if test "x$ac_cv_func_shmat" = xyes; then :
25197
25198 fi
25199
25200     if test $ac_cv_func_shmat = no; then
25201       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25202 $as_echo_n "checking for shmat in -lipc... " >&6; }
25203 if ${ac_cv_lib_ipc_shmat+:} false; then :
25204   $as_echo_n "(cached) " >&6
25205 else
25206   ac_check_lib_save_LIBS=$LIBS
25207 LIBS="-lipc  $LIBS"
25208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25209 /* end confdefs.h.  */
25210
25211 /* Override any GCC internal prototype to avoid an error.
25212    Use char because int might match the return type of a GCC
25213    builtin and then its argument prototype would still apply.  */
25214 #ifdef __cplusplus
25215 extern "C"
25216 #endif
25217 char shmat ();
25218 int
25219 main ()
25220 {
25221 return shmat ();
25222   ;
25223   return 0;
25224 }
25225 _ACEOF
25226 if ac_fn_c_try_link "$LINENO"; then :
25227   ac_cv_lib_ipc_shmat=yes
25228 else
25229   ac_cv_lib_ipc_shmat=no
25230 fi
25231 rm -f core conftest.err conftest.$ac_objext \
25232     conftest$ac_exeext conftest.$ac_ext
25233 LIBS=$ac_check_lib_save_LIBS
25234 fi
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25236 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25237 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25238   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25239 fi
25240
25241     fi
25242   fi
25243
25244   # Check for libraries that X11R6 Xt/Xaw programs need.
25245   ac_save_LDFLAGS=$LDFLAGS
25246   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25247   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25248   # check for ICE first), but we must link in the order -lSM -lICE or
25249   # we get undefined symbols.  So assume we have SM if we have ICE.
25250   # These have to be linked with before -lX11, unlike the other
25251   # libraries we check for below, so use a different variable.
25252   # John Interrante, Karl Berry
25253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25254 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25255 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25256   $as_echo_n "(cached) " >&6
25257 else
25258   ac_check_lib_save_LIBS=$LIBS
25259 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h.  */
25262
25263 /* Override any GCC internal prototype to avoid an error.
25264    Use char because int might match the return type of a GCC
25265    builtin and then its argument prototype would still apply.  */
25266 #ifdef __cplusplus
25267 extern "C"
25268 #endif
25269 char IceConnectionNumber ();
25270 int
25271 main ()
25272 {
25273 return IceConnectionNumber ();
25274   ;
25275   return 0;
25276 }
25277 _ACEOF
25278 if ac_fn_c_try_link "$LINENO"; then :
25279   ac_cv_lib_ICE_IceConnectionNumber=yes
25280 else
25281   ac_cv_lib_ICE_IceConnectionNumber=no
25282 fi
25283 rm -f core conftest.err conftest.$ac_objext \
25284     conftest$ac_exeext conftest.$ac_ext
25285 LIBS=$ac_check_lib_save_LIBS
25286 fi
25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25288 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25289 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25290   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25291 fi
25292
25293   LDFLAGS=$ac_save_LDFLAGS
25294
25295 fi
25296
25297
25298 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
25299 if test "x$ac_cv_header_X11_X_h" = xyes; then :
25300   have_dep="yes"
25301 fi
25302
25303
25304
25305 if test "x${have_dep}" = "xyes" ; then
25306    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
25307 $as_echo_n "checking for XCreateImage in -lX11... " >&6; }
25308 if ${ac_cv_lib_X11_XCreateImage+:} false; then :
25309   $as_echo_n "(cached) " >&6
25310 else
25311   ac_check_lib_save_LIBS=$LIBS
25312 LIBS="-lX11  $LIBS"
25313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h.  */
25315
25316 /* Override any GCC internal prototype to avoid an error.
25317    Use char because int might match the return type of a GCC
25318    builtin and then its argument prototype would still apply.  */
25319 #ifdef __cplusplus
25320 extern "C"
25321 #endif
25322 char XCreateImage ();
25323 int
25324 main ()
25325 {
25326 return XCreateImage ();
25327   ;
25328   return 0;
25329 }
25330 _ACEOF
25331 if ac_fn_c_try_link "$LINENO"; then :
25332   ac_cv_lib_X11_XCreateImage=yes
25333 else
25334   ac_cv_lib_X11_XCreateImage=no
25335 fi
25336 rm -f core conftest.err conftest.$ac_objext \
25337     conftest$ac_exeext conftest.$ac_ext
25338 LIBS=$ac_check_lib_save_LIBS
25339 fi
25340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
25341 $as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
25342 if test "x$ac_cv_lib_X11_XCreateImage" = xyes; then :
25343   have_dep="yes"
25344 else
25345   have_dep="no"
25346 fi
25347
25348 fi
25349
25350 if test "x${have_dep}" = "xyes" ; then
25351    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
25352 $as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
25353 if ${ac_cv_lib_Xext_XShmCreateImage+:} false; then :
25354   $as_echo_n "(cached) " >&6
25355 else
25356   ac_check_lib_save_LIBS=$LIBS
25357 LIBS="-lXext  $LIBS"
25358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h.  */
25360
25361 /* Override any GCC internal prototype to avoid an error.
25362    Use char because int might match the return type of a GCC
25363    builtin and then its argument prototype would still apply.  */
25364 #ifdef __cplusplus
25365 extern "C"
25366 #endif
25367 char XShmCreateImage ();
25368 int
25369 main ()
25370 {
25371 return XShmCreateImage ();
25372   ;
25373   return 0;
25374 }
25375 _ACEOF
25376 if ac_fn_c_try_link "$LINENO"; then :
25377   ac_cv_lib_Xext_XShmCreateImage=yes
25378 else
25379   ac_cv_lib_Xext_XShmCreateImage=no
25380 fi
25381 rm -f core conftest.err conftest.$ac_objext \
25382     conftest$ac_exeext conftest.$ac_ext
25383 LIBS=$ac_check_lib_save_LIBS
25384 fi
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
25386 $as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
25387 if test "x$ac_cv_lib_Xext_XShmCreateImage" = xyes; then :
25388   have_dep="yes"
25389 else
25390   have_dep="no"
25391 fi
25392
25393 fi
25394
25395 if test "x${have_dep}" = "xyes" ; then
25396    if test "xno" = "xyes" ; then
25397       x_libs="${x_libs} -lX11 -lXext"
25398    else
25399       x_dir=${x_dir:-/usr/X11R6}
25400       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25401       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
25402    fi
25403    evas_engine_software_xlib_cflags="${x_cflags}"
25404    evas_engine_software_xlib_libs="${x_libs}"
25405 fi
25406
25407
25408
25409
25410 if test "x${have_dep}" = "xyes" ; then
25411   have_engine="yes"
25412 else
25413   have_engine="no"
25414 fi
25415
25416
25417 fi
25418
25419 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
25420    as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
25421 fi
25422
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
25424 $as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
25426 $as_echo "${have_engine}" >&6; }
25427
25428 if test "x${have_engine}" = "xyes" ; then
25429    if test "x${want_engine}" = "xstatic" ; then
25430       have_evas_engine_software_xlib="static"
25431       want_static_engine="yes"
25432    else
25433       have_evas_engine_software_xlib="yes"
25434    fi
25435 fi
25436
25437 if test "x${have_engine}" = "xyes" ; then
25438
25439 $as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
25440
25441 fi
25442
25443  if test "x${have_engine}" = "xyes"; then
25444   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25445   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25446 else
25447   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25448   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25449 fi
25450
25451
25452 if test "x${want_static_engine}" = "xyes" ; then
25453
25454 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
25455
25456    have_static_module="yes"
25457 fi
25458
25459  if test "x${want_static_engine}" = "xyes"; then
25460   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25461   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25462 else
25463   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25464   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25465 fi
25466
25467
25468
25469
25470
25471
25472   # if software_x11 is available, define everything needed for X11
25473   if test "x$have_evas_engine_software_xlib" != "xno" ; then
25474     have_evas_engine_software_x11="yes"
25475
25476 cat >>confdefs.h <<_ACEOF
25477 #define BUILD_ENGINE_SOFTWARE_X11 1
25478 _ACEOF
25479
25480
25481 cat >>confdefs.h <<_ACEOF
25482 #define BUILD_ENGINE_SOFTWARE_XLIB 1
25483 _ACEOF
25484
25485   fi
25486 else
25487   have_evas_engine_software_xlib="no"
25488 fi
25489
25490 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
25491
25492 cat >>confdefs.h <<_ACEOF
25493 #define EVAS_STATIC_BUILD_SOFTWARE_X11 1
25494 _ACEOF
25495
25496 fi
25497
25498
25499
25500
25501  if test "x${have_evas_engine_software_xlib}" != "xno"; then
25502   BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
25503   BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
25504 else
25505   BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
25506   BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
25507 fi
25508
25509  if test "x${have_evas_engine_software_xcb}" != "xno"; then
25510   BUILD_ENGINE_SOFTWARE_XCB_TRUE=
25511   BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
25512 else
25513   BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
25514   BUILD_ENGINE_SOFTWARE_XCB_FALSE=
25515 fi
25516
25517  if test "x${have_evas_engine_software_x11}" != "xno"; then
25518   BUILD_ENGINE_SOFTWARE_X11_TRUE=
25519   BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
25520 else
25521   BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
25522   BUILD_ENGINE_SOFTWARE_X11_FALSE=
25523 fi
25524
25525
25526  if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
25527   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
25528   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
25529 else
25530   EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
25531   EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
25532 fi
25533
25534  if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
25535   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
25536   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
25537 else
25538   EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
25539   EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
25540 fi
25541
25542  if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
25543   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
25544   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
25545 else
25546   EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
25547   EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
25548 fi
25549
25550
25551
25552
25553
25554 ######## OpenGL Engine ########
25555 have_evas_engine_gl_x11="no"
25556 have_evas_engine_gl_xcb="no"
25557 build_gl_xcb="no"
25558
25559 ## XCB Checks ##
25560 want_gl_xcb="no"
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
25562 $as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
25563 # Check whether --enable-gl-xcb was given.
25564 if test "${enable_gl_xcb+set}" = set; then :
25565   enableval=$enable_gl_xcb; want_gl_xcb=$enableval
25566
25567 fi
25568
25569 if test "x$want_gl_xcb" = "xyes" ; then
25570
25571
25572
25573 want_engine="${want_evas_engine_gl_xcb}"
25574 want_static_engine="no"
25575 have_engine="no"
25576 have_evas_engine_gl_xcb="no"
25577
25578 # Check whether --enable-gl-xcb was given.
25579 if test "${enable_gl_xcb+set}" = set; then :
25580   enableval=$enable_gl_xcb;
25581     if test "x${enableval}" = "xyes" ; then
25582        want_engine="yes"
25583     else
25584        if test "x${enableval}" = "xstatic" ; then
25585           want_engine="static"
25586        else
25587           want_engine="no"
25588        fi
25589     fi
25590
25591 fi
25592
25593
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
25595 $as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
25596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
25597 $as_echo "${want_engine}" >&6; }
25598
25599 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
25600
25601
25602 evas_engine_gl_xcb_cflags=""
25603 evas_engine_gl_xcb_libs=""
25604
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
25606 $as_echo_n "checking for X... " >&6; }
25607
25608
25609 # Check whether --with-x was given.
25610 if test "${with_x+set}" = set; then :
25611   withval=$with_x;
25612 fi
25613
25614 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25615 if test "x$with_x" = xno; then
25616   # The user explicitly disabled X.
25617   have_x=disabled
25618 else
25619   case $x_includes,$x_libraries in #(
25620     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
25621     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
25622   $as_echo_n "(cached) " >&6
25623 else
25624   # One or both of the vars are not set, and there is no cached value.
25625 ac_x_includes=no ac_x_libraries=no
25626 rm -f -r conftest.dir
25627 if mkdir conftest.dir; then
25628   cd conftest.dir
25629   cat >Imakefile <<'_ACEOF'
25630 incroot:
25631         @echo incroot='${INCROOT}'
25632 usrlibdir:
25633         @echo usrlibdir='${USRLIBDIR}'
25634 libdir:
25635         @echo libdir='${LIBDIR}'
25636 _ACEOF
25637   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25638     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
25639     for ac_var in incroot usrlibdir libdir; do
25640       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25641     done
25642     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25643     for ac_extension in a so sl dylib la dll; do
25644       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25645          test -f "$ac_im_libdir/libX11.$ac_extension"; then
25646         ac_im_usrlibdir=$ac_im_libdir; break
25647       fi
25648     done
25649     # Screen out bogus values from the imake configuration.  They are
25650     # bogus both because they are the default anyway, and because
25651     # using them would break gcc on systems where it needs fixed includes.
25652     case $ac_im_incroot in
25653         /usr/include) ac_x_includes= ;;
25654         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25655     esac
25656     case $ac_im_usrlibdir in
25657         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25658         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25659     esac
25660   fi
25661   cd ..
25662   rm -f -r conftest.dir
25663 fi
25664
25665 # Standard set of common directories for X headers.
25666 # Check X11 before X11Rn because it is often a symlink to the current release.
25667 ac_x_header_dirs='
25668 /usr/X11/include
25669 /usr/X11R7/include
25670 /usr/X11R6/include
25671 /usr/X11R5/include
25672 /usr/X11R4/include
25673
25674 /usr/include/X11
25675 /usr/include/X11R7
25676 /usr/include/X11R6
25677 /usr/include/X11R5
25678 /usr/include/X11R4
25679
25680 /usr/local/X11/include
25681 /usr/local/X11R7/include
25682 /usr/local/X11R6/include
25683 /usr/local/X11R5/include
25684 /usr/local/X11R4/include
25685
25686 /usr/local/include/X11
25687 /usr/local/include/X11R7
25688 /usr/local/include/X11R6
25689 /usr/local/include/X11R5
25690 /usr/local/include/X11R4
25691
25692 /usr/X386/include
25693 /usr/x386/include
25694 /usr/XFree86/include/X11
25695
25696 /usr/include
25697 /usr/local/include
25698 /usr/unsupported/include
25699 /usr/athena/include
25700 /usr/local/x11r5/include
25701 /usr/lpp/Xamples/include
25702
25703 /usr/openwin/include
25704 /usr/openwin/share/include'
25705
25706 if test "$ac_x_includes" = no; then
25707   # Guess where to find include files, by looking for Xlib.h.
25708   # First, try using that file with no special directory specified.
25709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25710 /* end confdefs.h.  */
25711 #include <X11/Xlib.h>
25712 _ACEOF
25713 if ac_fn_c_try_cpp "$LINENO"; then :
25714   # We can compile using X headers with no special include directory.
25715 ac_x_includes=
25716 else
25717   for ac_dir in $ac_x_header_dirs; do
25718   if test -r "$ac_dir/X11/Xlib.h"; then
25719     ac_x_includes=$ac_dir
25720     break
25721   fi
25722 done
25723 fi
25724 rm -f conftest.err conftest.i conftest.$ac_ext
25725 fi # $ac_x_includes = no
25726
25727 if test "$ac_x_libraries" = no; then
25728   # Check for the libraries.
25729   # See if we find them without any special options.
25730   # Don't add to $LIBS permanently.
25731   ac_save_LIBS=$LIBS
25732   LIBS="-lX11 $LIBS"
25733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25734 /* end confdefs.h.  */
25735 #include <X11/Xlib.h>
25736 int
25737 main ()
25738 {
25739 XrmInitialize ()
25740   ;
25741   return 0;
25742 }
25743 _ACEOF
25744 if ac_fn_c_try_link "$LINENO"; then :
25745   LIBS=$ac_save_LIBS
25746 # We can link X programs with no special library path.
25747 ac_x_libraries=
25748 else
25749   LIBS=$ac_save_LIBS
25750 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25751 do
25752   # Don't even attempt the hair of trying to link an X program!
25753   for ac_extension in a so sl dylib la dll; do
25754     if test -r "$ac_dir/libX11.$ac_extension"; then
25755       ac_x_libraries=$ac_dir
25756       break 2
25757     fi
25758   done
25759 done
25760 fi
25761 rm -f core conftest.err conftest.$ac_objext \
25762     conftest$ac_exeext conftest.$ac_ext
25763 fi # $ac_x_libraries = no
25764
25765 case $ac_x_includes,$ac_x_libraries in #(
25766   no,* | *,no | *\'*)
25767     # Didn't find X, or a directory has "'" in its name.
25768     ac_cv_have_x="have_x=no";; #(
25769   *)
25770     # Record where we found X for the cache.
25771     ac_cv_have_x="have_x=yes\
25772         ac_x_includes='$ac_x_includes'\
25773         ac_x_libraries='$ac_x_libraries'"
25774 esac
25775 fi
25776 ;; #(
25777     *) have_x=yes;;
25778   esac
25779   eval "$ac_cv_have_x"
25780 fi # $with_x != no
25781
25782 if test "$have_x" != yes; then
25783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25784 $as_echo "$have_x" >&6; }
25785   no_x=yes
25786 else
25787   # If each of the values was on the command line, it overrides each guess.
25788   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25789   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25790   # Update the cache value to reflect the command line values.
25791   ac_cv_have_x="have_x=yes\
25792         ac_x_includes='$x_includes'\
25793         ac_x_libraries='$x_libraries'"
25794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25795 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25796 fi
25797
25798 if test "$no_x" = yes; then
25799   # Not all programs may use this symbol, but it does not hurt to define it.
25800
25801 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25802
25803   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25804 else
25805   if test -n "$x_includes"; then
25806     X_CFLAGS="$X_CFLAGS -I$x_includes"
25807   fi
25808
25809   # It would also be nice to do this for all -L options, not just this one.
25810   if test -n "$x_libraries"; then
25811     X_LIBS="$X_LIBS -L$x_libraries"
25812     # For Solaris; some versions of Sun CC require a space after -R and
25813     # others require no space.  Words are not sufficient . . . .
25814     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25815 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25816     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25817     ac_xsave_c_werror_flag=$ac_c_werror_flag
25818     ac_c_werror_flag=yes
25819     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25820 /* end confdefs.h.  */
25821
25822 int
25823 main ()
25824 {
25825
25826   ;
25827   return 0;
25828 }
25829 _ACEOF
25830 if ac_fn_c_try_link "$LINENO"; then :
25831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25832 $as_echo "no" >&6; }
25833        X_LIBS="$X_LIBS -R$x_libraries"
25834 else
25835   LIBS="$ac_xsave_LIBS -R $x_libraries"
25836        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25837 /* end confdefs.h.  */
25838
25839 int
25840 main ()
25841 {
25842
25843   ;
25844   return 0;
25845 }
25846 _ACEOF
25847 if ac_fn_c_try_link "$LINENO"; then :
25848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25849 $as_echo "yes" >&6; }
25850           X_LIBS="$X_LIBS -R $x_libraries"
25851 else
25852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25853 $as_echo "neither works" >&6; }
25854 fi
25855 rm -f core conftest.err conftest.$ac_objext \
25856     conftest$ac_exeext conftest.$ac_ext
25857 fi
25858 rm -f core conftest.err conftest.$ac_objext \
25859     conftest$ac_exeext conftest.$ac_ext
25860     ac_c_werror_flag=$ac_xsave_c_werror_flag
25861     LIBS=$ac_xsave_LIBS
25862   fi
25863
25864   # Check for system-dependent libraries X programs must link with.
25865   # Do this before checking for the system-independent R6 libraries
25866   # (-lICE), since we may need -lsocket or whatever for X linking.
25867
25868   if test "$ISC" = yes; then
25869     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25870   else
25871     # Martyn Johnson says this is needed for Ultrix, if the X
25872     # libraries were built with DECnet support.  And Karl Berry says
25873     # the Alpha needs dnet_stub (dnet does not exist).
25874     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25875     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h.  */
25877
25878 /* Override any GCC internal prototype to avoid an error.
25879    Use char because int might match the return type of a GCC
25880    builtin and then its argument prototype would still apply.  */
25881 #ifdef __cplusplus
25882 extern "C"
25883 #endif
25884 char XOpenDisplay ();
25885 int
25886 main ()
25887 {
25888 return XOpenDisplay ();
25889   ;
25890   return 0;
25891 }
25892 _ACEOF
25893 if ac_fn_c_try_link "$LINENO"; then :
25894
25895 else
25896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25897 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25898 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
25899   $as_echo_n "(cached) " >&6
25900 else
25901   ac_check_lib_save_LIBS=$LIBS
25902 LIBS="-ldnet  $LIBS"
25903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25904 /* end confdefs.h.  */
25905
25906 /* Override any GCC internal prototype to avoid an error.
25907    Use char because int might match the return type of a GCC
25908    builtin and then its argument prototype would still apply.  */
25909 #ifdef __cplusplus
25910 extern "C"
25911 #endif
25912 char dnet_ntoa ();
25913 int
25914 main ()
25915 {
25916 return dnet_ntoa ();
25917   ;
25918   return 0;
25919 }
25920 _ACEOF
25921 if ac_fn_c_try_link "$LINENO"; then :
25922   ac_cv_lib_dnet_dnet_ntoa=yes
25923 else
25924   ac_cv_lib_dnet_dnet_ntoa=no
25925 fi
25926 rm -f core conftest.err conftest.$ac_objext \
25927     conftest$ac_exeext conftest.$ac_ext
25928 LIBS=$ac_check_lib_save_LIBS
25929 fi
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25931 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25932 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
25933   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25934 fi
25935
25936     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25937       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25938 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25939 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
25940   $as_echo_n "(cached) " >&6
25941 else
25942   ac_check_lib_save_LIBS=$LIBS
25943 LIBS="-ldnet_stub  $LIBS"
25944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25945 /* end confdefs.h.  */
25946
25947 /* Override any GCC internal prototype to avoid an error.
25948    Use char because int might match the return type of a GCC
25949    builtin and then its argument prototype would still apply.  */
25950 #ifdef __cplusplus
25951 extern "C"
25952 #endif
25953 char dnet_ntoa ();
25954 int
25955 main ()
25956 {
25957 return dnet_ntoa ();
25958   ;
25959   return 0;
25960 }
25961 _ACEOF
25962 if ac_fn_c_try_link "$LINENO"; then :
25963   ac_cv_lib_dnet_stub_dnet_ntoa=yes
25964 else
25965   ac_cv_lib_dnet_stub_dnet_ntoa=no
25966 fi
25967 rm -f core conftest.err conftest.$ac_objext \
25968     conftest$ac_exeext conftest.$ac_ext
25969 LIBS=$ac_check_lib_save_LIBS
25970 fi
25971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25972 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25973 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25974   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25975 fi
25976
25977     fi
25978 fi
25979 rm -f core conftest.err conftest.$ac_objext \
25980     conftest$ac_exeext conftest.$ac_ext
25981     LIBS="$ac_xsave_LIBS"
25982
25983     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25984     # to get the SysV transport functions.
25985     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25986     # needs -lnsl.
25987     # The nsl library prevents programs from opening the X display
25988     # on Irix 5.2, according to T.E. Dickey.
25989     # The functions gethostbyname, getservbyname, and inet_addr are
25990     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25991     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25992 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25993
25994 fi
25995
25996     if test $ac_cv_func_gethostbyname = no; then
25997       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25998 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25999 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
26000   $as_echo_n "(cached) " >&6
26001 else
26002   ac_check_lib_save_LIBS=$LIBS
26003 LIBS="-lnsl  $LIBS"
26004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26005 /* end confdefs.h.  */
26006
26007 /* Override any GCC internal prototype to avoid an error.
26008    Use char because int might match the return type of a GCC
26009    builtin and then its argument prototype would still apply.  */
26010 #ifdef __cplusplus
26011 extern "C"
26012 #endif
26013 char gethostbyname ();
26014 int
26015 main ()
26016 {
26017 return gethostbyname ();
26018   ;
26019   return 0;
26020 }
26021 _ACEOF
26022 if ac_fn_c_try_link "$LINENO"; then :
26023   ac_cv_lib_nsl_gethostbyname=yes
26024 else
26025   ac_cv_lib_nsl_gethostbyname=no
26026 fi
26027 rm -f core conftest.err conftest.$ac_objext \
26028     conftest$ac_exeext conftest.$ac_ext
26029 LIBS=$ac_check_lib_save_LIBS
26030 fi
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26032 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26033 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
26034   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26035 fi
26036
26037       if test $ac_cv_lib_nsl_gethostbyname = no; then
26038         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26039 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26040 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
26041   $as_echo_n "(cached) " >&6
26042 else
26043   ac_check_lib_save_LIBS=$LIBS
26044 LIBS="-lbsd  $LIBS"
26045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26046 /* end confdefs.h.  */
26047
26048 /* Override any GCC internal prototype to avoid an error.
26049    Use char because int might match the return type of a GCC
26050    builtin and then its argument prototype would still apply.  */
26051 #ifdef __cplusplus
26052 extern "C"
26053 #endif
26054 char gethostbyname ();
26055 int
26056 main ()
26057 {
26058 return gethostbyname ();
26059   ;
26060   return 0;
26061 }
26062 _ACEOF
26063 if ac_fn_c_try_link "$LINENO"; then :
26064   ac_cv_lib_bsd_gethostbyname=yes
26065 else
26066   ac_cv_lib_bsd_gethostbyname=no
26067 fi
26068 rm -f core conftest.err conftest.$ac_objext \
26069     conftest$ac_exeext conftest.$ac_ext
26070 LIBS=$ac_check_lib_save_LIBS
26071 fi
26072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26073 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26074 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
26075   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26076 fi
26077
26078       fi
26079     fi
26080
26081     # lieder@skyler.mavd.honeywell.com says without -lsocket,
26082     # socket/setsockopt and other routines are undefined under SCO ODT
26083     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
26084     # on later versions), says Simon Leinen: it contains gethostby*
26085     # variants that don't use the name server (or something).  -lsocket
26086     # must be given before -lnsl if both are needed.  We assume that
26087     # if connect needs -lnsl, so does gethostbyname.
26088     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26089 if test "x$ac_cv_func_connect" = xyes; then :
26090
26091 fi
26092
26093     if test $ac_cv_func_connect = no; then
26094       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26095 $as_echo_n "checking for connect in -lsocket... " >&6; }
26096 if ${ac_cv_lib_socket_connect+:} false; then :
26097   $as_echo_n "(cached) " >&6
26098 else
26099   ac_check_lib_save_LIBS=$LIBS
26100 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26102 /* end confdefs.h.  */
26103
26104 /* Override any GCC internal prototype to avoid an error.
26105    Use char because int might match the return type of a GCC
26106    builtin and then its argument prototype would still apply.  */
26107 #ifdef __cplusplus
26108 extern "C"
26109 #endif
26110 char connect ();
26111 int
26112 main ()
26113 {
26114 return connect ();
26115   ;
26116   return 0;
26117 }
26118 _ACEOF
26119 if ac_fn_c_try_link "$LINENO"; then :
26120   ac_cv_lib_socket_connect=yes
26121 else
26122   ac_cv_lib_socket_connect=no
26123 fi
26124 rm -f core conftest.err conftest.$ac_objext \
26125     conftest$ac_exeext conftest.$ac_ext
26126 LIBS=$ac_check_lib_save_LIBS
26127 fi
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26129 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26130 if test "x$ac_cv_lib_socket_connect" = xyes; then :
26131   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26132 fi
26133
26134     fi
26135
26136     # Guillermo Gomez says -lposix is necessary on A/UX.
26137     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26138 if test "x$ac_cv_func_remove" = xyes; then :
26139
26140 fi
26141
26142     if test $ac_cv_func_remove = no; then
26143       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26144 $as_echo_n "checking for remove in -lposix... " >&6; }
26145 if ${ac_cv_lib_posix_remove+:} false; then :
26146   $as_echo_n "(cached) " >&6
26147 else
26148   ac_check_lib_save_LIBS=$LIBS
26149 LIBS="-lposix  $LIBS"
26150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26151 /* end confdefs.h.  */
26152
26153 /* Override any GCC internal prototype to avoid an error.
26154    Use char because int might match the return type of a GCC
26155    builtin and then its argument prototype would still apply.  */
26156 #ifdef __cplusplus
26157 extern "C"
26158 #endif
26159 char remove ();
26160 int
26161 main ()
26162 {
26163 return remove ();
26164   ;
26165   return 0;
26166 }
26167 _ACEOF
26168 if ac_fn_c_try_link "$LINENO"; then :
26169   ac_cv_lib_posix_remove=yes
26170 else
26171   ac_cv_lib_posix_remove=no
26172 fi
26173 rm -f core conftest.err conftest.$ac_objext \
26174     conftest$ac_exeext conftest.$ac_ext
26175 LIBS=$ac_check_lib_save_LIBS
26176 fi
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26178 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26179 if test "x$ac_cv_lib_posix_remove" = xyes; then :
26180   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26181 fi
26182
26183     fi
26184
26185     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26186     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26187 if test "x$ac_cv_func_shmat" = xyes; then :
26188
26189 fi
26190
26191     if test $ac_cv_func_shmat = no; then
26192       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26193 $as_echo_n "checking for shmat in -lipc... " >&6; }
26194 if ${ac_cv_lib_ipc_shmat+:} false; then :
26195   $as_echo_n "(cached) " >&6
26196 else
26197   ac_check_lib_save_LIBS=$LIBS
26198 LIBS="-lipc  $LIBS"
26199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26200 /* end confdefs.h.  */
26201
26202 /* Override any GCC internal prototype to avoid an error.
26203    Use char because int might match the return type of a GCC
26204    builtin and then its argument prototype would still apply.  */
26205 #ifdef __cplusplus
26206 extern "C"
26207 #endif
26208 char shmat ();
26209 int
26210 main ()
26211 {
26212 return shmat ();
26213   ;
26214   return 0;
26215 }
26216 _ACEOF
26217 if ac_fn_c_try_link "$LINENO"; then :
26218   ac_cv_lib_ipc_shmat=yes
26219 else
26220   ac_cv_lib_ipc_shmat=no
26221 fi
26222 rm -f core conftest.err conftest.$ac_objext \
26223     conftest$ac_exeext conftest.$ac_ext
26224 LIBS=$ac_check_lib_save_LIBS
26225 fi
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26227 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26228 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
26229   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26230 fi
26231
26232     fi
26233   fi
26234
26235   # Check for libraries that X11R6 Xt/Xaw programs need.
26236   ac_save_LDFLAGS=$LDFLAGS
26237   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26238   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26239   # check for ICE first), but we must link in the order -lSM -lICE or
26240   # we get undefined symbols.  So assume we have SM if we have ICE.
26241   # These have to be linked with before -lX11, unlike the other
26242   # libraries we check for below, so use a different variable.
26243   # John Interrante, Karl Berry
26244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26245 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26246 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
26247   $as_echo_n "(cached) " >&6
26248 else
26249   ac_check_lib_save_LIBS=$LIBS
26250 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h.  */
26253
26254 /* Override any GCC internal prototype to avoid an error.
26255    Use char because int might match the return type of a GCC
26256    builtin and then its argument prototype would still apply.  */
26257 #ifdef __cplusplus
26258 extern "C"
26259 #endif
26260 char IceConnectionNumber ();
26261 int
26262 main ()
26263 {
26264 return IceConnectionNumber ();
26265   ;
26266   return 0;
26267 }
26268 _ACEOF
26269 if ac_fn_c_try_link "$LINENO"; then :
26270   ac_cv_lib_ICE_IceConnectionNumber=yes
26271 else
26272   ac_cv_lib_ICE_IceConnectionNumber=no
26273 fi
26274 rm -f core conftest.err conftest.$ac_objext \
26275     conftest$ac_exeext conftest.$ac_ext
26276 LIBS=$ac_check_lib_save_LIBS
26277 fi
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26279 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26280 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
26281   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26282 fi
26283
26284   LDFLAGS=$ac_save_LDFLAGS
26285
26286 fi
26287
26288
26289 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26290 #include <GL/gl.h>
26291 #include <GL/glext.h>
26292 #include <GL/glx.h>
26293
26294 "
26295 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
26296   have_dep="yes"
26297 else
26298   have_dep="no"
26299 fi
26300
26301
26302
26303 gl_pt_lib="";
26304 have_gl_pt="no"
26305
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26307 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
26308 CFLAGS_save="${CFLAGS}"
26309 CFLAGS="${CFLAGS} -pthread"
26310 LIBS_save="${LIBS}"
26311 LIBS="${LIBS} -pthread"
26312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26313 /* end confdefs.h.  */
26314
26315 #include <pthread.h>
26316
26317 int
26318 main ()
26319 {
26320
26321 pthread_create(NULL, NULL, NULL, NULL);
26322
26323   ;
26324   return 0;
26325 }
26326 _ACEOF
26327 if ac_fn_c_try_link "$LINENO"; then :
26328   have_gl_pt="yes"
26329 else
26330   have_gl_pt="no"
26331 fi
26332 rm -f core conftest.err conftest.$ac_objext \
26333     conftest$ac_exeext conftest.$ac_ext
26334 CFLAGS=${CFLAGS_save}
26335 LIBS=${LIBS_save}
26336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26337 $as_echo "${have_gl_pt}" >&6; }
26338
26339 if test "x$have_gl_pt" = "xyes" ; then
26340    gl_pt_lib=" -pthread"
26341 fi
26342
26343 if test "x${have_dep}" = "xyes" ; then
26344    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26345 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26346 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
26347   $as_echo_n "(cached) " >&6
26348 else
26349   ac_check_lib_save_LIBS=$LIBS
26350 LIBS="-lX11  $LIBS"
26351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26352 /* end confdefs.h.  */
26353
26354 /* Override any GCC internal prototype to avoid an error.
26355    Use char because int might match the return type of a GCC
26356    builtin and then its argument prototype would still apply.  */
26357 #ifdef __cplusplus
26358 extern "C"
26359 #endif
26360 char XCreateColormap ();
26361 int
26362 main ()
26363 {
26364 return XCreateColormap ();
26365   ;
26366   return 0;
26367 }
26368 _ACEOF
26369 if ac_fn_c_try_link "$LINENO"; then :
26370   ac_cv_lib_X11_XCreateColormap=yes
26371 else
26372   ac_cv_lib_X11_XCreateColormap=no
26373 fi
26374 rm -f core conftest.err conftest.$ac_objext \
26375     conftest$ac_exeext conftest.$ac_ext
26376 LIBS=$ac_check_lib_save_LIBS
26377 fi
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26379 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26380 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
26381   have_dep="yes"
26382 else
26383   have_dep="no"
26384 fi
26385
26386 fi
26387
26388 if test "x${have_dep}" = "xyes" ; then
26389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26390 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26391 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
26392   $as_echo_n "(cached) " >&6
26393 else
26394   ac_check_lib_save_LIBS=$LIBS
26395 LIBS="-lXrender  $LIBS"
26396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26397 /* end confdefs.h.  */
26398
26399 /* Override any GCC internal prototype to avoid an error.
26400    Use char because int might match the return type of a GCC
26401    builtin and then its argument prototype would still apply.  */
26402 #ifdef __cplusplus
26403 extern "C"
26404 #endif
26405 char XRenderCreatePicture ();
26406 int
26407 main ()
26408 {
26409 return XRenderCreatePicture ();
26410   ;
26411   return 0;
26412 }
26413 _ACEOF
26414 if ac_fn_c_try_link "$LINENO"; then :
26415   ac_cv_lib_Xrender_XRenderCreatePicture=yes
26416 else
26417   ac_cv_lib_Xrender_XRenderCreatePicture=no
26418 fi
26419 rm -f core conftest.err conftest.$ac_objext \
26420     conftest$ac_exeext conftest.$ac_ext
26421 LIBS=$ac_check_lib_save_LIBS
26422 fi
26423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
26424 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
26425 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
26426   have_dep="yes"
26427 else
26428   have_dep="no"
26429 fi
26430
26431 fi
26432
26433 if test "x${have_dep}" = "xyes" ; then
26434    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
26435 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
26436 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
26437   $as_echo_n "(cached) " >&6
26438 else
26439   ac_check_lib_save_LIBS=$LIBS
26440 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
26441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26442 /* end confdefs.h.  */
26443
26444 /* Override any GCC internal prototype to avoid an error.
26445    Use char because int might match the return type of a GCC
26446    builtin and then its argument prototype would still apply.  */
26447 #ifdef __cplusplus
26448 extern "C"
26449 #endif
26450 char glXCreateContext ();
26451 int
26452 main ()
26453 {
26454 return glXCreateContext ();
26455   ;
26456   return 0;
26457 }
26458 _ACEOF
26459 if ac_fn_c_try_link "$LINENO"; then :
26460   ac_cv_lib_GL_glXCreateContext=yes
26461 else
26462   ac_cv_lib_GL_glXCreateContext=no
26463 fi
26464 rm -f core conftest.err conftest.$ac_objext \
26465     conftest$ac_exeext conftest.$ac_ext
26466 LIBS=$ac_check_lib_save_LIBS
26467 fi
26468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
26469 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
26470 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
26471   have_dep="yes"
26472 else
26473   have_dep="no"
26474 fi
26475
26476 fi
26477
26478
26479 pkg_failed=no
26480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
26481 $as_echo_n "checking for XCB_GL... " >&6; }
26482
26483 if test -n "$XCB_GL_CFLAGS"; then
26484     pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
26485  elif test -n "$PKG_CONFIG"; then
26486     if test -n "$PKG_CONFIG" && \
26487     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26488   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26489   ac_status=$?
26490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26491   test $ac_status = 0; }; then
26492   pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26493 else
26494   pkg_failed=yes
26495 fi
26496  else
26497     pkg_failed=untried
26498 fi
26499 if test -n "$XCB_GL_LIBS"; then
26500     pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
26501  elif test -n "$PKG_CONFIG"; then
26502     if test -n "$PKG_CONFIG" && \
26503     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
26504   ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
26505   ac_status=$?
26506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26507   test $ac_status = 0; }; then
26508   pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
26509 else
26510   pkg_failed=yes
26511 fi
26512  else
26513     pkg_failed=untried
26514 fi
26515
26516
26517
26518 if test $pkg_failed = yes; then
26519         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26520 $as_echo "no" >&6; }
26521
26522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26523         _pkg_short_errors_supported=yes
26524 else
26525         _pkg_short_errors_supported=no
26526 fi
26527         if test $_pkg_short_errors_supported = yes; then
26528                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26529         else
26530                 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
26531         fi
26532         # Put the nasty error message in config.log where it belongs
26533         echo "$XCB_GL_PKG_ERRORS" >&5
26534
26535
26536     have_dep="no"
26537
26538
26539 elif test $pkg_failed = untried; then
26540         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26541 $as_echo "no" >&6; }
26542
26543     have_dep="no"
26544
26545
26546 else
26547         XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
26548         XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
26549         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26550 $as_echo "yes" >&6; }
26551
26552     have_dep="yes"
26553     requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
26554     evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
26555     evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
26556
26557 fi
26558
26559 if test "x$gl_flavor_gles" = "xyes" ; then
26560   have_dep=no
26561 fi
26562
26563 if test "x${have_dep}" = "xyes" ; then
26564
26565 pkg_failed=no
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26567 $as_echo_n "checking for GL_EET... " >&6; }
26568
26569 if test -n "$GL_EET_CFLAGS"; then
26570     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26571  elif test -n "$PKG_CONFIG"; then
26572     if test -n "$PKG_CONFIG" && \
26573     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26574   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26575   ac_status=$?
26576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26577   test $ac_status = 0; }; then
26578   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26579 else
26580   pkg_failed=yes
26581 fi
26582  else
26583     pkg_failed=untried
26584 fi
26585 if test -n "$GL_EET_LIBS"; then
26586     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26587  elif test -n "$PKG_CONFIG"; then
26588     if test -n "$PKG_CONFIG" && \
26589     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26590   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26591   ac_status=$?
26592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26593   test $ac_status = 0; }; then
26594   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26595 else
26596   pkg_failed=yes
26597 fi
26598  else
26599     pkg_failed=untried
26600 fi
26601
26602
26603
26604 if test $pkg_failed = yes; then
26605         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26606 $as_echo "no" >&6; }
26607
26608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26609         _pkg_short_errors_supported=yes
26610 else
26611         _pkg_short_errors_supported=no
26612 fi
26613         if test $_pkg_short_errors_supported = yes; then
26614                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
26615         else
26616                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
26617         fi
26618         # Put the nasty error message in config.log where it belongs
26619         echo "$GL_EET_PKG_ERRORS" >&5
26620
26621         have_dep="no"
26622 elif test $pkg_failed = untried; then
26623         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26624 $as_echo "no" >&6; }
26625         have_dep="no"
26626 else
26627         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26628         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26629         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26630 $as_echo "yes" >&6; }
26631         have_dep="yes"
26632 fi
26633    if test "x${have_dep}" = "xyes" ; then
26634       if test "xno" = "xyes" ; then
26635          x_libs="${x_libs} -lX11 -lXext -lXrender"
26636       else
26637          x_dir=${x_dir:-/usr/X11R6}
26638          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26639          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26640       fi
26641    evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
26642    evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
26643    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
26644    fi
26645 else
26646    if test "xno" = "xyes" ; then
26647       x_libs="${x_libs} -lX11 -lXext -lXrender"
26648    else
26649       x_dir=${x_dir:-/usr/X11R6}
26650       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
26651       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
26652    fi
26653    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
26654 #include <GLES2/gl2.h>
26655 #include <GLES2/gl2ext.h>
26656 #include <EGL/egl.h>
26657
26658 "
26659 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
26660   have_egl="yes"
26661 else
26662   have_egl="no"
26663 fi
26664
26665
26666    if test "x${have_egl}" = "xyes" ; then
26667       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
26668 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
26669 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
26670   $as_echo_n "(cached) " >&6
26671 else
26672   ac_check_lib_save_LIBS=$LIBS
26673 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
26674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26675 /* end confdefs.h.  */
26676
26677 /* Override any GCC internal prototype to avoid an error.
26678    Use char because int might match the return type of a GCC
26679    builtin and then its argument prototype would still apply.  */
26680 #ifdef __cplusplus
26681 extern "C"
26682 #endif
26683 char glTexImage2D ();
26684 int
26685 main ()
26686 {
26687 return glTexImage2D ();
26688   ;
26689   return 0;
26690 }
26691 _ACEOF
26692 if ac_fn_c_try_link "$LINENO"; then :
26693   ac_cv_lib_GLESv2_glTexImage2D=yes
26694 else
26695   ac_cv_lib_GLESv2_glTexImage2D=no
26696 fi
26697 rm -f core conftest.err conftest.$ac_objext \
26698     conftest$ac_exeext conftest.$ac_ext
26699 LIBS=$ac_check_lib_save_LIBS
26700 fi
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
26702 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
26703 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
26704   have_glesv2="yes"
26705 fi
26706
26707       if test "x${have_glesv2}" = "xyes" ; then
26708
26709 pkg_failed=no
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
26711 $as_echo_n "checking for GL_EET... " >&6; }
26712
26713 if test -n "$GL_EET_CFLAGS"; then
26714     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
26715  elif test -n "$PKG_CONFIG"; then
26716     if test -n "$PKG_CONFIG" && \
26717     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26718   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26719   ac_status=$?
26720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26721   test $ac_status = 0; }; then
26722   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
26723 else
26724   pkg_failed=yes
26725 fi
26726  else
26727     pkg_failed=untried
26728 fi
26729 if test -n "$GL_EET_LIBS"; then
26730     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
26731  elif test -n "$PKG_CONFIG"; then
26732     if test -n "$PKG_CONFIG" && \
26733     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
26734   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
26735   ac_status=$?
26736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26737   test $ac_status = 0; }; then
26738   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
26739 else
26740   pkg_failed=yes
26741 fi
26742  else
26743     pkg_failed=untried
26744 fi
26745
26746
26747
26748 if test $pkg_failed = yes; then
26749         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26750 $as_echo "no" >&6; }
26751
26752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26753         _pkg_short_errors_supported=yes
26754 else
26755         _pkg_short_errors_supported=no
26756 fi
26757         if test $_pkg_short_errors_supported = yes; then
26758                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
26759         else
26760                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
26761         fi
26762         # Put the nasty error message in config.log where it belongs
26763         echo "$GL_EET_PKG_ERRORS" >&5
26764
26765         have_dep="no"
26766 elif test $pkg_failed = untried; then
26767         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26768 $as_echo "no" >&6; }
26769         have_dep="no"
26770 else
26771         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26772         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26773         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26774 $as_echo "yes" >&6; }
26775         have_dep="yes"
26776 fi
26777          if test "x${have_dep}" = "xyes" ; then
26778             evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26779             evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26780             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26781             have_dep="yes"
26782
26783 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26784
26785             gles_variety_sgx="yes"
26786          fi
26787       fi
26788    fi
26789 fi
26790
26791
26792
26793
26794 if test "x${have_dep}" = "xyes" ; then
26795   have_engine="yes"
26796 else
26797   have_engine="no"
26798 fi
26799
26800
26801 fi
26802
26803 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26804    as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26805 fi
26806
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26808 $as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26810 $as_echo "${have_engine}" >&6; }
26811
26812 if test "x${have_engine}" = "xyes" ; then
26813    if test "x${want_engine}" = "xstatic" ; then
26814       have_evas_engine_gl_xcb="static"
26815       want_static_engine="yes"
26816    else
26817       have_evas_engine_gl_xcb="yes"
26818    fi
26819 fi
26820
26821 if test "x${have_engine}" = "xyes" ; then
26822
26823 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26824
26825 fi
26826
26827  if test "x${have_engine}" = "xyes"; then
26828   BUILD_ENGINE_GL_XCB_TRUE=
26829   BUILD_ENGINE_GL_XCB_FALSE='#'
26830 else
26831   BUILD_ENGINE_GL_XCB_TRUE='#'
26832   BUILD_ENGINE_GL_XCB_FALSE=
26833 fi
26834
26835
26836 if test "x${want_static_engine}" = "xyes" ; then
26837
26838 $as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26839
26840    have_static_module="yes"
26841 fi
26842
26843  if test "x${want_static_engine}" = "xyes"; then
26844   EVAS_STATIC_BUILD_GL_XCB_TRUE=
26845   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26846 else
26847   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26848   EVAS_STATIC_BUILD_GL_XCB_FALSE=
26849 fi
26850
26851
26852
26853
26854
26855
26856   if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26857     build_gl_xcb="yes"
26858     have_evas_engine_gl_x11="yes"
26859
26860 $as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26861
26862
26863 $as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26864
26865     if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26866
26867 $as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26868
26869     fi
26870   fi
26871
26872 else
26873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26874 $as_echo "no" >&6; }
26875   build_gl_xcb="no"
26876 fi
26877
26878 ## If we are not building XCB, then we can build XLib ##
26879
26880 if test "x$build_gl_xcb" = "xno" ; then
26881
26882
26883
26884 want_engine="${want_evas_engine_gl_xlib}"
26885 want_static_engine="no"
26886 have_engine="no"
26887 have_evas_engine_gl_xlib="no"
26888
26889 # Check whether --enable-gl-xlib was given.
26890 if test "${enable_gl_xlib+set}" = set; then :
26891   enableval=$enable_gl_xlib;
26892     if test "x${enableval}" = "xyes" ; then
26893        want_engine="yes"
26894     else
26895        if test "x${enableval}" = "xstatic" ; then
26896           want_engine="static"
26897        else
26898           want_engine="no"
26899        fi
26900     fi
26901
26902 fi
26903
26904
26905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
26906 $as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
26907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
26908 $as_echo "${want_engine}" >&6; }
26909
26910 if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
26911
26912
26913 evas_engine_gl_xlib_cflags=""
26914 evas_engine_gl_xlib_libs=""
26915
26916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26917 $as_echo_n "checking for X... " >&6; }
26918
26919
26920 # Check whether --with-x was given.
26921 if test "${with_x+set}" = set; then :
26922   withval=$with_x;
26923 fi
26924
26925 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26926 if test "x$with_x" = xno; then
26927   # The user explicitly disabled X.
26928   have_x=disabled
26929 else
26930   case $x_includes,$x_libraries in #(
26931     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
26932     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
26933   $as_echo_n "(cached) " >&6
26934 else
26935   # One or both of the vars are not set, and there is no cached value.
26936 ac_x_includes=no ac_x_libraries=no
26937 rm -f -r conftest.dir
26938 if mkdir conftest.dir; then
26939   cd conftest.dir
26940   cat >Imakefile <<'_ACEOF'
26941 incroot:
26942         @echo incroot='${INCROOT}'
26943 usrlibdir:
26944         @echo usrlibdir='${USRLIBDIR}'
26945 libdir:
26946         @echo libdir='${LIBDIR}'
26947 _ACEOF
26948   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26949     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26950     for ac_var in incroot usrlibdir libdir; do
26951       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
26952     done
26953     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26954     for ac_extension in a so sl dylib la dll; do
26955       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
26956          test -f "$ac_im_libdir/libX11.$ac_extension"; then
26957         ac_im_usrlibdir=$ac_im_libdir; break
26958       fi
26959     done
26960     # Screen out bogus values from the imake configuration.  They are
26961     # bogus both because they are the default anyway, and because
26962     # using them would break gcc on systems where it needs fixed includes.
26963     case $ac_im_incroot in
26964         /usr/include) ac_x_includes= ;;
26965         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26966     esac
26967     case $ac_im_usrlibdir in
26968         /usr/lib | /usr/lib64 | /lib | /lib64) ;;
26969         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26970     esac
26971   fi
26972   cd ..
26973   rm -f -r conftest.dir
26974 fi
26975
26976 # Standard set of common directories for X headers.
26977 # Check X11 before X11Rn because it is often a symlink to the current release.
26978 ac_x_header_dirs='
26979 /usr/X11/include
26980 /usr/X11R7/include
26981 /usr/X11R6/include
26982 /usr/X11R5/include
26983 /usr/X11R4/include
26984
26985 /usr/include/X11
26986 /usr/include/X11R7
26987 /usr/include/X11R6
26988 /usr/include/X11R5
26989 /usr/include/X11R4
26990
26991 /usr/local/X11/include
26992 /usr/local/X11R7/include
26993 /usr/local/X11R6/include
26994 /usr/local/X11R5/include
26995 /usr/local/X11R4/include
26996
26997 /usr/local/include/X11
26998 /usr/local/include/X11R7
26999 /usr/local/include/X11R6
27000 /usr/local/include/X11R5
27001 /usr/local/include/X11R4
27002
27003 /usr/X386/include
27004 /usr/x386/include
27005 /usr/XFree86/include/X11
27006
27007 /usr/include
27008 /usr/local/include
27009 /usr/unsupported/include
27010 /usr/athena/include
27011 /usr/local/x11r5/include
27012 /usr/lpp/Xamples/include
27013
27014 /usr/openwin/include
27015 /usr/openwin/share/include'
27016
27017 if test "$ac_x_includes" = no; then
27018   # Guess where to find include files, by looking for Xlib.h.
27019   # First, try using that file with no special directory specified.
27020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27021 /* end confdefs.h.  */
27022 #include <X11/Xlib.h>
27023 _ACEOF
27024 if ac_fn_c_try_cpp "$LINENO"; then :
27025   # We can compile using X headers with no special include directory.
27026 ac_x_includes=
27027 else
27028   for ac_dir in $ac_x_header_dirs; do
27029   if test -r "$ac_dir/X11/Xlib.h"; then
27030     ac_x_includes=$ac_dir
27031     break
27032   fi
27033 done
27034 fi
27035 rm -f conftest.err conftest.i conftest.$ac_ext
27036 fi # $ac_x_includes = no
27037
27038 if test "$ac_x_libraries" = no; then
27039   # Check for the libraries.
27040   # See if we find them without any special options.
27041   # Don't add to $LIBS permanently.
27042   ac_save_LIBS=$LIBS
27043   LIBS="-lX11 $LIBS"
27044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27045 /* end confdefs.h.  */
27046 #include <X11/Xlib.h>
27047 int
27048 main ()
27049 {
27050 XrmInitialize ()
27051   ;
27052   return 0;
27053 }
27054 _ACEOF
27055 if ac_fn_c_try_link "$LINENO"; then :
27056   LIBS=$ac_save_LIBS
27057 # We can link X programs with no special library path.
27058 ac_x_libraries=
27059 else
27060   LIBS=$ac_save_LIBS
27061 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27062 do
27063   # Don't even attempt the hair of trying to link an X program!
27064   for ac_extension in a so sl dylib la dll; do
27065     if test -r "$ac_dir/libX11.$ac_extension"; then
27066       ac_x_libraries=$ac_dir
27067       break 2
27068     fi
27069   done
27070 done
27071 fi
27072 rm -f core conftest.err conftest.$ac_objext \
27073     conftest$ac_exeext conftest.$ac_ext
27074 fi # $ac_x_libraries = no
27075
27076 case $ac_x_includes,$ac_x_libraries in #(
27077   no,* | *,no | *\'*)
27078     # Didn't find X, or a directory has "'" in its name.
27079     ac_cv_have_x="have_x=no";; #(
27080   *)
27081     # Record where we found X for the cache.
27082     ac_cv_have_x="have_x=yes\
27083         ac_x_includes='$ac_x_includes'\
27084         ac_x_libraries='$ac_x_libraries'"
27085 esac
27086 fi
27087 ;; #(
27088     *) have_x=yes;;
27089   esac
27090   eval "$ac_cv_have_x"
27091 fi # $with_x != no
27092
27093 if test "$have_x" != yes; then
27094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
27095 $as_echo "$have_x" >&6; }
27096   no_x=yes
27097 else
27098   # If each of the values was on the command line, it overrides each guess.
27099   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27100   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27101   # Update the cache value to reflect the command line values.
27102   ac_cv_have_x="have_x=yes\
27103         ac_x_includes='$x_includes'\
27104         ac_x_libraries='$x_libraries'"
27105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
27106 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
27107 fi
27108
27109 if test "$no_x" = yes; then
27110   # Not all programs may use this symbol, but it does not hurt to define it.
27111
27112 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
27113
27114   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27115 else
27116   if test -n "$x_includes"; then
27117     X_CFLAGS="$X_CFLAGS -I$x_includes"
27118   fi
27119
27120   # It would also be nice to do this for all -L options, not just this one.
27121   if test -n "$x_libraries"; then
27122     X_LIBS="$X_LIBS -L$x_libraries"
27123     # For Solaris; some versions of Sun CC require a space after -R and
27124     # others require no space.  Words are not sufficient . . . .
27125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
27126 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
27127     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27128     ac_xsave_c_werror_flag=$ac_c_werror_flag
27129     ac_c_werror_flag=yes
27130     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27131 /* end confdefs.h.  */
27132
27133 int
27134 main ()
27135 {
27136
27137   ;
27138   return 0;
27139 }
27140 _ACEOF
27141 if ac_fn_c_try_link "$LINENO"; then :
27142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27143 $as_echo "no" >&6; }
27144        X_LIBS="$X_LIBS -R$x_libraries"
27145 else
27146   LIBS="$ac_xsave_LIBS -R $x_libraries"
27147        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27148 /* end confdefs.h.  */
27149
27150 int
27151 main ()
27152 {
27153
27154   ;
27155   return 0;
27156 }
27157 _ACEOF
27158 if ac_fn_c_try_link "$LINENO"; then :
27159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27160 $as_echo "yes" >&6; }
27161           X_LIBS="$X_LIBS -R $x_libraries"
27162 else
27163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
27164 $as_echo "neither works" >&6; }
27165 fi
27166 rm -f core conftest.err conftest.$ac_objext \
27167     conftest$ac_exeext conftest.$ac_ext
27168 fi
27169 rm -f core conftest.err conftest.$ac_objext \
27170     conftest$ac_exeext conftest.$ac_ext
27171     ac_c_werror_flag=$ac_xsave_c_werror_flag
27172     LIBS=$ac_xsave_LIBS
27173   fi
27174
27175   # Check for system-dependent libraries X programs must link with.
27176   # Do this before checking for the system-independent R6 libraries
27177   # (-lICE), since we may need -lsocket or whatever for X linking.
27178
27179   if test "$ISC" = yes; then
27180     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
27181   else
27182     # Martyn Johnson says this is needed for Ultrix, if the X
27183     # libraries were built with DECnet support.  And Karl Berry says
27184     # the Alpha needs dnet_stub (dnet does not exist).
27185     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
27186     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27187 /* end confdefs.h.  */
27188
27189 /* Override any GCC internal prototype to avoid an error.
27190    Use char because int might match the return type of a GCC
27191    builtin and then its argument prototype would still apply.  */
27192 #ifdef __cplusplus
27193 extern "C"
27194 #endif
27195 char XOpenDisplay ();
27196 int
27197 main ()
27198 {
27199 return XOpenDisplay ();
27200   ;
27201   return 0;
27202 }
27203 _ACEOF
27204 if ac_fn_c_try_link "$LINENO"; then :
27205
27206 else
27207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
27208 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
27209 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
27210   $as_echo_n "(cached) " >&6
27211 else
27212   ac_check_lib_save_LIBS=$LIBS
27213 LIBS="-ldnet  $LIBS"
27214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27215 /* end confdefs.h.  */
27216
27217 /* Override any GCC internal prototype to avoid an error.
27218    Use char because int might match the return type of a GCC
27219    builtin and then its argument prototype would still apply.  */
27220 #ifdef __cplusplus
27221 extern "C"
27222 #endif
27223 char dnet_ntoa ();
27224 int
27225 main ()
27226 {
27227 return dnet_ntoa ();
27228   ;
27229   return 0;
27230 }
27231 _ACEOF
27232 if ac_fn_c_try_link "$LINENO"; then :
27233   ac_cv_lib_dnet_dnet_ntoa=yes
27234 else
27235   ac_cv_lib_dnet_dnet_ntoa=no
27236 fi
27237 rm -f core conftest.err conftest.$ac_objext \
27238     conftest$ac_exeext conftest.$ac_ext
27239 LIBS=$ac_check_lib_save_LIBS
27240 fi
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27242 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
27243 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
27244   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27245 fi
27246
27247     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27248       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
27249 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
27250 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
27251   $as_echo_n "(cached) " >&6
27252 else
27253   ac_check_lib_save_LIBS=$LIBS
27254 LIBS="-ldnet_stub  $LIBS"
27255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27256 /* end confdefs.h.  */
27257
27258 /* Override any GCC internal prototype to avoid an error.
27259    Use char because int might match the return type of a GCC
27260    builtin and then its argument prototype would still apply.  */
27261 #ifdef __cplusplus
27262 extern "C"
27263 #endif
27264 char dnet_ntoa ();
27265 int
27266 main ()
27267 {
27268 return dnet_ntoa ();
27269   ;
27270   return 0;
27271 }
27272 _ACEOF
27273 if ac_fn_c_try_link "$LINENO"; then :
27274   ac_cv_lib_dnet_stub_dnet_ntoa=yes
27275 else
27276   ac_cv_lib_dnet_stub_dnet_ntoa=no
27277 fi
27278 rm -f core conftest.err conftest.$ac_objext \
27279     conftest$ac_exeext conftest.$ac_ext
27280 LIBS=$ac_check_lib_save_LIBS
27281 fi
27282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27283 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
27284 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
27285   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27286 fi
27287
27288     fi
27289 fi
27290 rm -f core conftest.err conftest.$ac_objext \
27291     conftest$ac_exeext conftest.$ac_ext
27292     LIBS="$ac_xsave_LIBS"
27293
27294     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27295     # to get the SysV transport functions.
27296     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27297     # needs -lnsl.
27298     # The nsl library prevents programs from opening the X display
27299     # on Irix 5.2, according to T.E. Dickey.
27300     # The functions gethostbyname, getservbyname, and inet_addr are
27301     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27302     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
27303 if test "x$ac_cv_func_gethostbyname" = xyes; then :
27304
27305 fi
27306
27307     if test $ac_cv_func_gethostbyname = no; then
27308       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
27309 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
27310 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
27311   $as_echo_n "(cached) " >&6
27312 else
27313   ac_check_lib_save_LIBS=$LIBS
27314 LIBS="-lnsl  $LIBS"
27315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27316 /* end confdefs.h.  */
27317
27318 /* Override any GCC internal prototype to avoid an error.
27319    Use char because int might match the return type of a GCC
27320    builtin and then its argument prototype would still apply.  */
27321 #ifdef __cplusplus
27322 extern "C"
27323 #endif
27324 char gethostbyname ();
27325 int
27326 main ()
27327 {
27328 return gethostbyname ();
27329   ;
27330   return 0;
27331 }
27332 _ACEOF
27333 if ac_fn_c_try_link "$LINENO"; then :
27334   ac_cv_lib_nsl_gethostbyname=yes
27335 else
27336   ac_cv_lib_nsl_gethostbyname=no
27337 fi
27338 rm -f core conftest.err conftest.$ac_objext \
27339     conftest$ac_exeext conftest.$ac_ext
27340 LIBS=$ac_check_lib_save_LIBS
27341 fi
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
27343 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
27344 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
27345   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27346 fi
27347
27348       if test $ac_cv_lib_nsl_gethostbyname = no; then
27349         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
27350 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
27351 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
27352   $as_echo_n "(cached) " >&6
27353 else
27354   ac_check_lib_save_LIBS=$LIBS
27355 LIBS="-lbsd  $LIBS"
27356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27357 /* end confdefs.h.  */
27358
27359 /* Override any GCC internal prototype to avoid an error.
27360    Use char because int might match the return type of a GCC
27361    builtin and then its argument prototype would still apply.  */
27362 #ifdef __cplusplus
27363 extern "C"
27364 #endif
27365 char gethostbyname ();
27366 int
27367 main ()
27368 {
27369 return gethostbyname ();
27370   ;
27371   return 0;
27372 }
27373 _ACEOF
27374 if ac_fn_c_try_link "$LINENO"; then :
27375   ac_cv_lib_bsd_gethostbyname=yes
27376 else
27377   ac_cv_lib_bsd_gethostbyname=no
27378 fi
27379 rm -f core conftest.err conftest.$ac_objext \
27380     conftest$ac_exeext conftest.$ac_ext
27381 LIBS=$ac_check_lib_save_LIBS
27382 fi
27383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
27384 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
27385 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
27386   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27387 fi
27388
27389       fi
27390     fi
27391
27392     # lieder@skyler.mavd.honeywell.com says without -lsocket,
27393     # socket/setsockopt and other routines are undefined under SCO ODT
27394     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
27395     # on later versions), says Simon Leinen: it contains gethostby*
27396     # variants that don't use the name server (or something).  -lsocket
27397     # must be given before -lnsl if both are needed.  We assume that
27398     # if connect needs -lnsl, so does gethostbyname.
27399     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
27400 if test "x$ac_cv_func_connect" = xyes; then :
27401
27402 fi
27403
27404     if test $ac_cv_func_connect = no; then
27405       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
27406 $as_echo_n "checking for connect in -lsocket... " >&6; }
27407 if ${ac_cv_lib_socket_connect+:} false; then :
27408   $as_echo_n "(cached) " >&6
27409 else
27410   ac_check_lib_save_LIBS=$LIBS
27411 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27413 /* end confdefs.h.  */
27414
27415 /* Override any GCC internal prototype to avoid an error.
27416    Use char because int might match the return type of a GCC
27417    builtin and then its argument prototype would still apply.  */
27418 #ifdef __cplusplus
27419 extern "C"
27420 #endif
27421 char connect ();
27422 int
27423 main ()
27424 {
27425 return connect ();
27426   ;
27427   return 0;
27428 }
27429 _ACEOF
27430 if ac_fn_c_try_link "$LINENO"; then :
27431   ac_cv_lib_socket_connect=yes
27432 else
27433   ac_cv_lib_socket_connect=no
27434 fi
27435 rm -f core conftest.err conftest.$ac_objext \
27436     conftest$ac_exeext conftest.$ac_ext
27437 LIBS=$ac_check_lib_save_LIBS
27438 fi
27439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
27440 $as_echo "$ac_cv_lib_socket_connect" >&6; }
27441 if test "x$ac_cv_lib_socket_connect" = xyes; then :
27442   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27443 fi
27444
27445     fi
27446
27447     # Guillermo Gomez says -lposix is necessary on A/UX.
27448     ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
27449 if test "x$ac_cv_func_remove" = xyes; then :
27450
27451 fi
27452
27453     if test $ac_cv_func_remove = no; then
27454       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
27455 $as_echo_n "checking for remove in -lposix... " >&6; }
27456 if ${ac_cv_lib_posix_remove+:} false; then :
27457   $as_echo_n "(cached) " >&6
27458 else
27459   ac_check_lib_save_LIBS=$LIBS
27460 LIBS="-lposix  $LIBS"
27461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27462 /* end confdefs.h.  */
27463
27464 /* Override any GCC internal prototype to avoid an error.
27465    Use char because int might match the return type of a GCC
27466    builtin and then its argument prototype would still apply.  */
27467 #ifdef __cplusplus
27468 extern "C"
27469 #endif
27470 char remove ();
27471 int
27472 main ()
27473 {
27474 return remove ();
27475   ;
27476   return 0;
27477 }
27478 _ACEOF
27479 if ac_fn_c_try_link "$LINENO"; then :
27480   ac_cv_lib_posix_remove=yes
27481 else
27482   ac_cv_lib_posix_remove=no
27483 fi
27484 rm -f core conftest.err conftest.$ac_objext \
27485     conftest$ac_exeext conftest.$ac_ext
27486 LIBS=$ac_check_lib_save_LIBS
27487 fi
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
27489 $as_echo "$ac_cv_lib_posix_remove" >&6; }
27490 if test "x$ac_cv_lib_posix_remove" = xyes; then :
27491   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27492 fi
27493
27494     fi
27495
27496     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27497     ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
27498 if test "x$ac_cv_func_shmat" = xyes; then :
27499
27500 fi
27501
27502     if test $ac_cv_func_shmat = no; then
27503       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
27504 $as_echo_n "checking for shmat in -lipc... " >&6; }
27505 if ${ac_cv_lib_ipc_shmat+:} false; then :
27506   $as_echo_n "(cached) " >&6
27507 else
27508   ac_check_lib_save_LIBS=$LIBS
27509 LIBS="-lipc  $LIBS"
27510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27511 /* end confdefs.h.  */
27512
27513 /* Override any GCC internal prototype to avoid an error.
27514    Use char because int might match the return type of a GCC
27515    builtin and then its argument prototype would still apply.  */
27516 #ifdef __cplusplus
27517 extern "C"
27518 #endif
27519 char shmat ();
27520 int
27521 main ()
27522 {
27523 return shmat ();
27524   ;
27525   return 0;
27526 }
27527 _ACEOF
27528 if ac_fn_c_try_link "$LINENO"; then :
27529   ac_cv_lib_ipc_shmat=yes
27530 else
27531   ac_cv_lib_ipc_shmat=no
27532 fi
27533 rm -f core conftest.err conftest.$ac_objext \
27534     conftest$ac_exeext conftest.$ac_ext
27535 LIBS=$ac_check_lib_save_LIBS
27536 fi
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
27538 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
27539 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
27540   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27541 fi
27542
27543     fi
27544   fi
27545
27546   # Check for libraries that X11R6 Xt/Xaw programs need.
27547   ac_save_LDFLAGS=$LDFLAGS
27548   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27549   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27550   # check for ICE first), but we must link in the order -lSM -lICE or
27551   # we get undefined symbols.  So assume we have SM if we have ICE.
27552   # These have to be linked with before -lX11, unlike the other
27553   # libraries we check for below, so use a different variable.
27554   # John Interrante, Karl Berry
27555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
27556 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
27557 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
27558   $as_echo_n "(cached) " >&6
27559 else
27560   ac_check_lib_save_LIBS=$LIBS
27561 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27563 /* end confdefs.h.  */
27564
27565 /* Override any GCC internal prototype to avoid an error.
27566    Use char because int might match the return type of a GCC
27567    builtin and then its argument prototype would still apply.  */
27568 #ifdef __cplusplus
27569 extern "C"
27570 #endif
27571 char IceConnectionNumber ();
27572 int
27573 main ()
27574 {
27575 return IceConnectionNumber ();
27576   ;
27577   return 0;
27578 }
27579 _ACEOF
27580 if ac_fn_c_try_link "$LINENO"; then :
27581   ac_cv_lib_ICE_IceConnectionNumber=yes
27582 else
27583   ac_cv_lib_ICE_IceConnectionNumber=no
27584 fi
27585 rm -f core conftest.err conftest.$ac_objext \
27586     conftest$ac_exeext conftest.$ac_ext
27587 LIBS=$ac_check_lib_save_LIBS
27588 fi
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27590 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27591 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
27592   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27593 fi
27594
27595   LDFLAGS=$ac_save_LDFLAGS
27596
27597 fi
27598
27599
27600 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27601 #include <GL/gl.h>
27602 #include <GL/glext.h>
27603 #include <GL/glx.h>
27604 #include <X11/Xlib.h>
27605 #include <X11/Xatom.h>
27606 #include <X11/Xutil.h>
27607 #include <X11/extensions/Xrender.h>
27608 #include <X11/Xresource.h>
27609
27610 "
27611 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27612   have_dep="yes"
27613 else
27614   have_dep="no"
27615 fi
27616
27617
27618
27619 gl_pt_lib="";
27620 have_gl_pt="no"
27621
27622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
27623 $as_echo_n "checking whether pthread_create() is supported... " >&6; }
27624 CFLAGS_save="${CFLAGS}"
27625 CFLAGS="${CFLAGS} -pthread"
27626 LIBS_save="${LIBS}"
27627 LIBS="${LIBS} -pthread"
27628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27629 /* end confdefs.h.  */
27630
27631 #include <pthread.h>
27632
27633 int
27634 main ()
27635 {
27636
27637 pthread_create(NULL, NULL, NULL, NULL);
27638
27639   ;
27640   return 0;
27641 }
27642 _ACEOF
27643 if ac_fn_c_try_link "$LINENO"; then :
27644   have_gl_pt="yes"
27645 else
27646   have_gl_pt="no"
27647 fi
27648 rm -f core conftest.err conftest.$ac_objext \
27649     conftest$ac_exeext conftest.$ac_ext
27650 CFLAGS=${CFLAGS_save}
27651 LIBS=${LIBS_save}
27652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
27653 $as_echo "${have_gl_pt}" >&6; }
27654
27655 if test "x$have_gl_pt" = "xyes" ; then
27656    gl_pt_lib=" -pthread"
27657 fi
27658
27659 if test "x${have_dep}" = "xyes" ; then
27660    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
27661 $as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
27662 if ${ac_cv_lib_X11_XCreateColormap+:} false; then :
27663   $as_echo_n "(cached) " >&6
27664 else
27665   ac_check_lib_save_LIBS=$LIBS
27666 LIBS="-lX11  $LIBS"
27667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27668 /* end confdefs.h.  */
27669
27670 /* Override any GCC internal prototype to avoid an error.
27671    Use char because int might match the return type of a GCC
27672    builtin and then its argument prototype would still apply.  */
27673 #ifdef __cplusplus
27674 extern "C"
27675 #endif
27676 char XCreateColormap ();
27677 int
27678 main ()
27679 {
27680 return XCreateColormap ();
27681   ;
27682   return 0;
27683 }
27684 _ACEOF
27685 if ac_fn_c_try_link "$LINENO"; then :
27686   ac_cv_lib_X11_XCreateColormap=yes
27687 else
27688   ac_cv_lib_X11_XCreateColormap=no
27689 fi
27690 rm -f core conftest.err conftest.$ac_objext \
27691     conftest$ac_exeext conftest.$ac_ext
27692 LIBS=$ac_check_lib_save_LIBS
27693 fi
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
27695 $as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
27696 if test "x$ac_cv_lib_X11_XCreateColormap" = xyes; then :
27697   have_dep="yes"
27698 else
27699   have_dep="no"
27700 fi
27701
27702 fi
27703
27704 if test "x${have_dep}" = "xyes" ; then
27705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
27706 $as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
27707 if ${ac_cv_lib_Xrender_XRenderCreatePicture+:} false; then :
27708   $as_echo_n "(cached) " >&6
27709 else
27710   ac_check_lib_save_LIBS=$LIBS
27711 LIBS="-lXrender  $LIBS"
27712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27713 /* end confdefs.h.  */
27714
27715 /* Override any GCC internal prototype to avoid an error.
27716    Use char because int might match the return type of a GCC
27717    builtin and then its argument prototype would still apply.  */
27718 #ifdef __cplusplus
27719 extern "C"
27720 #endif
27721 char XRenderCreatePicture ();
27722 int
27723 main ()
27724 {
27725 return XRenderCreatePicture ();
27726   ;
27727   return 0;
27728 }
27729 _ACEOF
27730 if ac_fn_c_try_link "$LINENO"; then :
27731   ac_cv_lib_Xrender_XRenderCreatePicture=yes
27732 else
27733   ac_cv_lib_Xrender_XRenderCreatePicture=no
27734 fi
27735 rm -f core conftest.err conftest.$ac_objext \
27736     conftest$ac_exeext conftest.$ac_ext
27737 LIBS=$ac_check_lib_save_LIBS
27738 fi
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
27740 $as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
27741 if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = xyes; then :
27742   have_dep="yes"
27743 else
27744   have_dep="no"
27745 fi
27746
27747 fi
27748
27749 if test "x${have_dep}" = "xyes" ; then
27750    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
27751 $as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
27752 if ${ac_cv_lib_GL_glXCreateContext+:} false; then :
27753   $as_echo_n "(cached) " >&6
27754 else
27755   ac_check_lib_save_LIBS=$LIBS
27756 LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
27757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27758 /* end confdefs.h.  */
27759
27760 /* Override any GCC internal prototype to avoid an error.
27761    Use char because int might match the return type of a GCC
27762    builtin and then its argument prototype would still apply.  */
27763 #ifdef __cplusplus
27764 extern "C"
27765 #endif
27766 char glXCreateContext ();
27767 int
27768 main ()
27769 {
27770 return glXCreateContext ();
27771   ;
27772   return 0;
27773 }
27774 _ACEOF
27775 if ac_fn_c_try_link "$LINENO"; then :
27776   ac_cv_lib_GL_glXCreateContext=yes
27777 else
27778   ac_cv_lib_GL_glXCreateContext=no
27779 fi
27780 rm -f core conftest.err conftest.$ac_objext \
27781     conftest$ac_exeext conftest.$ac_ext
27782 LIBS=$ac_check_lib_save_LIBS
27783 fi
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27785 $as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27786 if test "x$ac_cv_lib_GL_glXCreateContext" = xyes; then :
27787   have_dep="yes"
27788 else
27789   have_dep="no"
27790 fi
27791
27792 fi
27793
27794 if test "x$gl_flavor_gles" = "xyes" ; then
27795   have_dep=no
27796 fi
27797
27798 if test "x${have_dep}" = "xyes" ; then
27799
27800 pkg_failed=no
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27802 $as_echo_n "checking for GL_EET... " >&6; }
27803
27804 if test -n "$GL_EET_CFLAGS"; then
27805     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27806  elif test -n "$PKG_CONFIG"; then
27807     if test -n "$PKG_CONFIG" && \
27808     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27809   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27810   ac_status=$?
27811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27812   test $ac_status = 0; }; then
27813   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27814 else
27815   pkg_failed=yes
27816 fi
27817  else
27818     pkg_failed=untried
27819 fi
27820 if test -n "$GL_EET_LIBS"; then
27821     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27822  elif test -n "$PKG_CONFIG"; then
27823     if test -n "$PKG_CONFIG" && \
27824     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27825   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27826   ac_status=$?
27827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27828   test $ac_status = 0; }; then
27829   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27830 else
27831   pkg_failed=yes
27832 fi
27833  else
27834     pkg_failed=untried
27835 fi
27836
27837
27838
27839 if test $pkg_failed = yes; then
27840         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27841 $as_echo "no" >&6; }
27842
27843 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27844         _pkg_short_errors_supported=yes
27845 else
27846         _pkg_short_errors_supported=no
27847 fi
27848         if test $_pkg_short_errors_supported = yes; then
27849                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
27850         else
27851                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
27852         fi
27853         # Put the nasty error message in config.log where it belongs
27854         echo "$GL_EET_PKG_ERRORS" >&5
27855
27856         have_dep="no"
27857 elif test $pkg_failed = untried; then
27858         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27859 $as_echo "no" >&6; }
27860         have_dep="no"
27861 else
27862         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27863         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27864         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27865 $as_echo "yes" >&6; }
27866         have_dep="yes"
27867 fi
27868    if test "x${have_dep}" = "xyes" ; then
27869       if test "xno" = "xyes" ; then
27870          x_libs="${x_libs} -lX11 -lXext -lXrender"
27871       else
27872          x_dir=${x_dir:-/usr/X11R6}
27873          x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27874          x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27875       fi
27876    evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27877    evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27878    evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27879    fi
27880 else
27881    if test "xno" = "xyes" ; then
27882       x_libs="${x_libs} -lX11 -lXext -lXrender"
27883    else
27884       x_dir=${x_dir:-/usr/X11R6}
27885       x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27886       x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27887    fi
27888    ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27889 #include <GLES2/gl2.h>
27890 #include <GLES2/gl2ext.h>
27891 #include <EGL/egl.h>
27892 #include <X11/Xlib.h>
27893 #include <X11/Xatom.h>
27894 #include <X11/Xutil.h>
27895 #include <X11/extensions/Xrender.h>
27896 #include <X11/Xresource.h>
27897
27898 "
27899 if test "x$ac_cv_header_GLES2_gl2_h" = xyes; then :
27900   have_egl="yes"
27901 else
27902   have_egl="no"
27903 fi
27904
27905
27906    if test "x${have_egl}" = "xyes" ; then
27907       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
27908 $as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
27909 if ${ac_cv_lib_GLESv2_glTexImage2D+:} false; then :
27910   $as_echo_n "(cached) " >&6
27911 else
27912   ac_check_lib_save_LIBS=$LIBS
27913 LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
27914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27915 /* end confdefs.h.  */
27916
27917 /* Override any GCC internal prototype to avoid an error.
27918    Use char because int might match the return type of a GCC
27919    builtin and then its argument prototype would still apply.  */
27920 #ifdef __cplusplus
27921 extern "C"
27922 #endif
27923 char glTexImage2D ();
27924 int
27925 main ()
27926 {
27927 return glTexImage2D ();
27928   ;
27929   return 0;
27930 }
27931 _ACEOF
27932 if ac_fn_c_try_link "$LINENO"; then :
27933   ac_cv_lib_GLESv2_glTexImage2D=yes
27934 else
27935   ac_cv_lib_GLESv2_glTexImage2D=no
27936 fi
27937 rm -f core conftest.err conftest.$ac_objext \
27938     conftest$ac_exeext conftest.$ac_ext
27939 LIBS=$ac_check_lib_save_LIBS
27940 fi
27941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
27942 $as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
27943 if test "x$ac_cv_lib_GLESv2_glTexImage2D" = xyes; then :
27944   have_glesv2="yes"
27945 fi
27946
27947       if test "x${have_glesv2}" = "xyes" ; then
27948
27949 pkg_failed=no
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27951 $as_echo_n "checking for GL_EET... " >&6; }
27952
27953 if test -n "$GL_EET_CFLAGS"; then
27954     pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27955  elif test -n "$PKG_CONFIG"; then
27956     if test -n "$PKG_CONFIG" && \
27957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27958   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27959   ac_status=$?
27960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27961   test $ac_status = 0; }; then
27962   pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.99" 2>/dev/null`
27963 else
27964   pkg_failed=yes
27965 fi
27966  else
27967     pkg_failed=untried
27968 fi
27969 if test -n "$GL_EET_LIBS"; then
27970     pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27971  elif test -n "$PKG_CONFIG"; then
27972     if test -n "$PKG_CONFIG" && \
27973     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.99\""; } >&5
27974   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.99") 2>&5
27975   ac_status=$?
27976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27977   test $ac_status = 0; }; then
27978   pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.99" 2>/dev/null`
27979 else
27980   pkg_failed=yes
27981 fi
27982  else
27983     pkg_failed=untried
27984 fi
27985
27986
27987
27988 if test $pkg_failed = yes; then
27989         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27990 $as_echo "no" >&6; }
27991
27992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27993         _pkg_short_errors_supported=yes
27994 else
27995         _pkg_short_errors_supported=no
27996 fi
27997         if test $_pkg_short_errors_supported = yes; then
27998                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.99" 2>&1`
27999         else
28000                 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.99" 2>&1`
28001         fi
28002         # Put the nasty error message in config.log where it belongs
28003         echo "$GL_EET_PKG_ERRORS" >&5
28004
28005         have_dep="no"
28006 elif test $pkg_failed = untried; then
28007         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28008 $as_echo "no" >&6; }
28009         have_dep="no"
28010 else
28011         GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
28012         GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
28013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28014 $as_echo "yes" >&6; }
28015         have_dep="yes"
28016 fi
28017          if test "x${have_dep}" = "xyes" ; then
28018             evas_engine_gl_xlib_cflags="${x_cflags}"
28019             evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
28020             evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
28021             have_dep="yes"
28022
28023 $as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
28024
28025             gles_variety_sgx="yes"
28026          fi
28027       fi
28028    fi
28029 fi
28030
28031
28032
28033
28034
28035 if test "x${have_dep}" = "xyes" ; then
28036   have_engine="yes"
28037 else
28038   have_engine="no"
28039 fi
28040
28041
28042 fi
28043
28044 if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28045    as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
28046 fi
28047
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
28049 $as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
28051 $as_echo "${have_engine}" >&6; }
28052
28053 if test "x${have_engine}" = "xyes" ; then
28054    if test "x${want_engine}" = "xstatic" ; then
28055       have_evas_engine_gl_xlib="static"
28056       want_static_engine="yes"
28057    else
28058       have_evas_engine_gl_xlib="yes"
28059    fi
28060 fi
28061
28062 if test "x${have_engine}" = "xyes" ; then
28063
28064 $as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
28065
28066 fi
28067
28068  if test "x${have_engine}" = "xyes"; then
28069   BUILD_ENGINE_GL_XLIB_TRUE=
28070   BUILD_ENGINE_GL_XLIB_FALSE='#'
28071 else
28072   BUILD_ENGINE_GL_XLIB_TRUE='#'
28073   BUILD_ENGINE_GL_XLIB_FALSE=
28074 fi
28075
28076
28077 if test "x${want_static_engine}" = "xyes" ; then
28078
28079 $as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
28080
28081    have_static_module="yes"
28082 fi
28083
28084  if test "x${want_static_engine}" = "xyes"; then
28085   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28086   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28087 else
28088   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28089   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28090 fi
28091
28092
28093
28094
28095
28096
28097   if test "x$have_evas_engine_gl_xlib" != "xno" ; then
28098     have_evas_engine_gl_x11="yes"
28099
28100 cat >>confdefs.h <<_ACEOF
28101 #define BUILD_ENGINE_GL_X11 1
28102 _ACEOF
28103
28104
28105 cat >>confdefs.h <<_ACEOF
28106 #define BUILD_ENGINE_GL_XLIB 1
28107 _ACEOF
28108
28109     if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
28110
28111 cat >>confdefs.h <<_ACEOF
28112 #define EVAS_STATIC_BUILD_GL_X11 1
28113 _ACEOF
28114
28115     fi
28116   fi
28117 else
28118   have_evas_engine_gl_xlib="no"
28119 fi
28120
28121
28122  if test "x${have_evas_engine_gl_xlib}" != "xno"; then
28123   BUILD_ENGINE_GL_XLIB_TRUE=
28124   BUILD_ENGINE_GL_XLIB_FALSE='#'
28125 else
28126   BUILD_ENGINE_GL_XLIB_TRUE='#'
28127   BUILD_ENGINE_GL_XLIB_FALSE=
28128 fi
28129
28130  if test "x${have_evas_engine_gl_xcb}" != "xno"; then
28131   BUILD_ENGINE_GL_XCB_TRUE=
28132   BUILD_ENGINE_GL_XCB_FALSE='#'
28133 else
28134   BUILD_ENGINE_GL_XCB_TRUE='#'
28135   BUILD_ENGINE_GL_XCB_FALSE=
28136 fi
28137
28138  if test "x${have_evas_engine_gl_x11}" != "xno"; then
28139   BUILD_ENGINE_GL_X11_TRUE=
28140   BUILD_ENGINE_GL_X11_FALSE='#'
28141 else
28142   BUILD_ENGINE_GL_X11_TRUE='#'
28143   BUILD_ENGINE_GL_X11_FALSE=
28144 fi
28145
28146
28147  if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28148   EVAS_STATIC_BUILD_GL_X11_TRUE=
28149   EVAS_STATIC_BUILD_GL_X11_FALSE='#'
28150 else
28151   EVAS_STATIC_BUILD_GL_X11_TRUE='#'
28152   EVAS_STATIC_BUILD_GL_X11_FALSE=
28153 fi
28154
28155  if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
28156   EVAS_STATIC_BUILD_GL_XLIB_TRUE=
28157   EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
28158 else
28159   EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
28160   EVAS_STATIC_BUILD_GL_XLIB_FALSE=
28161 fi
28162
28163  if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
28164   EVAS_STATIC_BUILD_GL_XCB_TRUE=
28165   EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
28166 else
28167   EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
28168   EVAS_STATIC_BUILD_GL_XCB_FALSE=
28169 fi
28170
28171
28172
28173
28174 # common gl
28175 have_evas_engine_gl_common="no"
28176 have_static_evas_engine_gl_common="no"
28177 if test "x$have_evas_engine_gl_xlib" = "xyes" \
28178    || test "x$have_evas_engine_gl_xcb" = "xyes" \
28179    || test "x$have_evas_engine_gl_sdl" = "xyes" \
28180    || test "x$have_evas_engine_gl_cocoa" = "xyes" \
28181    || test "x$have_evas_engine_wayland_egl" = "xyes"; then
28182    have_evas_engine_gl_common="yes"
28183 fi
28184 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
28185    || test "x$have_evas_engine_gl_xcb" = "xstatic" \
28186    || test "x$have_evas_engine_gl_sdl" = "xstatic" \
28187    || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
28188    || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
28189    have_evas_engine_gl_common="yes"
28190    have_static_evas_engine_gl_common="yes"
28191 fi
28192
28193 if test "x$have_evas_engine_gl_common" = "xyes"; then
28194    evas_engine_gl_common_libs=""
28195
28196 $as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
28197
28198 fi
28199
28200
28201
28202  if test "x$have_evas_engine_gl_common" = "xyes"; then
28203   BUILD_ENGINE_GL_COMMON_TRUE=
28204   BUILD_ENGINE_GL_COMMON_FALSE='#'
28205 else
28206   BUILD_ENGINE_GL_COMMON_TRUE='#'
28207   BUILD_ENGINE_GL_COMMON_FALSE=
28208 fi
28209
28210
28211  if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28212   EVAS_STATIC_BUILD_GL_COMMON_TRUE=
28213   EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
28214 else
28215   EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
28216   EVAS_STATIC_BUILD_GL_COMMON_FALSE=
28217 fi
28218
28219 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
28220
28221 $as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
28222
28223 fi
28224
28225 # gl_sdl
28226 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
28227    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>
28228 "
28229 if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = xyes; then :
28230
28231 $as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
28232
28233 fi
28234
28235 fi
28236
28237 if test "x$gl_flavor_gles" = "xyes"; then
28238    ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
28239 "
28240 if test "x$ac_cv_have_decl_SDL_OPENGLES" = xyes; then :
28241
28242 $as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
28243
28244 fi
28245
28246 fi
28247
28248 # if software 16 x11 is enabled - build software_16 (the generic 16bit
28249 # engine). later enable it fb_16 or other "16" bit engines are enabled.
28250 have_evas_engine_software_16="no"
28251 if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
28252    have_evas_engine_software_16="yes"
28253 fi
28254 if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
28255    have_evas_engine_software_16="yes"
28256 fi
28257 if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
28258    have_evas_engine_software_16="yes"
28259 fi
28260  if test "x$have_evas_engine_software_16" = "xyes"; then
28261   BUILD_ENGINE_SOFTWARE_16_TRUE=
28262   BUILD_ENGINE_SOFTWARE_16_FALSE='#'
28263 else
28264   BUILD_ENGINE_SOFTWARE_16_TRUE='#'
28265   BUILD_ENGINE_SOFTWARE_16_FALSE=
28266 fi
28267
28268
28269 # if software 16 need to be build as part of libevas.so
28270 have_static_software_16="no"
28271 # Check whether --enable-static-software-16 was given.
28272 if test "${enable_static_software_16+set}" = set; then :
28273   enableval=$enable_static_software_16; have_static_software_16=${enableval}
28274
28275 fi
28276
28277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
28278 $as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
28279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
28280 $as_echo "${have_static_software_16}" >&6; }
28281
28282  if test "x${have_static_software_16}" = "xyes"; then
28283   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
28284   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
28285 else
28286   EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
28287   EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
28288 fi
28289
28290 if test "x${have_static_software_16}" = "xyes"; then
28291
28292 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
28293
28294 fi
28295
28296 # if software 8 x11 is enabled - build software_8 (the generic 8bit
28297 # engine).
28298 have_evas_engine_software_8="no"
28299 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
28300    have_evas_engine_software_8="yes"
28301 fi
28302  if test "x$have_evas_engine_software_8" = "xyes"; then
28303   BUILD_ENGINE_SOFTWARE_8_TRUE=
28304   BUILD_ENGINE_SOFTWARE_8_FALSE='#'
28305 else
28306   BUILD_ENGINE_SOFTWARE_8_TRUE='#'
28307   BUILD_ENGINE_SOFTWARE_8_FALSE=
28308 fi
28309
28310
28311 # if software 8 need to be build as part of libevas.so
28312 have_static_software_8="no"
28313 # Check whether --enable-static-software-8 was given.
28314 if test "${enable_static_software_8+set}" = set; then :
28315   enableval=$enable_static_software_8; have_static_software_8=${enableval}
28316
28317 fi
28318
28319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
28320 $as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
28322 $as_echo "${have_static_software_8}" >&6; }
28323
28324  if test "x${have_static_software_8}" = "xyes"; then
28325   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
28326   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
28327 else
28328   EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
28329   EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
28330 fi
28331
28332 if test "x${have_static_software_8}" = "xyes"; then
28333
28334 $as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
28335
28336 fi
28337
28338 #####################################################################
28339 ## Image loaders
28340
28341
28342
28343
28344
28345
28346 want_loader="${want_evas_image_loader_edb}"
28347 want_static_loader="no"
28348 have_loader="no"
28349 have_evas_image_loader_edb="no"
28350
28351 # Check whether --enable-image-loader-edb was given.
28352 if test "${enable_image_loader_edb+set}" = set; then :
28353   enableval=$enable_image_loader_edb;
28354     if test "x${enableval}" = "xyes" ; then
28355        want_loader="yes"
28356     else
28357        if test "x${enableval}" = "xstatic" ; then
28358           want_loader="static"
28359        else
28360           want_loader="no"
28361        fi
28362     fi
28363
28364
28365 fi
28366
28367
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
28369 $as_echo_n "checking whether to enable Edb image loader... " >&6; }
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28371 $as_echo "${want_loader}" >&6; }
28372
28373 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28374
28375
28376 requirement=""
28377 have_dep="no"
28378 evas_image_loader_edb_cflags=""
28379 evas_image_loader_edb_libs=""
28380
28381
28382 pkg_failed=no
28383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
28384 $as_echo_n "checking for EDB... " >&6; }
28385
28386 if test -n "$EDB_CFLAGS"; then
28387     pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
28388  elif test -n "$PKG_CONFIG"; then
28389     if test -n "$PKG_CONFIG" && \
28390     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28391   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28392   ac_status=$?
28393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28394   test $ac_status = 0; }; then
28395   pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
28396 else
28397   pkg_failed=yes
28398 fi
28399  else
28400     pkg_failed=untried
28401 fi
28402 if test -n "$EDB_LIBS"; then
28403     pkg_cv_EDB_LIBS="$EDB_LIBS"
28404  elif test -n "$PKG_CONFIG"; then
28405     if test -n "$PKG_CONFIG" && \
28406     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
28407   ($PKG_CONFIG --exists --print-errors "edb") 2>&5
28408   ac_status=$?
28409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28410   test $ac_status = 0; }; then
28411   pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
28412 else
28413   pkg_failed=yes
28414 fi
28415  else
28416     pkg_failed=untried
28417 fi
28418
28419
28420
28421 if test $pkg_failed = yes; then
28422         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28423 $as_echo "no" >&6; }
28424
28425 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28426         _pkg_short_errors_supported=yes
28427 else
28428         _pkg_short_errors_supported=no
28429 fi
28430         if test $_pkg_short_errors_supported = yes; then
28431                 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edb" 2>&1`
28432         else
28433                 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "edb" 2>&1`
28434         fi
28435         # Put the nasty error message in config.log where it belongs
28436         echo "$EDB_PKG_ERRORS" >&5
28437
28438         have_dep="no"
28439 elif test $pkg_failed = untried; then
28440         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28441 $as_echo "no" >&6; }
28442         have_dep="no"
28443 else
28444         EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
28445         EDB_LIBS=$pkg_cv_EDB_LIBS
28446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28447 $as_echo "yes" >&6; }
28448         have_dep="yes" requirement="edb"
28449 fi
28450 evas_image_loader_edb_cflags="${EDB_CFLAGS}"
28451 evas_image_loader_edb_libs="${EDB_LIBS}"
28452
28453
28454
28455
28456 if test "x${want_loader}" = "xstatic" ; then
28457    requirement_evas="${requirement} ${requirement_evas}"
28458 fi
28459
28460 if test "x${have_dep}" = "xyes" ; then
28461   have_loader="yes"
28462 else
28463   have_loader="no"
28464 fi
28465
28466
28467 fi
28468
28469 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28470    as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
28471 fi
28472
28473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
28474 $as_echo_n "checking whether Edb image loader will be built... " >&6; }
28475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28476 $as_echo "${have_loader}" >&6; }
28477
28478 if test "x${have_loader}" = "xyes" ; then
28479    if test "x${want_loader}" = "xstatic" ; then
28480       have_evas_image_loader_edb="static"
28481       want_static_loader="yes"
28482    else
28483       have_evas_image_loader_edb="yes"
28484    fi
28485 fi
28486
28487 if test "x${have_loader}" = "xyes" ; then
28488
28489 $as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
28490
28491 fi
28492
28493  if test "x${have_loader}" = "xyes"; then
28494   BUILD_LOADER_EDB_TRUE=
28495   BUILD_LOADER_EDB_FALSE='#'
28496 else
28497   BUILD_LOADER_EDB_TRUE='#'
28498   BUILD_LOADER_EDB_FALSE=
28499 fi
28500
28501
28502 if test "x${want_static_loader}" = "xyes" ; then
28503
28504 $as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
28505
28506    have_static_module="yes"
28507 fi
28508
28509  if test "x${want_static_loader}" = "xyes"; then
28510   EVAS_STATIC_BUILD_EDB_TRUE=
28511   EVAS_STATIC_BUILD_EDB_FALSE='#'
28512 else
28513   EVAS_STATIC_BUILD_EDB_TRUE='#'
28514   EVAS_STATIC_BUILD_EDB_FALSE=
28515 fi
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528 want_loader="${want_evas_image_loader_eet}"
28529 want_static_loader="no"
28530 have_loader="no"
28531 have_evas_image_loader_eet="no"
28532
28533 # Check whether --enable-image-loader-eet was given.
28534 if test "${enable_image_loader_eet+set}" = set; then :
28535   enableval=$enable_image_loader_eet;
28536     if test "x${enableval}" = "xyes" ; then
28537        want_loader="yes"
28538     else
28539        if test "x${enableval}" = "xstatic" ; then
28540           want_loader="static"
28541        else
28542           want_loader="no"
28543        fi
28544     fi
28545
28546
28547 fi
28548
28549
28550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
28551 $as_echo_n "checking whether to enable Eet image loader... " >&6; }
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28553 $as_echo "${want_loader}" >&6; }
28554
28555 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28556
28557
28558 requirement=""
28559 have_dep="no"
28560 evas_image_loader_eet_cflags=""
28561 evas_image_loader_eet_libs=""
28562
28563
28564 pkg_failed=no
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28566 $as_echo_n "checking for EET... " >&6; }
28567
28568 if test -n "$EET_CFLAGS"; then
28569     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28570  elif test -n "$PKG_CONFIG"; then
28571     if test -n "$PKG_CONFIG" && \
28572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28573   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28574   ac_status=$?
28575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28576   test $ac_status = 0; }; then
28577   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28578 else
28579   pkg_failed=yes
28580 fi
28581  else
28582     pkg_failed=untried
28583 fi
28584 if test -n "$EET_LIBS"; then
28585     pkg_cv_EET_LIBS="$EET_LIBS"
28586  elif test -n "$PKG_CONFIG"; then
28587     if test -n "$PKG_CONFIG" && \
28588     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28589   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28590   ac_status=$?
28591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28592   test $ac_status = 0; }; then
28593   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28594 else
28595   pkg_failed=yes
28596 fi
28597  else
28598     pkg_failed=untried
28599 fi
28600
28601
28602
28603 if test $pkg_failed = yes; then
28604         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28605 $as_echo "no" >&6; }
28606
28607 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28608         _pkg_short_errors_supported=yes
28609 else
28610         _pkg_short_errors_supported=no
28611 fi
28612         if test $_pkg_short_errors_supported = yes; then
28613                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
28614         else
28615                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
28616         fi
28617         # Put the nasty error message in config.log where it belongs
28618         echo "$EET_PKG_ERRORS" >&5
28619
28620         have_dep="no"
28621 elif test $pkg_failed = untried; then
28622         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28623 $as_echo "no" >&6; }
28624         have_dep="no"
28625 else
28626         EET_CFLAGS=$pkg_cv_EET_CFLAGS
28627         EET_LIBS=$pkg_cv_EET_LIBS
28628         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28629 $as_echo "yes" >&6; }
28630         have_dep="yes" requirement="eet >= 1.4.0"
28631 fi
28632 evas_image_loader_eet_cflags="${EET_CFLAGS}"
28633 evas_image_loader_eet_libs="${EET_LIBS}"
28634
28635
28636
28637
28638 if test "x${want_loader}" = "xstatic" ; then
28639    requirement_evas="${requirement} ${requirement_evas}"
28640 fi
28641
28642 if test "x${have_dep}" = "xyes" ; then
28643   have_loader="yes"
28644 else
28645   have_loader="no"
28646 fi
28647
28648
28649 fi
28650
28651 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28652    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28653 fi
28654
28655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
28656 $as_echo_n "checking whether Eet image loader will be built... " >&6; }
28657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28658 $as_echo "${have_loader}" >&6; }
28659
28660 if test "x${have_loader}" = "xyes" ; then
28661    if test "x${want_loader}" = "xstatic" ; then
28662       have_evas_image_loader_eet="static"
28663       want_static_loader="yes"
28664    else
28665       have_evas_image_loader_eet="yes"
28666    fi
28667 fi
28668
28669 if test "x${have_loader}" = "xyes" ; then
28670
28671 $as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
28672
28673 fi
28674
28675  if test "x${have_loader}" = "xyes"; then
28676   BUILD_LOADER_EET_TRUE=
28677   BUILD_LOADER_EET_FALSE='#'
28678 else
28679   BUILD_LOADER_EET_TRUE='#'
28680   BUILD_LOADER_EET_FALSE=
28681 fi
28682
28683
28684 if test "x${want_static_loader}" = "xyes" ; then
28685
28686 $as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
28687
28688    have_static_module="yes"
28689 fi
28690
28691  if test "x${want_static_loader}" = "xyes"; then
28692   EVAS_STATIC_BUILD_EET_TRUE=
28693   EVAS_STATIC_BUILD_EET_FALSE='#'
28694 else
28695   EVAS_STATIC_BUILD_EET_TRUE='#'
28696   EVAS_STATIC_BUILD_EET_FALSE=
28697 fi
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707 want_loader="${want_evas_font_loader_eet}"
28708 have_evas_font_loader_eet="no"
28709
28710 # Check whether --enable-font-loader-eet was given.
28711 if test "${enable_font_loader_eet+set}" = set; then :
28712   enableval=$enable_font_loader_eet; want_loader=${enableval}
28713
28714 fi
28715
28716
28717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
28718 $as_echo_n "checking whether to enable Eet font loader... " >&6; }
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28720 $as_echo "${want_loader}" >&6; }
28721
28722 if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
28723
28724 pkg_failed=no
28725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
28726 $as_echo_n "checking for EET... " >&6; }
28727
28728 if test -n "$EET_CFLAGS"; then
28729     pkg_cv_EET_CFLAGS="$EET_CFLAGS"
28730  elif test -n "$PKG_CONFIG"; then
28731     if test -n "$PKG_CONFIG" && \
28732     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28733   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28734   ac_status=$?
28735   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28736   test $ac_status = 0; }; then
28737   pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
28738 else
28739   pkg_failed=yes
28740 fi
28741  else
28742     pkg_failed=untried
28743 fi
28744 if test -n "$EET_LIBS"; then
28745     pkg_cv_EET_LIBS="$EET_LIBS"
28746  elif test -n "$PKG_CONFIG"; then
28747     if test -n "$PKG_CONFIG" && \
28748     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
28749   ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
28750   ac_status=$?
28751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28752   test $ac_status = 0; }; then
28753   pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
28754 else
28755   pkg_failed=yes
28756 fi
28757  else
28758     pkg_failed=untried
28759 fi
28760
28761
28762
28763 if test $pkg_failed = yes; then
28764         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28765 $as_echo "no" >&6; }
28766
28767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28768         _pkg_short_errors_supported=yes
28769 else
28770         _pkg_short_errors_supported=no
28771 fi
28772         if test $_pkg_short_errors_supported = yes; then
28773                 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
28774         else
28775                 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
28776         fi
28777         # Put the nasty error message in config.log where it belongs
28778         echo "$EET_PKG_ERRORS" >&5
28779
28780         have_evas_font_loader_eet="no"
28781 elif test $pkg_failed = untried; then
28782         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28783 $as_echo "no" >&6; }
28784         have_evas_font_loader_eet="no"
28785 else
28786         EET_CFLAGS=$pkg_cv_EET_CFLAGS
28787         EET_LIBS=$pkg_cv_EET_LIBS
28788         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28789 $as_echo "yes" >&6; }
28790         have_evas_font_loader_eet="yes"
28791 fi
28792 fi
28793
28794 if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28795    as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28796 fi
28797
28798 if test "x$have_evas_font_loader_eet" = "xyes" ; then
28799
28800 $as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28801
28802    requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28803 fi
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815 want_loader="${want_evas_image_loader_gif}"
28816 want_static_loader="no"
28817 have_loader="no"
28818 have_evas_image_loader_gif="no"
28819
28820 # Check whether --enable-image-loader-gif was given.
28821 if test "${enable_image_loader_gif+set}" = set; then :
28822   enableval=$enable_image_loader_gif;
28823     if test "x${enableval}" = "xyes" ; then
28824        want_loader="yes"
28825     else
28826        if test "x${enableval}" = "xstatic" ; then
28827           want_loader="static"
28828        else
28829           want_loader="no"
28830        fi
28831     fi
28832
28833
28834 fi
28835
28836
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28838 $as_echo_n "checking whether to enable Gif image loader... " >&6; }
28839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28840 $as_echo "${want_loader}" >&6; }
28841
28842 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28843
28844
28845 have_dep="no"
28846 evas_image_loader_gif_cflags=""
28847 evas_image_loader_gif_libs=""
28848
28849 ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28850 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
28851   have_dep="yes"
28852 fi
28853
28854
28855
28856 if test "x${have_dep}"  = "xyes" ; then
28857    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28858 $as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28859 if ${ac_cv_lib_gif_DGifOpenFileName+:} false; then :
28860   $as_echo_n "(cached) " >&6
28861 else
28862   ac_check_lib_save_LIBS=$LIBS
28863 LIBS="-lgif  $LIBS"
28864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28865 /* end confdefs.h.  */
28866
28867 /* Override any GCC internal prototype to avoid an error.
28868    Use char because int might match the return type of a GCC
28869    builtin and then its argument prototype would still apply.  */
28870 #ifdef __cplusplus
28871 extern "C"
28872 #endif
28873 char DGifOpenFileName ();
28874 int
28875 main ()
28876 {
28877 return DGifOpenFileName ();
28878   ;
28879   return 0;
28880 }
28881 _ACEOF
28882 if ac_fn_c_try_link "$LINENO"; then :
28883   ac_cv_lib_gif_DGifOpenFileName=yes
28884 else
28885   ac_cv_lib_gif_DGifOpenFileName=no
28886 fi
28887 rm -f core conftest.err conftest.$ac_objext \
28888     conftest$ac_exeext conftest.$ac_ext
28889 LIBS=$ac_check_lib_save_LIBS
28890 fi
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
28892 $as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
28893 if test "x$ac_cv_lib_gif_DGifOpenFileName" = xyes; then :
28894
28895        evas_image_loader_gif_libs="-lgif"
28896
28897 else
28898   have_dep="no"
28899
28900 fi
28901
28902
28903    if test "x${have_dep}"  = "xno" ; then
28904       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
28905 $as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
28906 if ${ac_cv_lib_ungif_DGifOpenFileName+:} false; then :
28907   $as_echo_n "(cached) " >&6
28908 else
28909   ac_check_lib_save_LIBS=$LIBS
28910 LIBS="-lungif  $LIBS"
28911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28912 /* end confdefs.h.  */
28913
28914 /* Override any GCC internal prototype to avoid an error.
28915    Use char because int might match the return type of a GCC
28916    builtin and then its argument prototype would still apply.  */
28917 #ifdef __cplusplus
28918 extern "C"
28919 #endif
28920 char DGifOpenFileName ();
28921 int
28922 main ()
28923 {
28924 return DGifOpenFileName ();
28925   ;
28926   return 0;
28927 }
28928 _ACEOF
28929 if ac_fn_c_try_link "$LINENO"; then :
28930   ac_cv_lib_ungif_DGifOpenFileName=yes
28931 else
28932   ac_cv_lib_ungif_DGifOpenFileName=no
28933 fi
28934 rm -f core conftest.err conftest.$ac_objext \
28935     conftest$ac_exeext conftest.$ac_ext
28936 LIBS=$ac_check_lib_save_LIBS
28937 fi
28938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
28939 $as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
28940 if test "x$ac_cv_lib_ungif_DGifOpenFileName" = xyes; then :
28941
28942           have_dep="yes"
28943           evas_image_loader_gif_libs="-lungif"
28944
28945
28946 fi
28947
28948    fi
28949 fi
28950
28951
28952
28953
28954 if test "x${have_dep}" = "xyes" ; then
28955   have_loader="yes"
28956 else
28957   have_loader="no"
28958 fi
28959
28960
28961 fi
28962
28963 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28964    as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
28965 fi
28966
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
28968 $as_echo_n "checking whether Gif image loader will be built... " >&6; }
28969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28970 $as_echo "${have_loader}" >&6; }
28971
28972 if test "x${have_loader}" = "xyes" ; then
28973    if test "x${want_loader}" = "xstatic" ; then
28974       have_evas_image_loader_gif="static"
28975       want_static_loader="yes"
28976    else
28977       have_evas_image_loader_gif="yes"
28978    fi
28979 fi
28980
28981 if test "x${have_loader}" = "xyes" ; then
28982
28983 $as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
28984
28985 fi
28986
28987  if test "x${have_loader}" = "xyes"; then
28988   BUILD_LOADER_GIF_TRUE=
28989   BUILD_LOADER_GIF_FALSE='#'
28990 else
28991   BUILD_LOADER_GIF_TRUE='#'
28992   BUILD_LOADER_GIF_FALSE=
28993 fi
28994
28995
28996 if test "x${want_static_loader}" = "xyes" ; then
28997
28998 $as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
28999
29000    have_static_module="yes"
29001 fi
29002
29003  if test "x${want_static_loader}" = "xyes"; then
29004   EVAS_STATIC_BUILD_GIF_TRUE=
29005   EVAS_STATIC_BUILD_GIF_FALSE='#'
29006 else
29007   EVAS_STATIC_BUILD_GIF_TRUE='#'
29008   EVAS_STATIC_BUILD_GIF_FALSE=
29009 fi
29010
29011
29012
29013
29014
29015
29016
29017 have_evas_image_saver_jpeg="no"
29018
29019
29020
29021
29022
29023 want_loader="${want_evas_image_loader_jpeg}"
29024 want_static_loader="no"
29025 have_loader="no"
29026 have_evas_image_loader_jpeg="no"
29027
29028 # Check whether --enable-image-loader-jpeg was given.
29029 if test "${enable_image_loader_jpeg+set}" = set; then :
29030   enableval=$enable_image_loader_jpeg;
29031     if test "x${enableval}" = "xyes" ; then
29032        want_loader="yes"
29033     else
29034        if test "x${enableval}" = "xstatic" ; then
29035           want_loader="static"
29036        else
29037           want_loader="no"
29038        fi
29039     fi
29040
29041
29042 fi
29043
29044
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
29046 $as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
29047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29048 $as_echo "${want_loader}" >&6; }
29049
29050 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29051
29052
29053 have_dep="no"
29054 evas_image_loader_jpeg_cflags=""
29055 evas_image_loader_jpeg_libs=""
29056
29057 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
29058 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
29059   have_dep="yes"
29060 fi
29061
29062
29063
29064 if test "x${have_dep}"  = "xyes" ; then
29065    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
29066 $as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
29067 if ${ac_cv_lib_jpeg_jpeg_CreateDecompress+:} false; then :
29068   $as_echo_n "(cached) " >&6
29069 else
29070   ac_check_lib_save_LIBS=$LIBS
29071 LIBS="-ljpeg  $LIBS"
29072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29073 /* end confdefs.h.  */
29074
29075 /* Override any GCC internal prototype to avoid an error.
29076    Use char because int might match the return type of a GCC
29077    builtin and then its argument prototype would still apply.  */
29078 #ifdef __cplusplus
29079 extern "C"
29080 #endif
29081 char jpeg_CreateDecompress ();
29082 int
29083 main ()
29084 {
29085 return jpeg_CreateDecompress ();
29086   ;
29087   return 0;
29088 }
29089 _ACEOF
29090 if ac_fn_c_try_link "$LINENO"; then :
29091   ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
29092 else
29093   ac_cv_lib_jpeg_jpeg_CreateDecompress=no
29094 fi
29095 rm -f core conftest.err conftest.$ac_objext \
29096     conftest$ac_exeext conftest.$ac_ext
29097 LIBS=$ac_check_lib_save_LIBS
29098 fi
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
29100 $as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
29101 if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = xyes; then :
29102
29103        evas_image_loader_jpeg_libs="-ljpeg"
29104        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29105 /* end confdefs.h.  */
29106
29107 #include <stdio.h>
29108 #include <jpeglib.h>
29109 #include <setjmp.h>
29110
29111 int
29112 main ()
29113 {
29114
29115 struct jpeg_decompress_struct decomp;
29116 decomp.region_x = 0;
29117
29118   ;
29119   return 0;
29120 }
29121 _ACEOF
29122 if ac_fn_c_try_compile "$LINENO"; then :
29123   have_jpeg_region="yes"
29124 else
29125   have_jpeg_region="no"
29126 fi
29127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29128
29129 else
29130   have_dep="no"
29131
29132 fi
29133
29134    if test "x${have_jpeg_region}" = "xyes" ; then
29135
29136 $as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
29137
29138    fi
29139 fi
29140
29141
29142
29143
29144 if test "x${have_dep}" = "xyes" ; then
29145   have_loader="yes"
29146 else
29147   have_loader="no"
29148 fi
29149
29150
29151 fi
29152
29153 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29154    as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
29155 fi
29156
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
29158 $as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29160 $as_echo "${have_loader}" >&6; }
29161
29162 if test "x${have_loader}" = "xyes" ; then
29163    if test "x${want_loader}" = "xstatic" ; then
29164       have_evas_image_loader_jpeg="static"
29165       want_static_loader="yes"
29166    else
29167       have_evas_image_loader_jpeg="yes"
29168    fi
29169 fi
29170
29171 if test "x${have_loader}" = "xyes" ; then
29172
29173 $as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
29174
29175 fi
29176
29177  if test "x${have_loader}" = "xyes"; then
29178   BUILD_LOADER_JPEG_TRUE=
29179   BUILD_LOADER_JPEG_FALSE='#'
29180 else
29181   BUILD_LOADER_JPEG_TRUE='#'
29182   BUILD_LOADER_JPEG_FALSE=
29183 fi
29184
29185
29186 if test "x${want_static_loader}" = "xyes" ; then
29187
29188 $as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
29189
29190    have_static_module="yes"
29191 fi
29192
29193  if test "x${want_static_loader}" = "xyes"; then
29194   EVAS_STATIC_BUILD_JPEG_TRUE=
29195   EVAS_STATIC_BUILD_JPEG_FALSE='#'
29196 else
29197   EVAS_STATIC_BUILD_JPEG_TRUE='#'
29198   EVAS_STATIC_BUILD_JPEG_FALSE=
29199 fi
29200
29201
29202
29203
29204
29205
29206
29207 case "$host_os" in
29208    mingw*)
29209       ;;
29210    *)
29211       if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
29212
29213 $as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
29214
29215          have_evas_image_saver_jpeg="yes"
29216       fi
29217       ;;
29218 esac
29219  if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
29220   BUILD_SAVER_JPEG_TRUE=
29221   BUILD_SAVER_JPEG_FALSE='#'
29222 else
29223   BUILD_SAVER_JPEG_TRUE='#'
29224   BUILD_SAVER_JPEG_FALSE=
29225 fi
29226
29227
29228
29229
29230
29231
29232
29233 want_loader="${want_evas_image_loader_pmaps}"
29234 want_static_loader="no"
29235 have_loader="no"
29236 have_evas_image_loader_pmaps="no"
29237
29238 # Check whether --enable-image-loader-pmaps was given.
29239 if test "${enable_image_loader_pmaps+set}" = set; then :
29240   enableval=$enable_image_loader_pmaps;
29241     if test "x${enableval}" = "xyes" ; then
29242        want_loader="yes"
29243     else
29244        if test "x${enableval}" = "xstatic" ; then
29245           want_loader="static"
29246        else
29247           want_loader="no"
29248        fi
29249     fi
29250
29251
29252 fi
29253
29254
29255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
29256 $as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29258 $as_echo "${want_loader}" >&6; }
29259
29260 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29261
29262
29263 have_dep="yes"
29264 evas_image_loader_pmaps_cflags=""
29265 evas_image_loader_pmaps_libs=""
29266
29267
29268
29269
29270 if test "x${have_dep}" = "xyes" ; then
29271   have_loader="yes"
29272 else
29273   have_loader="no"
29274 fi
29275
29276
29277 fi
29278
29279 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29280    as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
29281 fi
29282
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
29284 $as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29286 $as_echo "${have_loader}" >&6; }
29287
29288 if test "x${have_loader}" = "xyes" ; then
29289    if test "x${want_loader}" = "xstatic" ; then
29290       have_evas_image_loader_pmaps="static"
29291       want_static_loader="yes"
29292    else
29293       have_evas_image_loader_pmaps="yes"
29294    fi
29295 fi
29296
29297 if test "x${have_loader}" = "xyes" ; then
29298
29299 $as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
29300
29301 fi
29302
29303  if test "x${have_loader}" = "xyes"; then
29304   BUILD_LOADER_PMAPS_TRUE=
29305   BUILD_LOADER_PMAPS_FALSE='#'
29306 else
29307   BUILD_LOADER_PMAPS_TRUE='#'
29308   BUILD_LOADER_PMAPS_FALSE=
29309 fi
29310
29311
29312 if test "x${want_static_loader}" = "xyes" ; then
29313
29314 $as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
29315
29316    have_static_module="yes"
29317 fi
29318
29319  if test "x${want_static_loader}" = "xyes"; then
29320   EVAS_STATIC_BUILD_PMAPS_TRUE=
29321   EVAS_STATIC_BUILD_PMAPS_FALSE='#'
29322 else
29323   EVAS_STATIC_BUILD_PMAPS_TRUE='#'
29324   EVAS_STATIC_BUILD_PMAPS_FALSE=
29325 fi
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338 want_loader="${want_evas_image_loader_png}"
29339 want_static_loader="no"
29340 have_loader="no"
29341 have_evas_image_loader_png="no"
29342
29343 # Check whether --enable-image-loader-png was given.
29344 if test "${enable_image_loader_png+set}" = set; then :
29345   enableval=$enable_image_loader_png;
29346     if test "x${enableval}" = "xyes" ; then
29347        want_loader="yes"
29348     else
29349        if test "x${enableval}" = "xstatic" ; then
29350           want_loader="static"
29351        else
29352           want_loader="no"
29353        fi
29354     fi
29355
29356
29357 fi
29358
29359
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
29361 $as_echo_n "checking whether to enable PNG image loader... " >&6; }
29362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29363 $as_echo "${want_loader}" >&6; }
29364
29365 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29366
29367
29368 requirement=""
29369 have_dep="no"
29370 evas_image_loader_png_cflags=""
29371 evas_image_loader_png_libs=""
29372
29373
29374 pkg_failed=no
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29376 $as_echo_n "checking for PNG... " >&6; }
29377
29378 if test -n "$PNG_CFLAGS"; then
29379     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29380  elif test -n "$PKG_CONFIG"; then
29381     if test -n "$PKG_CONFIG" && \
29382     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29383   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29384   ac_status=$?
29385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29386   test $ac_status = 0; }; then
29387   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
29388 else
29389   pkg_failed=yes
29390 fi
29391  else
29392     pkg_failed=untried
29393 fi
29394 if test -n "$PNG_LIBS"; then
29395     pkg_cv_PNG_LIBS="$PNG_LIBS"
29396  elif test -n "$PKG_CONFIG"; then
29397     if test -n "$PKG_CONFIG" && \
29398     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
29399   ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
29400   ac_status=$?
29401   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29402   test $ac_status = 0; }; then
29403   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
29404 else
29405   pkg_failed=yes
29406 fi
29407  else
29408     pkg_failed=untried
29409 fi
29410
29411
29412
29413 if test $pkg_failed = yes; then
29414         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29415 $as_echo "no" >&6; }
29416
29417 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29418         _pkg_short_errors_supported=yes
29419 else
29420         _pkg_short_errors_supported=no
29421 fi
29422         if test $_pkg_short_errors_supported = yes; then
29423                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng >= 1.2.10" 2>&1`
29424         else
29425                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng >= 1.2.10" 2>&1`
29426         fi
29427         # Put the nasty error message in config.log where it belongs
29428         echo "$PNG_PKG_ERRORS" >&5
29429
29430         have_dep="no"
29431 elif test $pkg_failed = untried; then
29432         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29433 $as_echo "no" >&6; }
29434         have_dep="no"
29435 else
29436         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29437         PNG_LIBS=$pkg_cv_PNG_LIBS
29438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29439 $as_echo "yes" >&6; }
29440         have_dep="yes" requirement="libpng"
29441 fi
29442
29443 if test "x${have_dep}" = "xno" ; then
29444
29445 pkg_failed=no
29446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29447 $as_echo_n "checking for PNG... " >&6; }
29448
29449 if test -n "$PNG_CFLAGS"; then
29450     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29451  elif test -n "$PKG_CONFIG"; then
29452     if test -n "$PKG_CONFIG" && \
29453     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29454   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29455   ac_status=$?
29456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29457   test $ac_status = 0; }; then
29458   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
29459 else
29460   pkg_failed=yes
29461 fi
29462  else
29463     pkg_failed=untried
29464 fi
29465 if test -n "$PNG_LIBS"; then
29466     pkg_cv_PNG_LIBS="$PNG_LIBS"
29467  elif test -n "$PKG_CONFIG"; then
29468     if test -n "$PKG_CONFIG" && \
29469     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
29470   ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
29471   ac_status=$?
29472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29473   test $ac_status = 0; }; then
29474   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
29475 else
29476   pkg_failed=yes
29477 fi
29478  else
29479     pkg_failed=untried
29480 fi
29481
29482
29483
29484 if test $pkg_failed = yes; then
29485         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29486 $as_echo "no" >&6; }
29487
29488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29489         _pkg_short_errors_supported=yes
29490 else
29491         _pkg_short_errors_supported=no
29492 fi
29493         if test $_pkg_short_errors_supported = yes; then
29494                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng15" 2>&1`
29495         else
29496                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng15" 2>&1`
29497         fi
29498         # Put the nasty error message in config.log where it belongs
29499         echo "$PNG_PKG_ERRORS" >&5
29500
29501         have_dep="no"
29502 elif test $pkg_failed = untried; then
29503         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29504 $as_echo "no" >&6; }
29505         have_dep="no"
29506 else
29507         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29508         PNG_LIBS=$pkg_cv_PNG_LIBS
29509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29510 $as_echo "yes" >&6; }
29511         have_dep="yes" requirement="libpng15"
29512 fi
29513 fi
29514
29515 if test "x${have_dep}" = "xno" ; then
29516
29517 pkg_failed=no
29518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29519 $as_echo_n "checking for PNG... " >&6; }
29520
29521 if test -n "$PNG_CFLAGS"; then
29522     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29523  elif test -n "$PKG_CONFIG"; then
29524     if test -n "$PKG_CONFIG" && \
29525     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29526   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29527   ac_status=$?
29528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29529   test $ac_status = 0; }; then
29530   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
29531 else
29532   pkg_failed=yes
29533 fi
29534  else
29535     pkg_failed=untried
29536 fi
29537 if test -n "$PNG_LIBS"; then
29538     pkg_cv_PNG_LIBS="$PNG_LIBS"
29539  elif test -n "$PKG_CONFIG"; then
29540     if test -n "$PKG_CONFIG" && \
29541     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
29542   ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
29543   ac_status=$?
29544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29545   test $ac_status = 0; }; then
29546   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
29547 else
29548   pkg_failed=yes
29549 fi
29550  else
29551     pkg_failed=untried
29552 fi
29553
29554
29555
29556 if test $pkg_failed = yes; then
29557         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29558 $as_echo "no" >&6; }
29559
29560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29561         _pkg_short_errors_supported=yes
29562 else
29563         _pkg_short_errors_supported=no
29564 fi
29565         if test $_pkg_short_errors_supported = yes; then
29566                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng14" 2>&1`
29567         else
29568                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng14" 2>&1`
29569         fi
29570         # Put the nasty error message in config.log where it belongs
29571         echo "$PNG_PKG_ERRORS" >&5
29572
29573         have_dep="no"
29574 elif test $pkg_failed = untried; then
29575         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29576 $as_echo "no" >&6; }
29577         have_dep="no"
29578 else
29579         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29580         PNG_LIBS=$pkg_cv_PNG_LIBS
29581         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29582 $as_echo "yes" >&6; }
29583         have_dep="yes" requirement="libpng14"
29584 fi
29585 fi
29586
29587 if test "x${have_dep}" = "xno" ; then
29588
29589 pkg_failed=no
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
29591 $as_echo_n "checking for PNG... " >&6; }
29592
29593 if test -n "$PNG_CFLAGS"; then
29594     pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
29595  elif test -n "$PKG_CONFIG"; then
29596     if test -n "$PKG_CONFIG" && \
29597     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29598   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29599   ac_status=$?
29600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29601   test $ac_status = 0; }; then
29602   pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
29603 else
29604   pkg_failed=yes
29605 fi
29606  else
29607     pkg_failed=untried
29608 fi
29609 if test -n "$PNG_LIBS"; then
29610     pkg_cv_PNG_LIBS="$PNG_LIBS"
29611  elif test -n "$PKG_CONFIG"; then
29612     if test -n "$PKG_CONFIG" && \
29613     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
29614   ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
29615   ac_status=$?
29616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29617   test $ac_status = 0; }; then
29618   pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
29619 else
29620   pkg_failed=yes
29621 fi
29622  else
29623     pkg_failed=untried
29624 fi
29625
29626
29627
29628 if test $pkg_failed = yes; then
29629         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29630 $as_echo "no" >&6; }
29631
29632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29633         _pkg_short_errors_supported=yes
29634 else
29635         _pkg_short_errors_supported=no
29636 fi
29637         if test $_pkg_short_errors_supported = yes; then
29638                 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng12 >= 1.2.10" 2>&1`
29639         else
29640                 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng12 >= 1.2.10" 2>&1`
29641         fi
29642         # Put the nasty error message in config.log where it belongs
29643         echo "$PNG_PKG_ERRORS" >&5
29644
29645         have_dep="no"
29646 elif test $pkg_failed = untried; then
29647         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29648 $as_echo "no" >&6; }
29649         have_dep="no"
29650 else
29651         PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
29652         PNG_LIBS=$pkg_cv_PNG_LIBS
29653         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29654 $as_echo "yes" >&6; }
29655         have_dep="yes" requirement="libpng12"
29656 fi
29657 fi
29658
29659 evas_image_loader_png_cflags="${PNG_CFLAGS}"
29660 evas_image_loader_png_libs="${PNG_LIBS}"
29661
29662
29663
29664
29665 if test "x${want_loader}" = "xstatic" ; then
29666    requirement_evas="${requirement} ${requirement_evas}"
29667 fi
29668
29669 if test "x${have_dep}" = "xyes" ; then
29670   have_loader="yes"
29671 else
29672   have_loader="no"
29673 fi
29674
29675
29676 fi
29677
29678 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29679    as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
29680 fi
29681
29682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
29683 $as_echo_n "checking whether PNG image loader will be built... " >&6; }
29684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29685 $as_echo "${have_loader}" >&6; }
29686
29687 if test "x${have_loader}" = "xyes" ; then
29688    if test "x${want_loader}" = "xstatic" ; then
29689       have_evas_image_loader_png="static"
29690       want_static_loader="yes"
29691    else
29692       have_evas_image_loader_png="yes"
29693    fi
29694 fi
29695
29696 if test "x${have_loader}" = "xyes" ; then
29697
29698 $as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
29699
29700 fi
29701
29702  if test "x${have_loader}" = "xyes"; then
29703   BUILD_LOADER_PNG_TRUE=
29704   BUILD_LOADER_PNG_FALSE='#'
29705 else
29706   BUILD_LOADER_PNG_TRUE='#'
29707   BUILD_LOADER_PNG_FALSE=
29708 fi
29709
29710
29711 if test "x${want_static_loader}" = "xyes" ; then
29712
29713 $as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
29714
29715    have_static_module="yes"
29716 fi
29717
29718  if test "x${want_static_loader}" = "xyes"; then
29719   EVAS_STATIC_BUILD_PNG_TRUE=
29720   EVAS_STATIC_BUILD_PNG_FALSE='#'
29721 else
29722   EVAS_STATIC_BUILD_PNG_TRUE='#'
29723   EVAS_STATIC_BUILD_PNG_FALSE=
29724 fi
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737 want_loader="${want_evas_image_loader_svg}"
29738 want_static_loader="no"
29739 have_loader="no"
29740 have_evas_image_loader_svg="no"
29741
29742 # Check whether --enable-image-loader-svg was given.
29743 if test "${enable_image_loader_svg+set}" = set; then :
29744   enableval=$enable_image_loader_svg;
29745     if test "x${enableval}" = "xyes" ; then
29746        want_loader="yes"
29747     else
29748        if test "x${enableval}" = "xstatic" ; then
29749           want_loader="static"
29750        else
29751           want_loader="no"
29752        fi
29753     fi
29754
29755
29756 fi
29757
29758
29759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29760 $as_echo_n "checking whether to enable SVG image loader... " >&6; }
29761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29762 $as_echo "${want_loader}" >&6; }
29763
29764 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29765
29766
29767 requirement=""
29768 have_esvg="no"
29769 evas_image_loader_svg_cflags=""
29770 evas_image_loader_svg_libs=""
29771
29772
29773 pkg_failed=no
29774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29775 $as_echo_n "checking for SVG... " >&6; }
29776
29777 if test -n "$SVG_CFLAGS"; then
29778     pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29779  elif test -n "$PKG_CONFIG"; then
29780     if test -n "$PKG_CONFIG" && \
29781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29782   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29783   ac_status=$?
29784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29785   test $ac_status = 0; }; then
29786   pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "esvg >= 0.0.16" 2>/dev/null`
29787 else
29788   pkg_failed=yes
29789 fi
29790  else
29791     pkg_failed=untried
29792 fi
29793 if test -n "$SVG_LIBS"; then
29794     pkg_cv_SVG_LIBS="$SVG_LIBS"
29795  elif test -n "$PKG_CONFIG"; then
29796     if test -n "$PKG_CONFIG" && \
29797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"esvg >= 0.0.16\""; } >&5
29798   ($PKG_CONFIG --exists --print-errors "esvg >= 0.0.16") 2>&5
29799   ac_status=$?
29800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29801   test $ac_status = 0; }; then
29802   pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "esvg >= 0.0.16" 2>/dev/null`
29803 else
29804   pkg_failed=yes
29805 fi
29806  else
29807     pkg_failed=untried
29808 fi
29809
29810
29811
29812 if test $pkg_failed = yes; then
29813         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29814 $as_echo "no" >&6; }
29815
29816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29817         _pkg_short_errors_supported=yes
29818 else
29819         _pkg_short_errors_supported=no
29820 fi
29821         if test $_pkg_short_errors_supported = yes; then
29822                 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esvg >= 0.0.16" 2>&1`
29823         else
29824                 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "esvg >= 0.0.16" 2>&1`
29825         fi
29826         # Put the nasty error message in config.log where it belongs
29827         echo "$SVG_PKG_ERRORS" >&5
29828
29829         have_dep="no"
29830 elif test $pkg_failed = untried; then
29831         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29832 $as_echo "no" >&6; }
29833         have_dep="no"
29834 else
29835         SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29836         SVG_LIBS=$pkg_cv_SVG_LIBS
29837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29838 $as_echo "yes" >&6; }
29839         have_dep="yes" have_esvg="yes" requirement="esvg"
29840 fi
29841
29842 if test "x${have_dep}" = "xyes" ; then
29843    evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29844    evas_image_loader_svg_libs="${SVG_LIBS}"
29845 fi
29846
29847
29848
29849
29850 if test "x${want_loader}" = "xstatic" ; then
29851    requirement_evas="${requirement} ${requirement_evas}"
29852 fi
29853
29854 if test "x${have_dep}" = "xyes" ; then
29855   have_loader="yes"
29856 else
29857   have_loader="no"
29858 fi
29859
29860
29861 fi
29862
29863 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29864    as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29865 fi
29866
29867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29868 $as_echo_n "checking whether SVG image loader will be built... " >&6; }
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29870 $as_echo "${have_loader}" >&6; }
29871
29872 if test "x${have_loader}" = "xyes" ; then
29873    if test "x${want_loader}" = "xstatic" ; then
29874       have_evas_image_loader_svg="static"
29875       want_static_loader="yes"
29876    else
29877       have_evas_image_loader_svg="yes"
29878    fi
29879 fi
29880
29881 if test "x${have_loader}" = "xyes" ; then
29882
29883 $as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
29884
29885 fi
29886
29887  if test "x${have_loader}" = "xyes"; then
29888   BUILD_LOADER_SVG_TRUE=
29889   BUILD_LOADER_SVG_FALSE='#'
29890 else
29891   BUILD_LOADER_SVG_TRUE='#'
29892   BUILD_LOADER_SVG_FALSE=
29893 fi
29894
29895
29896 if test "x${want_static_loader}" = "xyes" ; then
29897
29898 $as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
29899
29900    have_static_module="yes"
29901 fi
29902
29903  if test "x${want_static_loader}" = "xyes"; then
29904   EVAS_STATIC_BUILD_SVG_TRUE=
29905   EVAS_STATIC_BUILD_SVG_FALSE='#'
29906 else
29907   EVAS_STATIC_BUILD_SVG_TRUE='#'
29908   EVAS_STATIC_BUILD_SVG_FALSE=
29909 fi
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922 want_loader="${want_evas_image_loader_tiff}"
29923 want_static_loader="no"
29924 have_loader="no"
29925 have_evas_image_loader_tiff="no"
29926
29927 # Check whether --enable-image-loader-tiff was given.
29928 if test "${enable_image_loader_tiff+set}" = set; then :
29929   enableval=$enable_image_loader_tiff;
29930     if test "x${enableval}" = "xyes" ; then
29931        want_loader="yes"
29932     else
29933        if test "x${enableval}" = "xstatic" ; then
29934           want_loader="static"
29935        else
29936           want_loader="no"
29937        fi
29938     fi
29939
29940
29941 fi
29942
29943
29944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
29945 $as_echo_n "checking whether to enable Tiff image loader... " >&6; }
29946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29947 $as_echo "${want_loader}" >&6; }
29948
29949 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29950
29951
29952 have_dep="no"
29953 evas_image_loader_tiff_cflags=""
29954 evas_image_loader_tiff_libs=""
29955
29956 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
29957 if test "x$ac_cv_header_tiffio_h" = xyes; then :
29958   have_dep="yes"
29959 fi
29960
29961
29962
29963 if test "x${have_dep}"  = "xyes" ; then
29964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
29965 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
29966 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
29967   $as_echo_n "(cached) " >&6
29968 else
29969   ac_check_lib_save_LIBS=$LIBS
29970 LIBS="-ltiff  $LIBS"
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h.  */
29973
29974 /* Override any GCC internal prototype to avoid an error.
29975    Use char because int might match the return type of a GCC
29976    builtin and then its argument prototype would still apply.  */
29977 #ifdef __cplusplus
29978 extern "C"
29979 #endif
29980 char TIFFReadScanline ();
29981 int
29982 main ()
29983 {
29984 return TIFFReadScanline ();
29985   ;
29986   return 0;
29987 }
29988 _ACEOF
29989 if ac_fn_c_try_link "$LINENO"; then :
29990   ac_cv_lib_tiff_TIFFReadScanline=yes
29991 else
29992   ac_cv_lib_tiff_TIFFReadScanline=no
29993 fi
29994 rm -f core conftest.err conftest.$ac_objext \
29995     conftest$ac_exeext conftest.$ac_ext
29996 LIBS=$ac_check_lib_save_LIBS
29997 fi
29998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
29999 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30000 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30001
30002        evas_image_loader_tiff_libs="-ltiff"
30003
30004 else
30005   have_dep="no"
30006
30007 fi
30008
30009
30010    if test "x${have_dep}"  = "xno" ; then
30011       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
30012 $as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
30013 if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
30014   $as_echo_n "(cached) " >&6
30015 else
30016   ac_check_lib_save_LIBS=$LIBS
30017 LIBS="-ltiff  $LIBS"
30018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30019 /* end confdefs.h.  */
30020
30021 /* Override any GCC internal prototype to avoid an error.
30022    Use char because int might match the return type of a GCC
30023    builtin and then its argument prototype would still apply.  */
30024 #ifdef __cplusplus
30025 extern "C"
30026 #endif
30027 char TIFFReadScanline ();
30028 int
30029 main ()
30030 {
30031 return TIFFReadScanline ();
30032   ;
30033   return 0;
30034 }
30035 _ACEOF
30036 if ac_fn_c_try_link "$LINENO"; then :
30037   ac_cv_lib_tiff_TIFFReadScanline=yes
30038 else
30039   ac_cv_lib_tiff_TIFFReadScanline=no
30040 fi
30041 rm -f core conftest.err conftest.$ac_objext \
30042     conftest$ac_exeext conftest.$ac_ext
30043 LIBS=$ac_check_lib_save_LIBS
30044 fi
30045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
30046 $as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
30047 if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
30048
30049           have_dep="yes"
30050           evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
30051
30052
30053 fi
30054
30055    fi
30056
30057    if test "x${have_dep}"  = "xno" ; then
30058       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
30059 $as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
30060 if ${ac_cv_lib_tiff34_TIFFReadScanline+:} false; then :
30061   $as_echo_n "(cached) " >&6
30062 else
30063   ac_check_lib_save_LIBS=$LIBS
30064 LIBS="-ltiff34  $LIBS"
30065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h.  */
30067
30068 /* Override any GCC internal prototype to avoid an error.
30069    Use char because int might match the return type of a GCC
30070    builtin and then its argument prototype would still apply.  */
30071 #ifdef __cplusplus
30072 extern "C"
30073 #endif
30074 char TIFFReadScanline ();
30075 int
30076 main ()
30077 {
30078 return TIFFReadScanline ();
30079   ;
30080   return 0;
30081 }
30082 _ACEOF
30083 if ac_fn_c_try_link "$LINENO"; then :
30084   ac_cv_lib_tiff34_TIFFReadScanline=yes
30085 else
30086   ac_cv_lib_tiff34_TIFFReadScanline=no
30087 fi
30088 rm -f core conftest.err conftest.$ac_objext \
30089     conftest$ac_exeext conftest.$ac_ext
30090 LIBS=$ac_check_lib_save_LIBS
30091 fi
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
30093 $as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
30094 if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = xyes; then :
30095
30096           have_dep="yes"
30097           evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
30098
30099
30100 fi
30101
30102    fi
30103 fi
30104
30105
30106
30107
30108 if test "x${have_dep}" = "xyes" ; then
30109   have_loader="yes"
30110 else
30111   have_loader="no"
30112 fi
30113
30114
30115 fi
30116
30117 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30118    as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
30119 fi
30120
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
30122 $as_echo_n "checking whether Tiff image loader will be built... " >&6; }
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30124 $as_echo "${have_loader}" >&6; }
30125
30126 if test "x${have_loader}" = "xyes" ; then
30127    if test "x${want_loader}" = "xstatic" ; then
30128       have_evas_image_loader_tiff="static"
30129       want_static_loader="yes"
30130    else
30131       have_evas_image_loader_tiff="yes"
30132    fi
30133 fi
30134
30135 if test "x${have_loader}" = "xyes" ; then
30136
30137 $as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
30138
30139 fi
30140
30141  if test "x${have_loader}" = "xyes"; then
30142   BUILD_LOADER_TIFF_TRUE=
30143   BUILD_LOADER_TIFF_FALSE='#'
30144 else
30145   BUILD_LOADER_TIFF_TRUE='#'
30146   BUILD_LOADER_TIFF_FALSE=
30147 fi
30148
30149
30150 if test "x${want_static_loader}" = "xyes" ; then
30151
30152 $as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
30153
30154    have_static_module="yes"
30155 fi
30156
30157  if test "x${want_static_loader}" = "xyes"; then
30158   EVAS_STATIC_BUILD_TIFF_TRUE=
30159   EVAS_STATIC_BUILD_TIFF_FALSE='#'
30160 else
30161   EVAS_STATIC_BUILD_TIFF_TRUE='#'
30162   EVAS_STATIC_BUILD_TIFF_FALSE=
30163 fi
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176 want_loader="${want_evas_image_loader_xpm}"
30177 want_static_loader="no"
30178 have_loader="no"
30179 have_evas_image_loader_xpm="no"
30180
30181 # Check whether --enable-image-loader-xpm was given.
30182 if test "${enable_image_loader_xpm+set}" = set; then :
30183   enableval=$enable_image_loader_xpm;
30184     if test "x${enableval}" = "xyes" ; then
30185        want_loader="yes"
30186     else
30187        if test "x${enableval}" = "xstatic" ; then
30188           want_loader="static"
30189        else
30190           want_loader="no"
30191        fi
30192     fi
30193
30194
30195 fi
30196
30197
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
30199 $as_echo_n "checking whether to enable XPM image loader... " >&6; }
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30201 $as_echo "${want_loader}" >&6; }
30202
30203 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30204
30205
30206 have_dep="yes"
30207 evas_image_loader_xpm_cflags=""
30208 evas_image_loader_xpm_libs=""
30209
30210
30211
30212
30213 if test "x${have_dep}" = "xyes" ; then
30214   have_loader="yes"
30215 else
30216   have_loader="no"
30217 fi
30218
30219
30220 fi
30221
30222 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30223    as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
30224 fi
30225
30226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
30227 $as_echo_n "checking whether XPM image loader will be built... " >&6; }
30228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30229 $as_echo "${have_loader}" >&6; }
30230
30231 if test "x${have_loader}" = "xyes" ; then
30232    if test "x${want_loader}" = "xstatic" ; then
30233       have_evas_image_loader_xpm="static"
30234       want_static_loader="yes"
30235    else
30236       have_evas_image_loader_xpm="yes"
30237    fi
30238 fi
30239
30240 if test "x${have_loader}" = "xyes" ; then
30241
30242 $as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
30243
30244 fi
30245
30246  if test "x${have_loader}" = "xyes"; then
30247   BUILD_LOADER_XPM_TRUE=
30248   BUILD_LOADER_XPM_FALSE='#'
30249 else
30250   BUILD_LOADER_XPM_TRUE='#'
30251   BUILD_LOADER_XPM_FALSE=
30252 fi
30253
30254
30255 if test "x${want_static_loader}" = "xyes" ; then
30256
30257 $as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
30258
30259    have_static_module="yes"
30260 fi
30261
30262  if test "x${want_static_loader}" = "xyes"; then
30263   EVAS_STATIC_BUILD_XPM_TRUE=
30264   EVAS_STATIC_BUILD_XPM_FALSE='#'
30265 else
30266   EVAS_STATIC_BUILD_XPM_TRUE='#'
30267   EVAS_STATIC_BUILD_XPM_FALSE=
30268 fi
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281 want_loader="${want_evas_image_loader_bmp}"
30282 want_static_loader="no"
30283 have_loader="no"
30284 have_evas_image_loader_bmp="no"
30285
30286 # Check whether --enable-image-loader-bmp was given.
30287 if test "${enable_image_loader_bmp+set}" = set; then :
30288   enableval=$enable_image_loader_bmp;
30289     if test "x${enableval}" = "xyes" ; then
30290        want_loader="yes"
30291     else
30292        if test "x${enableval}" = "xstatic" ; then
30293           want_loader="static"
30294        else
30295           want_loader="no"
30296        fi
30297     fi
30298
30299
30300 fi
30301
30302
30303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
30304 $as_echo_n "checking whether to enable BMP image loader... " >&6; }
30305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30306 $as_echo "${want_loader}" >&6; }
30307
30308 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30309
30310
30311 have_dep="yes"
30312 evas_image_loader_bmp_cflags=""
30313 evas_image_loader_bmp_libs=""
30314
30315
30316
30317
30318 if test "x${have_dep}" = "xyes" ; then
30319   have_loader="yes"
30320 else
30321   have_loader="no"
30322 fi
30323
30324
30325 fi
30326
30327 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30328    as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30329 fi
30330
30331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
30332 $as_echo_n "checking whether BMP image loader will be built... " >&6; }
30333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30334 $as_echo "${have_loader}" >&6; }
30335
30336 if test "x${have_loader}" = "xyes" ; then
30337    if test "x${want_loader}" = "xstatic" ; then
30338       have_evas_image_loader_bmp="static"
30339       want_static_loader="yes"
30340    else
30341       have_evas_image_loader_bmp="yes"
30342    fi
30343 fi
30344
30345 if test "x${have_loader}" = "xyes" ; then
30346
30347 $as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
30348
30349 fi
30350
30351  if test "x${have_loader}" = "xyes"; then
30352   BUILD_LOADER_BMP_TRUE=
30353   BUILD_LOADER_BMP_FALSE='#'
30354 else
30355   BUILD_LOADER_BMP_TRUE='#'
30356   BUILD_LOADER_BMP_FALSE=
30357 fi
30358
30359
30360 if test "x${want_static_loader}" = "xyes" ; then
30361
30362 $as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
30363
30364    have_static_module="yes"
30365 fi
30366
30367  if test "x${want_static_loader}" = "xyes"; then
30368   EVAS_STATIC_BUILD_BMP_TRUE=
30369   EVAS_STATIC_BUILD_BMP_FALSE='#'
30370 else
30371   EVAS_STATIC_BUILD_BMP_TRUE='#'
30372   EVAS_STATIC_BUILD_BMP_FALSE=
30373 fi
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386 want_loader="${want_evas_image_loader_tga}"
30387 want_static_loader="no"
30388 have_loader="no"
30389 have_evas_image_loader_tga="no"
30390
30391 # Check whether --enable-image-loader-tga was given.
30392 if test "${enable_image_loader_tga+set}" = set; then :
30393   enableval=$enable_image_loader_tga;
30394     if test "x${enableval}" = "xyes" ; then
30395        want_loader="yes"
30396     else
30397        if test "x${enableval}" = "xstatic" ; then
30398           want_loader="static"
30399        else
30400           want_loader="no"
30401        fi
30402     fi
30403
30404
30405 fi
30406
30407
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
30409 $as_echo_n "checking whether to enable TGA image loader... " >&6; }
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30411 $as_echo "${want_loader}" >&6; }
30412
30413 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30414
30415
30416 have_dep="yes"
30417 evas_image_loader_tga_cflags=""
30418 evas_image_loader_tga_libs=""
30419
30420
30421
30422
30423 if test "x${have_dep}" = "xyes" ; then
30424   have_loader="yes"
30425 else
30426   have_loader="no"
30427 fi
30428
30429
30430 fi
30431
30432 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30433    as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
30434 fi
30435
30436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
30437 $as_echo_n "checking whether TGA image loader will be built... " >&6; }
30438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30439 $as_echo "${have_loader}" >&6; }
30440
30441 if test "x${have_loader}" = "xyes" ; then
30442    if test "x${want_loader}" = "xstatic" ; then
30443       have_evas_image_loader_tga="static"
30444       want_static_loader="yes"
30445    else
30446       have_evas_image_loader_tga="yes"
30447    fi
30448 fi
30449
30450 if test "x${have_loader}" = "xyes" ; then
30451
30452 $as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
30453
30454 fi
30455
30456  if test "x${have_loader}" = "xyes"; then
30457   BUILD_LOADER_TGA_TRUE=
30458   BUILD_LOADER_TGA_FALSE='#'
30459 else
30460   BUILD_LOADER_TGA_TRUE='#'
30461   BUILD_LOADER_TGA_FALSE=
30462 fi
30463
30464
30465 if test "x${want_static_loader}" = "xyes" ; then
30466
30467 $as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
30468
30469    have_static_module="yes"
30470 fi
30471
30472  if test "x${want_static_loader}" = "xyes"; then
30473   EVAS_STATIC_BUILD_TGA_TRUE=
30474   EVAS_STATIC_BUILD_TGA_FALSE='#'
30475 else
30476   EVAS_STATIC_BUILD_TGA_TRUE='#'
30477   EVAS_STATIC_BUILD_TGA_FALSE=
30478 fi
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491 want_loader="${want_evas_image_loader_wbmp}"
30492 want_static_loader="no"
30493 have_loader="no"
30494 have_evas_image_loader_wbmp="no"
30495
30496 # Check whether --enable-image-loader-wbmp was given.
30497 if test "${enable_image_loader_wbmp+set}" = set; then :
30498   enableval=$enable_image_loader_wbmp;
30499     if test "x${enableval}" = "xyes" ; then
30500        want_loader="yes"
30501     else
30502        if test "x${enableval}" = "xstatic" ; then
30503           want_loader="static"
30504        else
30505           want_loader="no"
30506        fi
30507     fi
30508
30509
30510 fi
30511
30512
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
30514 $as_echo_n "checking whether to enable WBMP image loader... " >&6; }
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30516 $as_echo "${want_loader}" >&6; }
30517
30518 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30519
30520
30521 have_dep="yes"
30522 evas_image_loader_wbmp_cflags=""
30523 evas_image_loader_wbmp_libs=""
30524
30525
30526
30527
30528 if test "x${have_dep}" = "xyes" ; then
30529   have_loader="yes"
30530 else
30531   have_loader="no"
30532 fi
30533
30534
30535 fi
30536
30537 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30538    as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
30539 fi
30540
30541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
30542 $as_echo_n "checking whether WBMP image loader will be built... " >&6; }
30543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30544 $as_echo "${have_loader}" >&6; }
30545
30546 if test "x${have_loader}" = "xyes" ; then
30547    if test "x${want_loader}" = "xstatic" ; then
30548       have_evas_image_loader_wbmp="static"
30549       want_static_loader="yes"
30550    else
30551       have_evas_image_loader_wbmp="yes"
30552    fi
30553 fi
30554
30555 if test "x${have_loader}" = "xyes" ; then
30556
30557 $as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
30558
30559 fi
30560
30561  if test "x${have_loader}" = "xyes"; then
30562   BUILD_LOADER_WBMP_TRUE=
30563   BUILD_LOADER_WBMP_FALSE='#'
30564 else
30565   BUILD_LOADER_WBMP_TRUE='#'
30566   BUILD_LOADER_WBMP_FALSE=
30567 fi
30568
30569
30570 if test "x${want_static_loader}" = "xyes" ; then
30571
30572 $as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
30573
30574    have_static_module="yes"
30575 fi
30576
30577  if test "x${want_static_loader}" = "xyes"; then
30578   EVAS_STATIC_BUILD_WBMP_TRUE=
30579   EVAS_STATIC_BUILD_WBMP_FALSE='#'
30580 else
30581   EVAS_STATIC_BUILD_WBMP_TRUE='#'
30582   EVAS_STATIC_BUILD_WBMP_FALSE=
30583 fi
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596 want_loader="${want_evas_image_loader_ico}"
30597 want_static_loader="no"
30598 have_loader="no"
30599 have_evas_image_loader_ico="no"
30600
30601 # Check whether --enable-image-loader-ico was given.
30602 if test "${enable_image_loader_ico+set}" = set; then :
30603   enableval=$enable_image_loader_ico;
30604     if test "x${enableval}" = "xyes" ; then
30605        want_loader="yes"
30606     else
30607        if test "x${enableval}" = "xstatic" ; then
30608           want_loader="static"
30609        else
30610           want_loader="no"
30611        fi
30612     fi
30613
30614
30615 fi
30616
30617
30618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
30619 $as_echo_n "checking whether to enable ICO image loader... " >&6; }
30620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30621 $as_echo "${want_loader}" >&6; }
30622
30623 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30624
30625
30626 have_dep="yes"
30627 evas_image_loader_ico_cflags=""
30628 evas_image_loader_ico_libs=""
30629
30630
30631
30632
30633 if test "x${have_dep}" = "xyes" ; then
30634   have_loader="yes"
30635 else
30636   have_loader="no"
30637 fi
30638
30639
30640 fi
30641
30642 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30643    as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
30644 fi
30645
30646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
30647 $as_echo_n "checking whether ICO image loader will be built... " >&6; }
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30649 $as_echo "${have_loader}" >&6; }
30650
30651 if test "x${have_loader}" = "xyes" ; then
30652    if test "x${want_loader}" = "xstatic" ; then
30653       have_evas_image_loader_ico="static"
30654       want_static_loader="yes"
30655    else
30656       have_evas_image_loader_ico="yes"
30657    fi
30658 fi
30659
30660 if test "x${have_loader}" = "xyes" ; then
30661
30662 $as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
30663
30664 fi
30665
30666  if test "x${have_loader}" = "xyes"; then
30667   BUILD_LOADER_ICO_TRUE=
30668   BUILD_LOADER_ICO_FALSE='#'
30669 else
30670   BUILD_LOADER_ICO_TRUE='#'
30671   BUILD_LOADER_ICO_FALSE=
30672 fi
30673
30674
30675 if test "x${want_static_loader}" = "xyes" ; then
30676
30677 $as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
30678
30679    have_static_module="yes"
30680 fi
30681
30682  if test "x${want_static_loader}" = "xyes"; then
30683   EVAS_STATIC_BUILD_ICO_TRUE=
30684   EVAS_STATIC_BUILD_ICO_FALSE='#'
30685 else
30686   EVAS_STATIC_BUILD_ICO_TRUE='#'
30687   EVAS_STATIC_BUILD_ICO_FALSE=
30688 fi
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701 want_loader="${want_evas_image_loader_psd}"
30702 want_static_loader="no"
30703 have_loader="no"
30704 have_evas_image_loader_psd="no"
30705
30706 # Check whether --enable-image-loader-psd was given.
30707 if test "${enable_image_loader_psd+set}" = set; then :
30708   enableval=$enable_image_loader_psd;
30709     if test "x${enableval}" = "xyes" ; then
30710        want_loader="yes"
30711     else
30712        if test "x${enableval}" = "xstatic" ; then
30713           want_loader="static"
30714        else
30715           want_loader="no"
30716        fi
30717     fi
30718
30719
30720 fi
30721
30722
30723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
30724 $as_echo_n "checking whether to enable PSD image loader... " >&6; }
30725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30726 $as_echo "${want_loader}" >&6; }
30727
30728 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30729
30730
30731 have_dep="yes"
30732 evas_image_loader_psd_cflags=""
30733 evas_image_loader_psd_libs=""
30734
30735
30736
30737
30738 if test "x${have_dep}" = "xyes" ; then
30739   have_loader="yes"
30740 else
30741   have_loader="no"
30742 fi
30743
30744
30745 fi
30746
30747 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30748    as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30749 fi
30750
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30752 $as_echo_n "checking whether PSD image loader will be built... " >&6; }
30753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30754 $as_echo "${have_loader}" >&6; }
30755
30756 if test "x${have_loader}" = "xyes" ; then
30757    if test "x${want_loader}" = "xstatic" ; then
30758       have_evas_image_loader_psd="static"
30759       want_static_loader="yes"
30760    else
30761       have_evas_image_loader_psd="yes"
30762    fi
30763 fi
30764
30765 if test "x${have_loader}" = "xyes" ; then
30766
30767 $as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30768
30769 fi
30770
30771  if test "x${have_loader}" = "xyes"; then
30772   BUILD_LOADER_PSD_TRUE=
30773   BUILD_LOADER_PSD_FALSE='#'
30774 else
30775   BUILD_LOADER_PSD_TRUE='#'
30776   BUILD_LOADER_PSD_FALSE=
30777 fi
30778
30779
30780 if test "x${want_static_loader}" = "xyes" ; then
30781
30782 $as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30783
30784    have_static_module="yes"
30785 fi
30786
30787  if test "x${want_static_loader}" = "xyes"; then
30788   EVAS_STATIC_BUILD_PSD_TRUE=
30789   EVAS_STATIC_BUILD_PSD_FALSE='#'
30790 else
30791   EVAS_STATIC_BUILD_PSD_TRUE='#'
30792   EVAS_STATIC_BUILD_PSD_FALSE=
30793 fi
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806 want_loader="${want_evas_image_loader_generic}"
30807 want_static_loader="no"
30808 have_loader="no"
30809 have_evas_image_loader_generic="no"
30810
30811 # Check whether --enable-image-loader-generic was given.
30812 if test "${enable_image_loader_generic+set}" = set; then :
30813   enableval=$enable_image_loader_generic;
30814     if test "x${enableval}" = "xyes" ; then
30815        want_loader="yes"
30816     else
30817        if test "x${enableval}" = "xstatic" ; then
30818           want_loader="static"
30819        else
30820           want_loader="no"
30821        fi
30822     fi
30823
30824
30825 fi
30826
30827
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30829 $as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30831 $as_echo "${want_loader}" >&6; }
30832
30833 if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30834
30835
30836 have_dep="yes"
30837 evas_image_loader_generic_cflags=""
30838 evas_image_loader_generic_libs=""
30839
30840
30841
30842
30843 if test "x${have_dep}" = "xyes" ; then
30844   have_loader="yes"
30845 else
30846   have_loader="no"
30847 fi
30848
30849
30850 fi
30851
30852 if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30853    as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30854 fi
30855
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30857 $as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30859 $as_echo "${have_loader}" >&6; }
30860
30861 if test "x${have_loader}" = "xyes" ; then
30862    if test "x${want_loader}" = "xstatic" ; then
30863       have_evas_image_loader_generic="static"
30864       want_static_loader="yes"
30865    else
30866       have_evas_image_loader_generic="yes"
30867    fi
30868 fi
30869
30870 if test "x${have_loader}" = "xyes" ; then
30871
30872 $as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30873
30874 fi
30875
30876  if test "x${have_loader}" = "xyes"; then
30877   BUILD_LOADER_GENERIC_TRUE=
30878   BUILD_LOADER_GENERIC_FALSE='#'
30879 else
30880   BUILD_LOADER_GENERIC_TRUE='#'
30881   BUILD_LOADER_GENERIC_FALSE=
30882 fi
30883
30884
30885 if test "x${want_static_loader}" = "xyes" ; then
30886
30887 $as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
30888
30889    have_static_module="yes"
30890 fi
30891
30892  if test "x${want_static_loader}" = "xyes"; then
30893   EVAS_STATIC_BUILD_GENERIC_TRUE=
30894   EVAS_STATIC_BUILD_GENERIC_FALSE='#'
30895 else
30896   EVAS_STATIC_BUILD_GENERIC_TRUE='#'
30897   EVAS_STATIC_BUILD_GENERIC_FALSE=
30898 fi
30899
30900
30901
30902
30903
30904
30905
30906 #####################################################################
30907 ## Cpu based optimizations
30908
30909 #######################################
30910 ## PTHREADS
30911 pthread_cflags=""
30912 pthread_libs=""
30913 build_pthreads="no"
30914 has_pthreads="no"
30915 need_pthreads="no"
30916 # basic pthread support
30917 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
30918 if test "x$ac_cv_header_pthread_h" = xyes; then :
30919
30920    has_pthreads="yes"
30921
30922 else
30923
30924    has_pthreads="no"
30925
30926
30927 fi
30928
30929
30930
30931 # sched_getaffinity pthread_attr_setaffinity_np
30932 for ac_header in pthread.h sched.h
30933 do :
30934   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30935 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30937   cat >>confdefs.h <<_ACEOF
30938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30939 _ACEOF
30940
30941     CFLAGS_save="${CFLAGS}"
30942     CFLAGS="${CFLAGS} -pthread"
30943     LIBS_save="${LIBS}"
30944     LIBS="${LIBS} -pthread"
30945     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30946 /* end confdefs.h.  */
30947
30948 #include <pthread.h>
30949 #include <sched.h>
30950
30951 int
30952 main ()
30953 {
30954
30955 pthread_attr_setaffinity_np(NULL, 0, NULL);
30956 pthread_barrier_wait(NULL);
30957
30958   ;
30959   return 0;
30960 }
30961 _ACEOF
30962 if ac_fn_c_try_link "$LINENO"; then :
30963   build_pthreads="yes"
30964 else
30965   build_pthreads="no"
30966 fi
30967 rm -f core conftest.err conftest.$ac_objext \
30968     conftest$ac_exeext conftest.$ac_ext
30969    CFLAGS=${CFLAGS_save}
30970    LIBS=${LIBS_save}
30971
30972 else
30973   build_pthreads="no"
30974 fi
30975
30976 done
30977
30978
30979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
30980 $as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
30982 $as_echo "${build_pthreads}" >&6; }
30983
30984 #######################################
30985 ## Pthread
30986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
30987 $as_echo_n "checking whether to build pthread code... " >&6; }
30988 # Check whether --enable-pthreads was given.
30989 if test "${enable_pthreads+set}" = set; then :
30990   enableval=$enable_pthreads;
30991     if test "x$enableval" = "xyes" ; then
30992       if test "x$build_pthreads" = "xyes"; then
30993         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30994 $as_echo "yes" >&6; }
30995
30996 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30997
30998         build_pthreads="yes"
30999         need_pthreads="yes"
31000       else
31001         if "x$use_strict" = "xyes"; then
31002           as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
31003         else
31004           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
31005 $as_echo "no: pthread headers or functions not found" >&6; }
31006         fi
31007       fi
31008     else
31009       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31010 $as_echo "no" >&6; }
31011       build_pthreads="no"
31012     fi
31013
31014 else
31015
31016     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
31017 $as_echo "$build_pthreads" >&6; }
31018     if test "x$build_pthreads" = "xyes" ; then
31019
31020 $as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
31021
31022       need_pthreads="yes"
31023     fi
31024
31025
31026 fi
31027
31028
31029 #######################################
31030 ## Pipe Renderer
31031 build_pipe_render="no"
31032
31033 # Let disable pipe render strongly as it doesn't massively improve performance, but
31034 # just hammer more watt for a few more percent. The code is kept as the understanding
31035 # is that with an async pipeline things will be better.
31036 #
31037 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
31038 #AC_ARG_ENABLE(pipe-render,
31039 #  AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
31040 #  [ build_pipe_render=$enableval ]
31041 #)
31042 #AC_MSG_RESULT($build_pipe_render)
31043
31044 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
31045 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
31046 #  AC_MSG_RESULT(yes)
31047 #  AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
31048 #  build_pipe_render="yes"
31049 #  need_pthreads="yes"
31050 #else
31051 #  AC_MSG_RESULT(no)
31052 #  build_pipe_render="no"
31053 #fi
31054
31055 #######################################
31056 ## Async events
31057 build_async_events="auto"
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
31059 $as_echo_n "checking whether to build Async Events support... " >&6; }
31060 # Check whether --enable-async-events was given.
31061 if test "${enable_async_events+set}" = set; then :
31062   enableval=$enable_async_events;  build_async_events=$enableval
31063
31064 fi
31065
31066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
31067 $as_echo "$build_async_events" >&6; }
31068
31069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
31070 $as_echo_n "checking whether we can build Async Events support... " >&6; }
31071 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
31072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31073 $as_echo "yes" >&6; }
31074
31075 $as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
31076
31077   build_async_events="yes"
31078 else
31079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31080 $as_echo "no" >&6; }
31081   build_async_events="no"
31082 fi
31083
31084 #######################################
31085 ## Async image preload
31086 build_async_preload="auto"
31087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
31088 $as_echo_n "checking whether to build Async Image Preload support... " >&6; }
31089 # Check whether --enable-async-preload was given.
31090 if test "${enable_async_preload+set}" = set; then :
31091   enableval=$enable_async_preload;  build_async_preload=$enableval
31092
31093 fi
31094
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
31096 $as_echo "$build_async_preload" >&6; }
31097
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
31099 $as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
31100 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
31101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31102 $as_echo "yes" >&6; }
31103
31104 $as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
31105
31106   build_async_preload="yes"
31107   need_pthreads="yes"
31108 else
31109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31110 $as_echo "no" >&6; }
31111   build_async_preload="no"
31112 fi
31113
31114 #######################################
31115 ## Link with pthread if needed
31116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
31117 $as_echo_n "checking whether we should link with pthread... " >&6; }
31118 if test "x$need_pthreads" = "xyes"; then
31119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31120 $as_echo "yes" >&6; }
31121   pthread_cflags="-pthread"
31122   pthread_libs="-pthread"
31123 else
31124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31125 $as_echo "no" >&6; }
31126 fi
31127
31128 #######################################
31129 ## MMX
31130 build_cpu_mmx="no"
31131 case $host_cpu in
31132   i*86)
31133     build_cpu_mmx="yes"
31134     ;;
31135   x86_64)
31136     build_cpu_mmx="yes"
31137     ;;
31138   amd64)
31139     build_cpu_mmx="yes"
31140     ;;
31141 esac
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
31143 $as_echo_n "checking whether to build mmx code... " >&6; }
31144 # Check whether --enable-cpu-mmx was given.
31145 if test "${enable_cpu_mmx+set}" = set; then :
31146   enableval=$enable_cpu_mmx;
31147       if test "x$enableval" = "xyes" ; then
31148         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31149 $as_echo "yes" >&6; }
31150
31151 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31152
31153         build_cpu_mmx="yes"
31154       else
31155         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31156 $as_echo "no" >&6; }
31157         build_cpu_mmx="no"
31158       fi
31159
31160 else
31161
31162     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
31163 $as_echo "$build_cpu_mmx" >&6; }
31164     if test "x$build_cpu_mmx" = "xyes" ; then
31165
31166 $as_echo "#define BUILD_MMX 1" >>confdefs.h
31167
31168     fi
31169
31170
31171 fi
31172
31173
31174 #######################################
31175 ## SSE
31176 build_cpu_sse="no"
31177 case $host_cpu in
31178   i*86)
31179     build_cpu_sse="yes"
31180     ;;
31181   x86_64)
31182     build_cpu_sse="yes"
31183     ;;
31184   amd64)
31185     build_cpu_sse="yes"
31186     ;;
31187 esac
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
31189 $as_echo_n "checking whether to build sse code... " >&6; }
31190 # Check whether --enable-cpu-sse was given.
31191 if test "${enable_cpu_sse+set}" = set; then :
31192   enableval=$enable_cpu_sse;
31193       if test "x$enableval" = "xyes" ; then
31194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31195 $as_echo "yes" >&6; }
31196
31197 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31198
31199         build_cpu_sse="yes"
31200       else
31201         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31202 $as_echo "no" >&6; }
31203         build_cpu_sse="no"
31204       fi
31205
31206 else
31207
31208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
31209 $as_echo "$build_cpu_sse" >&6; }
31210     if test "x$build_cpu_sse" = "xyes" ; then
31211
31212 $as_echo "#define BUILD_SSE 1" >>confdefs.h
31213
31214     fi
31215
31216
31217 fi
31218
31219
31220 #######################################
31221 ## SSE3
31222 build_cpu_sse3="no"
31223 case $host_cpu in
31224   i*86)
31225     build_cpu_sse3="yes"
31226     ;;
31227   x86_64)
31228     build_cpu_sse3="yes"
31229     ;;
31230   amd64)
31231     build_cpu_sse3="yes"
31232     ;;
31233 esac
31234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
31235 $as_echo_n "checking whether to build sse3 code... " >&6; }
31236 # Check whether --enable-cpu-sse3 was given.
31237 if test "${enable_cpu_sse3+set}" = set; then :
31238   enableval=$enable_cpu_sse3;
31239       if test "x$enableval" = "xyes" ; then
31240         ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31241 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31242
31243             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31244 $as_echo "yes" >&6; }
31245
31246 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31247
31248             build_cpu_sse3="yes"
31249
31250 else
31251
31252             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31253 $as_echo "no" >&6; }
31254             build_cpu_sse3="no"
31255
31256 fi
31257
31258
31259       else
31260         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31261 $as_echo "no" >&6; }
31262         build_cpu_sse3="no"
31263       fi
31264
31265 else
31266
31267     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
31268 $as_echo "$build_cpu_sse3" >&6; }
31269     if test "x$build_cpu_sse3" = "xyes" ; then
31270       ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
31271 if test "x$ac_cv_header_immintrin_h" = xyes; then :
31272
31273           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31274 $as_echo "yes" >&6; }
31275
31276 $as_echo "#define BUILD_SSE3 1" >>confdefs.h
31277
31278           build_cpu_sse3="yes"
31279
31280 else
31281
31282           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31283 $as_echo "no" >&6; }
31284           build_cpu_sse3="no"
31285
31286 fi
31287
31288
31289     fi
31290
31291
31292 fi
31293
31294
31295
31296 # as a big warning flag to anyone doing stuff like this...
31297 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
31298 # build flags in makefiles (from configure or anywhere else)
31299 # EVER as this screws your ability to build 1 binary and
31300 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
31301 # person building choses to add optimization flags themselves
31302 # and decide the minimum baseline cpu arch is X then that's
31303 # their business, but NEVER should it be done here. NEVER.
31304 # I now have to do this due to the way this sse3 code was done - using
31305 # intrinsics and "functions" (opcodes) and types that only compile *IF*
31306 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
31307 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
31308 # off until further notice for 32bit x86.
31309 EVAS_SSE3_CFLAGS=" "
31310 if test "x$build_cpu_sse3" = "xyes" ; then
31311     EVAS_SSE3_CFLAGS="-msse3 "
31312 #   CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
31313 fi
31314
31315
31316
31317
31318 #######################################
31319 ## ALTIVEC
31320 build_cpu_altivec="no"
31321 case $host_cpu in
31322   *power* | *ppc*)
31323     build_cpu_altivec="auto"
31324     ;;
31325 esac
31326 altivec_cflags=""
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
31328 $as_echo_n "checking whether to build altivec code... " >&6; }
31329 # Check whether --enable-cpu-altivec was given.
31330 if test "${enable_cpu_altivec+set}" = set; then :
31331   enableval=$enable_cpu_altivec;  build_cpu_altivec=$enableval
31332 else
31333
31334     if test ! "x$build_cpu_altivec" = "xauto"; then
31335       build_cpu_altivec="no"
31336     fi
31337
31338
31339 fi
31340
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
31342 $as_echo "$build_cpu_altivec" >&6; }
31343
31344 if test "x$build_cpu_altivec" = "xyes"; then
31345    ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31346 if test "x$ac_cv_header_altivec_h" = xyes; then :
31347
31348
31349 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31350
31351
31352 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31353
31354         build_cpu_altivec="yes"
31355
31356 else
31357
31358        save_CFLAGS=$CFLAGS
31359        save_CPPFLAGS=$CPPFLAGS
31360        CFLAGS=$CFLAGS" -maltivec"
31361        CPPFLAGS=$CPPFLAGS" -maltivec"
31362        unset ac_cv_header_altivec_h
31363        ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
31364 if test "x$ac_cv_header_altivec_h" = xyes; then :
31365
31366
31367 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31368
31369
31370 $as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
31371
31372             build_cpu_altivec="yes"
31373
31374 else
31375
31376             if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
31377               as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
31378             fi
31379             build_cpu_altivec="no"
31380
31381
31382 fi
31383
31384
31385        CFLAGS=$save_CFLAGS
31386        CPPFLAGS=$save_CPPFLAGS
31387
31388
31389 fi
31390
31391
31392 fi
31393
31394 if test "x$build_cpu_altivec" = "xyes"; then
31395    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
31396 $as_echo_n "checking whether to use altivec compiler flag... " >&6; }
31397    if test "x$GCC" = "xyes"; then
31398       if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
31399          altivec_cflags="-faltivec"
31400
31401 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31402
31403       elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
31404          altivec_cflags="-maltivec"
31405
31406 $as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
31407
31408       fi
31409    fi
31410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
31411 $as_echo "$altivec_cflags" >&6; }
31412    CFLAGS="$CFLAGS $altivec_cflags"
31413 fi
31414
31415 #######################################
31416 ## NEON
31417 build_cpu_neon="no"
31418 case $host_cpu in
31419   arm*)
31420     build_cpu_neon="yes"
31421     ;;
31422 esac
31423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
31424 $as_echo_n "checking whether to build neon code... " >&6; }
31425 # Check whether --enable-cpu-neon was given.
31426 if test "${enable_cpu_neon+set}" = set; then :
31427   enableval=$enable_cpu_neon;
31428      if test "x$enableval" = "xyes" ; then
31429        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31430 /* end confdefs.h.  */
31431
31432 int
31433 main ()
31434 {
31435 asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
31436   ;
31437   return 0;
31438 }
31439 _ACEOF
31440 if ac_fn_c_try_compile "$LINENO"; then :
31441
31442           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31443 $as_echo "yes" >&6; }
31444
31445 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31446
31447           build_cpu_neon="yes"
31448
31449 else
31450
31451           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31452 $as_echo "no" >&6; }
31453           build_cpu_neon="no"
31454
31455 fi
31456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31457       else
31458         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31459 $as_echo "no" >&6; }
31460         build_cpu_neon="no"
31461       fi
31462
31463 else
31464
31465     if test "x$build_cpu_neon" = "xyes" ; then
31466        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31467 /* end confdefs.h.  */
31468 #include <arm_neon.h>
31469 int
31470 main ()
31471 {
31472 asm volatile ("vqadd.u8 d0, d1, d0\n")
31473   ;
31474   return 0;
31475 }
31476 _ACEOF
31477 if ac_fn_c_try_compile "$LINENO"; then :
31478
31479           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31480 $as_echo "yes" >&6; }
31481
31482 $as_echo "#define BUILD_NEON 1" >>confdefs.h
31483
31484           build_cpu_neon="yes"
31485
31486 else
31487
31488           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31489 $as_echo "no" >&6; }
31490           build_cpu_neon="no"
31491
31492 fi
31493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31494     fi
31495
31496
31497 fi
31498
31499
31500 #######################################
31501 ## C
31502 build_cpu_c="yes"
31503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
31504 $as_echo_n "checking whether to build c code... " >&6; }
31505 # Check whether --enable-cpu-c was given.
31506 if test "${enable_cpu_c+set}" = set; then :
31507   enableval=$enable_cpu_c;
31508       if test "x$enableval" = "xyes" ; then
31509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31510 $as_echo "yes" >&6; }
31511
31512 $as_echo "#define BUILD_C 1" >>confdefs.h
31513
31514         build_cpu_c="yes"
31515       else
31516         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31517 $as_echo "no" >&6; }
31518         build_cpu_c="no"
31519       fi
31520
31521 else
31522
31523       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
31524 $as_echo "$build_cpu_c" >&6; }
31525       if test "x$build_cpu_c" = "xyes" ; then
31526
31527 $as_echo "#define BUILD_C 1" >>confdefs.h
31528
31529       fi
31530
31531
31532 fi
31533
31534
31535 #######################################
31536 ## MAGIC_DEBUG
31537 want_evas_magic_debug="yes"
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
31539 $as_echo_n "checking whether to check magic for evas object... " >&6; }
31540 # Check whether --enable-evas-magic-debug was given.
31541 if test "${enable_evas_magic_debug+set}" = set; then :
31542   enableval=$enable_evas_magic_debug;  want_evas_magic_debug="$enableval"
31543
31544 fi
31545
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
31547 $as_echo "$want_evas_magic_debug" >&6; }
31548
31549  if test "x$want_evas_magic_debug" = "xyes"; then
31550   EVAS_MAGIC_DEBUG_TRUE=
31551   EVAS_MAGIC_DEBUG_FALSE='#'
31552 else
31553   EVAS_MAGIC_DEBUG_TRUE='#'
31554   EVAS_MAGIC_DEBUG_FALSE=
31555 fi
31556
31557 if test "x$want_evas_magic_debug" = "xyes"; then
31558
31559 $as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
31560
31561 fi
31562
31563 #####################################################################
31564 ## ARGB engine options
31565
31566 #######################################
31567 ## Nearest sampling scaler
31568
31569
31570 # Check whether --enable-scale-sample was given.
31571 if test "${enable_scale_sample+set}" = set; then :
31572   enableval=$enable_scale_sample;
31573     if test "x${enableval}" = "xyes" ; then
31574        _efl_enable_scaler_option_scale_sample="yes"
31575     else
31576        _efl_enable_scaler_option_scale_sample="no"
31577     fi
31578
31579 else
31580   _efl_enable_scaler_option_scale_sample="yes"
31581 fi
31582
31583
31584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
31585 $as_echo_n "checking whether to build sampling scaler... " >&6; }
31586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
31587 $as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
31588
31589 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31590
31591 $as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
31592
31593 fi
31594
31595 if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31596    scaler_sample="yes"
31597 else
31598    scaler_sample="no"
31599 fi
31600
31601
31602
31603
31604 ## Smooth super and sub sampling scaler
31605
31606
31607 # Check whether --enable-scale-smooth was given.
31608 if test "${enable_scale_smooth+set}" = set; then :
31609   enableval=$enable_scale_smooth;
31610     if test "x${enableval}" = "xyes" ; then
31611        _efl_enable_scaler_option_scale_smooth="yes"
31612     else
31613        _efl_enable_scaler_option_scale_smooth="no"
31614     fi
31615
31616 else
31617   _efl_enable_scaler_option_scale_smooth="yes"
31618 fi
31619
31620
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
31622 $as_echo_n "checking whether to build smooth scaler... " >&6; }
31623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
31624 $as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
31625
31626 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31627
31628 $as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
31629
31630 fi
31631
31632 if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31633    scaler_smooth="yes"
31634 else
31635    scaler_smooth="no"
31636 fi
31637
31638
31639
31640
31641
31642 #######################################
31643 ## YUV -> ARGB converter
31644 conv_yuv="no"
31645 conv_yuv="yes"
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
31647 $as_echo_n "checking whether to build yuv converter code... " >&6; }
31648 # Check whether --enable-convert-yuv was given.
31649 if test "${enable_convert_yuv+set}" = set; then :
31650   enableval=$enable_convert_yuv;
31651       if test "x$enableval" = "xyes" ; then
31652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31653 $as_echo "yes" >&6; }
31654
31655 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31656
31657         conv_yuv="yes"
31658       else
31659         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31660 $as_echo "no" >&6; }
31661         conv_yuv="no"
31662       fi
31663
31664 else
31665
31666       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
31667 $as_echo "$conv_yuv" >&6; }
31668       if test "x$conv_yuv" = "xyes" ; then
31669
31670 $as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31671
31672       fi
31673
31674
31675 fi
31676
31677
31678 #####################################################################
31679 ## Output rendering features
31680
31681 #######################################
31682 ## Small dither mask instead of big one (lower quality)
31683
31684
31685 # Check whether --enable-small-dither-mask was given.
31686 if test "${enable_small_dither_mask+set}" = set; then :
31687   enableval=$enable_small_dither_mask;
31688     if test "x${enableval}" = "xyes" ; then
31689        _efl_enable_dither_option_small_dither_mask="yes"
31690     else
31691        _efl_enable_dither_option_small_dither_mask="no"
31692     fi
31693
31694 else
31695   _efl_enable_dither_option_small_dither_mask="no"
31696 fi
31697
31698
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
31700 $as_echo_n "checking whether to build small dither mask... " >&6; }
31701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
31702 $as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
31703
31704 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31705
31706 $as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
31707
31708 fi
31709
31710 if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31711    conv_small_dither="yes"
31712 else
31713    conv_small_dither="no"
31714 fi
31715
31716
31717
31718
31719 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
31720
31721
31722 # Check whether --enable-line-dither-mask was given.
31723 if test "${enable_line_dither_mask+set}" = set; then :
31724   enableval=$enable_line_dither_mask;
31725     if test "x${enableval}" = "xyes" ; then
31726        _efl_enable_dither_option_line_dither_mask="yes"
31727     else
31728        _efl_enable_dither_option_line_dither_mask="no"
31729     fi
31730
31731 else
31732   _efl_enable_dither_option_line_dither_mask="no"
31733 fi
31734
31735
31736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31737 $as_echo_n "checking whether to build line dither mask... " >&6; }
31738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31739 $as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31740
31741 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31742
31743 $as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31744
31745 fi
31746
31747 if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31748    conv_line_dither="yes"
31749 else
31750    conv_line_dither="no"
31751 fi
31752
31753
31754
31755
31756 ## No dither mask at all for 16bpp
31757
31758
31759 # Check whether --enable-no-dither-mask was given.
31760 if test "${enable_no_dither_mask+set}" = set; then :
31761   enableval=$enable_no_dither_mask;
31762     if test "x${enableval}" = "xyes" ; then
31763        _efl_enable_dither_option_no_dither_mask="yes"
31764     else
31765        _efl_enable_dither_option_no_dither_mask="no"
31766     fi
31767
31768 else
31769   _efl_enable_dither_option_no_dither_mask="no"
31770 fi
31771
31772
31773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31774 $as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31776 $as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31777
31778 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31779
31780 $as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31781
31782 fi
31783
31784 if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31785    conv_no_dither="yes"
31786 else
31787    conv_no_dither="no"
31788 fi
31789
31790
31791
31792
31793
31794 #######################################
31795 ## Convert to 8bpp RGB 332
31796
31797
31798 conv_8_rgb_332="no"
31799
31800
31801   # Check whether --enable-convert-8-rgb-332 was given.
31802 if test "${enable_convert_8_rgb_332+set}" = set; then :
31803   enableval=$enable_convert_8_rgb_332;  conv_8_rgb_332=$enableval
31804 else
31805    conv_8_rgb_332=yes
31806
31807 fi
31808
31809
31810
31811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31812 $as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31814 $as_echo "$conv_8_rgb_332" >&6; }
31815
31816 if test "x$conv_8_rgb_332" = "xyes" ; then
31817
31818 $as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31819
31820 fi
31821
31822
31823
31824
31825
31826 ## Convert to 8bpp RGB 666
31827
31828
31829 conv_8_rgb_666="no"
31830
31831
31832   # Check whether --enable-convert-8-rgb-666 was given.
31833 if test "${enable_convert_8_rgb_666+set}" = set; then :
31834   enableval=$enable_convert_8_rgb_666;  conv_8_rgb_666=$enableval
31835 else
31836    conv_8_rgb_666=yes
31837
31838 fi
31839
31840
31841
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31843 $as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31845 $as_echo "$conv_8_rgb_666" >&6; }
31846
31847 if test "x$conv_8_rgb_666" = "xyes" ; then
31848
31849 $as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31850
31851 fi
31852
31853
31854
31855
31856
31857 ## Convert to 8bpp RGB 232
31858
31859
31860 conv_8_rgb_232="no"
31861
31862
31863   # Check whether --enable-convert-8-rgb-232 was given.
31864 if test "${enable_convert_8_rgb_232+set}" = set; then :
31865   enableval=$enable_convert_8_rgb_232;  conv_8_rgb_232=$enableval
31866 else
31867    conv_8_rgb_232=yes
31868
31869 fi
31870
31871
31872
31873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31874 $as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31876 $as_echo "$conv_8_rgb_232" >&6; }
31877
31878 if test "x$conv_8_rgb_232" = "xyes" ; then
31879
31880 $as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
31881
31882 fi
31883
31884
31885
31886
31887
31888 ## Convert to 8bpp RGB 222
31889
31890
31891 conv_8_rgb_222="no"
31892
31893
31894   # Check whether --enable-convert-8-rgb-222 was given.
31895 if test "${enable_convert_8_rgb_222+set}" = set; then :
31896   enableval=$enable_convert_8_rgb_222;  conv_8_rgb_222=$enableval
31897 else
31898    conv_8_rgb_222=yes
31899
31900 fi
31901
31902
31903
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
31905 $as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
31906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
31907 $as_echo "$conv_8_rgb_222" >&6; }
31908
31909 if test "x$conv_8_rgb_222" = "xyes" ; then
31910
31911 $as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
31912
31913 fi
31914
31915
31916
31917
31918
31919 ## Convert to 8bpp RGB 221
31920
31921
31922 conv_8_rgb_221="no"
31923
31924
31925   # Check whether --enable-convert-8-rgb-221 was given.
31926 if test "${enable_convert_8_rgb_221+set}" = set; then :
31927   enableval=$enable_convert_8_rgb_221;  conv_8_rgb_221=$enableval
31928 else
31929    conv_8_rgb_221=yes
31930
31931 fi
31932
31933
31934
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
31936 $as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
31937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
31938 $as_echo "$conv_8_rgb_221" >&6; }
31939
31940 if test "x$conv_8_rgb_221" = "xyes" ; then
31941
31942 $as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
31943
31944 fi
31945
31946
31947
31948
31949
31950 ## Convert to 8bpp RGB 121
31951
31952
31953 conv_8_rgb_121="no"
31954
31955
31956   # Check whether --enable-convert-8-rgb-121 was given.
31957 if test "${enable_convert_8_rgb_121+set}" = set; then :
31958   enableval=$enable_convert_8_rgb_121;  conv_8_rgb_121=$enableval
31959 else
31960    conv_8_rgb_121=yes
31961
31962 fi
31963
31964
31965
31966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
31967 $as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
31968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
31969 $as_echo "$conv_8_rgb_121" >&6; }
31970
31971 if test "x$conv_8_rgb_121" = "xyes" ; then
31972
31973 $as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
31974
31975 fi
31976
31977
31978
31979
31980
31981 ## Convert to 8bpp RGB 111
31982
31983
31984 conv_8_rgb_111="no"
31985
31986
31987   # Check whether --enable-convert-8-rgb-111 was given.
31988 if test "${enable_convert_8_rgb_111+set}" = set; then :
31989   enableval=$enable_convert_8_rgb_111;  conv_8_rgb_111=$enableval
31990 else
31991    conv_8_rgb_111=yes
31992
31993 fi
31994
31995
31996
31997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
31998 $as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
31999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
32000 $as_echo "$conv_8_rgb_111" >&6; }
32001
32002 if test "x$conv_8_rgb_111" = "xyes" ; then
32003
32004 $as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
32005
32006 fi
32007
32008
32009
32010
32011
32012 ## Convert to 16bpp RGB 565
32013
32014
32015 conv_16_rgb_565="no"
32016
32017
32018   # Check whether --enable-convert-16-rgb-565 was given.
32019 if test "${enable_convert_16_rgb_565+set}" = set; then :
32020   enableval=$enable_convert_16_rgb_565;  conv_16_rgb_565=$enableval
32021 else
32022    conv_16_rgb_565=yes
32023
32024 fi
32025
32026
32027
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
32029 $as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
32031 $as_echo "$conv_16_rgb_565" >&6; }
32032
32033 if test "x$conv_16_rgb_565" = "xyes" ; then
32034
32035 $as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
32036
32037 fi
32038
32039
32040
32041
32042
32043 ## Convert to 16bpp BGR 565
32044
32045
32046 conv_16_bgr_565="no"
32047
32048
32049   # Check whether --enable-convert-16-bgr-565 was given.
32050 if test "${enable_convert_16_bgr_565+set}" = set; then :
32051   enableval=$enable_convert_16_bgr_565;  conv_16_bgr_565=$enableval
32052 else
32053    conv_16_bgr_565=yes
32054
32055 fi
32056
32057
32058
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
32060 $as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
32061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
32062 $as_echo "$conv_16_bgr_565" >&6; }
32063
32064 if test "x$conv_16_bgr_565" = "xyes" ; then
32065
32066 $as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
32067
32068 fi
32069
32070
32071
32072
32073
32074 ## Convert to 16bpp RGB 555
32075
32076
32077 conv_16_rgb_555="no"
32078
32079
32080   # Check whether --enable-convert-16-rgb-555 was given.
32081 if test "${enable_convert_16_rgb_555+set}" = set; then :
32082   enableval=$enable_convert_16_rgb_555;  conv_16_rgb_555=$enableval
32083 else
32084    conv_16_rgb_555=yes
32085
32086 fi
32087
32088
32089
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
32091 $as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
32093 $as_echo "$conv_16_rgb_555" >&6; }
32094
32095 if test "x$conv_16_rgb_555" = "xyes" ; then
32096
32097 $as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
32098
32099 fi
32100
32101
32102
32103
32104
32105 ## Convert to 16bpp RGB 444
32106
32107
32108 conv_16_rgb_444="no"
32109
32110
32111   # Check whether --enable-convert-16-rgb-444 was given.
32112 if test "${enable_convert_16_rgb_444+set}" = set; then :
32113   enableval=$enable_convert_16_rgb_444;  conv_16_rgb_444=$enableval
32114 else
32115    conv_16_rgb_444=yes
32116
32117 fi
32118
32119
32120
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
32122 $as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
32124 $as_echo "$conv_16_rgb_444" >&6; }
32125
32126 if test "x$conv_16_rgb_444" = "xyes" ; then
32127
32128 $as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
32129
32130 fi
32131
32132
32133
32134
32135
32136
32137 #######################################
32138 ## Convert to 16bpp RGB 565 (444 ipaq)
32139 conv_16_rgb_ipq="yes"
32140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
32141 $as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
32142 # Check whether --enable-convert-16-rgb-ipq was given.
32143 if test "${enable_convert_16_rgb_ipq+set}" = set; then :
32144   enableval=$enable_convert_16_rgb_ipq;
32145       if test "x$enableval" = "xyes" ; then
32146
32147 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32148
32149         conv_16_rgb_ipq="yes"
32150       else
32151         conv_16_rgb_ipq="no"
32152       fi
32153
32154 else
32155
32156       if test "x$conv_16_rgb_ipq" = "xyes" ; then
32157
32158 $as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
32159
32160       fi
32161
32162
32163 fi
32164
32165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
32166 $as_echo "$conv_16_rgb_ipq" >&6; }
32167
32168 #######################################
32169 ## Convert to 16bpp RGB with rotation of 0
32170
32171
32172 conv_16_rgb_rot_0="no"
32173
32174
32175   # Check whether --enable-convert-16-rgb-rot-0 was given.
32176 if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
32177   enableval=$enable_convert_16_rgb_rot_0;  conv_16_rgb_rot_0=$enableval
32178 else
32179    conv_16_rgb_rot_0=yes
32180
32181 fi
32182
32183
32184
32185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
32186 $as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
32187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
32188 $as_echo "$conv_16_rgb_rot_0" >&6; }
32189
32190 if test "x$conv_16_rgb_rot_0" = "xyes" ; then
32191
32192 $as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
32193
32194 fi
32195
32196
32197
32198
32199
32200 ## Convert to 16bpp RGB with rotation of 180
32201
32202
32203 conv_16_rgb_rot_180="no"
32204
32205
32206   # Check whether --enable-convert-16-rgb-rot-180 was given.
32207 if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
32208   enableval=$enable_convert_16_rgb_rot_180;  conv_16_rgb_rot_180=$enableval
32209 else
32210    conv_16_rgb_rot_180=yes
32211
32212 fi
32213
32214
32215
32216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
32217 $as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
32218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
32219 $as_echo "$conv_16_rgb_rot_180" >&6; }
32220
32221 if test "x$conv_16_rgb_rot_180" = "xyes" ; then
32222
32223 $as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
32224
32225 fi
32226
32227
32228
32229
32230
32231 ## Convert to 16bpp RGB with rotation of 270
32232
32233
32234 conv_16_rgb_rot_270="no"
32235
32236
32237   # Check whether --enable-convert-16-rgb-rot-270 was given.
32238 if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
32239   enableval=$enable_convert_16_rgb_rot_270;  conv_16_rgb_rot_270=$enableval
32240 else
32241    conv_16_rgb_rot_270=yes
32242
32243 fi
32244
32245
32246
32247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
32248 $as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
32249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
32250 $as_echo "$conv_16_rgb_rot_270" >&6; }
32251
32252 if test "x$conv_16_rgb_rot_270" = "xyes" ; then
32253
32254 $as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
32255
32256 fi
32257
32258
32259
32260
32261
32262 ## Convert to 16bpp RGB with rotation of 90
32263
32264
32265 conv_16_rgb_rot_90="no"
32266
32267
32268   # Check whether --enable-convert-16-rgb-rot-90 was given.
32269 if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
32270   enableval=$enable_convert_16_rgb_rot_90;  conv_16_rgb_rot_90=$enableval
32271 else
32272    conv_16_rgb_rot_90=yes
32273
32274 fi
32275
32276
32277
32278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
32279 $as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
32280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
32281 $as_echo "$conv_16_rgb_rot_90" >&6; }
32282
32283 if test "x$conv_16_rgb_rot_90" = "xyes" ; then
32284
32285 $as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
32286
32287 fi
32288
32289
32290
32291
32292
32293
32294 #######################################
32295 ## Convert to 24bpp RGB 888
32296
32297
32298 conv_24_rgb_888="no"
32299
32300
32301   # Check whether --enable-convert-24-rgb-888 was given.
32302 if test "${enable_convert_24_rgb_888+set}" = set; then :
32303   enableval=$enable_convert_24_rgb_888;  conv_24_rgb_888=$enableval
32304 else
32305    conv_24_rgb_888=yes
32306
32307 fi
32308
32309
32310
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
32312 $as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
32313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
32314 $as_echo "$conv_24_rgb_888" >&6; }
32315
32316 if test "x$conv_24_rgb_888" = "xyes" ; then
32317
32318 $as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
32319
32320 fi
32321
32322
32323
32324
32325
32326 ## Convert to 24bpp BGR 888
32327
32328
32329 conv_24_bgr_888="no"
32330
32331
32332   # Check whether --enable-convert-24-bgr-888 was given.
32333 if test "${enable_convert_24_bgr_888+set}" = set; then :
32334   enableval=$enable_convert_24_bgr_888;  conv_24_bgr_888=$enableval
32335 else
32336    conv_24_bgr_888=yes
32337
32338 fi
32339
32340
32341
32342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
32343 $as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
32345 $as_echo "$conv_24_bgr_888" >&6; }
32346
32347 if test "x$conv_24_bgr_888" = "xyes" ; then
32348
32349 $as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
32350
32351 fi
32352
32353
32354
32355
32356
32357 ## Convert to 32bpp RGB 8888
32358
32359
32360 conv_32_rgb_8888="no"
32361
32362
32363   # Check whether --enable-convert-32-rgb-8888 was given.
32364 if test "${enable_convert_32_rgb_8888+set}" = set; then :
32365   enableval=$enable_convert_32_rgb_8888;  conv_32_rgb_8888=$enableval
32366 else
32367    conv_32_rgb_8888=yes
32368
32369 fi
32370
32371
32372
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
32374 $as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
32376 $as_echo "$conv_32_rgb_8888" >&6; }
32377
32378 if test "x$conv_32_rgb_8888" = "xyes" ; then
32379
32380 $as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
32381
32382 fi
32383
32384
32385
32386
32387
32388 ## Convert to 32bpp RGBX 8888
32389
32390
32391 conv_32_rgbx_8888="no"
32392
32393
32394   # Check whether --enable-convert-32-rgbx-8888 was given.
32395 if test "${enable_convert_32_rgbx_8888+set}" = set; then :
32396   enableval=$enable_convert_32_rgbx_8888;  conv_32_rgbx_8888=$enableval
32397 else
32398    conv_32_rgbx_8888=yes
32399
32400 fi
32401
32402
32403
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
32405 $as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
32407 $as_echo "$conv_32_rgbx_8888" >&6; }
32408
32409 if test "x$conv_32_rgbx_8888" = "xyes" ; then
32410
32411 $as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
32412
32413 fi
32414
32415
32416
32417
32418
32419 ## Convert to 32bpp BGR 8888
32420
32421
32422 conv_32_bgr_8888="no"
32423
32424
32425   # Check whether --enable-convert-32-bgr-8888 was given.
32426 if test "${enable_convert_32_bgr_8888+set}" = set; then :
32427   enableval=$enable_convert_32_bgr_8888;  conv_32_bgr_8888=$enableval
32428 else
32429    conv_32_bgr_8888=yes
32430
32431 fi
32432
32433
32434
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
32436 $as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
32437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
32438 $as_echo "$conv_32_bgr_8888" >&6; }
32439
32440 if test "x$conv_32_bgr_8888" = "xyes" ; then
32441
32442 $as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
32443
32444 fi
32445
32446
32447
32448
32449
32450 ## Convert to 32bpp BGRX 8888
32451
32452
32453 conv_32_bgrx_8888="no"
32454
32455
32456   # Check whether --enable-convert-32-bgrx-8888 was given.
32457 if test "${enable_convert_32_bgrx_8888+set}" = set; then :
32458   enableval=$enable_convert_32_bgrx_8888;  conv_32_bgrx_8888=$enableval
32459 else
32460    conv_32_bgrx_8888=yes
32461
32462 fi
32463
32464
32465
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
32467 $as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
32468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
32469 $as_echo "$conv_32_bgrx_8888" >&6; }
32470
32471 if test "x$conv_32_bgrx_8888" = "xyes" ; then
32472
32473 $as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
32474
32475 fi
32476
32477
32478
32479
32480
32481
32482 #######################################
32483 ## Convert to 24bpp RGB 666 (666 ezx)
32484 conv_24_rgb_ezx="yes"
32485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
32486 $as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
32487 # Check whether --enable-convert-24-rgb-ezx was given.
32488 if test "${enable_convert_24_rgb_ezx+set}" = set; then :
32489   enableval=$enable_convert_24_rgb_ezx;
32490       if test "x$enableval" = "xyes" ; then
32491
32492 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32493
32494         conv_24_rgb_ezx="yes"
32495       else
32496         conv_24_rgb_ezx="no"
32497       fi
32498
32499 else
32500
32501       if test "x$conv_24_rgb_ezx" = "xyes" ; then
32502
32503 $as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
32504
32505       fi
32506
32507
32508 fi
32509
32510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
32511 $as_echo "$conv_24_rgb_ezx" >&6; }
32512
32513 #######################################
32514 ## Convert to 32bpp RGB 666 (666 ezx)
32515 conv_32_rgb_ezx="yes"
32516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
32517 $as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
32518 # Check whether --enable-convert-32-rgb-ezx was given.
32519 if test "${enable_convert_32_rgb_ezx+set}" = set; then :
32520   enableval=$enable_convert_32_rgb_ezx;
32521       if test "x$enableval" = "xyes" ; then
32522
32523 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32524
32525         conv_32_rgb_ezx="yes"
32526       else
32527         conv_32_rgb_ezx="no"
32528       fi
32529
32530 else
32531
32532       if test "x$conv_32_rgb_ezx" = "xyes" ; then
32533
32534 $as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
32535
32536       fi
32537
32538
32539 fi
32540
32541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
32542 $as_echo "$conv_32_rgb_ezx" >&6; }
32543
32544 #######################################
32545 ## Convert to 32bpp RGB with rotation of 0
32546
32547
32548 conv_32_rgb_rot_0="no"
32549
32550
32551   # Check whether --enable-convert-32-rgb-rot-0 was given.
32552 if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
32553   enableval=$enable_convert_32_rgb_rot_0;  conv_32_rgb_rot_0=$enableval
32554 else
32555    conv_32_rgb_rot_0=yes
32556
32557 fi
32558
32559
32560
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
32562 $as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
32564 $as_echo "$conv_32_rgb_rot_0" >&6; }
32565
32566 if test "x$conv_32_rgb_rot_0" = "xyes" ; then
32567
32568 $as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
32569
32570 fi
32571
32572
32573
32574
32575
32576 ## Convert to 32bpp RGB with rotation of 180
32577
32578
32579 conv_32_rgb_rot_180="no"
32580
32581
32582   # Check whether --enable-convert-32-rgb-rot-180 was given.
32583 if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
32584   enableval=$enable_convert_32_rgb_rot_180;  conv_32_rgb_rot_180=$enableval
32585 else
32586    conv_32_rgb_rot_180=yes
32587
32588 fi
32589
32590
32591
32592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
32593 $as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
32595 $as_echo "$conv_32_rgb_rot_180" >&6; }
32596
32597 if test "x$conv_32_rgb_rot_180" = "xyes" ; then
32598
32599 $as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
32600
32601 fi
32602
32603
32604
32605
32606
32607 ## Convert to 32bpp RGB with rotation of 270
32608
32609
32610 conv_32_rgb_rot_270="no"
32611
32612
32613   # Check whether --enable-convert-32-rgb-rot-270 was given.
32614 if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
32615   enableval=$enable_convert_32_rgb_rot_270;  conv_32_rgb_rot_270=$enableval
32616 else
32617    conv_32_rgb_rot_270=yes
32618
32619 fi
32620
32621
32622
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
32624 $as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
32626 $as_echo "$conv_32_rgb_rot_270" >&6; }
32627
32628 if test "x$conv_32_rgb_rot_270" = "xyes" ; then
32629
32630 $as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
32631
32632 fi
32633
32634
32635
32636
32637
32638 ## Convert to 32bpp RGB with rotation of 90
32639
32640
32641 conv_32_rgb_rot_90="no"
32642
32643
32644   # Check whether --enable-convert-32-rgb-rot-90 was given.
32645 if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
32646   enableval=$enable_convert_32_rgb_rot_90;  conv_32_rgb_rot_90=$enableval
32647 else
32648    conv_32_rgb_rot_90=yes
32649
32650 fi
32651
32652
32653
32654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
32655 $as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
32656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
32657 $as_echo "$conv_32_rgb_rot_90" >&6; }
32658
32659 if test "x$conv_32_rgb_rot_90" = "xyes" ; then
32660
32661 $as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
32662
32663 fi
32664
32665
32666
32667
32668
32669
32670 #######################################
32671 ## Convert to 8bpp grayscale with 256 value, no palette
32672
32673
32674 conv_8_gry_1="no"
32675
32676
32677   # Check whether --enable-convert-8-gry-1 was given.
32678 if test "${enable_convert_8_gry_1+set}" = set; then :
32679   enableval=$enable_convert_8_gry_1;  conv_8_gry_1=$enableval
32680 else
32681    conv_8_gry_1=yes
32682
32683 fi
32684
32685
32686
32687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
32688 $as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
32690 $as_echo "$conv_8_gry_1" >&6; }
32691
32692 if test "x$conv_8_gry_1" = "xyes" ; then
32693
32694 $as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
32695
32696 fi
32697
32698
32699
32700
32701
32702 ## Convert to 8bpp grayscale with 16 value, no palette
32703
32704
32705 conv_8_gry_16="no"
32706
32707
32708   # Check whether --enable-convert-8-gry-16 was given.
32709 if test "${enable_convert_8_gry_16+set}" = set; then :
32710   enableval=$enable_convert_8_gry_16;  conv_8_gry_16=$enableval
32711 else
32712    conv_8_gry_16=yes
32713
32714 fi
32715
32716
32717
32718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32719 $as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32721 $as_echo "$conv_8_gry_16" >&6; }
32722
32723 if test "x$conv_8_gry_16" = "xyes" ; then
32724
32725 $as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32726
32727 fi
32728
32729
32730
32731
32732
32733
32734 #######################################
32735 ## Convert to 8bpp grayscale, 64-palette
32736 conv_8_grayscale_64="yes"
32737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32738 $as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32739 # Check whether --enable-convert-8-grayscale-64 was given.
32740 if test "${enable_convert_8_grayscale_64+set}" = set; then :
32741   enableval=$enable_convert_8_grayscale_64;
32742      if test "x$enableval" = "xyes"; then
32743
32744 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32745
32746        conv_8_grayscale_64="yes"
32747      else
32748        conv_8_grayscale_64="no"
32749      fi
32750
32751 else
32752
32753      if test "x$conv_8_grayscale_64" = "xyes"; then
32754
32755 $as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32756
32757      fi
32758
32759
32760 fi
32761
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32763 $as_echo "$conv_8_grayscale_64" >&6; }
32764
32765 ## valgrind
32766 want_valgrind="no"
32767 have_valgrind="no"
32768
32769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32770 $as_echo_n "checking whether to enable build with valgrind... " >&6; }
32771 # Check whether --enable-valgrind was given.
32772 if test "${enable_valgrind+set}" = set; then :
32773   enableval=$enable_valgrind;  want_valgrind=$enableval
32774
32775 fi
32776
32777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32778 $as_echo "$want_valgrind" >&6; }
32779
32780 if test x$want_valgrind = "xyes"; then
32781
32782 pkg_failed=no
32783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32784 $as_echo_n "checking for VALGRIND... " >&6; }
32785
32786 if test -n "$VALGRIND_CFLAGS"; then
32787     pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32788  elif test -n "$PKG_CONFIG"; then
32789     if test -n "$PKG_CONFIG" && \
32790     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32791   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32792   ac_status=$?
32793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32794   test $ac_status = 0; }; then
32795   pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32796 else
32797   pkg_failed=yes
32798 fi
32799  else
32800     pkg_failed=untried
32801 fi
32802 if test -n "$VALGRIND_LIBS"; then
32803     pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32804  elif test -n "$PKG_CONFIG"; then
32805     if test -n "$PKG_CONFIG" && \
32806     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32807   ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32808   ac_status=$?
32809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32810   test $ac_status = 0; }; then
32811   pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32812 else
32813   pkg_failed=yes
32814 fi
32815  else
32816     pkg_failed=untried
32817 fi
32818
32819
32820
32821 if test $pkg_failed = yes; then
32822         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32823 $as_echo "no" >&6; }
32824
32825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32826         _pkg_short_errors_supported=yes
32827 else
32828         _pkg_short_errors_supported=no
32829 fi
32830         if test $_pkg_short_errors_supported = yes; then
32831                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 2.4.0" 2>&1`
32832         else
32833                 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 2.4.0" 2>&1`
32834         fi
32835         # Put the nasty error message in config.log where it belongs
32836         echo "$VALGRIND_PKG_ERRORS" >&5
32837
32838
32839       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32840         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32841       fi
32842
32843
32844 elif test $pkg_failed = untried; then
32845         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32846 $as_echo "no" >&6; }
32847
32848       if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32849         as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32850       fi
32851
32852
32853 else
32854         VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32855         VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32856         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32857 $as_echo "yes" >&6; }
32858
32859
32860 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32861
32862       have_valgrind=yes
32863       requirement_evas="valgrind ${requirement_evas}"
32864
32865 fi
32866 fi
32867
32868 ## Examples
32869
32870 install_examples="yes"
32871 # Check whether --enable-install-examples was given.
32872 if test "${enable_install_examples+set}" = set; then :
32873   enableval=$enable_install_examples;
32874     if test "x${enableval}" = "xyes" ; then
32875        install_examples="yes"
32876     else
32877        install_examples="no"
32878     fi
32879
32880 else
32881   install_examples="yes"
32882 fi
32883
32884  if test "x${install_examples}" = "xyes"; then
32885   INSTALL_EXAMPLES_TRUE=
32886   INSTALL_EXAMPLES_FALSE='#'
32887 else
32888   INSTALL_EXAMPLES_TRUE='#'
32889   INSTALL_EXAMPLES_FALSE=
32890 fi
32891
32892
32893 build_examples="no"
32894 # Check whether --enable-build-examples was given.
32895 if test "${enable_build_examples+set}" = set; then :
32896   enableval=$enable_build_examples;
32897     if test "x${enableval}" = "xyes" ; then
32898        build_examples="yes"
32899        # put in here the dependencies for Evas' examples. they are
32900        # meant to be 'real world' usage examples, thus one will be
32901        # using higher level libraries on these programs
32902
32903 pkg_failed=no
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
32905 $as_echo_n "checking for ECORE_EVAS... " >&6; }
32906
32907 if test -n "$ECORE_EVAS_CFLAGS"; then
32908     pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
32909  elif test -n "$PKG_CONFIG"; then
32910     if test -n "$PKG_CONFIG" && \
32911     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32912   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32913   ac_status=$?
32914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32915   test $ac_status = 0; }; then
32916   pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
32917 else
32918   pkg_failed=yes
32919 fi
32920  else
32921     pkg_failed=untried
32922 fi
32923 if test -n "$ECORE_EVAS_LIBS"; then
32924     pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
32925  elif test -n "$PKG_CONFIG"; then
32926     if test -n "$PKG_CONFIG" && \
32927     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32928   ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32929   ac_status=$?
32930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32931   test $ac_status = 0; }; then
32932   pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
32933 else
32934   pkg_failed=yes
32935 fi
32936  else
32937     pkg_failed=untried
32938 fi
32939
32940
32941
32942 if test $pkg_failed = yes; then
32943         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32944 $as_echo "no" >&6; }
32945
32946 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32947         _pkg_short_errors_supported=yes
32948 else
32949         _pkg_short_errors_supported=no
32950 fi
32951         if test $_pkg_short_errors_supported = yes; then
32952                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas ecore" 2>&1`
32953         else
32954                 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas ecore" 2>&1`
32955         fi
32956         # Put the nasty error message in config.log where it belongs
32957         echo "$ECORE_EVAS_PKG_ERRORS" >&5
32958
32959         build_examples="no"
32960 elif test $pkg_failed = untried; then
32961         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32962 $as_echo "no" >&6; }
32963         build_examples="no"
32964 else
32965         ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
32966         ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
32967         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32968 $as_echo "yes" >&6; }
32969
32970 fi
32971
32972 pkg_failed=no
32973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
32974 $as_echo_n "checking for EDJE... " >&6; }
32975
32976 if test -n "$EDJE_CFLAGS"; then
32977     pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
32978  elif test -n "$PKG_CONFIG"; then
32979     if test -n "$PKG_CONFIG" && \
32980     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32981   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32982   ac_status=$?
32983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32984   test $ac_status = 0; }; then
32985   pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
32986 else
32987   pkg_failed=yes
32988 fi
32989  else
32990     pkg_failed=untried
32991 fi
32992 if test -n "$EDJE_LIBS"; then
32993     pkg_cv_EDJE_LIBS="$EDJE_LIBS"
32994  elif test -n "$PKG_CONFIG"; then
32995     if test -n "$PKG_CONFIG" && \
32996     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32997   ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32998   ac_status=$?
32999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33000   test $ac_status = 0; }; then
33001   pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
33002 else
33003   pkg_failed=yes
33004 fi
33005  else
33006     pkg_failed=untried
33007 fi
33008
33009
33010
33011 if test $pkg_failed = yes; then
33012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33013 $as_echo "no" >&6; }
33014
33015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33016         _pkg_short_errors_supported=yes
33017 else
33018         _pkg_short_errors_supported=no
33019 fi
33020         if test $_pkg_short_errors_supported = yes; then
33021                 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje" 2>&1`
33022         else
33023                 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje" 2>&1`
33024         fi
33025         # Put the nasty error message in config.log where it belongs
33026         echo "$EDJE_PKG_ERRORS" >&5
33027
33028         build_examples="no"
33029 elif test $pkg_failed = untried; then
33030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33031 $as_echo "no" >&6; }
33032         build_examples="no"
33033 else
33034         EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
33035         EDJE_LIBS=$pkg_cv_EDJE_LIBS
33036         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33037 $as_echo "yes" >&6; }
33038         edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
33039 fi
33040
33041     else
33042        build_examples="no"
33043     fi
33044
33045 else
33046   build_examples="no"
33047 fi
33048
33049  if test "x${build_examples}" = "xyes"; then
33050   BUILD_EXAMPLES_TRUE=
33051   BUILD_EXAMPLES_FALSE='#'
33052 else
33053   BUILD_EXAMPLES_TRUE='#'
33054   BUILD_EXAMPLES_FALSE=
33055 fi
33056
33057
33058 ## Unit tests, coverage
33059
33060
33061
33062
33063 # Check whether --enable-tests was given.
33064 if test "${enable_tests+set}" = set; then :
33065   enableval=$enable_tests;
33066     if test "x${enableval}" = "xyes" ; then
33067        _efl_enable_tests="yes"
33068     else
33069        _efl_enable_tests="no"
33070     fi
33071
33072 else
33073   _efl_enable_tests="no"
33074 fi
33075
33076
33077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
33078 $as_echo_n "checking whether tests are built... " >&6; }
33079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
33080 $as_echo "${_efl_enable_tests}" >&6; }
33081
33082
33083
33084 if test "x${_efl_enable_tests}" = "xyes" ; then
33085
33086 pkg_failed=no
33087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
33088 $as_echo_n "checking for CHECK... " >&6; }
33089
33090 if test -n "$CHECK_CFLAGS"; then
33091     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
33092  elif test -n "$PKG_CONFIG"; then
33093     if test -n "$PKG_CONFIG" && \
33094     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33095   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33096   ac_status=$?
33097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33098   test $ac_status = 0; }; then
33099   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
33100 else
33101   pkg_failed=yes
33102 fi
33103  else
33104     pkg_failed=untried
33105 fi
33106 if test -n "$CHECK_LIBS"; then
33107     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
33108  elif test -n "$PKG_CONFIG"; then
33109     if test -n "$PKG_CONFIG" && \
33110     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
33111   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
33112   ac_status=$?
33113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33114   test $ac_status = 0; }; then
33115   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
33116 else
33117   pkg_failed=yes
33118 fi
33119  else
33120     pkg_failed=untried
33121 fi
33122
33123
33124
33125 if test $pkg_failed = yes; then
33126         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33127 $as_echo "no" >&6; }
33128
33129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33130         _pkg_short_errors_supported=yes
33131 else
33132         _pkg_short_errors_supported=no
33133 fi
33134         if test $_pkg_short_errors_supported = yes; then
33135                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
33136         else
33137                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
33138         fi
33139         # Put the nasty error message in config.log where it belongs
33140         echo "$CHECK_PKG_ERRORS" >&5
33141
33142         _efl_enable_tests="no"
33143 elif test $pkg_failed = untried; then
33144         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33145 $as_echo "no" >&6; }
33146         _efl_enable_tests="no"
33147 else
33148         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
33149         CHECK_LIBS=$pkg_cv_CHECK_LIBS
33150         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33151 $as_echo "yes" >&6; }
33152         dummy="yes"
33153 fi
33154 fi
33155 if test "x${_efl_enable_tests}" = "xyes" ; then
33156
33157 $as_echo "#define HAVE_TESTS 1" >>confdefs.h
33158
33159 fi
33160
33161  if test "x${_efl_enable_tests}" = "xyes"; then
33162   EFL_ENABLE_TESTS_TRUE=
33163   EFL_ENABLE_TESTS_FALSE='#'
33164 else
33165   EFL_ENABLE_TESTS_TRUE='#'
33166   EFL_ENABLE_TESTS_FALSE=
33167 fi
33168
33169
33170 if test "x$_efl_enable_tests" = "xyes"; then :
33171   enable_tests="yes"
33172 else
33173   enable_tests="no"
33174 fi
33175
33176
33177
33178
33179
33180 # Check whether --enable-coverage was given.
33181 if test "${enable_coverage+set}" = set; then :
33182   enableval=$enable_coverage;
33183     if test "x${enableval}" = "xyes" ; then
33184        _efl_enable_coverage="yes"
33185     else
33186        _efl_enable_coverage="no"
33187     fi
33188
33189 else
33190   _efl_enable_coverage="no"
33191 fi
33192
33193
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
33195 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
33196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
33197 $as_echo "$_efl_enable_coverage" >&6; }
33198
33199
33200 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
33201    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
33202 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
33203    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
33204 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
33205    _efl_enable_coverage="no"
33206 fi
33207
33208 if test "x$_efl_enable_coverage" = "xyes" ; then
33209    # Extract the first word of "lcov", so it can be a program name with args.
33210 set dummy lcov; ac_word=$2
33211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33212 $as_echo_n "checking for $ac_word... " >&6; }
33213 if ${ac_cv_prog_have_lcov+:} false; then :
33214   $as_echo_n "(cached) " >&6
33215 else
33216   if test -n "$have_lcov"; then
33217   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
33218 else
33219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33220 for as_dir in $PATH
33221 do
33222   IFS=$as_save_IFS
33223   test -z "$as_dir" && as_dir=.
33224     for ac_exec_ext in '' $ac_executable_extensions; do
33225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33226     ac_cv_prog_have_lcov="yes"
33227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33228     break 2
33229   fi
33230 done
33231   done
33232 IFS=$as_save_IFS
33233
33234   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
33235 fi
33236 fi
33237 have_lcov=$ac_cv_prog_have_lcov
33238 if test -n "$have_lcov"; then
33239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
33240 $as_echo "$have_lcov" >&6; }
33241 else
33242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33243 $as_echo "no" >&6; }
33244 fi
33245
33246
33247    if test "x$have_lcov" = "xyes" ; then
33248       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
33249       EFL_COVERAGE_LIBS="-lgcov"
33250 # remove any optimisation flag and force debug symbols
33251       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
33252    else
33253       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
33254 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
33255       _efl_enable_coverage="no"
33256    fi
33257 fi
33258
33259
33260
33261
33262  if test "x${_efl_enable_coverage}" = "xyes"; then
33263   EFL_ENABLE_COVERAGE_TRUE=
33264   EFL_ENABLE_COVERAGE_FALSE='#'
33265 else
33266   EFL_ENABLE_COVERAGE_TRUE='#'
33267   EFL_ENABLE_COVERAGE_FALSE=
33268 fi
33269
33270
33271 if test "x$_efl_enable_coverage" = "xyes"; then :
33272   enable_coverage="yes"
33273 else
33274   enable_coverage="no"
33275 fi
33276
33277 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
33278 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
33279 if test "x$enable_coverage" = "xyes" ; then
33280    EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
33281 fi
33282
33283
33284
33285
33286 # General CFLAGS
33287
33288 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
33289 EVAS_GENERAL_LIBS="${EINA_LIBS}"
33290
33291
33292
33293 #####################################################################
33294 ## Fill in flags
33295
33296
33297
33298
33299
33300
33301
33302 #####################################################################
33303 ## Output
33304
33305 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"
33306
33307 cat >confcache <<\_ACEOF
33308 # This file is a shell script that caches the results of configure
33309 # tests run on this system so they can be shared between configure
33310 # scripts and configure runs, see configure's option --config-cache.
33311 # It is not useful on other systems.  If it contains results you don't
33312 # want to keep, you may remove or edit it.
33313 #
33314 # config.status only pays attention to the cache file if you give it
33315 # the --recheck option to rerun configure.
33316 #
33317 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33318 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33319 # following values.
33320
33321 _ACEOF
33322
33323 # The following way of writing the cache mishandles newlines in values,
33324 # but we know of no workaround that is simple, portable, and efficient.
33325 # So, we kill variables containing newlines.
33326 # Ultrix sh set writes to stderr and can't be redirected directly,
33327 # and sets the high bit in the cache file unless we assign to the vars.
33328 (
33329   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33330     eval ac_val=\$$ac_var
33331     case $ac_val in #(
33332     *${as_nl}*)
33333       case $ac_var in #(
33334       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
33335 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
33336       esac
33337       case $ac_var in #(
33338       _ | IFS | as_nl) ;; #(
33339       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
33340       *) { eval $ac_var=; unset $ac_var;} ;;
33341       esac ;;
33342     esac
33343   done
33344
33345   (set) 2>&1 |
33346     case $as_nl`(ac_space=' '; set) 2>&1` in #(
33347     *${as_nl}ac_space=\ *)
33348       # `set' does not quote correctly, so add quotes: double-quote
33349       # substitution turns \\\\ into \\, and sed turns \\ into \.
33350       sed -n \
33351         "s/'/'\\\\''/g;
33352           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33353       ;; #(
33354     *)
33355       # `set' quotes correctly as required by POSIX, so do not add quotes.
33356       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33357       ;;
33358     esac |
33359     sort
33360 ) |
33361   sed '
33362      /^ac_cv_env_/b end
33363      t clear
33364      :clear
33365      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33366      t end
33367      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33368      :end' >>confcache
33369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33370   if test -w "$cache_file"; then
33371     if test "x$cache_file" != "x/dev/null"; then
33372       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33373 $as_echo "$as_me: updating cache $cache_file" >&6;}
33374       if test ! -f "$cache_file" || test -h "$cache_file"; then
33375         cat confcache >"$cache_file"
33376       else
33377         case $cache_file in #(
33378         */* | ?:*)
33379           mv -f confcache "$cache_file"$$ &&
33380           mv -f "$cache_file"$$ "$cache_file" ;; #(
33381         *)
33382           mv -f confcache "$cache_file" ;;
33383         esac
33384       fi
33385     fi
33386   else
33387     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33388 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33389   fi
33390 fi
33391 rm -f confcache
33392
33393 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33394 # Let make expand exec_prefix.
33395 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33396
33397 DEFS=-DHAVE_CONFIG_H
33398
33399 ac_libobjs=
33400 ac_ltlibobjs=
33401 U=
33402 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33403   # 1. Remove the extension, and $U if already installed.
33404   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33405   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33406   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33407   #    will be set to the directory where LIBOBJS objects are built.
33408   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33409   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33410 done
33411 LIBOBJS=$ac_libobjs
33412
33413 LTLIBOBJS=$ac_ltlibobjs
33414
33415
33416  if test -n "$EXEEXT"; then
33417   am__EXEEXT_TRUE=
33418   am__EXEEXT_FALSE='#'
33419 else
33420   am__EXEEXT_TRUE='#'
33421   am__EXEEXT_FALSE=
33422 fi
33423
33424 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33425   as_fn_error $? "conditional \"AMDEP\" was never defined.
33426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33427 fi
33428 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33429   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33431 fi
33432 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33433   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33435 fi
33436 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
33437   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
33438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33439 fi
33440 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33441   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
33442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33443 fi
33444 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33445   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
33446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33447 fi
33448 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
33449   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
33450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33451 fi
33452 if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
33453   as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
33454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33455 fi
33456 if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
33457   as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
33458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33459 fi
33460
33461 if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
33462   as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
33463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33464 fi
33465 if test -z "${EVAS_CSERVE2_TRUE}" && test -z "${EVAS_CSERVE2_FALSE}"; then
33466   as_fn_error $? "conditional \"EVAS_CSERVE2\" was never defined.
33467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33468 fi
33469 if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
33470   as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
33471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33472 fi
33473 if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
33474   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
33475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33476 fi
33477 if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
33478   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
33479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33480 fi
33481 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
33482   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
33483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33484 fi
33485 if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
33486   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
33487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33488 fi
33489 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
33490   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
33491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33492 fi
33493 if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
33494   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
33495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33496 fi
33497 if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
33498   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
33499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33500 fi
33501 if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
33502   as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
33503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33504 fi
33505 if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
33506   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
33507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33508 fi
33509 if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
33510   as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
33511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33512 fi
33513 if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
33514   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
33515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33516 fi
33517 if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
33518   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
33519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33520 fi
33521 if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
33522   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
33523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33524 fi
33525 if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
33526   as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
33527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33528 fi
33529 if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
33530   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
33531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33532 fi
33533 if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
33534   as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
33535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33536 fi
33537 if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
33538   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
33539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33540 fi
33541 if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
33542   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
33543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33544 fi
33545 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
33546   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
33547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33548 fi
33549 if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
33550   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
33551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33552 fi
33553 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
33554   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
33555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33556 fi
33557 if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
33558   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
33559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33560 fi
33561 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
33562   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
33563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33564 fi
33565 if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
33566   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
33567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33568 fi
33569 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
33570   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
33571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33572 fi
33573 if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
33574   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
33575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33576 fi
33577 if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
33578   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
33579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33580 fi
33581 if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
33582   as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
33583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33584 fi
33585 if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
33586   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
33587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33588 fi
33589 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
33590   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
33591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33592 fi
33593 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33594   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33596 fi
33597 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33598   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33600 fi
33601 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33602   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33604 fi
33605 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33606   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33608 fi
33609 if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33610   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33612 fi
33613 if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33614   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33616 fi
33617 if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
33618   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
33619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33620 fi
33621 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
33622   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
33623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33624 fi
33625 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33626   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33628 fi
33629 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33630   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33632 fi
33633 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33634   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33636 fi
33637 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33638   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33640 fi
33641 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33642   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33644 fi
33645 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33646   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33648 fi
33649 if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33650   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33652 fi
33653 if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33654   as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33656 fi
33657 if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
33658   as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
33659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33660 fi
33661 if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
33662   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
33663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33664 fi
33665 if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33666   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33668 fi
33669 if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33670   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33672 fi
33673 if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
33674   as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
33675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33676 fi
33677 if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
33678   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
33679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33680 fi
33681 if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
33682   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
33683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33684 fi
33685 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
33686   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
33687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33688 fi
33689 if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
33690   as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
33691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33692 fi
33693 if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
33694   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
33695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33696 fi
33697 if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
33698   as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
33699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33700 fi
33701 if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
33702   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
33703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33704 fi
33705 if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
33706   as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
33707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33708 fi
33709 if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
33710   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
33711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33712 fi
33713 if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
33714   as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
33715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33716 fi
33717 if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
33718   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
33719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33720 fi
33721 if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
33722   as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
33723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33724 fi
33725 if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33726   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33728 fi
33729 if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33730   as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33732 fi
33733 if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33734   as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33736 fi
33737 if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33738   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33740 fi
33741 if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33742   as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33744 fi
33745 if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33746   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33748 fi
33749 if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33750   as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33752 fi
33753 if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33754   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33756 fi
33757 if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33758   as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33760 fi
33761 if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33762   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33764 fi
33765 if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33766   as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33768 fi
33769 if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33770   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33772 fi
33773 if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33774   as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33776 fi
33777 if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33778   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33780 fi
33781 if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33782   as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33784 fi
33785 if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33786   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33788 fi
33789 if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33790   as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33792 fi
33793 if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33794   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33796 fi
33797 if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33798   as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33800 fi
33801 if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33802   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33804 fi
33805 if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33806   as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33808 fi
33809 if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33810   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33812 fi
33813 if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33814   as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33816 fi
33817 if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33818   as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33820 fi
33821 if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33822   as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33824 fi
33825 if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33826   as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33828 fi
33829 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33830   as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33832 fi
33833 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33834   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33836 fi
33837 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33838   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
33840 fi
33841
33842 : "${CONFIG_STATUS=./config.status}"
33843 ac_write_fail=0
33844 ac_clean_files_save=$ac_clean_files
33845 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33847 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33848 as_write_fail=0
33849 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33850 #! $SHELL
33851 # Generated by $as_me.
33852 # Run this file to recreate the current configuration.
33853 # Compiler output produced by configure, useful for debugging
33854 # configure, is in config.log if it exists.
33855
33856 debug=false
33857 ac_cs_recheck=false
33858 ac_cs_silent=false
33859
33860 SHELL=\${CONFIG_SHELL-$SHELL}
33861 export SHELL
33862 _ASEOF
33863 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
33864 ## -------------------- ##
33865 ## M4sh Initialization. ##
33866 ## -------------------- ##
33867
33868 # Be more Bourne compatible
33869 DUALCASE=1; export DUALCASE # for MKS sh
33870 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33871   emulate sh
33872   NULLCMD=:
33873   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33874   # is contrary to our usage.  Disable this feature.
33875   alias -g '${1+"$@"}'='"$@"'
33876   setopt NO_GLOB_SUBST
33877 else
33878   case `(set -o) 2>/dev/null` in #(
33879   *posix*) :
33880     set -o posix ;; #(
33881   *) :
33882      ;;
33883 esac
33884 fi
33885
33886
33887 as_nl='
33888 '
33889 export as_nl
33890 # Printing a long string crashes Solaris 7 /usr/bin/printf.
33891 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33892 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33893 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33894 # Prefer a ksh shell builtin over an external printf program on Solaris,
33895 # but without wasting forks for bash or zsh.
33896 if test -z "$BASH_VERSION$ZSH_VERSION" \
33897     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
33898   as_echo='print -r --'
33899   as_echo_n='print -rn --'
33900 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33901   as_echo='printf %s\n'
33902   as_echo_n='printf %s'
33903 else
33904   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33905     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33906     as_echo_n='/usr/ucb/echo -n'
33907   else
33908     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33909     as_echo_n_body='eval
33910       arg=$1;
33911       case $arg in #(
33912       *"$as_nl"*)
33913         expr "X$arg" : "X\\(.*\\)$as_nl";
33914         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33915       esac;
33916       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33917     '
33918     export as_echo_n_body
33919     as_echo_n='sh -c $as_echo_n_body as_echo'
33920   fi
33921   export as_echo_body
33922   as_echo='sh -c $as_echo_body as_echo'
33923 fi
33924
33925 # The user is always right.
33926 if test "${PATH_SEPARATOR+set}" != set; then
33927   PATH_SEPARATOR=:
33928   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33929     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33930       PATH_SEPARATOR=';'
33931   }
33932 fi
33933
33934
33935 # IFS
33936 # We need space, tab and new line, in precisely that order.  Quoting is
33937 # there to prevent editors from complaining about space-tab.
33938 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33939 # splitting by setting IFS to empty value.)
33940 IFS=" ""        $as_nl"
33941
33942 # Find who we are.  Look in the path if we contain no directory separator.
33943 as_myself=
33944 case $0 in #((
33945   *[\\/]* ) as_myself=$0 ;;
33946   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33947 for as_dir in $PATH
33948 do
33949   IFS=$as_save_IFS
33950   test -z "$as_dir" && as_dir=.
33951     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33952   done
33953 IFS=$as_save_IFS
33954
33955      ;;
33956 esac
33957 # We did not find ourselves, most probably we were run as `sh COMMAND'
33958 # in which case we are not to be found in the path.
33959 if test "x$as_myself" = x; then
33960   as_myself=$0
33961 fi
33962 if test ! -f "$as_myself"; then
33963   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33964   exit 1
33965 fi
33966
33967 # Unset variables that we do not need and which cause bugs (e.g. in
33968 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
33969 # suppresses any "Segmentation fault" message there.  '((' could
33970 # trigger a bug in pdksh 5.2.14.
33971 for as_var in BASH_ENV ENV MAIL MAILPATH
33972 do eval test x\${$as_var+set} = xset \
33973   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
33974 done
33975 PS1='$ '
33976 PS2='> '
33977 PS4='+ '
33978
33979 # NLS nuisances.
33980 LC_ALL=C
33981 export LC_ALL
33982 LANGUAGE=C
33983 export LANGUAGE
33984
33985 # CDPATH.
33986 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33987
33988
33989 # as_fn_error STATUS ERROR [LINENO LOG_FD]
33990 # ----------------------------------------
33991 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
33992 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
33993 # script with STATUS, using 1 if that was 0.
33994 as_fn_error ()
33995 {
33996   as_status=$1; test $as_status -eq 0 && as_status=1
33997   if test "$4"; then
33998     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
33999     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
34000   fi
34001   $as_echo "$as_me: error: $2" >&2
34002   as_fn_exit $as_status
34003 } # as_fn_error
34004
34005
34006 # as_fn_set_status STATUS
34007 # -----------------------
34008 # Set $? to STATUS, without forking.
34009 as_fn_set_status ()
34010 {
34011   return $1
34012 } # as_fn_set_status
34013
34014 # as_fn_exit STATUS
34015 # -----------------
34016 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
34017 as_fn_exit ()
34018 {
34019   set +e
34020   as_fn_set_status $1
34021   exit $1
34022 } # as_fn_exit
34023
34024 # as_fn_unset VAR
34025 # ---------------
34026 # Portably unset VAR.
34027 as_fn_unset ()
34028 {
34029   { eval $1=; unset $1;}
34030 }
34031 as_unset=as_fn_unset
34032 # as_fn_append VAR VALUE
34033 # ----------------------
34034 # Append the text in VALUE to the end of the definition contained in VAR. Take
34035 # advantage of any shell optimizations that allow amortized linear growth over
34036 # repeated appends, instead of the typical quadratic growth present in naive
34037 # implementations.
34038 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
34039   eval 'as_fn_append ()
34040   {
34041     eval $1+=\$2
34042   }'
34043 else
34044   as_fn_append ()
34045   {
34046     eval $1=\$$1\$2
34047   }
34048 fi # as_fn_append
34049
34050 # as_fn_arith ARG...
34051 # ------------------
34052 # Perform arithmetic evaluation on the ARGs, and store the result in the
34053 # global $as_val. Take advantage of shells that can avoid forks. The arguments
34054 # must be portable across $(()) and expr.
34055 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
34056   eval 'as_fn_arith ()
34057   {
34058     as_val=$(( $* ))
34059   }'
34060 else
34061   as_fn_arith ()
34062   {
34063     as_val=`expr "$@" || test $? -eq 1`
34064   }
34065 fi # as_fn_arith
34066
34067
34068 if expr a : '\(a\)' >/dev/null 2>&1 &&
34069    test "X`expr 00001 : '.*\(...\)'`" = X001; then
34070   as_expr=expr
34071 else
34072   as_expr=false
34073 fi
34074
34075 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
34076   as_basename=basename
34077 else
34078   as_basename=false
34079 fi
34080
34081 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
34082   as_dirname=dirname
34083 else
34084   as_dirname=false
34085 fi
34086
34087 as_me=`$as_basename -- "$0" ||
34088 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34089          X"$0" : 'X\(//\)$' \| \
34090          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
34091 $as_echo X/"$0" |
34092     sed '/^.*\/\([^/][^/]*\)\/*$/{
34093             s//\1/
34094             q
34095           }
34096           /^X\/\(\/\/\)$/{
34097             s//\1/
34098             q
34099           }
34100           /^X\/\(\/\).*/{
34101             s//\1/
34102             q
34103           }
34104           s/.*/./; q'`
34105
34106 # Avoid depending upon Character Ranges.
34107 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34108 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34109 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34110 as_cr_digits='0123456789'
34111 as_cr_alnum=$as_cr_Letters$as_cr_digits
34112
34113 ECHO_C= ECHO_N= ECHO_T=
34114 case `echo -n x` in #(((((
34115 -n*)
34116   case `echo 'xy\c'` in
34117   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
34118   xy)  ECHO_C='\c';;
34119   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
34120        ECHO_T=' ';;
34121   esac;;
34122 *)
34123   ECHO_N='-n';;
34124 esac
34125
34126 rm -f conf$$ conf$$.exe conf$$.file
34127 if test -d conf$$.dir; then
34128   rm -f conf$$.dir/conf$$.file
34129 else
34130   rm -f conf$$.dir
34131   mkdir conf$$.dir 2>/dev/null
34132 fi
34133 if (echo >conf$$.file) 2>/dev/null; then
34134   if ln -s conf$$.file conf$$ 2>/dev/null; then
34135     as_ln_s='ln -s'
34136     # ... but there are two gotchas:
34137     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
34138     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
34139     # In both cases, we have to default to `cp -p'.
34140     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
34141       as_ln_s='cp -p'
34142   elif ln conf$$.file conf$$ 2>/dev/null; then
34143     as_ln_s=ln
34144   else
34145     as_ln_s='cp -p'
34146   fi
34147 else
34148   as_ln_s='cp -p'
34149 fi
34150 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
34151 rmdir conf$$.dir 2>/dev/null
34152
34153
34154 # as_fn_mkdir_p
34155 # -------------
34156 # Create "$as_dir" as a directory, including parents if necessary.
34157 as_fn_mkdir_p ()
34158 {
34159
34160   case $as_dir in #(
34161   -*) as_dir=./$as_dir;;
34162   esac
34163   test -d "$as_dir" || eval $as_mkdir_p || {
34164     as_dirs=
34165     while :; do
34166       case $as_dir in #(
34167       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
34168       *) as_qdir=$as_dir;;
34169       esac
34170       as_dirs="'$as_qdir' $as_dirs"
34171       as_dir=`$as_dirname -- "$as_dir" ||
34172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34173          X"$as_dir" : 'X\(//\)[^/]' \| \
34174          X"$as_dir" : 'X\(//\)$' \| \
34175          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34176 $as_echo X"$as_dir" |
34177     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34178             s//\1/
34179             q
34180           }
34181           /^X\(\/\/\)[^/].*/{
34182             s//\1/
34183             q
34184           }
34185           /^X\(\/\/\)$/{
34186             s//\1/
34187             q
34188           }
34189           /^X\(\/\).*/{
34190             s//\1/
34191             q
34192           }
34193           s/.*/./; q'`
34194       test -d "$as_dir" && break
34195     done
34196     test -z "$as_dirs" || eval "mkdir $as_dirs"
34197   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
34198
34199
34200 } # as_fn_mkdir_p
34201 if mkdir -p . 2>/dev/null; then
34202   as_mkdir_p='mkdir -p "$as_dir"'
34203 else
34204   test -d ./-p && rmdir ./-p
34205   as_mkdir_p=false
34206 fi
34207
34208 if test -x / >/dev/null 2>&1; then
34209   as_test_x='test -x'
34210 else
34211   if ls -dL / >/dev/null 2>&1; then
34212     as_ls_L_option=L
34213   else
34214     as_ls_L_option=
34215   fi
34216   as_test_x='
34217     eval sh -c '\''
34218       if test -d "$1"; then
34219         test -d "$1/.";
34220       else
34221         case $1 in #(
34222         -*)set "./$1";;
34223         esac;
34224         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
34225         ???[sx]*):;;*)false;;esac;fi
34226     '\'' sh
34227   '
34228 fi
34229 as_executable_p=$as_test_x
34230
34231 # Sed expression to map a string onto a valid CPP name.
34232 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34233
34234 # Sed expression to map a string onto a valid variable name.
34235 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34236
34237
34238 exec 6>&1
34239 ## ----------------------------------- ##
34240 ## Main body of $CONFIG_STATUS script. ##
34241 ## ----------------------------------- ##
34242 _ASEOF
34243 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34244
34245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34246 # Save the log message, to keep $0 and so on meaningful, and to
34247 # report actual input values of CONFIG_FILES etc. instead of their
34248 # values after options handling.
34249 ac_log="
34250 This file was extended by evas $as_me 1.7.7, which was
34251 generated by GNU Autoconf 2.68.  Invocation command line was
34252
34253   CONFIG_FILES    = $CONFIG_FILES
34254   CONFIG_HEADERS  = $CONFIG_HEADERS
34255   CONFIG_LINKS    = $CONFIG_LINKS
34256   CONFIG_COMMANDS = $CONFIG_COMMANDS
34257   $ $0 $@
34258
34259 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34260 "
34261
34262 _ACEOF
34263
34264 case $ac_config_files in *"
34265 "*) set x $ac_config_files; shift; ac_config_files=$*;;
34266 esac
34267
34268 case $ac_config_headers in *"
34269 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34270 esac
34271
34272
34273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34274 # Files that config.status was made for.
34275 config_files="$ac_config_files"
34276 config_headers="$ac_config_headers"
34277 config_commands="$ac_config_commands"
34278
34279 _ACEOF
34280
34281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34282 ac_cs_usage="\
34283 \`$as_me' instantiates files and other configuration actions
34284 from templates according to the current configuration.  Unless the files
34285 and actions are specified as TAGs, all are instantiated by default.
34286
34287 Usage: $0 [OPTION]... [TAG]...
34288
34289   -h, --help       print this help, then exit
34290   -V, --version    print version number and configuration settings, then exit
34291       --config     print configuration, then exit
34292   -q, --quiet, --silent
34293                    do not print progress messages
34294   -d, --debug      don't remove temporary files
34295       --recheck    update $as_me by reconfiguring in the same conditions
34296       --file=FILE[:TEMPLATE]
34297                    instantiate the configuration file FILE
34298       --header=FILE[:TEMPLATE]
34299                    instantiate the configuration header FILE
34300
34301 Configuration files:
34302 $config_files
34303
34304 Configuration headers:
34305 $config_headers
34306
34307 Configuration commands:
34308 $config_commands
34309
34310 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
34311
34312 _ACEOF
34313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34314 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34315 ac_cs_version="\\
34316 evas config.status 1.7.7
34317 configured by $0, generated by GNU Autoconf 2.68,
34318   with options \\"\$ac_cs_config\\"
34319
34320 Copyright (C) 2010 Free Software Foundation, Inc.
34321 This config.status script is free software; the Free Software Foundation
34322 gives unlimited permission to copy, distribute and modify it."
34323
34324 ac_pwd='$ac_pwd'
34325 srcdir='$srcdir'
34326 INSTALL='$INSTALL'
34327 MKDIR_P='$MKDIR_P'
34328 AWK='$AWK'
34329 test -n "\$AWK" || AWK=awk
34330 _ACEOF
34331
34332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34333 # The default lists apply if the user does not specify any file.
34334 ac_need_defaults=:
34335 while test $# != 0
34336 do
34337   case $1 in
34338   --*=?*)
34339     ac_option=`expr "X$1" : 'X\([^=]*\)='`
34340     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
34341     ac_shift=:
34342     ;;
34343   --*=)
34344     ac_option=`expr "X$1" : 'X\([^=]*\)='`
34345     ac_optarg=
34346     ac_shift=:
34347     ;;
34348   *)
34349     ac_option=$1
34350     ac_optarg=$2
34351     ac_shift=shift
34352     ;;
34353   esac
34354
34355   case $ac_option in
34356   # Handling of the options.
34357   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34358     ac_cs_recheck=: ;;
34359   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
34360     $as_echo "$ac_cs_version"; exit ;;
34361   --config | --confi | --conf | --con | --co | --c )
34362     $as_echo "$ac_cs_config"; exit ;;
34363   --debug | --debu | --deb | --de | --d | -d )
34364     debug=: ;;
34365   --file | --fil | --fi | --f )
34366     $ac_shift
34367     case $ac_optarg in
34368     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34369     '') as_fn_error $? "missing file argument" ;;
34370     esac
34371     as_fn_append CONFIG_FILES " '$ac_optarg'"
34372     ac_need_defaults=false;;
34373   --header | --heade | --head | --hea )
34374     $ac_shift
34375     case $ac_optarg in
34376     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
34377     esac
34378     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
34379     ac_need_defaults=false;;
34380   --he | --h)
34381     # Conflict between --help and --header
34382     as_fn_error $? "ambiguous option: \`$1'
34383 Try \`$0 --help' for more information.";;
34384   --help | --hel | -h )
34385     $as_echo "$ac_cs_usage"; exit ;;
34386   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34387   | -silent | --silent | --silen | --sile | --sil | --si | --s)
34388     ac_cs_silent=: ;;
34389
34390   # This is an error.
34391   -*) as_fn_error $? "unrecognized option: \`$1'
34392 Try \`$0 --help' for more information." ;;
34393
34394   *) as_fn_append ac_config_targets " $1"
34395      ac_need_defaults=false ;;
34396
34397   esac
34398   shift
34399 done
34400
34401 ac_configure_extra_args=
34402
34403 if $ac_cs_silent; then
34404   exec 6>/dev/null
34405   ac_configure_extra_args="$ac_configure_extra_args --silent"
34406 fi
34407
34408 _ACEOF
34409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34410 if \$ac_cs_recheck; then
34411   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34412   shift
34413   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
34414   CONFIG_SHELL='$SHELL'
34415   export CONFIG_SHELL
34416   exec "\$@"
34417 fi
34418
34419 _ACEOF
34420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34421 exec 5>>config.log
34422 {
34423   echo
34424   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34425 ## Running $as_me. ##
34426 _ASBOX
34427   $as_echo "$ac_log"
34428 } >&5
34429
34430 _ACEOF
34431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34432 #
34433 # INIT-COMMANDS
34434 #
34435 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34436
34437
34438 # The HP-UX ksh and POSIX shell print the target directory to stdout
34439 # if CDPATH is set.
34440 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34441
34442 sed_quote_subst='$sed_quote_subst'
34443 double_quote_subst='$double_quote_subst'
34444 delay_variable_subst='$delay_variable_subst'
34445 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
34446 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
34447 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
34448 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
34449 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
34450 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
34451 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
34452 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
34453 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
34454 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
34455 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
34456 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
34457 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
34458 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
34459 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
34460 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
34461 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
34462 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
34463 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
34464 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
34465 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
34466 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
34467 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
34468 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
34469 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
34470 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
34471 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
34472 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
34473 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
34474 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
34475 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
34476 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
34477 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
34478 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
34479 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
34480 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
34481 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
34482 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
34483 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
34484 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
34485 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
34486 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
34487 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
34488 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
34489 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
34490 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
34491 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34492 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34493 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
34494 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
34495 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
34496 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
34497 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
34498 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
34499 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
34500 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
34501 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
34502 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
34503 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
34504 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
34505 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
34506 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
34507 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
34508 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
34509 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
34510 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
34511 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
34512 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
34513 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
34514 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
34515 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
34516 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
34517 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
34518 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
34519 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
34520 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
34521 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34522 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
34523 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
34524 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
34525 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
34526 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
34527 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
34528 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
34529 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
34530 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34531 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
34532 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
34533 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
34534 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
34535 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
34536 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
34537 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
34538 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
34539 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
34540 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
34541 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
34542 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
34543 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
34544 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
34545 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
34546 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
34547 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
34548 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
34549 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
34550 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
34551 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
34552 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
34553 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
34554 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
34555 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
34556 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
34557 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
34558 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
34559 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
34560 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
34561 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
34562 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
34563 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
34564 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
34565 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
34566 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
34567 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
34568 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
34569 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
34570 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
34571 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
34572 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
34573 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
34574 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
34575 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
34576 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
34577 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
34578 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
34579 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
34580 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
34581 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
34582 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
34583 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
34584 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34585 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34586 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
34587 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
34588 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
34589 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
34590 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
34591 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
34592 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
34593 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
34594 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
34595 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34596 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34597 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
34598 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34599 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34600 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34601 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34602 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34603 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34604 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
34605 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34606 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
34607 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
34608 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
34609 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
34610 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
34611 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
34612 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
34613 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
34614 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
34615 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
34616 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
34617 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34618 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34619 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
34620 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34621 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
34622 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
34623 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
34624 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
34625 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34626 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
34627 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
34628 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
34629 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
34630
34631 LTCC='$LTCC'
34632 LTCFLAGS='$LTCFLAGS'
34633 compiler='$compiler_DEFAULT'
34634
34635 # A function that is used when there is no print builtin or printf.
34636 func_fallback_echo ()
34637 {
34638   eval 'cat <<_LTECHO_EOF
34639 \$1
34640 _LTECHO_EOF'
34641 }
34642
34643 # Quote evaled strings.
34644 for var in AS \
34645 DLLTOOL \
34646 OBJDUMP \
34647 SHELL \
34648 ECHO \
34649 PATH_SEPARATOR \
34650 SED \
34651 GREP \
34652 EGREP \
34653 FGREP \
34654 LD \
34655 NM \
34656 LN_S \
34657 lt_SP2NL \
34658 lt_NL2SP \
34659 reload_flag \
34660 deplibs_check_method \
34661 file_magic_cmd \
34662 file_magic_glob \
34663 want_nocaseglob \
34664 sharedlib_from_linklib_cmd \
34665 AR \
34666 AR_FLAGS \
34667 archiver_list_spec \
34668 STRIP \
34669 RANLIB \
34670 CC \
34671 CFLAGS \
34672 compiler \
34673 lt_cv_sys_global_symbol_pipe \
34674 lt_cv_sys_global_symbol_to_cdecl \
34675 lt_cv_sys_global_symbol_to_c_name_address \
34676 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34677 nm_file_list_spec \
34678 lt_prog_compiler_no_builtin_flag \
34679 lt_prog_compiler_pic \
34680 lt_prog_compiler_wl \
34681 lt_prog_compiler_static \
34682 lt_cv_prog_compiler_c_o \
34683 need_locks \
34684 MANIFEST_TOOL \
34685 DSYMUTIL \
34686 NMEDIT \
34687 LIPO \
34688 OTOOL \
34689 OTOOL64 \
34690 shrext_cmds \
34691 export_dynamic_flag_spec \
34692 whole_archive_flag_spec \
34693 compiler_needs_object \
34694 with_gnu_ld \
34695 allow_undefined_flag \
34696 no_undefined_flag \
34697 hardcode_libdir_flag_spec \
34698 hardcode_libdir_separator \
34699 exclude_expsyms \
34700 include_expsyms \
34701 file_list_spec \
34702 variables_saved_for_relink \
34703 libname_spec \
34704 library_names_spec \
34705 soname_spec \
34706 install_override_mode \
34707 finish_eval \
34708 old_striplib \
34709 striplib \
34710 compiler_lib_search_dirs \
34711 predep_objects \
34712 postdep_objects \
34713 predeps \
34714 postdeps \
34715 compiler_lib_search_path \
34716 LD_CXX \
34717 reload_flag_CXX \
34718 compiler_CXX \
34719 lt_prog_compiler_no_builtin_flag_CXX \
34720 lt_prog_compiler_pic_CXX \
34721 lt_prog_compiler_wl_CXX \
34722 lt_prog_compiler_static_CXX \
34723 lt_cv_prog_compiler_c_o_CXX \
34724 export_dynamic_flag_spec_CXX \
34725 whole_archive_flag_spec_CXX \
34726 compiler_needs_object_CXX \
34727 with_gnu_ld_CXX \
34728 allow_undefined_flag_CXX \
34729 no_undefined_flag_CXX \
34730 hardcode_libdir_flag_spec_CXX \
34731 hardcode_libdir_separator_CXX \
34732 exclude_expsyms_CXX \
34733 include_expsyms_CXX \
34734 file_list_spec_CXX \
34735 compiler_lib_search_dirs_CXX \
34736 predep_objects_CXX \
34737 postdep_objects_CXX \
34738 predeps_CXX \
34739 postdeps_CXX \
34740 compiler_lib_search_path_CXX; do
34741     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34742     *[\\\\\\\`\\"\\\$]*)
34743       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34744       ;;
34745     *)
34746       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34747       ;;
34748     esac
34749 done
34750
34751 # Double-quote double-evaled strings.
34752 for var in reload_cmds \
34753 old_postinstall_cmds \
34754 old_postuninstall_cmds \
34755 old_archive_cmds \
34756 extract_expsyms_cmds \
34757 old_archive_from_new_cmds \
34758 old_archive_from_expsyms_cmds \
34759 archive_cmds \
34760 archive_expsym_cmds \
34761 module_cmds \
34762 module_expsym_cmds \
34763 export_symbols_cmds \
34764 prelink_cmds \
34765 postlink_cmds \
34766 postinstall_cmds \
34767 postuninstall_cmds \
34768 finish_cmds \
34769 sys_lib_search_path_spec \
34770 sys_lib_dlsearch_path_spec \
34771 reload_cmds_CXX \
34772 old_archive_cmds_CXX \
34773 old_archive_from_new_cmds_CXX \
34774 old_archive_from_expsyms_cmds_CXX \
34775 archive_cmds_CXX \
34776 archive_expsym_cmds_CXX \
34777 module_cmds_CXX \
34778 module_expsym_cmds_CXX \
34779 export_symbols_cmds_CXX \
34780 prelink_cmds_CXX \
34781 postlink_cmds_CXX; do
34782     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
34783     *[\\\\\\\`\\"\\\$]*)
34784       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34785       ;;
34786     *)
34787       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34788       ;;
34789     esac
34790 done
34791
34792 ac_aux_dir='$ac_aux_dir'
34793 xsi_shell='$xsi_shell'
34794 lt_shell_append='$lt_shell_append'
34795
34796 # See if we are running on zsh, and set the options which allow our
34797 # commands through without removal of \ escapes INIT.
34798 if test -n "\${ZSH_VERSION+set}" ; then
34799    setopt NO_GLOB_SUBST
34800 fi
34801
34802
34803     PACKAGE='$PACKAGE'
34804     VERSION='$VERSION'
34805     TIMESTAMP='$TIMESTAMP'
34806     RM='$RM'
34807     ofile='$ofile'
34808
34809
34810
34811
34812
34813
34814 _ACEOF
34815
34816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34817
34818 # Handling of arguments.
34819 for ac_config_target in $ac_config_targets
34820 do
34821   case $ac_config_target in
34822     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34823     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34824     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34825     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34826     "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34827     "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34828     "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34829     "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34830     "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34831     "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34832     "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34833     "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34834     "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34835     "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34836     "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34837     "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34838     "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34839     "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34840     "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34841     "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34842     "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34843     "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34844     "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34845     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34846     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34847     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34848     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34849     "src/bin/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/Makefile" ;;
34850     "src/bin/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/jpeg/Makefile" ;;
34851     "src/bin/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/png/Makefile" ;;
34852     "src/bin/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/eet/Makefile" ;;
34853     "src/bin/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tiff/Makefile" ;;
34854     "src/bin/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/xpm/Makefile" ;;
34855     "src/bin/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/bmp/Makefile" ;;
34856     "src/bin/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/ico/Makefile" ;;
34857     "src/bin/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/tga/Makefile" ;;
34858     "src/bin/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/pmaps/Makefile" ;;
34859     "src/bin/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/wbmp/Makefile" ;;
34860     "src/bin/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/loaders/psd/Makefile" ;;
34861     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34862     "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34863     "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34864     "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34865     "src/lib/cache2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache2/Makefile" ;;
34866     "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34867     "src/lib/cserve2/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve2/Makefile" ;;
34868     "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34869     "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34870     "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34871     "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34872     "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34873     "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
34874     "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
34875     "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
34876     "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
34877     "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
34878     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
34879     "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
34880     "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
34881     "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
34882     "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
34883     "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
34884     "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
34885     "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
34886     "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
34887     "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
34888     "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
34889     "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
34890     "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
34891     "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
34892     "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
34893     "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
34894     "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
34895     "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
34896     "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
34897     "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
34898     "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
34899     "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
34900     "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
34901     "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
34902     "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
34903     "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
34904     "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
34905     "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
34906     "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
34907     "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
34908     "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
34909     "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
34910     "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
34911     "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
34912     "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
34913     "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
34914     "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
34915     "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
34916     "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
34917     "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
34918     "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
34919     "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
34920     "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
34921     "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
34922     "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
34923     "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
34924     "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
34925     "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
34926     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
34927     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
34928     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
34929     "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
34930
34931   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
34932   esac
34933 done
34934
34935
34936 # If the user did not use the arguments to specify the items to instantiate,
34937 # then the envvar interface is used.  Set only those that are not.
34938 # We use the long form for the default assignment because of an extremely
34939 # bizarre bug on SunOS 4.1.3.
34940 if $ac_need_defaults; then
34941   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34942   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34943   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34944 fi
34945
34946 # Have a temporary directory for convenience.  Make it in the build tree
34947 # simply because there is no reason against having it here, and in addition,
34948 # creating and moving files from /tmp can sometimes cause problems.
34949 # Hook for its removal unless debugging.
34950 # Note that there is a small window in which the directory will not be cleaned:
34951 # after its creation but before its name has been assigned to `$tmp'.
34952 $debug ||
34953 {
34954   tmp= ac_tmp=
34955   trap 'exit_status=$?
34956   : "${ac_tmp:=$tmp}"
34957   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
34958 ' 0
34959   trap 'as_fn_exit 1' 1 2 13 15
34960 }
34961 # Create a (secure) tmp directory for tmp files.
34962
34963 {
34964   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34965   test -d "$tmp"
34966 }  ||
34967 {
34968   tmp=./conf$$-$RANDOM
34969   (umask 077 && mkdir "$tmp")
34970 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
34971 ac_tmp=$tmp
34972
34973 # Set up the scripts for CONFIG_FILES section.
34974 # No need to generate them if there are no CONFIG_FILES.
34975 # This happens for instance with `./config.status config.h'.
34976 if test -n "$CONFIG_FILES"; then
34977
34978
34979 ac_cr=`echo X | tr X '\015'`
34980 # On cygwin, bash can eat \r inside `` if the user requested igncr.
34981 # But we know of no other shell where ac_cr would be empty at this
34982 # point, so we can use a bashism as a fallback.
34983 if test "x$ac_cr" = x; then
34984   eval ac_cr=\$\'\\r\'
34985 fi
34986 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34987 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34988   ac_cs_awk_cr='\\r'
34989 else
34990   ac_cs_awk_cr=$ac_cr
34991 fi
34992
34993 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
34994 _ACEOF
34995
34996
34997 {
34998   echo "cat >conf$$subs.awk <<_ACEOF" &&
34999   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
35000   echo "_ACEOF"
35001 } >conf$$subs.sh ||
35002   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35003 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
35004 ac_delim='%!_!# '
35005 for ac_last_try in false false false false false :; do
35006   . ./conf$$subs.sh ||
35007     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35008
35009   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
35010   if test $ac_delim_n = $ac_delim_num; then
35011     break
35012   elif $ac_last_try; then
35013     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
35014   else
35015     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35016   fi
35017 done
35018 rm -f conf$$subs.sh
35019
35020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35021 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
35022 _ACEOF
35023 sed -n '
35024 h
35025 s/^/S["/; s/!.*/"]=/
35026 p
35027 g
35028 s/^[^!]*!//
35029 :repl
35030 t repl
35031 s/'"$ac_delim"'$//
35032 t delim
35033 :nl
35034 h
35035 s/\(.\{148\}\)..*/\1/
35036 t more1
35037 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
35038 p
35039 n
35040 b repl
35041 :more1
35042 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35043 p
35044 g
35045 s/.\{148\}//
35046 t nl
35047 :delim
35048 h
35049 s/\(.\{148\}\)..*/\1/
35050 t more2
35051 s/["\\]/\\&/g; s/^/"/; s/$/"/
35052 p
35053 b
35054 :more2
35055 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
35056 p
35057 g
35058 s/.\{148\}//
35059 t delim
35060 ' <conf$$subs.awk | sed '
35061 /^[^""]/{
35062   N
35063   s/\n//
35064 }
35065 ' >>$CONFIG_STATUS || ac_write_fail=1
35066 rm -f conf$$subs.awk
35067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35068 _ACAWK
35069 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
35070   for (key in S) S_is_set[key] = 1
35071   FS = "\a"
35072
35073 }
35074 {
35075   line = $ 0
35076   nfields = split(line, field, "@")
35077   substed = 0
35078   len = length(field[1])
35079   for (i = 2; i < nfields; i++) {
35080     key = field[i]
35081     keylen = length(key)
35082     if (S_is_set[key]) {
35083       value = S[key]
35084       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
35085       len += length(value) + length(field[++i])
35086       substed = 1
35087     } else
35088       len += 1 + keylen
35089   }
35090
35091   print line
35092 }
35093
35094 _ACAWK
35095 _ACEOF
35096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35097 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
35098   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
35099 else
35100   cat
35101 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
35102   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
35103 _ACEOF
35104
35105 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
35106 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
35107 # trailing colons and then remove the whole line if VPATH becomes empty
35108 # (actually we leave an empty line to preserve line numbers).
35109 if test "x$srcdir" = x.; then
35110   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
35111 h
35112 s///
35113 s/^/:/
35114 s/[      ]*$/:/
35115 s/:\$(srcdir):/:/g
35116 s/:\${srcdir}:/:/g
35117 s/:@srcdir@:/:/g
35118 s/^:*//
35119 s/:*$//
35120 x
35121 s/\(=[   ]*\).*/\1/
35122 G
35123 s/\n//
35124 s/^[^=]*=[       ]*$//
35125 }'
35126 fi
35127
35128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35129 fi # test -n "$CONFIG_FILES"
35130
35131 # Set up the scripts for CONFIG_HEADERS section.
35132 # No need to generate them if there are no CONFIG_HEADERS.
35133 # This happens for instance with `./config.status Makefile'.
35134 if test -n "$CONFIG_HEADERS"; then
35135 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
35136 BEGIN {
35137 _ACEOF
35138
35139 # Transform confdefs.h into an awk script `defines.awk', embedded as
35140 # here-document in config.status, that substitutes the proper values into
35141 # config.h.in to produce config.h.
35142
35143 # Create a delimiter string that does not exist in confdefs.h, to ease
35144 # handling of long lines.
35145 ac_delim='%!_!# '
35146 for ac_last_try in false false :; do
35147   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
35148   if test -z "$ac_tt"; then
35149     break
35150   elif $ac_last_try; then
35151     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
35152   else
35153     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
35154   fi
35155 done
35156
35157 # For the awk script, D is an array of macro values keyed by name,
35158 # likewise P contains macro parameters if any.  Preserve backslash
35159 # newline sequences.
35160
35161 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
35162 sed -n '
35163 s/.\{148\}/&'"$ac_delim"'/g
35164 t rset
35165 :rset
35166 s/^[     ]*#[    ]*define[       ][      ]*/ /
35167 t def
35168 d
35169 :def
35170 s/\\$//
35171 t bsnl
35172 s/["\\]/\\&/g
35173 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
35174 D["\1"]=" \3"/p
35175 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
35176 d
35177 :bsnl
35178 s/["\\]/\\&/g
35179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
35180 D["\1"]=" \3\\\\\\n"\\/p
35181 t cont
35182 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
35183 t cont
35184 d
35185 :cont
35186 n
35187 s/.\{148\}/&'"$ac_delim"'/g
35188 t clear
35189 :clear
35190 s/\\$//
35191 t bsnlc
35192 s/["\\]/\\&/g; s/^/"/; s/$/"/p
35193 d
35194 :bsnlc
35195 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
35196 b cont
35197 ' <confdefs.h | sed '
35198 s/'"$ac_delim"'/"\\\
35199 "/g' >>$CONFIG_STATUS || ac_write_fail=1
35200
35201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35202   for (key in D) D_is_set[key] = 1
35203   FS = "\a"
35204 }
35205 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
35206   line = \$ 0
35207   split(line, arg, " ")
35208   if (arg[1] == "#") {
35209     defundef = arg[2]
35210     mac1 = arg[3]
35211   } else {
35212     defundef = substr(arg[1], 2)
35213     mac1 = arg[2]
35214   }
35215   split(mac1, mac2, "(") #)
35216   macro = mac2[1]
35217   prefix = substr(line, 1, index(line, defundef) - 1)
35218   if (D_is_set[macro]) {
35219     # Preserve the white space surrounding the "#".
35220     print prefix "define", macro P[macro] D[macro]
35221     next
35222   } else {
35223     # Replace #undef with comments.  This is necessary, for example,
35224     # in the case of _POSIX_SOURCE, which is predefined and required
35225     # on some systems where configure will not decide to define it.
35226     if (defundef == "undef") {
35227       print "/*", prefix defundef, macro, "*/"
35228       next
35229     }
35230   }
35231 }
35232 { print }
35233 _ACAWK
35234 _ACEOF
35235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35236   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
35237 fi # test -n "$CONFIG_HEADERS"
35238
35239
35240 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
35241 shift
35242 for ac_tag
35243 do
35244   case $ac_tag in
35245   :[FHLC]) ac_mode=$ac_tag; continue;;
35246   esac
35247   case $ac_mode$ac_tag in
35248   :[FHL]*:*);;
35249   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
35250   :[FH]-) ac_tag=-:-;;
35251   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
35252   esac
35253   ac_save_IFS=$IFS
35254   IFS=:
35255   set x $ac_tag
35256   IFS=$ac_save_IFS
35257   shift
35258   ac_file=$1
35259   shift
35260
35261   case $ac_mode in
35262   :L) ac_source=$1;;
35263   :[FH])
35264     ac_file_inputs=
35265     for ac_f
35266     do
35267       case $ac_f in
35268       -) ac_f="$ac_tmp/stdin";;
35269       *) # Look for the file first in the build tree, then in the source tree
35270          # (if the path is not absolute).  The absolute path cannot be DOS-style,
35271          # because $ac_f cannot contain `:'.
35272          test -f "$ac_f" ||
35273            case $ac_f in
35274            [\\/$]*) false;;
35275            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
35276            esac ||
35277            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
35278       esac
35279       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
35280       as_fn_append ac_file_inputs " '$ac_f'"
35281     done
35282
35283     # Let's still pretend it is `configure' which instantiates (i.e., don't
35284     # use $as_me), people would be surprised to read:
35285     #    /* config.h.  Generated by config.status.  */
35286     configure_input='Generated from '`
35287           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
35288         `' by configure.'
35289     if test x"$ac_file" != x-; then
35290       configure_input="$ac_file.  $configure_input"
35291       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
35292 $as_echo "$as_me: creating $ac_file" >&6;}
35293     fi
35294     # Neutralize special characters interpreted by sed in replacement strings.
35295     case $configure_input in #(
35296     *\&* | *\|* | *\\* )
35297        ac_sed_conf_input=`$as_echo "$configure_input" |
35298        sed 's/[\\\\&|]/\\\\&/g'`;; #(
35299     *) ac_sed_conf_input=$configure_input;;
35300     esac
35301
35302     case $ac_tag in
35303     *:-:* | *:-) cat >"$ac_tmp/stdin" \
35304       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
35305     esac
35306     ;;
35307   esac
35308
35309   ac_dir=`$as_dirname -- "$ac_file" ||
35310 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35311          X"$ac_file" : 'X\(//\)[^/]' \| \
35312          X"$ac_file" : 'X\(//\)$' \| \
35313          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
35314 $as_echo X"$ac_file" |
35315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35316             s//\1/
35317             q
35318           }
35319           /^X\(\/\/\)[^/].*/{
35320             s//\1/
35321             q
35322           }
35323           /^X\(\/\/\)$/{
35324             s//\1/
35325             q
35326           }
35327           /^X\(\/\).*/{
35328             s//\1/
35329             q
35330           }
35331           s/.*/./; q'`
35332   as_dir="$ac_dir"; as_fn_mkdir_p
35333   ac_builddir=.
35334
35335 case "$ac_dir" in
35336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
35337 *)
35338   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
35339   # A ".." for each directory in $ac_dir_suffix.
35340   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
35341   case $ac_top_builddir_sub in
35342   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
35343   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
35344   esac ;;
35345 esac
35346 ac_abs_top_builddir=$ac_pwd
35347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
35348 # for backward compatibility:
35349 ac_top_builddir=$ac_top_build_prefix
35350
35351 case $srcdir in
35352   .)  # We are building in place.
35353     ac_srcdir=.
35354     ac_top_srcdir=$ac_top_builddir_sub
35355     ac_abs_top_srcdir=$ac_pwd ;;
35356   [\\/]* | ?:[\\/]* )  # Absolute name.
35357     ac_srcdir=$srcdir$ac_dir_suffix;
35358     ac_top_srcdir=$srcdir
35359     ac_abs_top_srcdir=$srcdir ;;
35360   *) # Relative name.
35361     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
35362     ac_top_srcdir=$ac_top_build_prefix$srcdir
35363     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
35364 esac
35365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
35366
35367
35368   case $ac_mode in
35369   :F)
35370   #
35371   # CONFIG_FILE
35372   #
35373
35374   case $INSTALL in
35375   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35376   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
35377   esac
35378   ac_MKDIR_P=$MKDIR_P
35379   case $MKDIR_P in
35380   [\\/$]* | ?:[\\/]* ) ;;
35381   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
35382   esac
35383 _ACEOF
35384
35385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35386 # If the template does not know about datarootdir, expand it.
35387 # FIXME: This hack should be removed a few years after 2.60.
35388 ac_datarootdir_hack=; ac_datarootdir_seen=
35389 ac_sed_dataroot='
35390 /datarootdir/ {
35391   p
35392   q
35393 }
35394 /@datadir@/p
35395 /@docdir@/p
35396 /@infodir@/p
35397 /@localedir@/p
35398 /@mandir@/p'
35399 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
35400 *datarootdir*) ac_datarootdir_seen=yes;;
35401 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
35402   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
35403 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
35404 _ACEOF
35405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35406   ac_datarootdir_hack='
35407   s&@datadir@&$datadir&g
35408   s&@docdir@&$docdir&g
35409   s&@infodir@&$infodir&g
35410   s&@localedir@&$localedir&g
35411   s&@mandir@&$mandir&g
35412   s&\\\${datarootdir}&$datarootdir&g' ;;
35413 esac
35414 _ACEOF
35415
35416 # Neutralize VPATH when `$srcdir' = `.'.
35417 # Shell code in configure.ac might set extrasub.
35418 # FIXME: do we really want to maintain this feature?
35419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
35420 ac_sed_extra="$ac_vpsub
35421 $extrasub
35422 _ACEOF
35423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
35424 :t
35425 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35426 s|@configure_input@|$ac_sed_conf_input|;t t
35427 s&@top_builddir@&$ac_top_builddir_sub&;t t
35428 s&@top_build_prefix@&$ac_top_build_prefix&;t t
35429 s&@srcdir@&$ac_srcdir&;t t
35430 s&@abs_srcdir@&$ac_abs_srcdir&;t t
35431 s&@top_srcdir@&$ac_top_srcdir&;t t
35432 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
35433 s&@builddir@&$ac_builddir&;t t
35434 s&@abs_builddir@&$ac_abs_builddir&;t t
35435 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
35436 s&@INSTALL@&$ac_INSTALL&;t t
35437 s&@MKDIR_P@&$ac_MKDIR_P&;t t
35438 $ac_datarootdir_hack
35439 "
35440 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
35441   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35442
35443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
35444   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
35445   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
35446       "$ac_tmp/out"`; test -z "$ac_out"; } &&
35447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35448 which seems to be undefined.  Please make sure it is defined" >&5
35449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35450 which seems to be undefined.  Please make sure it is defined" >&2;}
35451
35452   rm -f "$ac_tmp/stdin"
35453   case $ac_file in
35454   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
35455   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
35456   esac \
35457   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35458  ;;
35459   :H)
35460   #
35461   # CONFIG_HEADER
35462   #
35463   if test x"$ac_file" != x-; then
35464     {
35465       $as_echo "/* $configure_input  */" \
35466       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
35467     } >"$ac_tmp/config.h" \
35468       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35469     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
35470       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
35471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
35472     else
35473       rm -f "$ac_file"
35474       mv "$ac_tmp/config.h" "$ac_file" \
35475         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
35476     fi
35477   else
35478     $as_echo "/* $configure_input  */" \
35479       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
35480       || as_fn_error $? "could not create -" "$LINENO" 5
35481   fi
35482 # Compute "$ac_file"'s index in $config_headers.
35483 _am_arg="$ac_file"
35484 _am_stamp_count=1
35485 for _am_header in $config_headers :; do
35486   case $_am_header in
35487     $_am_arg | $_am_arg:* )
35488       break ;;
35489     * )
35490       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35491   esac
35492 done
35493 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
35494 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35495          X"$_am_arg" : 'X\(//\)[^/]' \| \
35496          X"$_am_arg" : 'X\(//\)$' \| \
35497          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
35498 $as_echo X"$_am_arg" |
35499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35500             s//\1/
35501             q
35502           }
35503           /^X\(\/\/\)[^/].*/{
35504             s//\1/
35505             q
35506           }
35507           /^X\(\/\/\)$/{
35508             s//\1/
35509             q
35510           }
35511           /^X\(\/\).*/{
35512             s//\1/
35513             q
35514           }
35515           s/.*/./; q'`/stamp-h$_am_stamp_count
35516  ;;
35517
35518   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
35519 $as_echo "$as_me: executing $ac_file commands" >&6;}
35520  ;;
35521   esac
35522
35523
35524   case $ac_file$ac_mode in
35525     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
35526   # Autoconf 2.62 quotes --file arguments for eval, but not when files
35527   # are listed without --file.  Let's play safe and only enable the eval
35528   # if we detect the quoting.
35529   case $CONFIG_FILES in
35530   *\'*) eval set x "$CONFIG_FILES" ;;
35531   *)   set x $CONFIG_FILES ;;
35532   esac
35533   shift
35534   for mf
35535   do
35536     # Strip MF so we end up with the name of the file.
35537     mf=`echo "$mf" | sed -e 's/:.*$//'`
35538     # Check whether this is an Automake generated Makefile or not.
35539     # We used to match only the files named `Makefile.in', but
35540     # some people rename them; so instead we look at the file content.
35541     # Grep'ing the first line is not enough: some people post-process
35542     # each Makefile.in and add a new line on top of each file to say so.
35543     # Grep'ing the whole file is not good either: AIX grep has a line
35544     # limit of 2048, but all sed's we know have understand at least 4000.
35545     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
35546       dirpart=`$as_dirname -- "$mf" ||
35547 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35548          X"$mf" : 'X\(//\)[^/]' \| \
35549          X"$mf" : 'X\(//\)$' \| \
35550          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
35551 $as_echo X"$mf" |
35552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35553             s//\1/
35554             q
35555           }
35556           /^X\(\/\/\)[^/].*/{
35557             s//\1/
35558             q
35559           }
35560           /^X\(\/\/\)$/{
35561             s//\1/
35562             q
35563           }
35564           /^X\(\/\).*/{
35565             s//\1/
35566             q
35567           }
35568           s/.*/./; q'`
35569     else
35570       continue
35571     fi
35572     # Extract the definition of DEPDIR, am__include, and am__quote
35573     # from the Makefile without running `make'.
35574     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35575     test -z "$DEPDIR" && continue
35576     am__include=`sed -n 's/^am__include = //p' < "$mf"`
35577     test -z "am__include" && continue
35578     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35579     # When using ansi2knr, U may be empty or an underscore; expand it
35580     U=`sed -n 's/^U = //p' < "$mf"`
35581     # Find all dependency output files, they are included files with
35582     # $(DEPDIR) in their names.  We invoke sed twice because it is the
35583     # simplest approach to changing $(DEPDIR) to its actual value in the
35584     # expansion.
35585     for file in `sed -n "
35586       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35587          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35588       # Make sure the directory exists.
35589       test -f "$dirpart/$file" && continue
35590       fdir=`$as_dirname -- "$file" ||
35591 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35592          X"$file" : 'X\(//\)[^/]' \| \
35593          X"$file" : 'X\(//\)$' \| \
35594          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
35595 $as_echo X"$file" |
35596     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35597             s//\1/
35598             q
35599           }
35600           /^X\(\/\/\)[^/].*/{
35601             s//\1/
35602             q
35603           }
35604           /^X\(\/\/\)$/{
35605             s//\1/
35606             q
35607           }
35608           /^X\(\/\).*/{
35609             s//\1/
35610             q
35611           }
35612           s/.*/./; q'`
35613       as_dir=$dirpart/$fdir; as_fn_mkdir_p
35614       # echo "creating $dirpart/$file"
35615       echo '# dummy' > "$dirpart/$file"
35616     done
35617   done
35618 }
35619  ;;
35620     "libtool":C)
35621
35622     # See if we are running on zsh, and set the options which allow our
35623     # commands through without removal of \ escapes.
35624     if test -n "${ZSH_VERSION+set}" ; then
35625       setopt NO_GLOB_SUBST
35626     fi
35627
35628     cfgfile="${ofile}T"
35629     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35630     $RM "$cfgfile"
35631
35632     cat <<_LT_EOF >> "$cfgfile"
35633 #! $SHELL
35634
35635 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35636 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
35637 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35638 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35639 #
35640 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35641 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
35642 #                 Foundation, Inc.
35643 #   Written by Gordon Matzigkeit, 1996
35644 #
35645 #   This file is part of GNU Libtool.
35646 #
35647 # GNU Libtool is free software; you can redistribute it and/or
35648 # modify it under the terms of the GNU General Public License as
35649 # published by the Free Software Foundation; either version 2 of
35650 # the License, or (at your option) any later version.
35651 #
35652 # As a special exception to the GNU General Public License,
35653 # if you distribute this file as part of a program or library that
35654 # is built using GNU Libtool, you may include this file under the
35655 # same distribution terms that you use for the rest of that program.
35656 #
35657 # GNU Libtool is distributed in the hope that it will be useful,
35658 # but WITHOUT ANY WARRANTY; without even the implied warranty of
35659 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35660 # GNU General Public License for more details.
35661 #
35662 # You should have received a copy of the GNU General Public License
35663 # along with GNU Libtool; see the file COPYING.  If not, a copy
35664 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
35665 # obtained by writing to the Free Software Foundation, Inc.,
35666 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
35667
35668
35669 # The names of the tagged configurations supported by this script.
35670 available_tags="CXX "
35671
35672 # ### BEGIN LIBTOOL CONFIG
35673
35674 # Assembler program.
35675 AS=$lt_AS
35676
35677 # DLL creation program.
35678 DLLTOOL=$lt_DLLTOOL
35679
35680 # Object dumper program.
35681 OBJDUMP=$lt_OBJDUMP
35682
35683 # Which release of libtool.m4 was used?
35684 macro_version=$macro_version
35685 macro_revision=$macro_revision
35686
35687 # Whether or not to build shared libraries.
35688 build_libtool_libs=$enable_shared
35689
35690 # Whether or not to build static libraries.
35691 build_old_libs=$enable_static
35692
35693 # What type of objects to build.
35694 pic_mode=$pic_mode
35695
35696 # Whether or not to optimize for fast installation.
35697 fast_install=$enable_fast_install
35698
35699 # Shell to use when invoking shell scripts.
35700 SHELL=$lt_SHELL
35701
35702 # An echo program that protects backslashes.
35703 ECHO=$lt_ECHO
35704
35705 # The PATH separator for the build system.
35706 PATH_SEPARATOR=$lt_PATH_SEPARATOR
35707
35708 # The host system.
35709 host_alias=$host_alias
35710 host=$host
35711 host_os=$host_os
35712
35713 # The build system.
35714 build_alias=$build_alias
35715 build=$build
35716 build_os=$build_os
35717
35718 # A sed program that does not truncate output.
35719 SED=$lt_SED
35720
35721 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35722 Xsed="\$SED -e 1s/^X//"
35723
35724 # A grep program that handles long lines.
35725 GREP=$lt_GREP
35726
35727 # An ERE matcher.
35728 EGREP=$lt_EGREP
35729
35730 # A literal string matcher.
35731 FGREP=$lt_FGREP
35732
35733 # A BSD- or MS-compatible name lister.
35734 NM=$lt_NM
35735
35736 # Whether we need soft or hard links.
35737 LN_S=$lt_LN_S
35738
35739 # What is the maximum length of a command?
35740 max_cmd_len=$max_cmd_len
35741
35742 # Object file suffix (normally "o").
35743 objext=$ac_objext
35744
35745 # Executable file suffix (normally "").
35746 exeext=$exeext
35747
35748 # whether the shell understands "unset".
35749 lt_unset=$lt_unset
35750
35751 # turn spaces into newlines.
35752 SP2NL=$lt_lt_SP2NL
35753
35754 # turn newlines into spaces.
35755 NL2SP=$lt_lt_NL2SP
35756
35757 # convert \$build file names to \$host format.
35758 to_host_file_cmd=$lt_cv_to_host_file_cmd
35759
35760 # convert \$build files to toolchain format.
35761 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
35762
35763 # Method to check whether dependent libraries are shared objects.
35764 deplibs_check_method=$lt_deplibs_check_method
35765
35766 # Command to use when deplibs_check_method = "file_magic".
35767 file_magic_cmd=$lt_file_magic_cmd
35768
35769 # How to find potential files when deplibs_check_method = "file_magic".
35770 file_magic_glob=$lt_file_magic_glob
35771
35772 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
35773 want_nocaseglob=$lt_want_nocaseglob
35774
35775 # Command to associate shared and link libraries.
35776 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
35777
35778 # The archiver.
35779 AR=$lt_AR
35780
35781 # Flags to create an archive.
35782 AR_FLAGS=$lt_AR_FLAGS
35783
35784 # How to feed a file listing to the archiver.
35785 archiver_list_spec=$lt_archiver_list_spec
35786
35787 # A symbol stripping program.
35788 STRIP=$lt_STRIP
35789
35790 # Commands used to install an old-style archive.
35791 RANLIB=$lt_RANLIB
35792 old_postinstall_cmds=$lt_old_postinstall_cmds
35793 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35794
35795 # Whether to use a lock for old archive extraction.
35796 lock_old_archive_extraction=$lock_old_archive_extraction
35797
35798 # A C compiler.
35799 LTCC=$lt_CC
35800
35801 # LTCC compiler flags.
35802 LTCFLAGS=$lt_CFLAGS
35803
35804 # Take the output of nm and produce a listing of raw symbols and C names.
35805 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35806
35807 # Transform the output of nm in a proper C declaration.
35808 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35809
35810 # Transform the output of nm in a C name address pair.
35811 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35812
35813 # Transform the output of nm in a C name address pair when lib prefix is needed.
35814 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35815
35816 # Specify filename containing input files for \$NM.
35817 nm_file_list_spec=$lt_nm_file_list_spec
35818
35819 # The root where to search for dependent libraries,and in which our libraries should be installed.
35820 lt_sysroot=$lt_sysroot
35821
35822 # The name of the directory that contains temporary libtool files.
35823 objdir=$objdir
35824
35825 # Used to examine libraries when file_magic_cmd begins with "file".
35826 MAGIC_CMD=$MAGIC_CMD
35827
35828 # Must we lock files when doing compilation?
35829 need_locks=$lt_need_locks
35830
35831 # Manifest tool.
35832 MANIFEST_TOOL=$lt_MANIFEST_TOOL
35833
35834 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35835 DSYMUTIL=$lt_DSYMUTIL
35836
35837 # Tool to change global to local symbols on Mac OS X.
35838 NMEDIT=$lt_NMEDIT
35839
35840 # Tool to manipulate fat objects and archives on Mac OS X.
35841 LIPO=$lt_LIPO
35842
35843 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
35844 OTOOL=$lt_OTOOL
35845
35846 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35847 OTOOL64=$lt_OTOOL64
35848
35849 # Old archive suffix (normally "a").
35850 libext=$libext
35851
35852 # Shared library suffix (normally ".so").
35853 shrext_cmds=$lt_shrext_cmds
35854
35855 # The commands to extract the exported symbol list from a shared archive.
35856 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35857
35858 # Variables whose values should be saved in libtool wrapper scripts and
35859 # restored at link time.
35860 variables_saved_for_relink=$lt_variables_saved_for_relink
35861
35862 # Do we need the "lib" prefix for modules?
35863 need_lib_prefix=$need_lib_prefix
35864
35865 # Do we need a version for libraries?
35866 need_version=$need_version
35867
35868 # Library versioning type.
35869 version_type=$version_type
35870
35871 # Shared library runtime path variable.
35872 runpath_var=$runpath_var
35873
35874 # Shared library path variable.
35875 shlibpath_var=$shlibpath_var
35876
35877 # Is shlibpath searched before the hard-coded library search path?
35878 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35879
35880 # Format of library name prefix.
35881 libname_spec=$lt_libname_spec
35882
35883 # List of archive names.  First name is the real one, the rest are links.
35884 # The last name is the one that the linker finds with -lNAME
35885 library_names_spec=$lt_library_names_spec
35886
35887 # The coded name of the library, if different from the real name.
35888 soname_spec=$lt_soname_spec
35889
35890 # Permission mode override for installation of shared libraries.
35891 install_override_mode=$lt_install_override_mode
35892
35893 # Command to use after installation of a shared archive.
35894 postinstall_cmds=$lt_postinstall_cmds
35895
35896 # Command to use after uninstallation of a shared archive.
35897 postuninstall_cmds=$lt_postuninstall_cmds
35898
35899 # Commands used to finish a libtool library installation in a directory.
35900 finish_cmds=$lt_finish_cmds
35901
35902 # As "finish_cmds", except a single script fragment to be evaled but
35903 # not shown.
35904 finish_eval=$lt_finish_eval
35905
35906 # Whether we should hardcode library paths into libraries.
35907 hardcode_into_libs=$hardcode_into_libs
35908
35909 # Compile-time system search path for libraries.
35910 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35911
35912 # Run-time system search path for libraries.
35913 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35914
35915 # Whether dlopen is supported.
35916 dlopen_support=$enable_dlopen
35917
35918 # Whether dlopen of programs is supported.
35919 dlopen_self=$enable_dlopen_self
35920
35921 # Whether dlopen of statically linked programs is supported.
35922 dlopen_self_static=$enable_dlopen_self_static
35923
35924 # Commands to strip libraries.
35925 old_striplib=$lt_old_striplib
35926 striplib=$lt_striplib
35927
35928
35929 # The linker used to build libraries.
35930 LD=$lt_LD
35931
35932 # How to create reloadable object files.
35933 reload_flag=$lt_reload_flag
35934 reload_cmds=$lt_reload_cmds
35935
35936 # Commands used to build an old-style archive.
35937 old_archive_cmds=$lt_old_archive_cmds
35938
35939 # A language specific compiler.
35940 CC=$lt_compiler
35941
35942 # Is the compiler the GNU compiler?
35943 with_gcc=$GCC
35944
35945 # Compiler flag to turn off builtin functions.
35946 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35947
35948 # Additional compiler flags for building library objects.
35949 pic_flag=$lt_lt_prog_compiler_pic
35950
35951 # How to pass a linker flag through the compiler.
35952 wl=$lt_lt_prog_compiler_wl
35953
35954 # Compiler flag to prevent dynamic linking.
35955 link_static_flag=$lt_lt_prog_compiler_static
35956
35957 # Does compiler simultaneously support -c and -o options?
35958 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35959
35960 # Whether or not to add -lc for building shared libraries.
35961 build_libtool_need_lc=$archive_cmds_need_lc
35962
35963 # Whether or not to disallow shared libs when runtime libs are static.
35964 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35965
35966 # Compiler flag to allow reflexive dlopens.
35967 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35968
35969 # Compiler flag to generate shared objects directly from archives.
35970 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35971
35972 # Whether the compiler copes with passing no objects directly.
35973 compiler_needs_object=$lt_compiler_needs_object
35974
35975 # Create an old-style archive from a shared archive.
35976 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35977
35978 # Create a temporary old-style archive to link instead of a shared archive.
35979 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35980
35981 # Commands used to build a shared archive.
35982 archive_cmds=$lt_archive_cmds
35983 archive_expsym_cmds=$lt_archive_expsym_cmds
35984
35985 # Commands used to build a loadable module if different from building
35986 # a shared archive.
35987 module_cmds=$lt_module_cmds
35988 module_expsym_cmds=$lt_module_expsym_cmds
35989
35990 # Whether we are building with GNU ld or not.
35991 with_gnu_ld=$lt_with_gnu_ld
35992
35993 # Flag that allows shared libraries with undefined symbols to be built.
35994 allow_undefined_flag=$lt_allow_undefined_flag
35995
35996 # Flag that enforces no undefined symbols.
35997 no_undefined_flag=$lt_no_undefined_flag
35998
35999 # Flag to hardcode \$libdir into a binary during linking.
36000 # This must work even if \$libdir does not exist
36001 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36002
36003 # Whether we need a single "-rpath" flag with a separated argument.
36004 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36005
36006 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36007 # DIR into the resulting binary.
36008 hardcode_direct=$hardcode_direct
36009
36010 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36011 # DIR into the resulting binary and the resulting library dependency is
36012 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36013 # library is relocated.
36014 hardcode_direct_absolute=$hardcode_direct_absolute
36015
36016 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36017 # into the resulting binary.
36018 hardcode_minus_L=$hardcode_minus_L
36019
36020 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36021 # into the resulting binary.
36022 hardcode_shlibpath_var=$hardcode_shlibpath_var
36023
36024 # Set to "yes" if building a shared library automatically hardcodes DIR
36025 # into the library and all subsequent libraries and executables linked
36026 # against it.
36027 hardcode_automatic=$hardcode_automatic
36028
36029 # Set to yes if linker adds runtime paths of dependent libraries
36030 # to runtime path list.
36031 inherit_rpath=$inherit_rpath
36032
36033 # Whether libtool must link a program against all its dependency libraries.
36034 link_all_deplibs=$link_all_deplibs
36035
36036 # Set to "yes" if exported symbols are required.
36037 always_export_symbols=$always_export_symbols
36038
36039 # The commands to list exported symbols.
36040 export_symbols_cmds=$lt_export_symbols_cmds
36041
36042 # Symbols that should not be listed in the preloaded symbols.
36043 exclude_expsyms=$lt_exclude_expsyms
36044
36045 # Symbols that must always be exported.
36046 include_expsyms=$lt_include_expsyms
36047
36048 # Commands necessary for linking programs (against libraries) with templates.
36049 prelink_cmds=$lt_prelink_cmds
36050
36051 # Commands necessary for finishing linking programs.
36052 postlink_cmds=$lt_postlink_cmds
36053
36054 # Specify filename containing input files.
36055 file_list_spec=$lt_file_list_spec
36056
36057 # How to hardcode a shared library path into an executable.
36058 hardcode_action=$hardcode_action
36059
36060 # The directories searched by this compiler when creating a shared library.
36061 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36062
36063 # Dependencies to place before and after the objects being linked to
36064 # create a shared library.
36065 predep_objects=$lt_predep_objects
36066 postdep_objects=$lt_postdep_objects
36067 predeps=$lt_predeps
36068 postdeps=$lt_postdeps
36069
36070 # The library search path used internally by the compiler when linking
36071 # a shared library.
36072 compiler_lib_search_path=$lt_compiler_lib_search_path
36073
36074 # ### END LIBTOOL CONFIG
36075
36076 _LT_EOF
36077
36078   case $host_os in
36079   aix3*)
36080     cat <<\_LT_EOF >> "$cfgfile"
36081 # AIX sometimes has problems with the GCC collect2 program.  For some
36082 # reason, if we set the COLLECT_NAMES environment variable, the problems
36083 # vanish in a puff of smoke.
36084 if test "X${COLLECT_NAMES+set}" != Xset; then
36085   COLLECT_NAMES=
36086   export COLLECT_NAMES
36087 fi
36088 _LT_EOF
36089     ;;
36090   esac
36091
36092
36093 ltmain="$ac_aux_dir/ltmain.sh"
36094
36095
36096   # We use sed instead of cat because bash on DJGPP gets confused if
36097   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
36098   # text mode, it properly converts lines to CR/LF.  This bash problem
36099   # is reportedly fixed, but why not run on old versions too?
36100   sed '$q' "$ltmain" >> "$cfgfile" \
36101      || (rm -f "$cfgfile"; exit 1)
36102
36103   if test x"$xsi_shell" = xyes; then
36104   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
36105 func_dirname ()\
36106 {\
36107 \    case ${1} in\
36108 \      */*) func_dirname_result="${1%/*}${2}" ;;\
36109 \      *  ) func_dirname_result="${3}" ;;\
36110 \    esac\
36111 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
36112   && mv -f "$cfgfile.tmp" "$cfgfile" \
36113     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36114 test 0 -eq $? || _lt_function_replace_fail=:
36115
36116
36117   sed -e '/^func_basename ()$/,/^} # func_basename /c\
36118 func_basename ()\
36119 {\
36120 \    func_basename_result="${1##*/}"\
36121 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
36122   && mv -f "$cfgfile.tmp" "$cfgfile" \
36123     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36124 test 0 -eq $? || _lt_function_replace_fail=:
36125
36126
36127   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
36128 func_dirname_and_basename ()\
36129 {\
36130 \    case ${1} in\
36131 \      */*) func_dirname_result="${1%/*}${2}" ;;\
36132 \      *  ) func_dirname_result="${3}" ;;\
36133 \    esac\
36134 \    func_basename_result="${1##*/}"\
36135 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
36136   && mv -f "$cfgfile.tmp" "$cfgfile" \
36137     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36138 test 0 -eq $? || _lt_function_replace_fail=:
36139
36140
36141   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
36142 func_stripname ()\
36143 {\
36144 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
36145 \    # positional parameters, so assign one to ordinary parameter first.\
36146 \    func_stripname_result=${3}\
36147 \    func_stripname_result=${func_stripname_result#"${1}"}\
36148 \    func_stripname_result=${func_stripname_result%"${2}"}\
36149 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
36150   && mv -f "$cfgfile.tmp" "$cfgfile" \
36151     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36152 test 0 -eq $? || _lt_function_replace_fail=:
36153
36154
36155   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
36156 func_split_long_opt ()\
36157 {\
36158 \    func_split_long_opt_name=${1%%=*}\
36159 \    func_split_long_opt_arg=${1#*=}\
36160 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
36161   && mv -f "$cfgfile.tmp" "$cfgfile" \
36162     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36163 test 0 -eq $? || _lt_function_replace_fail=:
36164
36165
36166   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
36167 func_split_short_opt ()\
36168 {\
36169 \    func_split_short_opt_arg=${1#??}\
36170 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
36171 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
36172   && mv -f "$cfgfile.tmp" "$cfgfile" \
36173     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36174 test 0 -eq $? || _lt_function_replace_fail=:
36175
36176
36177   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
36178 func_lo2o ()\
36179 {\
36180 \    case ${1} in\
36181 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
36182 \      *)    func_lo2o_result=${1} ;;\
36183 \    esac\
36184 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
36185   && mv -f "$cfgfile.tmp" "$cfgfile" \
36186     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36187 test 0 -eq $? || _lt_function_replace_fail=:
36188
36189
36190   sed -e '/^func_xform ()$/,/^} # func_xform /c\
36191 func_xform ()\
36192 {\
36193     func_xform_result=${1%.*}.lo\
36194 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
36195   && mv -f "$cfgfile.tmp" "$cfgfile" \
36196     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36197 test 0 -eq $? || _lt_function_replace_fail=:
36198
36199
36200   sed -e '/^func_arith ()$/,/^} # func_arith /c\
36201 func_arith ()\
36202 {\
36203     func_arith_result=$(( $* ))\
36204 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
36205   && mv -f "$cfgfile.tmp" "$cfgfile" \
36206     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36207 test 0 -eq $? || _lt_function_replace_fail=:
36208
36209
36210   sed -e '/^func_len ()$/,/^} # func_len /c\
36211 func_len ()\
36212 {\
36213     func_len_result=${#1}\
36214 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
36215   && mv -f "$cfgfile.tmp" "$cfgfile" \
36216     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36217 test 0 -eq $? || _lt_function_replace_fail=:
36218
36219 fi
36220
36221 if test x"$lt_shell_append" = xyes; then
36222   sed -e '/^func_append ()$/,/^} # func_append /c\
36223 func_append ()\
36224 {\
36225     eval "${1}+=\\${2}"\
36226 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
36227   && mv -f "$cfgfile.tmp" "$cfgfile" \
36228     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36229 test 0 -eq $? || _lt_function_replace_fail=:
36230
36231
36232   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
36233 func_append_quoted ()\
36234 {\
36235 \    func_quote_for_eval "${2}"\
36236 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
36237 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
36238   && mv -f "$cfgfile.tmp" "$cfgfile" \
36239     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36240 test 0 -eq $? || _lt_function_replace_fail=:
36241
36242
36243   # Save a `func_append' function call where possible by direct use of '+='
36244   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
36245     && mv -f "$cfgfile.tmp" "$cfgfile" \
36246       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36247   test 0 -eq $? || _lt_function_replace_fail=:
36248 else
36249   # Save a `func_append' function call even when '+=' is not available
36250   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
36251     && mv -f "$cfgfile.tmp" "$cfgfile" \
36252       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
36253   test 0 -eq $? || _lt_function_replace_fail=:
36254 fi
36255
36256 if test x"$_lt_function_replace_fail" = x":"; then
36257   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
36258 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
36259 fi
36260
36261
36262    mv -f "$cfgfile" "$ofile" ||
36263     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36264   chmod +x "$ofile"
36265
36266
36267     cat <<_LT_EOF >> "$ofile"
36268
36269 # ### BEGIN LIBTOOL TAG CONFIG: CXX
36270
36271 # The linker used to build libraries.
36272 LD=$lt_LD_CXX
36273
36274 # How to create reloadable object files.
36275 reload_flag=$lt_reload_flag_CXX
36276 reload_cmds=$lt_reload_cmds_CXX
36277
36278 # Commands used to build an old-style archive.
36279 old_archive_cmds=$lt_old_archive_cmds_CXX
36280
36281 # A language specific compiler.
36282 CC=$lt_compiler_CXX
36283
36284 # Is the compiler the GNU compiler?
36285 with_gcc=$GCC_CXX
36286
36287 # Compiler flag to turn off builtin functions.
36288 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
36289
36290 # Additional compiler flags for building library objects.
36291 pic_flag=$lt_lt_prog_compiler_pic_CXX
36292
36293 # How to pass a linker flag through the compiler.
36294 wl=$lt_lt_prog_compiler_wl_CXX
36295
36296 # Compiler flag to prevent dynamic linking.
36297 link_static_flag=$lt_lt_prog_compiler_static_CXX
36298
36299 # Does compiler simultaneously support -c and -o options?
36300 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
36301
36302 # Whether or not to add -lc for building shared libraries.
36303 build_libtool_need_lc=$archive_cmds_need_lc_CXX
36304
36305 # Whether or not to disallow shared libs when runtime libs are static.
36306 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
36307
36308 # Compiler flag to allow reflexive dlopens.
36309 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
36310
36311 # Compiler flag to generate shared objects directly from archives.
36312 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
36313
36314 # Whether the compiler copes with passing no objects directly.
36315 compiler_needs_object=$lt_compiler_needs_object_CXX
36316
36317 # Create an old-style archive from a shared archive.
36318 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
36319
36320 # Create a temporary old-style archive to link instead of a shared archive.
36321 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
36322
36323 # Commands used to build a shared archive.
36324 archive_cmds=$lt_archive_cmds_CXX
36325 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
36326
36327 # Commands used to build a loadable module if different from building
36328 # a shared archive.
36329 module_cmds=$lt_module_cmds_CXX
36330 module_expsym_cmds=$lt_module_expsym_cmds_CXX
36331
36332 # Whether we are building with GNU ld or not.
36333 with_gnu_ld=$lt_with_gnu_ld_CXX
36334
36335 # Flag that allows shared libraries with undefined symbols to be built.
36336 allow_undefined_flag=$lt_allow_undefined_flag_CXX
36337
36338 # Flag that enforces no undefined symbols.
36339 no_undefined_flag=$lt_no_undefined_flag_CXX
36340
36341 # Flag to hardcode \$libdir into a binary during linking.
36342 # This must work even if \$libdir does not exist
36343 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
36344
36345 # Whether we need a single "-rpath" flag with a separated argument.
36346 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
36347
36348 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36349 # DIR into the resulting binary.
36350 hardcode_direct=$hardcode_direct_CXX
36351
36352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36353 # DIR into the resulting binary and the resulting library dependency is
36354 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36355 # library is relocated.
36356 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
36357
36358 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36359 # into the resulting binary.
36360 hardcode_minus_L=$hardcode_minus_L_CXX
36361
36362 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36363 # into the resulting binary.
36364 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
36365
36366 # Set to "yes" if building a shared library automatically hardcodes DIR
36367 # into the library and all subsequent libraries and executables linked
36368 # against it.
36369 hardcode_automatic=$hardcode_automatic_CXX
36370
36371 # Set to yes if linker adds runtime paths of dependent libraries
36372 # to runtime path list.
36373 inherit_rpath=$inherit_rpath_CXX
36374
36375 # Whether libtool must link a program against all its dependency libraries.
36376 link_all_deplibs=$link_all_deplibs_CXX
36377
36378 # Set to "yes" if exported symbols are required.
36379 always_export_symbols=$always_export_symbols_CXX
36380
36381 # The commands to list exported symbols.
36382 export_symbols_cmds=$lt_export_symbols_cmds_CXX
36383
36384 # Symbols that should not be listed in the preloaded symbols.
36385 exclude_expsyms=$lt_exclude_expsyms_CXX
36386
36387 # Symbols that must always be exported.
36388 include_expsyms=$lt_include_expsyms_CXX
36389
36390 # Commands necessary for linking programs (against libraries) with templates.
36391 prelink_cmds=$lt_prelink_cmds_CXX
36392
36393 # Commands necessary for finishing linking programs.
36394 postlink_cmds=$lt_postlink_cmds_CXX
36395
36396 # Specify filename containing input files.
36397 file_list_spec=$lt_file_list_spec_CXX
36398
36399 # How to hardcode a shared library path into an executable.
36400 hardcode_action=$hardcode_action_CXX
36401
36402 # The directories searched by this compiler when creating a shared library.
36403 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
36404
36405 # Dependencies to place before and after the objects being linked to
36406 # create a shared library.
36407 predep_objects=$lt_predep_objects_CXX
36408 postdep_objects=$lt_postdep_objects_CXX
36409 predeps=$lt_predeps_CXX
36410 postdeps=$lt_postdeps_CXX
36411
36412 # The library search path used internally by the compiler when linking
36413 # a shared library.
36414 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
36415
36416 # ### END LIBTOOL TAG CONFIG: CXX
36417 _LT_EOF
36418
36419  ;;
36420
36421   esac
36422 done # for ac_tag
36423
36424
36425 as_fn_exit 0
36426 _ACEOF
36427 ac_clean_files=$ac_clean_files_save
36428
36429 test $ac_write_fail = 0 ||
36430   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
36431
36432
36433 # configure is writing to config.log, and then calls config.status.
36434 # config.status does its own redirection, appending to config.log.
36435 # Unfortunately, on DOS this fails, as config.log is still kept open
36436 # by configure, so config.status won't be able to write to it; its
36437 # output is simply discarded.  So we exec the FD to /dev/null,
36438 # effectively closing config.log, so it can be properly (re)opened and
36439 # appended to by config.status.  When coming back to configure, we
36440 # need to make the FD available again.
36441 if test "$no_create" != yes; then
36442   ac_cs_success=:
36443   ac_config_status_args=
36444   test "$silent" = yes &&
36445     ac_config_status_args="$ac_config_status_args --quiet"
36446   exec 5>/dev/null
36447   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36448   exec 5>>config.log
36449   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36450   # would make configure fail if this is the last instruction.
36451   $ac_cs_success || as_fn_exit 1
36452 fi
36453 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
36454   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
36455 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
36456 fi
36457
36458
36459 #####################################################################
36460 ## Sanity Checks
36461
36462 if test "x$build_pthreads" = "xno" ; then
36463   if test "x$build_pipe_render" = "xyes" ; then
36464     echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
36465     echo "  needs thread support."
36466     exit 1
36467   fi
36468 fi
36469
36470 if test "x${has_pthreads}" = "xno" ; then
36471   if test "x$build_async_preload" = "xyes" ; then
36472     echo "ERROR: PThreads off, but Async Preload on. Async Preload"
36473     echo "  needs thread support."
36474     exit 1
36475   fi
36476 fi
36477
36478 #####################################################################
36479 ## Info
36480
36481 echo
36482 echo
36483 echo
36484 echo "------------------------------------------------------------------------"
36485 echo "$PACKAGE $VERSION"
36486 echo "------------------------------------------------------------------------"
36487 echo
36488 echo "Configuration Options Summary:"
36489 echo
36490 echo "Engines:"
36491 echo "  Software Memory Buffer.....: $have_evas_engine_buffer"
36492 echo "  Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
36493 echo $ECHO_N "  OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
36494 if test "x$have_evas_engine_gl_x11" = "xyes"; then
36495   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36496 else
36497   echo
36498 fi
36499 echo "  Software GDI...............: $have_evas_engine_software_gdi"
36500 echo "  Software DirectDraw........: $have_evas_engine_software_ddraw"
36501 echo "  Direct3d...................: $have_evas_engine_direct3d"
36502 echo "  OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
36503 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
36504   echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
36505 else
36506   echo
36507 fi
36508 echo "  OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
36509 echo "  Software Framebuffer.......: $have_evas_engine_fb"
36510 echo "  DirectFB...................: $have_evas_engine_directfb"
36511 echo "  PSL1GHT....................: $have_evas_engine_psl1ght"
36512 echo "  Software 8bit grayscale....: $have_evas_engine_software_8"
36513 # FIXME: kill software 16bit
36514 echo "  Software 16bit ............: $have_evas_engine_software_16"
36515 echo "  Software 16bit X11.........: $have_evas_engine_software_16_x11"
36516 echo "  Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
36517 echo "  Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
36518 echo "  Wayland Shm................: $have_evas_engine_wayland_shm"
36519 echo "  Wayland Egl................: $have_evas_engine_wayland_egl"
36520 echo
36521 echo "Image Loaders:"
36522 echo "  BMP.....................: $have_evas_image_loader_bmp"
36523 echo "  EDB.....................: $have_evas_image_loader_edb"
36524 echo "  EET.....................: $have_evas_image_loader_eet"
36525 echo "  GENERIC.................: $have_evas_image_loader_generic"
36526 echo "  GIF.....................: $have_evas_image_loader_gif"
36527 echo "  ICO.....................: $have_evas_image_loader_ico"
36528 echo "  JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
36529 echo "  PMAPS...................: $have_evas_image_loader_pmaps"
36530 echo "  PNG.....................: $have_evas_image_loader_png"
36531 echo "  PSD.....................: $have_evas_image_loader_psd"
36532 echo "  SVG.....................: $have_evas_image_loader_svg"
36533 echo "  TGA.....................: $have_evas_image_loader_tga"
36534 echo "  TIFF....................: $have_evas_image_loader_tiff"
36535 echo "  WBMP....................: $have_evas_image_loader_wbmp"
36536 echo "  XPM.....................: $have_evas_image_loader_xpm"
36537 echo
36538 echo "Font Sourcing Systems:"
36539 echo "  EET.....................: $have_evas_font_loader_eet"
36540 echo
36541 echo "Font Searching Systems:"
36542 echo "  Fontconfig..............: $have_fontconfig"
36543 echo
36544 echo "Font Rendering Helpers:"
36545 echo "  Fribidi.................: $have_fribidi"
36546 echo "  Harfbuzz................: $have_harfbuzz"
36547 echo "  liblinebreak............: $have_linebreak"
36548 # FIXME: add non freetype2 font engine support
36549 # FIXME: make freetype2 optional
36550 echo
36551 echo "CPU Specific Extensions:"
36552 echo "  Fallback C Code.........: $build_cpu_c"
36553 echo "  MMX.....................: $build_cpu_mmx"
36554 echo "  SSE.....................: $build_cpu_sse"
36555 echo "  SSE3....................: $build_cpu_sse3"
36556 echo "  ALTIVEC.................: $build_cpu_altivec"
36557 echo "  NEON....................: $build_cpu_neon"
36558 echo "  Thread Support..........: $build_pthreads"
36559 echo
36560 echo "Features:"
36561 echo "  MAGIC_DEBUG.............: $want_evas_magic_debug"
36562 echo "  Cache Server............: $want_evas_cserve"
36563 echo "  Cache Server 2..........: $want_evas_cserve2"
36564 echo
36565 echo "  Threaded Pipe Rendering.: $build_pipe_render"
36566 echo "  Async Events............: $build_async_events"
36567 echo "  Async Image Preload.....: $build_async_preload"
36568 echo
36569 echo "  Pixman..................: $have_pixman"
36570 echo "  Pixman Fonts............: $have_pixman_font"
36571 echo "  Pixman Rects............: $have_pixman_rect"
36572 echo "  Pixman Lines............: $have_pixman_line"
36573 echo "  Pixman Polygons.........: $have_pixman_poly"
36574 echo "  Pixman Images...........: $have_pixman_image"
36575 echo "  Pixman Image ScaleSample: $have_pixman_image_scale_sample"
36576 echo
36577 echo "  Tiled 32BPP rotate......: $have_tile_rotate"
36578 echo
36579 echo "ARGB Software Engine Options:"
36580 echo "  Sampling Scaler.........: $scaler_sample"
36581 echo "  Smooth Scaler...........: $scaler_smooth"
36582 # FIXME: add an mmx scaler routine
36583 echo "  YUV Converter...........: $conv_yuv"
36584 # FIXME: add more YUV format and colorvariant support
36585 echo
36586 echo "ARGB Conversion Options:"
36587 echo "  Smaller Dither Mask.....: $conv_small_dither"
36588 echo "  Line Dither Mask........: $conv_line_dither"
36589 echo "  No Dither Mask for 16bpp: $conv_no_dither"
36590 echo "  8bpp RGB 332............: $conv_8_rgb_332"
36591 echo "  8bpp RGB 666............: $conv_8_rgb_666"
36592 echo "  8bpp RGB 232............: $conv_8_rgb_232"
36593 echo "  8bpp RGB 222............: $conv_8_rgb_222"
36594 echo "  8bpp RGB 221............: $conv_8_rgb_221"
36595 echo "  8bpp RGB 121............: $conv_8_rgb_121"
36596 echo "  8bpp RGB 111............: $conv_8_rgb_111"
36597 echo "  8bpp Grayscale (256)....: $conv_8_gry_1"
36598 echo "  8bpp Grayscale (16).....: $conv_8_gry_16"
36599 echo "  8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
36600 # FIXME: add grayscale and B&W support to standard x converters
36601 echo "  16bpp RGB 565...........: $conv_16_rgb_565"
36602 echo "  16bpp BGR 565...........: $conv_16_bgr_565"
36603 echo "  16bpp RGB 555...........: $conv_16_rgb_555"
36604 echo "  16bpp RGB 444...........: $conv_16_rgb_444"
36605 echo "  16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
36606 # FIXME: add 555 (444 ipaq) support
36607 # FIXME: add 30bpp support
36608 # FIXME: add palletted support (ugh!)
36609 # FIXME: add 8bpp and below rotation
36610 echo "  16bpp Rotation 0........: $conv_16_rgb_rot_0"
36611 echo "  16bpp Rotation 90.......: $conv_16_rgb_rot_90"
36612 echo "  16bpp Rotation 180......: $conv_16_rgb_rot_180"
36613 echo "  16bpp Rotation 270......: $conv_16_rgb_rot_270"
36614 echo "  24bpp RGB 888...........: $conv_24_rgb_888"
36615 echo "  24bpp BGR 888...........: $conv_24_bgr_888"
36616 echo "  24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
36617 # FIXME: add 24bpp rotation
36618 echo "  32bpp RGB 8888..........: $conv_32_rgb_8888"
36619 echo "  32bpp RGBX 8888.........: $conv_32_rgbx_8888"
36620 echo "  32bpp BGR 8888..........: $conv_32_bgr_8888"
36621 echo "  32bpp BGRX 8888.........: $conv_32_bgrx_8888"
36622 echo "  32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
36623 echo "  32bpp Rotation 0........: $conv_32_rgb_rot_0"
36624 echo "  32bpp Rotation 90.......: $conv_32_rgb_rot_90"
36625 echo "  32bpp Rotation 180......: $conv_32_rgb_rot_180"
36626 echo "  32bpp Rotation 270......: $conv_32_rgb_rot_270"
36627 echo
36628 echo "Documentation.............: ${build_doc}"
36629 if test "x${build_doc}" = "xyes" ; then
36630 echo "    Installation..........: make install-doc"
36631 fi
36632 echo "Examples..................: install:${install_examples} build:${build_examples}"
36633 if test "x${enable_tests}" = "xyes" ; then
36634    echo "Tests.....................: ${enable_tests} (make check)"
36635 else
36636    echo "Tests.....................: ${enable_tests}"
36637 fi
36638 if test "x${enable_coverage}" = "xyes" ; then
36639    echo "Coverage..................: ${enable_coverage} (make coverage)"
36640 else
36641    echo "Coverage..................: ${enable_coverage}"
36642 fi
36643 echo
36644 echo "Compilation............: make (or gmake)"
36645 echo "  CPPFLAGS.............: $CPPFLAGS"
36646 echo "  CFLAGS...............: $CFLAGS"
36647 echo "  CXXFLAGS.............: $CXXFLAGS"
36648 echo "  LDFLAGS..............: $LDFLAGS"
36649 echo
36650 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
36651 echo "  prefix...............: $prefix"
36652 echo
36653 if test "x${have_static_module}" = "xyes" ; then
36654 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
36655 echo "         You must know what you are doing, or else you will have a lot of"
36656 echo "         problems. And Kenny will be killed."
36657 echo "         Think about that."
36658 echo
36659 fi